/* The landing (docs/DESIGN.md): the hero's idea box and the sketch that grows under it, then one thing per section. */
.site-head .menu-btn { display: none; }
.top-menu { position: absolute; left: 16px; right: 16px; top: calc(100% + 4px); display: grid; padding: 6px 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-float); box-shadow: var(--shadow-float); }
.top-menu[hidden] { display: none; }
.top-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 18px; font-weight: 500; font-size: 16px; }
.top-menu a:hover { background: var(--surface-2); }

/* hero: a drafting table. Faint graph paper, the idea box in the middle with a draughtsman's corner marks, and one
   stroke of the wordmark's accent line that runs from her phone into the box and out to his laptop: an idea, then a
   business. Nothing here moves (docs/DESIGN.md § the hero). */
.hero { position: relative; padding: 72px 0 72px; overflow: hidden; border-bottom: 1px solid var(--line); background-image: linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px); background-size: 32px 32px; background-position: center top; }
.hero-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 18px; }
.hero-desk { position: relative; display: grid; justify-items: center; gap: 18px; width: min(100%, 760px); }
.cast { position: absolute; pointer-events: none; }
.cast img { position: absolute; bottom: 0; height: auto; max-width: none; }
.cast-shape { position: absolute; display: block; }
.cast-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cast-line path, .stroked path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cast-line circle { fill: var(--accent); }
.cast.her { right: calc(100% + 60px); top: -170px; width: 300px; height: 360px; }
.cast.her .cast-shape { inset: 44px 14px 0 26px; border-radius: 999px 999px 0 0; background: var(--cofounder-soft); }
.cast.her img { left: -10px; width: 320px; }
.cast.him { left: calc(100% + 40px); top: -117px; width: 340px; height: 307px; }
.cast.him .cast-shape { left: 52px; top: 0; width: 256px; height: 256px; border-radius: 50%; background: var(--accent-soft); }
.cast.him img { left: 0; width: 340px; }
/* a glimpse of the business at work: it names no person */
.hero-note { position: absolute; display: grid; gap: 1px; padding: 7px 11px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tip); box-shadow: var(--shadow-float); font-size: 11px; line-height: 1.3; color: var(--ink-2); white-space: nowrap; }
.hero-note b { font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cast.her .hero-note { left: 196px; top: 292px; }
.cast.him .hero-note { left: -26px; top: 34px; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 5px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }
.hero h1 { font-size: clamp(40px, 6.5vw, 76px); letter-spacing: -.03em; max-width: 14ch; }
.hero h1 em { position: relative; display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-deep); }
.stroked svg { position: absolute; left: 0; right: 0; bottom: -.04em; width: 100%; height: .16em; overflow: visible; }
.stroked path { stroke-width: 3; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 58ch; }

.idea-box { position: relative; z-index: 1; width: min(100%, 760px); margin-top: 8px; padding: 14px 14px 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-float); text-align: left; display: grid; gap: 8px; transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
/* a draughtsman's corner marks, outside the box */
.idea-box::before, .idea-box::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; }
.idea-box::before { left: -7px; top: -7px; border-left: 2px solid var(--ink); border-top: 2px solid var(--ink); }
.idea-box::after { right: -7px; bottom: -7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.idea-box:focus-within { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: var(--shadow-float), 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent); }
.idea-box textarea { width: 100%; border: 0; background: transparent; resize: none; font-size: 18px; line-height: 1.4; padding: 6px 6px 0; min-height: 64px; }
.idea-box textarea:focus { outline: none; }
.idea-box textarea::placeholder { color: var(--ink-3); }
.idea-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }

/* the sketch */
.sketch { width: min(100%, 760px); margin-top: 16px; text-align: left; background: var(--surface); border: 1px solid var(--line); padding: 20px; display: grid; gap: 16px; }
.sketch[hidden] { display: none; }
.sk-head { display: flex; align-items: center; gap: 14px; }
.sk-mark { width: 44px; height: 44px; background: var(--surface-2); flex: none; display: grid; }
.sk-mark svg { width: 44px; height: 44px; }
.sk-name { font-size: 22px; }
.sk-swatches { display: flex; gap: 4px; }
.sk-swatches i { width: 18px; height: 18px; border: 1px solid rgba(0,0,0,.08); }
.sk-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.sk-label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 8px; }
.sk-product { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); justify-items: start; }
.sk-product b { font-size: 15px; }
.sk-store .hint { margin-top: 8px; }
.sk-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.sk-days li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.sk-days li i { display: inline-grid; place-items: center; width: 20px; height: 20px; background: var(--surface-2); font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink); }
.sk-days li:first-child { color: var(--ink); font-weight: 500; }
.sk-days li:first-child i { background: var(--accent); color: var(--accent-ink); }
.sk-msg { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.sk-msg p { padding: 10px 12px; background: var(--cofounder-soft); color: var(--ink); }
.sketch-note { border-top: 1px solid var(--line); padding-top: 12px; }
[data-f] { transition: opacity .32s var(--ease), transform .32s var(--ease); }
.sketch.inking [data-f] { opacity: 0; transform: translateY(4px); }

/* sections */
.band { padding: 72px 0; }
.band + .band, .band.honest, .band.faq { background: var(--canvas); }
.h-section { font-size: clamp(28px, 3.4vw, 40px); }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 64ch; }
.sub { color: var(--ink-2); font-size: 17px; }
/* Cards in a row share their rows (subgrid): each card's badge, title and body start on the same lines as its
   neighbours', however long one card's words are. */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 56px; }
.steps li { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 8px; padding: 24px; border: 1px solid var(--line); background: var(--surface); }
/* the flow: an arrow in the gap after each step but the last (it points down when the steps stack) */
.steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + 16px); top: calc(50% - 12px); width: 24px; height: 24px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.steps .num { display: inline-grid; place-items: center; width: 32px; height: 32px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; font-size: 14px; }
.steps p { color: var(--ink-2); font-size: 15px; }

/* the illustrative console */
.console-section { padding: 72px 0; }
.mock-frame { margin: 0; display: grid; gap: 10px; }
.mock { display: grid; grid-template-columns: 200px 1fr 220px; min-height: 480px; border: 1px solid var(--line); overflow: hidden; background: var(--canvas); font-size: 13px; }
.mock-rail { background: var(--surface); border-right: 1px solid var(--line); padding: 12px 0; display: grid; align-content: start; gap: 2px; }
.mock-biz { display: flex; align-items: center; gap: 10px; padding: 6px 14px 12px; }
.mock-biz small { display: block; color: var(--ink-3); font-size: 11px; }
.mock-mark { display: grid; place-items: center; width: 32px; height: 32px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.mock-search { padding: 6px 10px; margin: 0 10px 8px; border: 1px solid var(--line); color: var(--ink-3); }
.mock-group { padding: 10px 14px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.mock-tab { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px; color: var(--ink-2); }
.mock-tab.on { background: var(--accent-soft); color: var(--accent-deep); font-weight: 500; box-shadow: inset 2px 0 0 var(--accent); }
.mock-main { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.mock-top { display: flex; gap: 10px; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mock-chat { padding: 16px; display: grid; gap: 12px; align-content: start; }
.mock-msg { display: flex; gap: 10px; align-items: flex-start; max-width: 520px; }
.mock-msg.me { margin-left: auto; flex-direction: row; }
.mock-msg p { padding: 5px 0; }
.mock-msg.me p { padding: 10px 12px; background: var(--ink); color: var(--bg); }
.mock-card { max-width: 560px; padding: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--accent); display: grid; gap: 8px; }
.mock-card-head { display: flex; gap: 10px; align-items: center; }
.mock-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-composer { display: flex; justify-content: space-between; align-items: center; margin: 12px 16px 16px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); }
.mock-send { display: grid; place-items: center; width: 28px; height: 28px; background: var(--accent); color: var(--accent-ink); }
.mock-side { background: var(--surface); border-left: 1px solid var(--line); padding: 16px 14px; display: grid; align-content: start; gap: 10px; }
.mock-side-row { display: flex; justify-content: space-between; align-items: center; color: var(--ink-2); }

/* the week */
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.week li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 6px; padding: 16px 14px; background: var(--surface); border: 1px solid var(--line); }
.week i { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--surface-2); font-style: normal; font-weight: 600; font-size: 13px; }
.week li:first-child i { background: var(--accent); color: var(--accent-ink); }
.week b { font-size: 14px; }
.week p { font-size: 13px; color: var(--ink-2); }

/* capabilities */
.caps { padding: 72px 0; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap-grid article { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 8px; padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.cap-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; background: var(--accent-soft); color: var(--accent); }
.cap-grid p { color: var(--ink-2); font-size: 14px; }
.cap-grid small { color: var(--ink-2); font-size: 12px; font-weight: 500; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }

/* honest */
.honest-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.honest-cols .card { padding: 24px; display: grid; gap: 12px; align-content: start; }
.honest-cols ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.honest-cols li::marker { color: var(--accent); }
.struck s { color: var(--ink-3); }

/* plans */
.plans { padding: 72px 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-grid .card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 12px; padding: 24px; }
.plan-grid .price { font-size: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan-grid .price span { font-size: 14px; font-weight: 400; letter-spacing: 0; }
.plan-grid ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; align-content: start; color: var(--ink-2); font-size: 14px; }
.plan-grid .btn { align-self: end; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--ink-2); max-width: 70ch; }
.faq h2 { margin-bottom: 24px; }

/* cta */
.cta { padding: 80px 0; }
.cta-inner { display: grid; justify-items: center; text-align: center; gap: 14px; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; }

/* No margin to stand in: the two stand side by side under the box, without the line and the notes. */
@media (max-width: 1199px) {
  .hero-desk { grid-template-columns: 1fr 1fr; align-items: end; }
  .hero-desk > :not(.cast) { grid-column: 1 / -1; }
  .cast { position: relative; inset: auto; order: 9; width: 100%; max-width: 300px; height: auto; aspect-ratio: 1 / 1; }
  .cast.her, .cast.him { top: auto; left: auto; right: auto; width: 100%; height: auto; }
  .cast-line, .cast .hero-note { display: none; }
  .cast.her .cast-shape { inset: 10% 10% 0; }
  .cast.her img { left: 4%; width: 88%; }
  .cast.him .cast-shape { left: 14%; top: 8%; width: 72%; height: auto; aspect-ratio: 1; }
  .cast.him img { width: 100%; }
}
@media (max-width: 1000px) {
  .steps, .plan-grid { grid-template-columns: 1fr; }
  .steps { row-gap: 40px; }
  .steps li { grid-row: auto; grid-template-rows: none; align-content: start; }
  .steps li:not(:last-child)::after { left: calc(50% - 12px); top: calc(100% + 8px); transform: rotate(90deg); }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .mock { grid-template-columns: 180px 1fr; }
  .mock-side { display: none; }
}
@media (max-width: 760px) {
  .site-head .menu-btn { display: inline-grid; }
  .site-head .actions .ghost { display: none; }
  .hero { padding: 40px 0 40px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .idea-box textarea { font-size: 16px; }
  .idea-actions { flex-direction: column; align-items: stretch; }
  .idea-actions .hint { order: 2; text-align: center; }
  .sk-grid { grid-template-columns: 1fr; }
  .sk-head { flex-wrap: wrap; }
  .band, .caps, .plans, .console-section, .cta { padding: 48px 0; }
  .week { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .honest-cols { grid-template-columns: 1fr; }
  .mock { grid-template-columns: 1fr; min-height: 0; }
  .mock-rail { display: none; }
}
@media (max-width: 360px) {
  .week { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
