/* Joiin — site styles. Mobile-first, light + dark, no external fonts. */
:root {
  --navy: #0f3d6e;
  --blue: #1f6fb5;
  --sun: #f6c026;
  --sun-ink: #3a2a00;

  --bg: #ffffff;
  --bg-soft: #f2f6fb;
  --bg-tint: #e6eef8;
  --ink: #0d1b2a;
  --ink-soft: #45566a;
  --line: #d6e0ec;
  --link: #1a5f9e;
  --card: #ffffff;
  --hero-from: #0f3d6e;
  --hero-to: #1f6fb5;
  --hero-ink: #ffffff;
  --focus: #f6c026;
  --ok: #17703a;
  --err: #b42318;

  --radius: 14px;
  --shadow: 0 1px 2px rgb(13 27 42 / .06), 0 6px 20px rgb(13 27 42 / .06);
  --wrap: 72rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1420;
    --bg-soft: #101c2b;
    --bg-tint: #142338;
    --ink: #e8eef6;
    --ink-soft: #a6b4c5;
    --line: #23344b;
    --link: #8cc2f5;
    --card: #111e2f;
    --hero-from: #0a2647;
    --hero-to: #12477d;
    --ok: #5fd38d;
    --err: #ff8a80;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .3);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--sun-ink); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.nav-desktop { display: none; }
.nav-desktop ul, .nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop a:not(.btn), .nav-mobile a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 550; }
.nav-desktop a[aria-current="page"], .nav-mobile a[aria-current="page"] { color: var(--link); text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.nav-mobile summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -5px; } .burger::after { top: 5px; }
.nav-mobile[open] nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.25rem; box-shadow: var(--shadow); }
.nav-mobile li { margin: 0; border-bottom: 1px solid var(--line); }
.nav-mobile li a { display: block; padding: .85rem 0; }
.nav-mobile .btn { margin-top: 1rem; width: 100%; }
@media (min-width: 900px) {
  .nav-mobile { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 1.5rem; }
  .nav-desktop ul { display: flex; gap: 1.25rem; }
  .nav-desktop li + li { margin: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; background: var(--sun); color: var(--sun-ink); font-weight: 750; text-decoration: none; border: 0; font-size: 1.05rem; cursor: pointer; box-shadow: 0 2px 0 rgb(0 0 0 / .12); transition: transform .12s ease, filter .12s ease; }
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-small { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Sections */
section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: .75rem; }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: var(--ink-soft); max-width: 40rem; }
.section-head { max-width: 44rem; margin-bottom: 2rem; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: var(--hero-ink); padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem); overflow: hidden; }
.hero .eyebrow { color: var(--sun); }
.hero .lead { color: rgb(255 255 255 / .85); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero .btn-ghost { color: #fff; }
.hero-note { font-size: .95rem; color: rgb(255 255 255 / .75); margin-top: 1rem; }
.page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
.page-hero.hero { padding-bottom: clamp(2.5rem, 6vw, 4rem); }

/* Video placeholder */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); background: radial-gradient(circle at 30% 20%, #2b84d1, #0a2647 70%); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow); overflow: hidden; }
.video .play { width: 76px; height: 76px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; margin: 0 auto .75rem; box-shadow: 0 8px 24px rgb(0 0 0 / .3); }
.video .play svg { width: 30px; height: 30px; margin-left: 5px; }
.video small { display: block; opacity: .8; }

/* Cards & grids */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-tint); color: var(--link); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 26px; height: 26px; }
.audience { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
.audience:hover { transform: translateY(-2px); border-color: var(--blue); }
.audience .more { margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--link); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--bg-tint); color: var(--link); }
.tag-sun { background: var(--sun); color: var(--sun-ink); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.25rem; }
.steps > li { counter-increment: step; margin: 0; position: relative; padding-left: 3.5rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--sun); color: var(--sun-ink); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .25rem; }
.steps p { color: var(--ink-soft); }

/* Story */
.story { border-left: 4px solid var(--sun); padding: .25rem 0 .25rem 1.25rem; }
.story p { font-size: 1.08rem; }
.story .who { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.timeline li { margin: 0; display: grid; grid-template-columns: 4.5rem 1fr; gap: .75rem; }
.timeline time { font-weight: 800; color: var(--link); font-variant-numeric: tabular-nums; }
.say { display: inline-block; background: var(--bg-tint); border-radius: 10px 10px 10px 2px; padding: .15rem .6rem; font-weight: 600; }

/* Checklist */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%233a2a00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* Pricing */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: .5rem 0 .25rem; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.plan .per { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.plan .checks { margin: 0 0 1.5rem; }
.plan .btn { margin-top: auto; }
.plan-featured { border: 2px solid var(--sun); position: relative; }
.plan-featured .tag-sun { position: absolute; top: -.8rem; left: 1.5rem; }

/* Callout / CTA band */
.cta-band { background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: #fff; border-radius: calc(var(--radius) * 1.4); padding: clamp(1.75rem, 5vw, 3rem); display: grid; gap: 1.25rem; align-items: center; }
.cta-band p { color: rgb(255 255 255 / .85); margin: 0; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }
.note { background: var(--bg-tint); border-radius: var(--radius); padding: 1rem 1.25rem; }
.note > :last-child { margin-bottom: 0; }
.soon { display: inline-block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--sun); color: var(--sun-ink); border-radius: 6px; padding: .1rem .45rem; vertical-align: middle; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--link); }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { margin-top: .75rem; color: var(--ink-soft); }

/* Prose (legal pages) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0 1.5rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6rem .7rem; border: 1px solid var(--line); }
.prose th { background: var(--bg-soft); }
.updated { color: var(--ink-soft); font-size: .95rem; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .hint { display: block; font-weight: 400; color: var(--ink-soft); font-size: .92rem; }
.field fieldset { border: 0; padding: 0; margin: 0; }
input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .85rem; min-height: 48px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid color-mix(in srgb, var(--blue) 30%, transparent); outline-offset: 0; }
textarea { min-height: 7rem; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.radios label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1rem; cursor: pointer; margin: 0; }
.radios input { width: 1.1rem; height: 1.1rem; accent-color: var(--blue); }
.radios label:has(input:checked) { border-color: var(--blue); background: var(--bg-tint); }
.req { color: var(--err); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .92rem; color: var(--ink-soft); }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .split { grid-template-columns: .9fr 1.1fr; align-items: start; } .split .sticky { position: sticky; top: 84px; } }

/* About */
.figure { margin: 0; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.figure figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .5rem; }
.creds { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.creds li { margin: 0; padding: 1rem 1.15rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.creds strong { display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 2.5rem 0 1.5rem; margin-top: 0; font-size: .95rem; color: var(--ink-soft); }
.site-footer .brand { margin-bottom: .75rem; font-size: 1.15rem; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .4rem; }
.legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; }

/* Hero illustration */
.hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .wave { animation: wave 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
  .wave.w2 { animation-delay: .8s; } .wave.w3 { animation-delay: 1.6s; }
  @keyframes wave { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
}
.audience .tag { align-self: flex-start; }
.video { max-width: 56rem; margin: 0 auto; }
.hero-sub { color: rgb(255 255 255 / .75); max-width: 40rem; }
