/* agentc.croutons.ai — Agent C lander, sign-up and account. */
/* Hero (moved from croutons.css when croutons.ai got its own hero). */
.hero { text-align: center; padding-block: 56px 24px; }
@media (min-width: 720px) { .hero { padding-block: 104px 40px; } }
.hero .meta-line { color: var(--ink-3); font-size: .95rem; margin-bottom: 14px; }
.hero h1 { max-width: 17ch; margin: 0 auto 16px; }
.hero h1 em { font-style: normal; color: var(--crust); }
.hero .lead { max-width: 46ch; margin: 0 auto 28px; }
.hero .actions { justify-content: center; }
.hero .steps-title { margin-top: 48px; color: var(--ink-2); font-size: .95rem; }
.hero .steps { max-width: 620px; margin: 14px auto 0; }
.top .logo img { width: 30px; height: 30px; border-radius: 8px; }
.hero .btn[aria-disabled] { opacity: .85; cursor: default; }

/* Platform availability */
.platforms { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--ink-3); font-size: .85rem; }
.platforms span:last-child { margin-left: 4px; }
.apps { margin-top: 24px; }
.app-card { display: flex; flex-direction: column; }
.app-card .chip { align-self: flex-start; margin-bottom: 14px; }
.app-card h3 { margin: 0 0 6px; }
.app-card p { color: var(--ink-2); margin: 0; }
.app-card .meta { margin-top: auto; padding-top: 16px; color: var(--ink-3); }

/* Header sign-in link */
.top .signin { margin-left: auto; color: var(--ink-2); text-decoration: none; font-size: .95rem; padding: 8px 10px; border-radius: var(--radius-sm); }
.top .signin:hover { color: var(--ink); background: var(--surface-2); }
.top .signin + .btn { margin-left: 4px; }
@media (min-width: 960px) { .top .signin { margin-left: 8px; } }

/* Plans */
.plans { margin-top: 24px; }
.plan { display: flex; flex-direction: column; }
.plan h3 { margin: 0 0 6px; }
.plan > p { color: var(--ink-2); margin: 0; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 22px; color: var(--ink); }
.plan .price b { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; }
.plan .price span { color: var(--ink-3); }
.plan .btn { margin-top: 16px; align-self: flex-start; }
.included { margin-top: 28px; }
.included .meta { margin: 0 0 8px; }

/* Onboarding (/start) */
.onb { padding-block: 40px 64px; max-width: 560px; }
.onb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; counter-reset: s; }
.onb-steps li { counter-increment: s; font-size: .78rem; color: var(--ink-3); padding-top: 8px; border-top: 2px solid var(--line); }
.onb-steps li::before { content: counter(s) " · "; }
.onb-steps li.on { color: var(--ink); border-color: var(--ink); }
.onb-steps li.done { color: var(--ink-2); border-color: var(--ink-3); }
.onb-card { padding: 28px; }
.onb-card .onb-h { font-size: 1.6rem; margin: 0 0 8px; letter-spacing: -.02em; }
.onb-card .lead { font-size: 1rem; margin: 0 0 20px; color: var(--ink-2); }
.onb-card form { margin: 0; }
.onb-card .btn-lg { width: 100%; }
.onb-card .notice { margin: 0 0 14px; }
.onb-card .ts-box { min-height: 0; margin: 0; }
.onb-loading { margin: 0; }
.onb-ticks { margin: 0 0 20px; font-size: .95rem; color: var(--ink-2); }
.onb-alt { text-align: center; color: var(--ink-3); font-size: .92rem; margin: 16px 0 0; }
.onb-foot { text-align: center; color: var(--ink-3); font-size: .88rem; margin: 16px 0 0; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; cursor: pointer; }
.code-input { font-size: 1.4rem !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

/* Site choice */
.site-pick { border: 0; padding: 0; margin: 0 0 14px; }
#site-list { display: grid; gap: 8px; }
.site-opt { position: relative; cursor: pointer; }
.site-opt input { position: absolute; opacity: 0; pointer-events: none; }
.site-opt span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.site-opt b { font-weight: 600; overflow-wrap: anywhere; }
.site-opt em { font-style: normal; font-size: .8rem; color: var(--ink-3); white-space: nowrap; }
.site-opt:hover span { border-color: var(--ink-3); }
.site-opt input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.site-opt input:focus-visible + span { box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px var(--action-soft); }

/* First findings */
#snap .eyebrow { margin-bottom: 6px; }
#snap .onb-h { overflow-wrap: anywhere; }
.snap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 8px; }
.snap-stats div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--surface-2); }
.snap-stats b { display: block; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.snap-stats span { font-size: .78rem; color: var(--ink-3); }
.snap-h { font-size: 1.05rem; margin: 24px 0 4px; }
.snap-h + .meta { margin: 0 0 8px; }
.snap-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.snap-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.snap-list span { overflow-wrap: anywhere; }
.snap-list em { font-style: normal; color: var(--ink-3); font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.snap-rule { border: 0; border-top: 1px solid var(--line); margin: 28px 0 0; }
#snap-loading { margin-bottom: 16px; }
@media (max-width: 420px) { .snap-stats b { font-size: 1.1rem; } .onb-card { padding: 22px 18px; } }

/* Account */
.acct { padding-bottom: 56px; }
.acct > .notice { margin-bottom: 16px; }
.acct-kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.acct-kv dt { margin: 0; align-self: center; }
.acct-kv dd { margin: 0; }
.acct .actions { margin-top: 20px; justify-content: flex-start; }
.acct-h { font-size: 1.15rem; margin: 36px 0 0; }
.acct-foot { margin-top: 36px; }
.acct .actions + .meta, .acct .apps + .meta { margin-top: 12px; }

/* Plan picker on sign-up: two cards instead of a native dropdown */
.plan-pick { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-pick legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: 6px; }
.plan-pick label { position: relative; cursor: pointer; }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick span { display: grid; gap: 2px; padding: 12px 14px; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.plan-pick b { font-weight: 600; font-size: .95rem; }
.plan-pick em { font-style: normal; font-size: .85rem; color: var(--ink-3); }
.plan-pick label:hover span { border-color: var(--ink-3); }
.plan-pick input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan-pick input:focus-visible + span { box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px var(--action-soft); }
@media (max-width: 480px) { .acct-kv { grid-template-columns: 1fr; gap: 2px; } .acct-kv dd { margin-bottom: 10px; overflow-wrap: anywhere; } }

/* How it works: five steps on a hairline rail that lights up as you scroll. */
.flow-grid { display: grid; gap: 40px; }
.flow h2 { margin: 0 0 12px; }
.flow h2 .dim { color: var(--ink-3); }
.flow-head .lead { margin: 0; max-width: 30ch; }
.flow-list { --p: 1; position: relative; list-style: none; margin: 0; padding: 0 0 0 36px; }
.flow-list::before, .flow-list::after { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.flow-list::after { background: var(--signal); box-shadow: 0 0 8px var(--signal); transform-origin: top; transform: scaleY(var(--p)); }
.flow-list li { position: relative; margin: 0; padding-bottom: 52px; }
.flow-list li:last-child { padding-bottom: 0; }
.flow-list li::before { content: ""; position: absolute; z-index: 1; left: -36px; top: .5em; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); transition: background .4s, border-color .4s, box-shadow .4s; }
.flow-list h3 { margin: 0 0 8px; font-size: clamp(1.35rem, 3.4vw, 1.85rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.15; transition: color .4s; }
.flow-list p { margin: 0; max-width: 42ch; color: var(--ink-2); }
.flow-list li.on::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft), 0 0 12px var(--signal); }
.js .flow-list li:not(.on) h3 { color: var(--ink-3); }
@media (min-width: 900px) {
  .flow-grid { grid-template-columns: 1fr 1.25fr; gap: 72px; }
  .flow-head { position: sticky; top: 22vh; align-self: start; }
  .flow-list li { padding-bottom: 72px; }
}

/* Home hero: the chrome kitten wired to the AI engines and search tools. */
.ac-hero { padding-bottom: 72px; }
@media (min-width: 720px) { .ac-hero { padding-bottom: 112px; } }
.ac-hero h1 { max-width: none; }
.ac-hero h1 .dim { display: block; }
.ac-note { margin: 18px 0 0; color: var(--ink-3); font-size: .9rem; }
.ac-kitty .frame { max-width: min(360px, 78vw); }
.ac-kitty img { width: 76%; margin-top: 10%; }
@media (min-width: 900px) { .ac-hub { grid-template-columns: 1fr 360px 1fr; } .ac-hub .rig-side { height: 430px; } .ac-hub .models li { font-size: 1.1rem; } }

/* Run the team from Mac or iPhone: two device replicas in dark glass. */
.control h2 { max-width: 26ch; }
.devices { margin: 48px 0 0; display: grid; justify-items: center; }
.mac, .phone { background: #070707; color: #ededed; text-align: left; }
.mac { width: 100%; max-width: 680px; border-radius: 16px; font-size: 13px; }
.mac-bar { background: #070707; border-radius: 16px 16px 0 0; display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #1a1a1a; }
.mac-bar i { width: 10px; height: 10px; border-radius: 50%; background: #262626; }
.mac-bar span { flex: 1; text-align: center; color: #717171; font-size: 12px; margin-right: 38px; }
.mac-body { display: flex; min-height: 290px; background: #070707; border-radius: 0 0 16px 16px; }
.mac-side { display: none; width: 29%; padding: 12px 10px; border-right: 1px solid #1a1a1a; flex-direction: column; }
.mac-side p { margin: 0; padding: 6px 10px; border-radius: 7px; color: #a6a6a6; }
.mac-side .on { color: #fff; background: rgb(var(--glint) / .09); box-shadow: inset 0 0 0 1px rgb(var(--glint) / .2); }
.mac-side .sites { margin-top: auto; color: #5c5c5c; line-height: 1.7; }
.mac-main { flex: 1; min-width: 0; padding: 18px 20px 10px; }
.mac-main .mt { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.mac-main .ms { margin: 2px 0 12px; color: #717171; font-size: 12px; }
.crew { list-style: none; margin: 0; padding: 0; }
.crew li { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; margin: 0; padding: 11px 0; border-top: 1px solid #1a1a1a; }
.crew b { font-weight: 500; }
.crew span { color: #a6a6a6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crew em { font-style: normal; font-size: 12px; color: #8c8c8c; }
.crew .now em { color: rgb(var(--glint)); }
.crew .next b, .crew .next span, .crew .next em { color: #555; }
.crew .bar { position: absolute; left: 0; bottom: -1px; width: 45%; height: 1px; background: rgb(var(--glint)); box-shadow: 0 0 8px rgb(var(--glint) / .8); }
.phone { position: relative; z-index: 2; width: 240px; margin-top: -48px; border-radius: 38px; font-size: 13px; }
/* Solid screens keep the glow on the edges, not across the content. */
.phone .screen { position: relative; border-radius: inherit; background: #070707; padding: 48px 16px 20px; }
.island { position: absolute; top: 13px; left: 50%; width: 74px; height: 22px; margin-left: -37px; border-radius: 12px; background: #000; box-shadow: inset 0 0 0 1px #1c1c1c; }
.p-site { margin: 0; color: #717171; font-size: 11px; }
.p-h { margin: 2px 0 12px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.p-card { display: grid; gap: 4px; padding: 12px; background: #111; border: 1px solid #1f1f1f; border-radius: 14px; line-height: 1.35; }
.p-card b { font-weight: 500; }
.p-card span { color: #8c8c8c; font-size: 11.5px; }
.p-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 18px; text-align: center; }
.p-yes { padding: 9px 0; border-radius: 10px; background: #ededed; color: #070707; font-weight: 500; box-shadow: 0 0 0 1px rgb(var(--glint) / .7), 0 0 18px rgb(var(--glint) / .35); }
.p-no { padding: 9px 0; border-radius: 10px; border: 1px solid #2a2a2a; color: #a6a6a6; }
.p-team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.p-team i { height: 3px; border-radius: 2px; background: #262626; }
.p-team .done { background: #a6a6a6; }
.p-team .now { background: rgb(var(--glint)); box-shadow: 0 0 6px rgb(var(--glint) / .8); }
.p-foot { margin: 8px 0 0; color: #717171; font-size: 11px; }
.control-foot { margin-top: 40px; }
@media (min-width: 640px) { .mac-side { display: flex; } }
@media (min-width: 860px) {
  .devices { grid-template-columns: minmax(0, 680px) 240px; justify-content: center; align-items: end; }
  .phone { margin: 0 0 -36px -130px; }
  .control-foot { margin-top: 64px; }
}
@media (prefers-reduced-motion: no-preference) {
  .crew .bar { animation: drafting 5s ease-in-out infinite alternate; }
  @keyframes drafting { from { width: 16%; } to { width: 78%; } }
}

/* The team: a plain hairline list, the reader last. */
.team-grid { display: grid; gap: 32px; }
.team-grid h2 .dim { color: var(--ink-3); }
.team-grid .lead { margin: 0; max-width: 32ch; }
.crew-list { margin: 0; border-top: 1px solid var(--line); }
.crew-list div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.crew-list dt { font-size: 1.15rem; letter-spacing: -.01em; }
.crew-list dd { margin: 0; color: var(--ink-2); }
.crew-list .you dt { display: flex; align-items: center; gap: 10px; }
.crew-list .you dt::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }
@media (min-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1.25fr; gap: 72px; }
  .crew-list div { grid-template-columns: 130px 1fr; gap: 24px; align-items: baseline; }
}
.plans-note { margin-top: 20px; }
.ac-end { text-align: center; }
.ac-end h2 { margin: 0 auto 12px; }
.ac-end p { max-width: 46ch; margin: 0 auto 28px; color: var(--ink-2); }
.ac-end .actions { justify-content: center; }


/* What every plan includes: plain hairline rows, no bullets. */
.included .ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); display: grid; }
.included .ticks li { margin: 0; padding: 12px 0 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.included .ticks li::before { content: none; display: none; }
@media (min-width: 760px) { .included .ticks { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* Docs and support */
.doc-find { margin: 28px auto 0; max-width: 520px; text-align: left; }
.doc-find input { height: 48px; border-radius: 999px; padding: 0 20px; font-size: 1rem; }
.doc-find .meta { text-align: center; margin-top: 12px; }
.doc-index { padding-bottom: 24px; }
.doc-group { margin: 0 0 44px; }
.doc-group h2 { font-size: 1rem; font-weight: 500; color: var(--ink-3); margin: 0 0 8px; }
.doc-group .row h3 { margin: 0 0 4px; }
.doc-group .faq summary { font-weight: 500; }
.doc-group .faq .a p { margin: 0; }
.doc-all { margin-top: 12px; }
.doc { padding-top: 24px; padding-bottom: 32px; }
.doc-head { margin-bottom: 36px; }
.doc-head .meta { margin: 0 0 8px; }
.doc-head h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 14px; }
.doc h2 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc b { color: var(--ink); font-weight: 600; }
.doc-steps { padding-left: 1.3em; }
.doc-steps li { margin: 8px 0; padding-left: 4px; }
.doc-steps li::marker { color: var(--ink-3); }
.doc-note { border-left: 2px solid rgb(var(--glint)); background: var(--signal-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: .95rem; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc-pager a { display: block; text-decoration: none; color: var(--ink); font-weight: 500; padding: 4px 0; }
.doc-pager a span { display: block; font-size: .85rem; font-weight: 400; color: var(--ink-3); margin-bottom: 2px; }
.doc-pager .next { text-align: right; }
.doc-contact { padding-top: 8px; }
.doc-contact h2 { font-size: 1.3rem; font-weight: 500; margin: 0 0 8px; }
.doc-contact p { color: var(--ink-2); }
