:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --sky: #38bdf8;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --tint: #f1f5f9;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 12px; border: 2px solid transparent;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-primary { background: var(--sky); color: var(--navy); }
.btn-primary:hover { background: #7dd3fc; }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(15, 23, 42, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand b { color: var(--sky); font-weight: 800; }
.brand-mark { width: 34px; height: 34px; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { color: #cbd5e1; text-decoration: none; font-size: .95rem; font-weight: 500; }
.menu a:not(.btn):hover { color: var(--white); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--white); margin: 6px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 88px 0 110px; }
.rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(56, 189, 248, .16); right: -240px; top: 50%; translate: 0 -50%; }
.rings i:nth-child(1) { width: 520px; height: 520px; }
.rings i:nth-child(2) { width: 760px; height: 760px; }
.rings i:nth-child(3) { width: 1000px; height: 1000px; }
.rings i:nth-child(4) { width: 1240px; height: 1240px; }
.hero-in > * { min-width: 0; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 14px; }
.hero .eyebrow, .eyebrow.light { color: var(--sky); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
.lead { font-size: 1.2rem; color: #cbd5e1; margin-top: 22px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; color: #cbd5e1; font-size: .95rem; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; }
.hero-ticks .ic { color: var(--sky); }

.hero-art { position: relative; }
.mock { background: var(--white); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden; transform: rotate(1.5deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--tint); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-bar span { margin-left: 10px; font-weight: 600; }
.mock-body { padding: 20px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stats div { background: var(--tint); border-radius: 12px; padding: 12px; }
.mock-stats small { display: block; font-size: .7rem; color: var(--muted); }
.mock-stats b { font-size: 1.5rem; font-weight: 800; }
.mock-rows { margin-top: 18px; display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: 88px 1fr 40px; align-items: center; gap: 10px; font-size: .85rem; }
.row em { font-style: normal; font-weight: 600; text-align: right; }
.bar { height: 10px; background: var(--tint); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--sky); border-radius: 99px; }
.mock-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.mock-foot b { color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.float { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); padding: 10px 14px; border-radius: 12px; font-size: .85rem; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.float .ic { color: var(--sky); }
.f1 { left: -28px; bottom: -20px; }
.f2 { right: -10px; top: -22px; }

/* Sections */
.section { padding: 96px 0; }
.section.tint { background: var(--tint); }
.section.dark { background: var(--navy); color: var(--white); }
.head { max-width: 720px; margin: 0 auto 52px; }
.head.center { text-align: center; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.sub { font-size: 1.15rem; color: var(--muted); margin-top: 18px; }
.sub.left { text-align: left; }
.dark .sub { color: #cbd5e1; }

/* Problem */
.mess { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 880px; margin: 0 auto 56px; }
.mess span { background: var(--white); border: 1.5px dashed #94a3b8; color: var(--muted); padding: 10px 18px; border-radius: 99px; font-weight: 600; font-size: .95rem; }
.mess span:nth-child(odd) { transform: rotate(-2deg); }
.mess span:nth-child(even) { transform: rotate(1.5deg); }
.mess span:nth-child(3n) { transform: rotate(-.5deg) translateY(4px); }
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain { background: var(--tint); border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--sky); }
.pain h3 { font-size: 1.1rem; margin-bottom: 10px; }
.pain p { color: var(--muted); font-size: .96rem; }

/* Ladder */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
.step { border-radius: var(--radius); padding: 26px 22px; background: var(--navy-2); border: 1px solid rgba(56, 189, 248, .3); display: flex; flex-direction: column; gap: 6px; position: relative; }
.step span { font-weight: 800; font-size: 1.2rem; }
.step small { color: #94a3b8; font-size: .9rem; }
.step.s1 { background: var(--sky); color: var(--navy); border-color: var(--sky); }
.step.s1 small { color: #0c4a6e; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: 2px; background: var(--sky); }
.ladder-note { color: #cbd5e1; max-width: 640px; margin: 40px auto 0; }

/* Cards */
.trio, .grid { display: grid; gap: 22px; }
.trio { grid-template-columns: repeat(3, 1fr); }
.grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 52px; }
.grid.four { margin-bottom: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.tint .card { border-color: transparent; }
.tile { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--sky); display: grid; place-items: center; margin-bottom: 18px; }
.tile .ic { width: 24px; height: 24px; }
.who h3 { font-size: 1.35rem; margin-bottom: 16px; }
.feat h4 { font-size: 1.05rem; margin-bottom: 8px; letter-spacing: -.01em; }
.feat p { color: var(--muted); font-size: .95rem; }
.group-title { display: flex; align-items: center; gap: 14px; font-size: 1.35rem; margin-bottom: 22px; }
.group-title span { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--sky); display: grid; place-items: center; font-size: .95rem; }

.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks.big li { font-size: 1.05rem; color: var(--ink); }

/* Money */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 0; }
.split .ticks { margin-top: 26px; }
.flow { display: flex; flex-direction: column; align-items: stretch; }
.node { background: var(--navy); color: var(--white); border-radius: 14px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.node b { font-size: 1.05rem; }
.node small { color: #94a3b8; }
.node.n3 { background: var(--sky); color: var(--navy); }
.node.n3 small { color: #0c4a6e; }
.arrow { height: 26px; width: 2px; background: var(--sky); margin: 0 auto; position: relative; }
.arrow::after { content: ""; position: absolute; bottom: -2px; left: -4px; border: 5px solid transparent; border-top: 7px solid var(--sky); }

/* Versus */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.side { border-radius: var(--radius); padding: 34px; }
.side h3 { font-size: 1.3rem; margin-bottom: 22px; }
.side li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.side .ic { margin-top: .2em; }
.before { background: var(--white); border: 1px solid var(--line); }
.before .ic { color: #dc2626; }
.before li { color: var(--muted); }
.after { background: var(--navy); color: var(--white); }
.after .ic { color: var(--sky); }
.after h3 { color: var(--sky); }

/* Trust */
.trust { padding: 8px 4px; }
.trust .ic { width: 34px; height: 34px; color: var(--sky-600); margin-bottom: 12px; }
.trust h4 { font-size: 1.1rem; margin-bottom: 8px; }
.trust p { color: var(--muted); font-size: .95rem; }

/* FAQ */
details { background: var(--white); border-radius: 14px; margin-bottom: 12px; border: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 24px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; color: var(--sky-600); line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.cta .rings i { right: auto; left: 50%; translate: -50% -50%; }
.cta .rings i:nth-child(1) { width: 600px; height: 600px; }
.cta .rings i:nth-child(2) { width: 900px; height: 900px; }
.cta .rings i:nth-child(3) { width: 1200px; height: 1200px; }
.cta .wrap { position: relative; }
.cta .sub { color: #cbd5e1; }
.demo-embed { margin: 36px auto 0; max-width: 520px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 28px; text-align: left; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.demo-embed .couchwork-widget { max-width: none; font-family: inherit; }
.demo-embed .couchwork-widget input, .demo-embed .couchwork-widget textarea, .demo-embed .couchwork-widget select { border: 2px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 1rem; }
.demo-embed .couchwork-widget input:focus, .demo-embed .couchwork-widget textarea:focus { outline: none; border-color: var(--sky-600); }
.demo-embed .couchwork-widget button { background: var(--sky); color: var(--navy); border-radius: 12px; padding: 13px 22px; font-size: 1rem; font-weight: 700; width: 100%; }
.demo-embed .couchwork-widget button:hover:not(:disabled) { background: #7dd3fc; }

/* Footer */
.foot { background: #0a1020; color: #94a3b8; padding: 40px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.foot-in .small { margin-left: auto; font-size: .85rem; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}
@media (max-width: 880px) {
  .hero { padding: 56px 0 72px; }
  .hero-in, .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-art { max-width: 520px; width: 100%; margin-inline: auto; }
  .f1 { left: -6px; }
  .f2 { right: -6px; }
  .trio, .versus { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .burger { display: block; }
  .menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu .btn { margin-top: 14px; }
}
@media (max-width: 600px) {
  .grid, .pains, .ladder { grid-template-columns: 1fr; }
  .foot-in .small { margin-left: 0; }
  .cta-row .btn { flex: 1 1 100%; }
  .mock { transform: none; }
  .f2 { top: -40px; right: 0; }
  .row { grid-template-columns: 72px 1fr 38px; }
}

/* Hide the demo card until the embedded form has actually rendered */
.demo-embed:has(.couchwork-widget:empty) { display: none; }
