/* Buggie v7: the layout of the Claude Code product page, in Buggie's look (kit tokens, graphite, SF). */

:root {
  color-scheme: light only;
  --bg: var(--bk-surface-panel, #f9f9fa);
  --white: #fff;
  --ink: var(--bk-ink, #242327);
  --muted: #6f6d75;
  --faint: #8e8b94;
  --line: var(--bk-line, #dedde1);
  --line-soft: #e8e6ea;
  --graphite: var(--bk-accent, #39343d);
  --graphite-strong: var(--bk-accent-strong, #27232b);
  --soft: var(--bk-accent-soft, #ece9ed);
  --soft-line: var(--bk-accent-border, #d3cfd5);
  --tile: #f2f1f3;
  --dark: #1c1b1f;
  --dark-2: #2a282d;
  --font: var(--bk-font, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif);
  --display: var(--bk-font-display, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: 0.92em; }
kbd { font: 600 0.86em/1 var(--font); padding: 2px 5px; border-radius: 5px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 var(--line); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--graphite); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: 8px; background: var(--graphite); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.z { zoom: var(--z, 1); }
[hidden] { display: none !important; }

/* ---- Buttons ------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--graphite); color: #fff; font: 400 17px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s; }
.btn:hover { background: var(--graphite-strong); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 15px; font-weight: 500; }
.btn--lg { height: 40px; }
.btn--block { display: flex; width: 100%; }
.btn--soft { background: var(--soft); color: #4a454f; box-shadow: inset 0 0 0 1px var(--soft-line); }
.btn--soft:hover { background: #e4e0e6; }
.btn--ghost { background: var(--bg); color: #5d5a62; box-shadow: inset 0 0 0 1px var(--soft-line); }
.btn--ghost:hover { background: var(--white); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #ecebee; }
.btn__apple { width: 15px; height: 18px; fill: currentColor; margin-top: -3px; }

/* ---- Nav ----------------------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(249, 249, 250, 0.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 84px; border-bottom: 1px solid var(--line-soft); max-width: none; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__name { font: 700 24px/1 var(--display); letter-spacing: -0.03em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 8px 12px; font-size: 15px; color: #3a383e; text-decoration: none; border-radius: 8px; }
.nav__links a:hover { background: var(--soft); }
.nav__cta { display: flex; gap: 12px; }
.subnav { border-bottom: 1px solid var(--line-soft); }
.subnav__in { display: flex; justify-content: space-between; align-items: center; height: 44px; font-size: 13px; color: var(--ink); }
.subnav__right { color: var(--muted); }

/* ---- Hero ---------------------------------------------------------------------------------- */
.hero { padding-top: 62px; }
.hero__grid { display: grid; grid-template-columns: 421px minmax(0, 1fr); column-gap: 48px; align-items: center; }
.hero__h1 { font: 600 64px/1.1 var(--display); letter-spacing: -0.035em; }
.hero__lead { margin-top: 24px; font-size: 23px; line-height: 1.5; color: var(--muted); letter-spacing: -0.005em; }
.hero__btns { display: grid; gap: 12px; margin-top: 40px; }
.hero__fine { margin-top: 12px; font-size: 15px; color: var(--muted); }
.hero__demo { margin-top: 14px; text-align: right; font-size: 12px; color: var(--faint); }

/* The Buggie window (Claude's app window, in Buggie's surfaces) */
.appwin { display: grid; grid-template-columns: 314px minmax(0, 1fr); height: 475px; padding: 8px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft), 0 1px 2px rgba(36, 35, 39, 0.04); overflow: hidden; }
.appwin__side { position: relative; display: flex; flex-direction: column; padding: 14px 12px 0; border-radius: 12px; background: var(--bk-project-window, #f8f8f9); box-shadow: inset 0 0 0 1px var(--line-soft); overflow: hidden; font-size: 14px; }
.appwin__lights { display: flex; gap: 8px; padding: 0 2px 14px; }
.appwin__lights i { width: 11px; height: 11px; border-radius: 50%; background: #dad8dc; }
.appwin__seg { display: grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 8px; background: #edebee; font-size: 13.5px; font-weight: 500; color: var(--faint); }
.appwin__seg span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; border-radius: 6px; }
.appwin__seg .is-on { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line-soft), 0 1px 2px rgba(0, 0, 0, 0.05); }
.appwin__glyph { width: 15px; height: 15px; }
.appwin__nav { display: grid; gap: 2px; margin-top: 12px; }
.appwin__nav li { display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 6px; color: #504d55; }
.appwin__nav li.is-muted { color: var(--faint); font-style: italic; }
.appwin__nav kbd { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--faint); background: none; box-shadow: none; padding: 0; }
.appwin__nav .bk-i { color: #7c7982; }
.appwin__group { margin: 14px 6px 4px; font-size: 13px; color: var(--faint); }
.appwin__item { display: flex; align-items: center; gap: 10px; height: 28px; padding: 0 8px; border-radius: 8px; color: #504d55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appwin__item.is-sel { background: #ebe8ed; color: var(--ink); }
.appwin__item--fade { opacity: .5; }
.appwin__foot { display: flex; align-items: center; justify-content: space-between; margin: auto -12px 0; padding: 10px 18px; border-top: 1px solid var(--line-soft); background: inherit; font-size: 13px; color: var(--muted); }
.appwin__foot span { display: flex; align-items: center; gap: 8px; }
.dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #b9b5bd; }
.dot--rec { background: var(--bk-red); }
.dot--amber { background: #c9a03b; }
.dot--work { background: var(--graphite); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dot--work { animation: none; } }

.appwin__main { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px 40px 10px 40px; font-size: 14px; line-height: 1.5; color: #504d55; }
.appwin__crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--faint); white-space: nowrap; overflow: hidden; }
.appwin__crumb b { color: var(--ink); font-weight: 500; }
.appwin__said { align-self: flex-start; display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; padding: 10px 14px; border-radius: 10px; background: var(--soft); color: var(--ink); }
.appwin__said svg { flex: none; width: 9px; height: 13px; margin-top: 4px; fill: var(--bk-red); }
.appwin__clip { display: flex; gap: 14px; margin-top: 16px; align-items: center; }
.appwin__clip .shot { flex: none; width: 112px; height: 70px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.appwin__clip .shot__amount { font-size: 15px; }
.appwin__clip .shot__label { font-size: 9px; }
.appwin__clip .shot__ring { width: 82px; height: 32px; right: -6px; }
.appwin__task { color: #504d55; }
.appwin__task b { color: var(--ink); font-weight: 600; }
.appwin__muted { display: flex; align-items: center; gap: 4px; margin-top: 10px; color: var(--faint); white-space: nowrap; overflow: hidden; }
.appwin__q { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--bk-amber-soft, #fbf3dc); box-shadow: inset 0 0 0 1px var(--bk-amber-border, #ede0be); }
.appwin__qicon { flex: none; width: 15px; height: 15px; margin-top: 2px; fill: var(--bk-amber-ink, #87671a); }
.appwin__qwho { font-size: 12.5px; font-weight: 600; color: var(--bk-amber-ink, #87671a); }
.appwin__qtext { color: var(--ink); }
.appwin__qbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.appwin__qbtns .bk-macbtn { zoom: 1.12; cursor: pointer; }
.appwin__done { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--soft); color: var(--ink); }
.appwin__done svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.appwin__input { display: flex; align-items: center; justify-content: space-between; margin-top: auto; height: 48px; padding: 0 16px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--faint); }
.appwin__bar { display: flex; align-items: center; gap: 14px; height: 40px; font-size: 13.5px; color: #504d55; }
.appwin__fix { display: flex; align-items: center; gap: 7px; }
.appwin__badge { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--graphite); }
.appwin__badge svg { width: 10px; height: 10px; color: #fff; }
.appwin__mic { display: flex; align-items: center; gap: 2px; color: var(--muted); }
.appwin__spacer { flex: 1; }
.appwin__muted2 { color: var(--faint); }

/* "Other ways to use" row */
.others { display: grid; justify-items: center; gap: 12px; padding-top: 62px; padding-bottom: 64px; border-bottom: 1px solid var(--line-soft); max-width: none; }
.others__label { font-size: 15px; color: var(--muted); }
.others__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.others__list li { display: grid; justify-items: center; align-content: center; gap: 8px; width: 90px; height: 84px; border-radius: 8px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line-soft); font-size: 12px; color: #4a4750; }
.others__list svg { width: 26px; height: 26px; border-radius: 6px; }
.others__g { width: 24px !important; height: 24px !important; }

/* ---- Sections ------------------------------------------------------------------------------ */
.sec { padding-block: 176px 160px; }
.sec--white { background: var(--white); }
.sec__head { display: grid; justify-items: center; text-align: center; }
.sec__icon { width: 48px; height: 48px; margin-bottom: 40px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sec__icon--line { stroke-width: 1.3; }
#faq .sec__icon { fill: var(--ink); stroke: none; width: 40px; height: 40px; }
.h2 { font: 600 52px/1.2 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.h3 { font: 600 19px/1.2 var(--display); letter-spacing: -0.02em; }
.sec__lead { max-width: 700px; margin-top: 22px; font-size: 23px; line-height: 1.5; color: var(--muted); text-wrap: balance; }

/* Segmented pills (Claude's "Individual / Team" and tab bars) */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: #efedf0; }
.seg > span, .seg > button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: none; font-size: 12px; letter-spacing: .01em; color: #5d5a62; cursor: default; }
.seg > button { cursor: pointer; }
.seg .is-on, .seg > button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line-soft), 0 1px 2px rgba(0, 0, 0, 0.05); }
.seg--center { display: flex; width: max-content; margin: 100px auto 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 380px)); justify-content: center; gap: 25px; margin-top: 52px; }
.plan { display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); }
.plan__icon { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.plan__icon use { stroke-width: inherit; }
.plan:first-child .plan__icon { fill: none; stroke-width: 1.6; }
.plan__h { margin-top: 28px; font: 600 32px/1.1 var(--display); letter-spacing: -0.03em; }
.plan__p { margin-top: 12px; color: var(--muted); }
.plan__price { margin-top: auto; padding-top: 36px; font: 500 22px/1.2 var(--display); letter-spacing: -0.01em; }
.plan__fine { margin-top: 6px; min-height: 38px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.plan .btn { margin-top: 18px; }
.plans__fine { margin-top: 28px; text-align: center; font-size: 12px; color: var(--muted); }

/* What's new */
.sec--news { padding-top: 0; }
.news { display: grid; grid-template-columns: minmax(0, 1fr) 464px; column-gap: 64px; max-width: 1180px; }
.news__head { display: flex; align-items: flex-start; gap: 18px; justify-self: center; }
.news__icon { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 1; }
.news__h { font: 600 25px/1.2 var(--display); letter-spacing: -0.025em; }
.news__body { padding-top: 30px; }
.news__list { display: grid; gap: 64px; padding-inline: 33px; }
.news__item > p:first-child { font-size: 17px; line-height: 1.6; color: var(--ink); }
.news__item b { font-weight: 600; }
.news__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12px; color: var(--muted); }
.news__meta span { display: flex; align-items: center; gap: 8px; }
.news__btn { margin-top: 56px; height: 36px; font-size: 15px; }

/* What Buggie can capture */
.install { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; }
.install__pick { position: relative; display: inline-flex; align-items: center; }
.install__pick select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 40px 0 16px; border: 0; border-radius: 8px; background: var(--graphite); color: #fff; font: 400 17px/1 var(--font); cursor: pointer; }
.install__pick .bk-i { position: absolute; right: 14px; color: #fff; pointer-events: none; }
.install__cmd { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 6px 0 16px; border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; max-width: 100%; }
.install__cmd code { white-space: nowrap; overflow-x: auto; color: var(--ink); scrollbar-width: none; }
.install__copy { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 12px; cursor: pointer; }
.install__copy:hover { background: var(--soft); color: var(--ink); }
.install__copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.install__note { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); }
.install__note a { color: var(--ink); }

.take { display: grid; grid-template-columns: minmax(0, 736px) minmax(0, 509px); justify-content: space-between; column-gap: 64px; margin-top: 100px; }
.take__left .seg { margin-bottom: 20px; }
.term { border-radius: 12px; background: var(--dark); color: #e9e7ec; overflow: hidden; }
.term:focus-visible { outline-offset: 3px; }
.term__bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; background: #2a282d; font-size: 12px; color: #9c98a2; }
.term__bar i { width: 9px; height: 9px; border-radius: 50%; background: #55515a; }
.term__bar span { margin-left: 10px; }
.term__body { display: grid; align-content: start; gap: 9px; min-height: 520px; padding: 28px 26px; font: 13.5px/1.55 var(--mono); }
.t-you { color: #fff; margin-bottom: 10px; }
.t-step { color: #e9e7ec; }
.t-step b { color: #fff; font-weight: 600; }
.t-out { color: #a7a3ad; padding-left: 14px; white-space: pre-wrap; }
.t-text { margin: 10px 0; color: #e9e7ec; }
.t-ok { color: #fff; }
.t-add { color: #8fd1b0; } .t-del { color: #d7a6a9; }
.t-busy { color: #c4c0c9; }
.term.is-playing .term__body > p { opacity: 0; }
.term.is-playing .term__body > p.is-on { opacity: 1; transition: opacity .2s; }
.take__fine { margin-top: 12px; font-size: 12px; color: var(--faint); }
.take__right { display: grid; align-content: center; gap: 32px; }
.point p { margin-top: 8px; color: var(--muted); }

/* Where tasks go: three framed cards */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 100px; }
.card__frame { display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.card__frame--dark { background: var(--graphite); }
.card__frame--grey { background: #e7e5e9; }
.card__frame--light { background: #f0eef1; box-shadow: inset 0 0 0 1px var(--line-soft); }
.card__p { margin-top: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { padding: 6px 10px; border-radius: 8px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--soft-line); font-size: 12px; color: #4a454f; }
.mini-term { width: 82%; border-radius: 12px; background: var(--dark); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); overflow: hidden; padding-bottom: 18px; font: 12.5px/1.6 var(--mono); }
.mini-term .term__bar { margin-bottom: 16px; }
.mini-term p { padding: 0 18px; }
.mini-term .t-out { padding-left: 32px; }
.issue { width: 76%; padding: 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 14px 32px rgba(44, 39, 48, 0.1); }
.issue__head { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.issue__head svg { width: 15px; height: 15px; }
.issue__head em { margin-left: auto; font-style: normal; }
.issue__title { margin-top: 10px; font: 600 16px/1.3 var(--display); letter-spacing: -0.02em; }
.issue__labels { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; }
.issue__labels span { padding: 2px 9px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--soft-line); font-weight: 600; }
.issue__labels em { font-style: normal; color: var(--muted); }
.issue__att { display: flex; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.issue__att .shot { flex: none; width: 96px; height: 60px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); }
.issue__att .shot__amount { font-size: 13px; }
.issue__att .shot__ring { width: 70px; height: 28px; }
.issue__lines { display: grid; flex: 1; align-content: start; gap: 8px; padding-top: 4px; }
.issue__lines i { height: 6px; border-radius: 3px; background: #eceaee; }
.issue__lines i:nth-child(2) { width: 82%; }
.issue__lines i:nth-child(3) { width: 60%; }

/* The slim row */
.slim { display: flex; align-items: center; gap: 24px; margin-top: 128px; padding: 28px 32px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); }
.slim__icon { flex: none; width: 34px; height: 34px; fill: var(--ink); }
.slim__copy { flex: 1; min-width: 0; }
.slim__h { font: 600 25px/1.2 var(--display); letter-spacing: -0.025em; }
.slim__copy p { margin-top: 4px; color: var(--muted); }
.slim__btns { display: flex; gap: 12px; }

/* Connects with */
.connect { display: grid; grid-template-columns: minmax(0, 770px) minmax(0, 416px); justify-content: space-between; align-items: center; column-gap: 64px; }
.connect__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; padding: 64px 72px; border-radius: 16px; background: #efedf0; }
.connect__grid li { display: flex; align-items: center; justify-content: center; gap: 12px; height: 36px; font: 600 19px/1 var(--display); letter-spacing: -0.02em; color: #3a3740; }
.connect__grid svg { width: 28px; height: 28px; border-radius: 6px; }
.connect__glyph { width: 30px !important; height: 30px !important; color: #3a3740; }
.connect__mono { color: #24292f; }
.connect__text p { margin-top: 16px; color: var(--muted); }

/* FAQ */
.faq { max-width: 660px; margin: 100px auto 0; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; padding: 20px 0; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 28px; font-size: 17px; line-height: 1.6; color: #3e3c43; }

/* Technical details */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 313px)); justify-content: center; gap: 19px; margin-top: 100px; }
.doc { display: flex; flex-direction: column; justify-content: space-between; min-height: 193px; padding: 24px; border: 0; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); text-align: left; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.doc:hover { box-shadow: inset 0 0 0 1px var(--soft-line), 0 8px 24px rgba(44, 39, 48, 0.08); }
.doc__h { font: 500 17px/1.35 var(--display); letter-spacing: -0.01em; }
.doc__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.doc__glyph { width: 15px; height: 15px; }

.dlg { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 64px); padding: 28px; border: 0; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(28, 27, 31, 0.3); }
.dlg::backdrop { background: rgba(28, 27, 31, 0.35); }
.dlg__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dlg h3 { font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; }
.dlg__x { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--soft); cursor: pointer; }
.dlg__x svg { width: 10px; height: 10px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.dlg p { margin-top: 10px; color: var(--muted); }
.dlg__dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; margin-top: 14px; font-size: 14px; }
.dlg__dl dt { font-weight: 600; }
.dlg__dl dd { color: var(--muted); overflow-wrap: anywhere; }
.dlg__ul { display: grid; gap: 8px; margin-top: 6px; padding-left: 18px; list-style: disc; color: #3e3c43; }

/* Closing band */
.band { padding-block: 128px; background: var(--dark); color: #fff; }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; column-gap: 64px; }
.band__copy, .band__card { min-width: 0; }
.band__h { font: 600 40px/1.2 var(--display); letter-spacing: -0.03em; }
.band__p { margin-top: 12px; font-size: 15px; color: #b9b5bf; }
.band__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.install__cmd--dark { background: #2a282d; box-shadow: inset 0 0 0 1px #3a373f; }
.install__cmd--dark code { color: #e9e7ec; }
.install__cmd--dark .install__copy { color: #b9b5bf; }
.install__cmd--dark .install__copy:hover { background: #3a373f; color: #fff; }
.band__fine { margin-top: 18px; font-size: 13px; color: #b9b5bf; }
.band__fine a { color: #fff; }
.band__card { padding: 32px; border-radius: 16px; background: #2a282d; box-shadow: inset 0 0 0 1px #3a373f; }
.band__icon { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.6; }
.band__ch { margin-top: 18px; font: 600 19px/1.2 var(--display); letter-spacing: -0.02em; }
.band__card p { margin-top: 8px; font-size: 14px; color: #b9b5bf; }
.band__card .band__cfine { font-size: 12px; color: #8e8a95; }

/* Footer */
.foot { padding-block: 64px 40px; background: var(--dark); color: #c9c5ce; border-top: 1px solid #2f2d33; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__brand { display: flex; align-items: center; gap: 10px; font: 700 22px/1 var(--display); letter-spacing: -0.03em; color: #fff; }
.foot__col { display: grid; align-content: start; gap: 10px; font-size: 13px; }
.foot__col p { color: #8e8a95; margin-bottom: 4px; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { color: #fff; text-decoration: underline; }
.foot__fine { margin-top: 56px; font-size: 12px; color: #8e8a95; }

/* Shared: the tiny shop thumbnail with the circled total */
.shot { position: relative; display: block; overflow: hidden; background: #f8f6f2; }
.shot__label { position: absolute; left: 7px; top: 50%; transform: translateY(-50%); font-size: 7px; font-weight: 600; color: #8b8790; }
.shot__amount { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 700 11px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); transition: color .3s; }
.shot__ring { position: absolute; right: -2px; top: calc(50% + 1px); width: 52px; height: 22px; transform: translateY(-50%); stroke-width: 11; transition: opacity .3s; }
.shot__ring.is-gone { opacity: 0; }
.shot__time { position: absolute; left: 4px; bottom: 4px; padding: 1px 3px; border-radius: 3px; background: rgba(36, 35, 39, 0.72); color: #fff; font-size: 7px; font-weight: 600; line-height: 1.2; }

/* ---- Responsive ---------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .hero__grid { grid-template-columns: 360px minmax(0, 1fr); column-gap: 36px; }
  .appwin { grid-template-columns: 260px minmax(0, 1fr); }
  .appwin__main { padding-inline: 28px; }
  .take { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: 48px; }
  .connect { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); column-gap: 48px; }
  .connect__grid { padding: 48px 40px; }
}
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .hero__copy { max-width: 560px; }
  .hero__demo { text-align: left; }
  .sec { padding-block: 120px 112px; }
  .plans { grid-template-columns: minmax(0, 520px); }
  .news { grid-template-columns: 1fr; row-gap: 24px; }
  .news__head { justify-self: start; }
  .news__list { padding-inline: 0; }
  .take { grid-template-columns: 1fr; row-gap: 48px; margin-top: 64px; }
  .take__right { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .cards3 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; margin-top: 64px; gap: 56px; }
  .slim { flex-wrap: wrap; }
  .connect { grid-template-columns: 1fr; row-gap: 40px; }
  .connect__text { order: -1; }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .nav__in { height: 64px; }
  .nav__setup { display: none; }
  .nav__name { font-size: 21px; }
  .subnav__in { height: 40px; font-size: 12px; }
  .hero { padding-top: 36px; }
  .hero__h1 { font-size: 52px; }
  .hero__lead { margin-top: 16px; font-size: 19px; }
  .hero__btns { margin-top: 28px; }
  .appwin { grid-template-columns: 1fr; height: auto; padding: 6px; }
  .appwin__side { display: none; }
  .appwin__main { padding: 18px 16px 6px; font-size: 13.5px; }
  .appwin__crumb > span, .appwin__crumb b { display: none; }
  .appwin__clip { flex-direction: column; align-items: flex-start; gap: 10px; }
  .appwin__input { margin-top: 16px; height: 44px; }
  .appwin__bar .appwin__muted2 { display: none; }
  .others { padding-top: 44px; padding-bottom: 48px; }
  .others__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 330px; }
  .others__list li { width: auto; }
  .sec { padding-block: 88px 80px; }
  .sec__icon { width: 40px; height: 40px; margin-bottom: 28px; }
  .h2 { font-size: 36px; }
  .sec__lead { font-size: 19px; }
  .seg--center { margin-top: 48px; }
  .plans { margin-top: 32px; }
  .plan { padding: 28px 22px 24px; }
  .plan__h { font-size: 28px; }
  .news__list { gap: 40px; }
  .install { flex-direction: column; align-items: stretch; }
  .install__pick select { width: 100%; }
  .install__cmd { width: 100%; }
  .install__cmd code { flex: 1; min-width: 0; font-size: 12.5px; }
  .take__left .seg { display: flex; width: 100%; overflow-x: auto; }
  .take__left .seg > button { flex: none; }
  .term__body { min-height: 0; padding: 20px 16px; font-size: 12px; }
  .t-text br { display: none; }
  .take__right { grid-template-columns: 1fr; }
  .cards3 { gap: 48px; }
  .slim { padding: 24px 20px; }
  .slim__btns { width: 100%; }
  .slim__btns .btn { flex: 1; }
  .connect__grid { padding: 32px 20px; gap: 20px 12px; }
  .connect__grid li { justify-content: flex-start; font-size: 16px; gap: 10px; }
  .connect__grid svg { width: 24px; height: 24px; }
  .faq { margin-top: 56px; }
  .faq summary { min-height: 72px; }
  .faq details p { font-size: 15px; }
  .docs { grid-template-columns: 1fr; margin-top: 56px; }
  .doc { min-height: 120px; }
  .band { padding-block: 80px; }
  .band__h { font-size: 32px; }
  .band__row .btn { width: 100%; }
  .install__cmd--dark { width: 100%; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
