/* build2launch — single stylesheet. Modern, white, playful. Icons-only graphics.
   Design tokens at :root; mobile-first; no framework. */

:root {
  /* Palette — white base, one cheerful accent (indigo→violet), warm support */
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-tint: #eef0fb;
  --ink: #161a2b;
  --ink-soft: #4b5168;
  --ink-faint: #868ca3;
  --line: #e7e9f2;
  --accent: #5b5bf0;
  --accent-deep: #4242c7;
  --accent-soft: #ececfe;
  --accent-2: #ff7a59;     /* warm pop for highlights */
  --good: #1aa564;
  --good-soft: #e4f7ee;
  --warn: #c9821b;
  --danger: #d8455b;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(22, 26, 43, .06), 0 1px 3px rgba(22, 26, 43, .05);
  --shadow: 0 8px 24px rgba(22, 26, 43, .08);
  --shadow-lg: 0 24px 60px rgba(66, 66, 199, .14);
  --ring: 0 0 0 4px var(--accent-soft);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1080px;
  --space: clamp(1rem, 2.5vw, 1.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.18em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space); }
.center { text-align: center; }
.muted { color: var(--ink-faint); }
.small { font-size: .9rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font: inherit; font-weight: 700; cursor: pointer;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem); background:
  radial-gradient(1200px 500px at 80% -10%, var(--accent-soft), transparent 60%),
  radial-gradient(900px 400px at 0% 0%, #fff0ec, transparent 55%); }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero .sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 56ch; margin: 0 auto 1.6rem; }
.hero .cta-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero .trust { margin-top: 1.2rem; font-size: .9rem; color: var(--ink-faint); display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.hero .trust span { display: inline-flex; align-items: center; gap: .35rem; }

.badges { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm); }
.chip .icon { color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 60ch; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { font-size: 1.08rem; }
.bg-soft { background: var(--bg-soft); }

/* Grid of cards */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); margin-bottom: .9rem; }
.card.warm .ico { background: #ffeee8; color: var(--accent-2); }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; font-size: .96rem; }

/* How it works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 3.2rem; }
.step .num { position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; }

/* Channel row */
.channels { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.channel { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 700; box-shadow: var(--shadow-sm); }

/* ---------- Pricing ---------- */
.price-card { max-width: 440px; margin: 0 auto; background: #fff; border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: 2.2rem; text-align: center; box-shadow: var(--shadow-lg); position: relative; }
.price-card .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent-2); color: #fff; font-weight: 700; font-size: .8rem; padding: .35rem .9rem; border-radius: 999px; }
.price-card .amount { font-size: 3.4rem; font-weight: 800; letter-spacing: -.03em; }
.price-card .amount small { font-size: 1.1rem; color: var(--ink-faint); font-weight: 600; }
.price-card .once { color: var(--ink-faint); margin-bottom: 1.3rem; }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; display: grid; gap: .7rem; }
.feature-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); }
.feature-list .icon { color: var(--good); flex: none; margin-top: .15rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
details.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.2rem; box-shadow: var(--shadow-sm); }
details.qa summary { cursor: pointer; list-style: none; font-weight: 700; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-weight: 700; color: var(--accent); font-size: 1.4rem; line-height: 1; }
details.qa[open] summary::after { content: "–"; }
details.qa p { padding: 0 0 1.1rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn-primary { background: #fff; color: var(--accent-deep); }
.cta-band .btn-primary:hover { background: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--ink-faint); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--ink-soft); margin-left: 1.1rem; }

/* ---------- Forms / auth / app ---------- */
.field { margin-bottom: 1.1rem; text-align: left; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field .hint { color: var(--ink-faint); font-size: .85rem; margin: .3rem 0 0; }
input[type=text], input[type=email], input[type=url], textarea, select {
  width: 100%; font: inherit; color: var(--ink); padding: .75rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, textarea:focus { border-color: var(--accent); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.auth-wrap { max-width: 460px; margin: clamp(2rem, 8vw, 5rem) auto; }

.notice { padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; margin: 1rem 0; }
.notice.err { background: #fdecef; color: var(--danger); border: 1px solid #f6c9d2; }
.notice.ok { background: var(--good-soft); color: var(--good); border: 1px solid #bfe9d3; }
.notice.info { background: var(--accent-soft); color: var(--accent-deep); border: 1px solid #d6d6fb; }
[hidden] { display: none !important; }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-ghost .spinner { border: 2px solid var(--accent-soft); border-top-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- App dashboard ---------- */
.app-shell { min-height: 100vh; background: var(--bg-soft); }
.app-main { padding: 2rem 0 4rem; }
.app-grid { display: grid; grid-template-columns: 260px 1fr; gap: 1.6rem; align-items: start; }
@media (max-width: 900px) { .app-grid { grid-template-columns: 1fr; } }

.sidebar { position: sticky; top: 80px; }
.progress-ring { text-align: center; margin-bottom: 1rem; }
.progress-bar { height: 10px; background: var(--bg-tint); border-radius: 999px; overflow: hidden; margin: .5rem 0; }
.progress-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width .3s ease; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.toc a { display: flex; justify-content: space-between; gap: .5rem; padding: .55rem .7rem; border-radius: var(--radius-sm); color: var(--ink-soft); font-weight: 600; font-size: .92rem; }
.toc a:hover { background: var(--accent-soft); color: var(--accent-deep); text-decoration: none; }
.toc .count { color: var(--ink-faint); font-size: .82rem; }

.phase { margin-bottom: 2rem; }
.phase > header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap; }
.phase > header .window { color: var(--ink-faint); font-weight: 600; font-size: .9rem; }

.task { display: flex; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .7rem; box-shadow: var(--shadow-sm); }
.task.done { background: var(--good-soft); border-color: #bfe9d3; }
.task .cb { flex: none; margin-top: .15rem; }
.task .cb input { width: 22px; height: 22px; accent-color: var(--accent); cursor: pointer; }
.task .body { flex: 1; min-width: 0; }
.task .title { font-weight: 700; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.task.done .title { text-decoration: line-through; color: var(--ink-soft); }
.task .detail { font-size: .92rem; color: var(--ink-soft); margin: .25rem 0 .5rem; }
.task .meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.tag-pill { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--bg-tint); color: var(--accent-deep); text-transform: uppercase; letter-spacing: .04em; }
.tag-pill.ch-x { background: #e8f4ff; color: #1574c4; }
.tag-pill.ch-linkedin { background: #e7f1fb; color: #0a66c2; }
.tag-pill.pri-high { background: #ffe9ec; color: var(--danger); }
.task .track { width: 100%; font-size: .9rem; }
.task .track summary { cursor: pointer; color: var(--accent-deep); font-weight: 600; font-size: .85rem; }
.save-state { font-size: .78rem; color: var(--ink-faint); }

.copybox { position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; white-space: pre-wrap; font-size: .9rem; margin: .5rem 0; }
.copybox button { position: absolute; top: .5rem; right: .5rem; }
.tmpl { margin-bottom: 1.2rem; }
.tmpl h4 { margin: 0 0 .2rem; display: flex; gap: .5rem; align-items: center; }

.linklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.linklist li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }

.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.tab { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; font: inherit; }
.tab[aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }

/* legal/article pages */
.article { max-width: 760px; margin: clamp(2rem,5vw,3.5rem) auto; }
.article h2 { font-size: 1.35rem; margin-top: 2rem; }
.article h1 { font-size: 2.2rem; }
.article ul { color: var(--ink-soft); }
.article .updated { color: var(--ink-faint); font-size: .9rem; }
