/* OmniCode — shared styles.
   Autumn palette, carried over from the extension's hint panel so the site and the product in the
   browser feel like one thing. */

:root {
  --cream: #F5EEDF;
  --card: #FCF7EC;
  --card-2: #FFFDF7;
  --ink: #2c2013;
  --muted: #7c6f5b;
  --line: #E8DCC6;
  --terra: #b5541c;
  --terra-soft: #f2e0cd;
  --orange: #c2621f;
  --orange-hover: #d16e25;
  --gold: #c8962f;
  --ok: #7f9040;
  --bad: #b23b2e;
  --dark-1: #7a3d16;
  --dark-2: #331808;
  --dark-3: #1f0d05;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
/* Author `display` rules outrank the UA stylesheet's [hidden] rule, so `hidden` stops working on
   any element we style with display:flex/grid. Make the attribute authoritative again. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--terra); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 238, 223, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; display: block; flex: 0 0 30px; }
.brand .mark svg { width: 100%; height: 100%; display: block; }
/* On the dark footer the ring would disappear, so lift it to the cream. */
footer .brand .mark svg circle[stroke] { stroke: #e0cbaa; }
.brand .name { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .01em; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav .links a { color: var(--muted); font-size: .92rem; font-weight: 500; }
.nav .links a:hover { color: var(--terra); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 11px; padding: 11px 20px;
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: var(--cream); box-shadow: 0 4px 14px rgba(194,98,31,.28); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--terra); color: var(--terra); }
.btn-dark { background: var(--dark-2); color: var(--cream); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(120% 140% at 15% 0%, var(--dark-1) 0%, var(--dark-2) 55%, var(--dark-3) 100%);
  color: var(--cream); padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 10vw, 120px);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 50% at 80% 100%, rgba(200,150,47,.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(200,150,47,.35); border-radius: 20px; padding: 6px 14px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600; margin: 0 0 20px;
  font-size: clamp(2.2rem, 5.4vw, 3.7rem); line-height: 1.1; letter-spacing: -.01em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .sub { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #e2d3bd; max-width: 620px; margin: 0 0 34px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .note { font-size: .84rem; color: #b9a68c; margin-top: 18px; }

/* ---------- sections ---------- */
section { padding: clamp(54px, 8vw, 90px) 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: 0 0 12px; line-height: 1.2;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 10px;
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; transition: transform .15s ease, box-shadow .15s ease;
}
.card.lift:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(60,35,10,.09); }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card .ico { font-size: 1.6rem; margin-bottom: 12px; display: block; }

.dark-card {
  background: radial-gradient(130% 200% at 0% 0%, var(--dark-1), var(--dark-2) 65%, var(--dark-3));
  color: var(--cream); border: none;
}
.dark-card h3 { color: var(--cream); }
.dark-card p { color: #d8c6ac; }

/* ---------- platform chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  background: var(--card-2); border: 1px solid var(--line); border-radius: 20px;
  padding: 7px 15px; font-size: .87rem; color: #4a3a24; font-weight: 500;
}

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 26px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .num {
  counter-increment: step; flex: 0 0 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--terra-soft); color: var(--terra);
  font-weight: 700; font-family: var(--serif);
}
.step .num::before { content: counter(step); }
.step h4 { margin: 6px 0 5px; font-size: 1.05rem; font-weight: 650; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; position: relative; }
.plan.featured { border-color: var(--orange); box-shadow: 0 10px 34px rgba(194,98,31,.14); }
.plan .tag {
  position: absolute; top: -12px; left: 28px; background: var(--orange); color: var(--cream);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.plan h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 4px; }
.plan .price { font-size: 2.4rem; font-weight: 700; font-family: var(--serif); line-height: 1; margin: 14px 0 4px; }
.plan .price span { font-size: .95rem; font-weight: 400; color: var(--muted); font-family: var(--sans); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: .93rem; color: #4a3a24; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan li.off { color: var(--muted); } .plan li.off::before { content: "—"; color: var(--line); }
.plan .btn { width: 100%; }

/* ---------- dashboard ---------- */
.dash-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-head h1 { font-family: var(--serif); font-size: 1.8rem; margin: 0; font-weight: 600; }
.pill {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; background: var(--terra-soft); color: var(--terra);
}
.stat-row { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stat .v { font-size: 1.9rem; font-weight: 700; font-family: var(--serif); line-height: 1; }
.stat .l { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 7px; }

.pattern-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.pattern-row:first-of-type { border-top: none; }
.pattern-row .nm { flex: 0 0 180px; font-weight: 600; font-size: .94rem; }
.bar { flex: 1; height: 8px; background: #e9dcc7; border-radius: 5px; overflow: hidden; min-width: 80px; }
.bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--gold), var(--terra)); }
.pattern-row .sc { flex: 0 0 44px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pattern-row .st { flex: 0 0 96px; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pattern-row .pl { flex: 0 0 auto; font-size: .78rem; color: var(--muted); }
@media (max-width: 640px) { .pattern-row .st, .pattern-row .pl { display: none; } .pattern-row .nm { flex-basis: 120px; } }

.narrative {
  background: var(--terra-soft); border-left: 3px solid var(--terra); border-radius: 0 12px 12px 0;
  padding: 16px 20px; font-size: .96rem; color: #5a3a1c; margin-bottom: 24px;
}
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .big { font-size: 2.4rem; margin-bottom: 12px; }

.token-bar {
  background: var(--card-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 24px;
}
.token-bar input {
  flex: 1; min-width: 200px; border: 1px solid var(--line); border-radius: 9px;
  padding: 10px 13px; font: inherit; font-size: .92rem; background: #fff; color: var(--ink);
}
.token-bar label { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* ---------- footer ---------- */
footer {
  background: var(--dark-3); color: #c7b49a; padding: 44px 0 34px; margin-top: 40px;
}
footer .wrap { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
footer a { color: #e0cbaa; font-size: .9rem; }
footer .sp { margin-left: auto; font-size: .84rem; color: #8d7a61; }

.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-family: var(--mono); font-size: .88em; }
code {
  background: var(--terra-soft); color: var(--terra); padding: 2px 7px;
  border-radius: 5px; font-family: var(--mono); font-size: .87em;
}

/* ============================================================================
   Launch polish — product mockup, comparison table, interactive demo, motion.
   ============================================================================ */

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero layout with product visual ---------- */
.hero-grid { display: grid; gap: 46px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

/* ---------- the coach panel mockup (mirrors the real extension UI) ---------- */
.mock {
  background: var(--cream); border-radius: 16px; overflow: hidden;
  box-shadow: 0 26px 70px rgba(10,5,2,.5), 0 0 0 1px rgba(255,255,255,.07);
  color: var(--ink); font-size: 13.5px; line-height: 1.55; max-width: 420px; width: 100%;
}
.mock-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; color: #f0d9c2;
  background: radial-gradient(130% 200% at 0% 0%, #7a3d16, #331808 65%, #1f0d05);
}
.mock-head .t { font-family: var(--serif); font-weight: 700; font-size: 13.5px; color: var(--cream); }
.mock-head .p { font-size: 10px; opacity: .8; }
.mock-head .dot {
  margin-left: auto; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #bcd07e; background: rgba(127,144,64,.22); border-radius: 20px; padding: 3px 9px;
}
.mock-body { padding: 14px; }
.skill-strip {
  display: flex; align-items: center; gap: 8px; background: var(--terra-soft);
  border-radius: 9px; padding: 8px 11px; font-size: 11.5px; color: #7a3d16; margin-bottom: 12px;
}
.skill-strip .bar { flex: 1; height: 5px; background: #e2cdb4; border-radius: 3px; overflow: hidden; }
.skill-strip .bar i { display: block; height: 100%; background: var(--terra); transition: width 1s ease; }
.skill-strip b { font-weight: 700; }
.mock-step {
  border-left: 3px solid var(--terra); padding: 4px 0 4px 11px; margin: 11px 0;
  animation: stepIn .32s ease;
}
@keyframes stepIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.mock-step .lbl {
  font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--terra); margin-bottom: 3px;
}
.mock-step .pat { font-family: var(--serif); font-weight: 600; font-size: 15px; }
.mock-tag {
  display: inline-block; font-size: 10.5px; background: var(--terra-soft); color: var(--terra);
  border-radius: 10px; padding: 1px 8px; margin: 3px 4px 0 0;
}
.cmp-line { font-size: 12.5px; margin-top: 4px; }
.cmp-line .arw { color: var(--ok); font-weight: 700; }
.mock-foot {
  display: flex; gap: 7px; padding: 11px 13px; border-top: 1px solid var(--line); flex-wrap: wrap;
  background: var(--card-2);
}
.mock-btn {
  border: none; border-radius: 9px; padding: 8px 13px; font: inherit; font-size: 12.5px;
  font-weight: 600; cursor: pointer; transition: transform .1s, background .15s;
}
.mock-btn:hover { transform: translateY(-1px); }
.mock-btn.p { background: var(--orange); color: var(--cream); }
.mock-btn.g { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.mock-btn:disabled { opacity: .45; pointer-events: none; }
.mock-caption { font-size: .82rem; color: #b9a68c; margin-top: 14px; text-align: center; }

/* floating lightbulb, as it appears on a problem page */
.fab-demo {
  position: absolute; right: -14px; bottom: -14px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 23px; color: #fff;
  background: radial-gradient(130% 130% at 30% 20%, #d16e25, #9c3b1a);
  box-shadow: 0 10px 26px rgba(120,50,15,.55); animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(120,50,15,.55); }
  50% { box-shadow: 0 0 0 12px rgba(209,110,37,.14), 0 10px 30px rgba(120,50,15,.6); }
}
.mock-wrap { position: relative; display: flex; justify-content: center; }

/* ---------- comparison table ---------- */
.cmp-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .93rem; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  font-weight: 700; background: var(--card-2);
}
table.cmp thead th.us { color: var(--terra); }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td.feat { font-weight: 600; color: var(--ink); }
table.cmp td.us { background: rgba(194,98,31,.055); font-weight: 600; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: #c0b19a; }
.part { color: var(--gold); font-weight: 600; }

/* ---------- animated skill map preview ---------- */
.map-demo { display: grid; gap: 11px; }
.map-row { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.map-row .n { flex: 0 0 150px; font-weight: 600; }
.map-row .b { flex: 1; height: 9px; background: #e9dcc7; border-radius: 5px; overflow: hidden; }
.map-row .b i {
  display: block; height: 100%; width: 0; border-radius: 5px;
  background: linear-gradient(90deg, var(--gold), var(--terra)); transition: width 1.3s cubic-bezier(.2,.7,.3,1);
}
.map-row .v { flex: 0 0 34px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.map-row .src { flex: 0 0 auto; font-size: .76rem; color: var(--muted); }
@media (max-width: 620px) { .map-row .src { display: none; } .map-row .n { flex-basis: 104px; } }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 19px 0; cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none;
  display: flex; align-items: center; gap: 12px; transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; font-size: 1.35rem; color: var(--terra); font-weight: 400;
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--terra); }
.faq .a { padding: 0 0 20px; color: var(--muted); font-size: .97rem; max-width: 760px; }

/* ---------- misc ---------- */
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: #cbb69a;
  background: rgba(255,255,255,.06); border: 1px solid rgba(240,217,194,.16);
  border-radius: 20px; padding: 6px 13px;
}
.quote-big {
  font-family: var(--serif); font-size: clamp(1.15rem, 2.3vw, 1.5rem); line-height: 1.5;
  color: #f0dcc0; background: rgba(255,255,255,.07); border-radius: 12px; padding: 22px 24px;
  border-left: 3px solid var(--gold);
}
.cta-band {
  background: radial-gradient(120% 160% at 20% 0%, var(--dark-1), var(--dark-2) 60%, var(--dark-3));
  color: var(--cream); border-radius: 22px; padding: clamp(38px, 6vw, 62px) clamp(24px, 5vw, 54px);
  text-align: center;
}
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 12px; }
.cta-band p { color: #d8c6ac; max-width: 520px; margin: 0 auto 28px; }

/* ---------- mobile nav ----------
   The full link row is 387px wide and cannot fit a 375px viewport, which pushed the whole page
   sideways. Below the breakpoint, keep only the brand and the one action that matters. */
@media (max-width: 780px) {
  .nav .links a:not(.btn) { display: none; }
  .nav .links { gap: 10px; }
  .nav .wrap { gap: 10px; }
}
/* Belt and braces: nothing should ever be able to scroll the page sideways. */
html, body { max-width: 100%; overflow-x: hidden; }
