/* ==========================================================================
   Tallyfox — App / SaaS landing page template
   --------------------------------------------------------------------------
   REBRANDING: change the custom properties below.
   --navy-*   dark section backgrounds and main text color
   --mint-*   primary accent (buttons, links on dark, highlights)
   --teal-700 accent used for text/links on white (kept dark for contrast)
   --coral-*  secondary highlight (badges, "save" labels, small details)
   --font-sans  swap the Google Font <link> in each page's <head> too.
   Keep text/background pairs at a 4.5:1 contrast ratio or higher.
   ========================================================================== */
:root {
  --navy-950: #071226;
  --navy-900: #0b1b33;
  --navy-800: #13284a;
  --navy-700: #1d3760;
  --navy-300: #a9b8cf;
  --mint-400: #2dd4bf;
  --mint-300: #5eead4;
  --mint-100: #ccfbf1;
  --teal-700: #0f766e;
  --coral-400: #ff7a66;
  --coral-100: #ffe4de;
  --ink: #0b1b33;
  --ink-soft: #46546b;
  --line: #e3e8f0;
  --surface: #ffffff;
  --surface-alt: #f5f8fb;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -20px rgba(7, 18, 38, .35);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.15rem, 6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal-700); }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--coral-400); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--mint-400); color: var(--navy-900); padding: .7rem 1rem;
  border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint-400); color: var(--navy-900); box-shadow: 0 10px 30px -12px rgba(45, 212, 191, .8); }
.btn-mint:hover { background: var(--mint-300); color: var(--navy-900); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--mint-300); color: var(--mint-300); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy-900); color: var(--ink); }
.btn-sm { padding: .55rem 1.05rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 27, 51, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .8rem;
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .75rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.site-nav a:not(.btn) { display: block; color: #dbe4f0; text-decoration: none; font-weight: 600; padding: .7rem .5rem; border-radius: 8px; }
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--mint-300); }
.site-nav .btn { margin-top: .5rem; }
.site-nav .btn[aria-current="page"] { box-shadow: 0 0 0 3px rgba(94, 234, 212, .35); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { flex-direction: row; align-items: center; padding: 0; gap: .35rem; }
  .site-nav a:not(.btn) { padding: .5rem .8rem; font-size: .95rem; }
  .site-nav a[aria-current="page"]:not(.btn) { position: relative; }
  .site-nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--mint-400); border-radius: 2px; }
  .site-nav .btn { margin: 0 0 0 .6rem; }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 6.5rem 0; } }
.section-dark { background: var(--navy-900); color: #e6edf6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: var(--mint-300); }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-dark .section-head p { color: var(--navy-300); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--mint-300); }
.example-note { font-size: .8rem; color: var(--ink-soft); }
.section-dark .example-note { color: var(--navy-300); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #dbe4f0; padding: 3.5rem 0 3rem; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.hero::before { width: 420px; height: 420px; background: var(--mint-400); top: -180px; right: -120px; opacity: .25; }
.hero::after { width: 360px; height: 360px; background: var(--coral-400); bottom: -200px; left: -160px; opacity: .18; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-layout { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero { padding: 5.5rem 0 4.5rem; } .hero-layout { grid-template-columns: 1fr 1.08fr; gap: 3.5rem; } }
.hero h1 { color: #fff; font-size: clamp(2.15rem, 5.4vw, 3.4rem); }
.hero h1 .hl { color: var(--mint-300); position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .3em; }
.hero-sub { font-size: 1.15rem; max-width: 34rem; color: var(--navy-300); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.25rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; padding: 0; margin: 0; list-style: none; font-size: .9rem; color: var(--navy-300); }
.hero-meta li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--mint-400); flex: none; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .4rem; margin-bottom: 1.4rem;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; font-size: .85rem; color: #dbe4f0;
}
.pill b { background: var(--coral-400); color: var(--navy-900); border-radius: 999px; padding: .1rem .55rem; font-size: .75rem; }

/* ---------- Dashboard mockup (pure HTML/CSS) ---------- */
.mockup-wrap { position: relative; }
.mockup {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: .72rem; line-height: 1.35;
}
.mock-bar { display: flex; align-items: center; gap: .35rem; padding: .6rem .8rem; background: #eef2f7; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3dbe6; flex: none; }
.mock-bar i:nth-child(1) { background: var(--coral-400); }
.mock-bar i:nth-child(2) { background: #f5c451; }
.mock-bar i:nth-child(3) { background: var(--mint-400); }
.mock-url { margin-left: .6rem; flex: 1; min-width: 0; background: #fff; border-radius: 6px; padding: .2rem .6rem; color: #5a687d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) { .mock-body { grid-template-columns: 112px 1fr; } }
.mock-side { display: none; background: var(--navy-900); padding: .9rem .65rem; color: #b7c5d9; }
@media (min-width: 560px) { .mock-side { display: block; } }
.mock-side .ms-logo { display: flex; align-items: center; gap: .35rem; color: #fff; font-weight: 800; margin-bottom: 1rem; }
.mock-side .ms-logo span { width: 14px; height: 14px; border-radius: 4px; background: var(--mint-400); }
.mock-side .ms-item { padding: .35rem .45rem; border-radius: 6px; margin-bottom: .2rem; display: flex; align-items: center; gap: .4rem; }
.mock-side .ms-item::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: .5; }
.mock-side .ms-item.on { background: rgba(45, 212, 191, .16); color: var(--mint-300); }
.mock-main { padding: .9rem; display: grid; gap: .7rem; min-width: 0; }
.mock-timer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--navy-900); color: #fff; padding: .55rem .7rem; border-radius: 10px; }
.mock-timer .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral-400); box-shadow: 0 0 0 4px rgba(255, 122, 102, .25); flex: none; animation: pulse 1.6s ease-in-out infinite; }
.mock-timer .t-left { display: flex; align-items: center; gap: .5rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-timer .t-time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--mint-300); letter-spacing: .03em; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 122, 102, 0); } }
.mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.mock-stat { border: 1px solid var(--line); border-radius: 10px; padding: .5rem .55rem; }
.mock-stat small { display: block; color: #5a687d; font-size: .62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-stat strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.mock-stat em { font-style: normal; font-size: .6rem; color: var(--teal-700); font-weight: 700; display: block; }
.mock-stat em.down { color: #c2412d; }
.mock-chart { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .7rem .5rem; }
.mock-chart-head { display: flex; justify-content: space-between; gap: .5rem; font-weight: 700; margin-bottom: .5rem; }
.mock-chart-head span { color: #5a687d; font-weight: 500; }
.mock-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45rem; align-items: end; height: 92px; }
.mock-bars div { display: flex; flex-direction: column-reverse; border-radius: 5px; overflow: hidden; height: var(--h); transform-origin: bottom; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.mock-bars div:nth-child(2) { animation-delay: .05s; } .mock-bars div:nth-child(3) { animation-delay: .1s; }
.mock-bars div:nth-child(4) { animation-delay: .15s; } .mock-bars div:nth-child(5) { animation-delay: .2s; }
.mock-bars div:nth-child(6) { animation-delay: .25s; } .mock-bars div:nth-child(7) { animation-delay: .3s; }
.mock-bars b { display: block; }
.mock-bars b:nth-child(1) { background: var(--navy-900); flex: 5; }
.mock-bars b:nth-child(2) { background: var(--mint-400); flex: 3; }
.mock-bars b:nth-child(3) { background: var(--coral-400); flex: 2; }
@keyframes grow { from { transform: scaleY(0); } }
.mock-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45rem; text-align: center; color: #5a687d; font-size: .6rem; margin-top: .3rem; }
.mock-list { display: grid; gap: .4rem; }
.mock-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px auto; align-items: center; gap: .6rem; }
.mock-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.mock-row .bar { height: 6px; background: #edf1f6; border-radius: 6px; overflow: hidden; }
.mock-row .bar i { display: block; height: 100%; width: var(--w); background: var(--mint-400); border-radius: 6px; }
.mock-row .bar i.warn { background: var(--coral-400); }
.mock-row .hrs { font-variant-numeric: tabular-nums; color: #5a687d; }
.float-card {
  display: none; position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: .65rem .85rem;
  box-shadow: var(--shadow); font-size: .8rem; align-items: center; gap: .6rem; animation: float 6s ease-in-out infinite;
}
.float-card .fc-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mint-100); color: var(--teal-700); flex: none; }
.float-card .fc-icon svg { width: 16px; height: 16px; }
.float-card strong { display: block; font-size: .85rem; }
.float-card span { color: var(--ink-soft); font-size: .72rem; }
.float-card.fc-1 { left: -36px; bottom: -28px; }
.float-card.fc-2 { right: -18px; top: -22px; animation-delay: -3s; }
.float-card.fc-2 .fc-icon { background: var(--coral-100); color: #b23a26; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (min-width: 1180px) { .float-card { display: flex; } }

/* ---------- Logo strip ---------- */
.logos { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.logos p { font-size: .85rem; color: var(--navy-300); margin-bottom: 1.25rem; }
.logo-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
@media (min-width: 640px) { .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .logo-row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.logo-row li { display: flex; align-items: center; justify-content: center; gap: .5rem; color: #b9c6d8; font-weight: 800; letter-spacing: -.01em; opacity: .8; transition: opacity .2s ease, color .2s ease; }
.logo-row li:hover { opacity: 1; color: #fff; }
.logo-row svg { width: 26px; height: 26px; flex: none; }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature {
  position: relative; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--mint-100); color: var(--teal-700); }
.feature-icon svg { width: 24px; height: 24px; }
.feature:nth-child(3n+2) .feature-icon { background: var(--coral-100); color: #b23a26; }
.feature:nth-child(3n) .feature-icon { background: #e4e9f2; color: var(--navy-900); }
.feature p { color: var(--ink-soft); margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); text-align: center; }
.stat-num { display: block; font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-num .unit { color: var(--mint-300); }
.stat-label { color: var(--navy-300); font-size: .98rem; }
.stats-wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .stats-wrap { grid-template-columns: .9fr 2fr; } .stats-wrap .section-head { text-align: left; margin: 0; } }

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step { position: relative; padding: 2rem 1.75rem 1.75rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: var(--mint-300); font-weight: 800; margin-bottom: 1rem; }
.step p { color: var(--ink-soft); margin: 0; }
.step-visual { margin: 1.25rem 0 0; height: 74px; border-radius: 12px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem; }
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 3.35rem; right: -2rem; width: 2rem; height: 2px;
    background: repeating-linear-gradient(90deg, var(--mint-400) 0 6px, transparent 6px 12px);
  }
}
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .75rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-400); }
.chip.coral i { background: var(--coral-400); }
.chip.navy i { background: var(--navy-900); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote { margin: 0; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 1.25rem; }
.quote-tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-900); background: var(--coral-400); padding: .2rem .6rem; border-radius: 999px; }
.quote blockquote { margin: 0; font-size: 1.05rem; color: #fff; line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; font-size: .9rem; color: var(--navy-300); }
.quote figcaption strong { color: #fff; display: block; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--navy-900); background: linear-gradient(135deg, var(--mint-300), var(--mint-400)); flex: none; }
.quote:nth-child(2) .avatar { background: linear-gradient(135deg, #ffb3a6, var(--coral-400)); }
.quote:nth-child(3) .avatar { background: linear-gradient(135deg, #dbe4f0, #a9b8cf); }
.stars { color: var(--mint-300); letter-spacing: .15em; font-size: .9rem; }

/* ---------- Pricing ---------- */
.billing-toggle { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem; margin: -1rem 0 3rem; }
.toggle-group { display: inline-flex; padding: 4px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 999px; }
.toggle-group button {
  font: inherit; font-weight: 700; font-size: .95rem; border: 0; background: transparent; color: var(--ink-soft);
  padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.toggle-group button[aria-pressed="true"] { background: var(--navy-900); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 27, 51, .8); }
.save-badge { font-size: .8rem; font-weight: 800; color: var(--navy-900); background: var(--coral-100); border: 1px dashed var(--coral-400); padding: .3rem .7rem; border-radius: 999px; transition: background-color .2s ease; }
.save-badge.is-active { background: var(--coral-400); border-style: solid; }
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.plan h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.plan-desc { color: var(--ink-soft); font-size: .95rem; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .4rem; margin: .75rem 0 .2rem; }
.plan-price .amount { font-size: 2.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price s { color: #5f6b7e; font-weight: 600; font-size: 1.1rem; }
.plan-price s:empty { display: none; }
.plan-per { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .6rem; font-size: .95rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--teal-700); flex: none; margin-top: .2rem; }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--navy-900); color: #dbe4f0; border-color: var(--navy-900); box-shadow: 0 30px 60px -30px rgba(11, 27, 51, .8); }
.plan-featured h3, .plan-featured .amount { color: #fff; }
.plan-featured .plan-desc, .plan-featured .plan-per { color: var(--navy-300); }
.plan-featured li svg { color: var(--mint-400); }
.plan-featured .plan-price s { color: #8fa0b8; }
.plan-flag { position: absolute; top: -13px; left: 1.75rem; background: var(--mint-400); color: var(--navy-900); font-size: .75rem; font-weight: 800; padding: .25rem .75rem; border-radius: 999px; letter-spacing: .03em; }
@media (min-width: 1024px) { .plan-featured { transform: scale(1.03); } }
.pricing-note { text-align: center; margin-top: 2rem; }

/* ---------- FAQ accordion ---------- */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.4fr; gap: 4rem; } .faq-layout .section-head { text-align: left; margin: 0; } }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-size: 1.05rem; }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left;
  padding: 1.25rem .25rem; background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
}
.acc-trigger:hover { color: var(--teal-700); }
.acc-icon { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .25s ease, background-color .25s ease, border-color .25s ease; position: relative; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease; }
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--mint-400); border-color: var(--mint-400); color: var(--navy-900); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(0); }
.acc-panel { padding: 0 .25rem 1.25rem; color: var(--ink-soft); max-width: 46rem; }
.acc-panel[hidden] { display: none; }
.acc-panel p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: #dbe4f0; text-align: center; }
.cta-card { position: relative; max-width: 820px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--navy-300); font-size: 1.1rem; }
.cta-band .hero-ctas { justify-content: center; }
.cta-rings { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.cta-rings svg { width: 900px; max-width: none; height: auto; flex: none; opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--navy-300); padding: 3.5rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--navy-300); text-decoration: none; }
.site-footer a:hover { color: var(--mint-300); }
.footer-brand p { max-width: 18rem; margin-top: 1rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .85rem; }
.built-with { font-size: .75rem; opacity: .85; }

/* ---------- Sign-up page ---------- */
.signup { position: relative; overflow: hidden; background: var(--navy-900); padding: 3rem 0 4rem; }
.signup-layout { display: grid; gap: 2.5rem; align-items: start; position: relative; z-index: 1; }
@media (min-width: 960px) { .signup-layout { grid-template-columns: 1fr 1.05fr; gap: 4rem; padding-top: 2rem; } }
.signup-intro { color: #dbe4f0; }
.signup-intro h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.signup-intro p { color: var(--navy-300); font-size: 1.08rem; }
.perk-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.perk-list li { display: flex; gap: .75rem; align-items: flex-start; }
.perk-list svg { width: 22px; height: 22px; flex: none; color: var(--mint-400); margin-top: .1rem; }
@media (min-width: 960px) {
  .signup { background: linear-gradient(90deg, var(--navy-900) 0 50%, var(--surface-alt) 50%); padding: 4rem 0 6rem; }
  .signup-intro { padding-right: 1rem; }
}
.mini-quote { margin-top: 2.25rem; padding: 1.25rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.mini-quote p { color: #fff; margin-bottom: .5rem; }
.mini-quote small { color: var(--navy-300); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem 1.25rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 560px) { .form-card { padding: 2.5rem; } }
.form-card h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.form-card > p { color: var(--ink-soft); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.field .hint { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: .35rem; }
.field input, .field select {
  width: 100%; font: inherit; color: var(--ink); padding: .8rem .95rem; border: 1.5px solid #cdd6e3; border-radius: 12px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1b33' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field input:hover, .field select:hover { border-color: #9fb0c6; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(45, 212, 191, .3); }
.field [aria-invalid="true"] { border-color: #c2412d; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.error { display: block; color: #b42318; font-size: .85rem; font-weight: 600; margin-top: .35rem; }
.error:empty { display: none; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 5.2rem; }
.pw-toggle { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font: inherit; font-size: .85rem; font-weight: 700; border: 0; background: var(--surface-alt); color: var(--navy-900); padding: .4rem .7rem; border-radius: 8px; cursor: pointer; }
.pw-toggle:hover { background: #e4e9f2; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: .6rem; }
.meter span { height: 6px; border-radius: 6px; background: #e4e9f2; transition: background-color .2s ease; }
.meter[data-score="1"] span:nth-child(-n+1) { background: #d4553f; }
.meter[data-score="2"] span:nth-child(-n+2) { background: #e0a020; }
.meter[data-score="3"] span:nth-child(-n+3) { background: #36b3a0; }
.meter[data-score="4"] span:nth-child(-n+4) { background: var(--teal-700); }
.meter-label { font-size: .82rem; color: var(--ink-soft); margin-top: .35rem; }
.meter-label strong { color: var(--ink); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: .5rem 0 1.25rem; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--teal-700); flex: none; }
.form-foot { text-align: center; font-size: .85rem; color: var(--ink-soft); margin: 1rem 0 0; }
.success { text-align: center; padding: 1.5rem 0; }
.success:focus { outline: none; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--mint-100); color: var(--teal-700); display: grid; place-items: center; }
.success-icon svg { width: 36px; height: 36px; }
.success p { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
