/* AtlasRoster website. Colours and font match the app (Harbor Teal, Plus Jakarta Sans) and the
   mockups W10 (home) and W11 (pricing). Follows the visitor's light/dark setting. */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F9FB;
  --surface: #FFFFFF;
  --line: #E3E8EF;
  --line-soft: #EEF1F5;
  --ink: #0B2230;
  --text: #2D3748;
  --muted: #4A5568;
  --link: #0F766E;
  --link-hover: #115E59;
  --primary: #0F766E;
  --primary-hover: #115E59;
  --tint: #E0F2F1;
  --tint-ink: #115E59;
  --mint: #5EEAD4;
  --navy: #0B2230;
  --navy-2: #12384A;
  --navy-line: #3B5566;
  --on-navy: #C9D4E5;
  --seg: #E6EAF0;
  --seg-on: #FFFFFF;
  --no: #94A3B8;
  --warn: #B45309;
  --shadow: 0 8px 24px rgba(11, 34, 48, .06);
  --radius: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07141C;
    --bg-soft: #0C1D27;
    --surface: #10242F;
    --line: #22404F;
    --line-soft: #1A3341;
    --ink: #F1F5F9;
    --text: #D5DEE8;
    --muted: #A9B8C7;
    --link: #5EEAD4;
    --link-hover: #99F6E4;
    --primary: #0F766E;
    --primary-hover: #138A80;
    --tint: #123A3A;
    --tint-ink: #99F6E4;
    --navy: #0B2230;
    --navy-2: #12384A;
    --seg: #1A3341;
    --seg-on: #2A4A5A;
    --no: #64788A;
    --warn: #FBBF24;
    --shadow: 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: #FFF; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; color: #FFF; }

/* Buttons */
.btn {
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { color: var(--ink); border-color: var(--muted); }
.btn-sm { min-height: 44px; padding: 0 18px; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #FFFFFF; }
.btn-mint { background: var(--mint); border-color: var(--mint); color: #0B2230; }
.btn-mint:hover { background: #99F6E4; border-color: #99F6E4; color: #0B2230; }
.btn-outline { background: transparent; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line-soft); transition: box-shadow .25s, background-color .25s; }
/* After the page scrolls a little (main.js adds .scrolled): frosted, with a soft shadow */
.nav.scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 10px 30px -18px rgba(11, 34, 48, .45); }
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand img { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--link); }
.nav-links a[aria-current="page"] { font-weight: 800; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { transition: background-color .15s, border-color .15s, color .15s, transform .2s, box-shadow .2s; }
.nav-actions .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(15, 118, 110, .7); }
.nav-actions .btn-primary:active { transform: translateY(0); box-shadow: none; }
.nav-signin-mobile { display: none !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Header menus (Product, Industries): a panel under the item on wide screens, an accordion in the phone menu.
   main.js opens them (.open) on hover, click and keyboard; without JS (no .js on <html>) hover and focus open them. */
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--text); -webkit-tap-highlight-color: transparent;
}
.nav-trigger svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.nav-trigger:hover, .nav-item.open .nav-trigger, .nav-trigger.current { color: var(--link); }
.nav-trigger.current { font-weight: 800; }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }

@media (min-width: 901px) {
  /* A teal line grows under the hovered, open or current item */
  .nav-links > a, .nav-trigger { position: relative; }
  .nav-links > a::after, .nav-trigger::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--link);
    transform: scaleX(0); transform-origin: center; transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  }
  .nav-links > a:hover::after, .nav-links > a[aria-current="page"]::after,
  .nav-trigger:hover::after, .nav-item.open .nav-trigger::after, .nav-trigger.current::after { transform: scaleX(1); }

  .mega {
    position: absolute; top: 100%; left: 50%; z-index: 60; width: 600px; padding-top: 12px;
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.97); transform-origin: 50% 0;
    transition: opacity .2s, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s .28s;
  }
  .nav-item.open .mega, html:not(.js) .nav-item:hover .mega, html:not(.js) .nav-item:focus-within .mega {
    opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1);
    transition: opacity .2s, transform .28s cubic-bezier(.2, .8, .2, 1);
  }
  /* The little pointer from the panel up to its menu item */
  .mega::before {
    content: ''; position: absolute; z-index: 1; top: 6px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
    background: var(--surface); border-left: 1px solid var(--line); border-top: 1px solid var(--line); border-top-left-radius: 3px; transform: rotate(45deg);
  }
}
.mega-panel { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 48px -12px rgba(11, 34, 48, .22); overflow: hidden; }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 12px; }
.nav-links .mega-link {
  display: flex; align-items: flex-start; gap: 14px; min-height: 0; padding: 14px; border-radius: 14px;
  color: var(--ink); text-decoration: none; transition: background .2s;
}
.nav-links .mega-link:hover, .nav-links .mega-link:focus-visible, .nav-links .mega-link[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }
/* The items slide in one after another when a menu opens */
.nav-item.open .mega-link, .nav-item.open .mega-foot { animation: mega-in .38s cubic-bezier(.2, .8, .2, 1) both; }
.nav-item.open .mega-link:nth-child(2) { animation-delay: .04s; }
.nav-item.open .mega-link:nth-child(3) { animation-delay: .08s; }
.nav-item.open .mega-link:nth-child(4) { animation-delay: .12s; }
.nav-item.open .mega-foot { animation-delay: .16s; }
@keyframes mega-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mega-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s; }
.mega-link:hover .mega-ico, .mega-link:focus-visible .mega-ico { transform: translateY(-2px) scale(1.08) rotate(-4deg); box-shadow: 0 8px 16px -8px rgba(11, 34, 48, .35); }
.mega-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mega-text { display: flex; flex-direction: column; gap: 3px; }
.mega-text b { font-size: 15px; font-weight: 800; white-space: nowrap; transition: color .2s; }
.mega-text b::after { content: '→'; display: inline-block; margin-left: 6px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); color: var(--link); }
.mega-link:hover .mega-text b, .mega-link:focus-visible .mega-text b { color: var(--link); }
.mega-link:hover .mega-text b::after, .mega-link:focus-visible .mega-text b::after { opacity: 1; transform: none; }
.mega-text small { font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--muted); }
.mega-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 14px 26px; background: var(--bg-soft); border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.mega-foot span { margin-right: auto; }
.nav-links .mega-foot a { min-height: 32px; font-size: 14px; font-weight: 800; color: var(--link); }
.nav-links .mega-foot a::after { content: '→'; display: inline-block; margin-left: 5px; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.nav-links .mega-foot a:hover::after { transform: translateX(4px); }
@media (prefers-color-scheme: dark) {
  .mega-panel { box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .6); }
  .nav.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-signin { display: none; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    max-height: calc(100vh - 72px); overflow-y: auto; box-shadow: 0 24px 40px -24px rgba(11, 34, 48, .35);
  }
  .nav-links.open { display: flex; animation: menu-drop .28s cubic-bezier(.2, .8, .2, 1); }
  @keyframes menu-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav-links a { border-bottom: 1px solid var(--line-soft); min-height: 52px; }
  .nav-signin-mobile { display: inline-flex !important; border-bottom: 0 !important; }
  .nav-item { border-bottom: 1px solid var(--line-soft); }
  .nav-trigger { width: 100%; min-height: 52px; justify-content: space-between; }
  /* Accordion: the row grows from 0 to its height (grid rows 0fr → 1fr) */
  .mega { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s; }
  .nav-item.open .mega { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s cubic-bezier(.2, .8, .2, 1); }
  .mega-panel { min-height: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 2px; padding: 0; }
  .nav-links .mega-link { align-items: center; padding: 8px 10px; border-bottom: 0; min-height: 48px; }
  .mega-ico { width: 34px; height: 34px; border-radius: 10px; }
  .mega-text small { display: none; }
  .mega-foot { padding: 8px 10px 12px; background: none; border: 0; }
  .mega-foot span { display: none; }
  .nav-links .mega-foot a { border-bottom: 0; min-height: 40px; }
}
@media (max-width: 420px) { .brand span { font-size: 18px; } .nav-actions .btn-primary { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) {
  .nav, .nav *, .nav *::before, .nav *::after { transition: none !important; animation: none !important; }
}

/* Page transitions: moving to another page slides the old content out and the new content in, while the header
   stays put (cross-document View Transitions; Chrome, Edge and Safari; other browsers change page instantly).
   The top of each page then arrives in a short sequence. All off with reduce motion. */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-header; }
::view-transition-old(root) { animation: page-out .2s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: page-in .38s cubic-bezier(.2, .8, .2, 1) both; }
::view-transition-group(site-header) { animation-duration: .25s; }
@keyframes page-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(18px); } }
.hero-copy > *, .page-head .wrap > *, .help-hero-card > :not(.hh-circle), .hero-visual {
  animation: rise-in .6s cubic-bezier(.2, .8, .2, 1) both;
}
.hero-copy > :nth-child(2), .page-head .wrap > :nth-child(2), .help-hero-card > :nth-child(4) { animation-delay: .06s; }
.hero-copy > :nth-child(3), .page-head .wrap > :nth-child(3), .help-hero-card > :nth-child(5) { animation-delay: .12s; }
.hero-copy > :nth-child(4), .page-head .wrap > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-visual { animation-delay: .14s; animation-duration: .8s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .hero-copy > *, .page-head .wrap > *, .help-hero-card > :not(.hh-circle), .hero-visual { animation: none; }
}

/* Section basics */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding-top: 0; }
.eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--link); }
.h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.section-head { max-width: 740px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.tick-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tick-list li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--text); }
.tick-list li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px;
  background: var(--link);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.on-navy .tick-list li { color: #E2E8F0; }
.on-navy .tick-list li::before { background: var(--mint); }

/* Navy blocks (hero, phone app, call to action) stay navy in both themes */
.on-navy { background: var(--navy); color: #FFFFFF; }
.on-navy h1, .on-navy h2, .on-navy h3 { color: #FFFFFF; }
.on-navy .eyebrow { color: var(--mint); }
.on-navy p, .on-navy .muted { color: var(--on-navy); }
@media (prefers-color-scheme: dark) { .on-navy { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); } }

/* Sign-up form (hero and final call to action) */
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 540px; }
.signup input {
  flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--navy-line); background: var(--navy-2); color: #FFFFFF; font: inherit; font-size: 16px;
}
.signup input::placeholder { color: #9FB3C8; }
.signup .btn { min-height: 52px; }

/* Hero */
.hero { padding: 76px 0 96px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--navy-2); color: var(--mint); font-size: 14px; font-weight: 700; }
.hero h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; }
.hero-lead { font-size: 19px; line-height: 1.6; max-width: 520px; }
.hero-note { font-size: 14px; }
.hero-visual { flex: 1 1 520px; min-width: 0; position: relative; padding-bottom: 44px; }

/* Product previews: drawn like screenshots, light in both themes */
.shot { background: #FFFFFF; color: #0B2230; border-radius: 20px; padding: 18px; }
.shot-hero { box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow-x: auto; }
.shot-bordered { border: 1px solid #E3E8EF; }
.week { min-width: 500px; display: flex; flex-direction: column; gap: 10px; }
.week-top { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 800; }
.badge { font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: #0F766E; color: #FFFFFF; }
.week-grid { display: grid; grid-template-columns: 92px repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 12px; }
.week-grid .day { font-weight: 800; color: #4A5568; text-align: center; }
.week-grid .who { font-weight: 700; display: flex; align-items: center; }
.s { border-radius: 8px; padding: 6px 7px; min-height: 40px; font-size: 11px; font-weight: 800; line-height: 1.3; }
.s small { display: block; font-size: 10px; font-weight: 600; }
.s-teal { background: #E0F2F1; color: #115E59; }
.s-blue { background: #E8EEF8; color: #1E3A8A; }
.s-open { background: #FEF3C7; color: #92400E; }
.s-empty { border: 1px dashed #D5DCE6; }
.phone-card {
  position: absolute; right: -8px; bottom: 0; width: 210px; background: #FFFFFF; color: #0B2230;
  border-radius: 26px; border: 6px solid #12384A; padding: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4); display: flex; flex-direction: column; gap: 10px;
}
.phone-card .when { font-size: 12px; font-weight: 700; color: #4A5568; }
.phone-card .what { font-size: 16px; font-weight: 800; }
.phone-card .where { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #0F766E; }
.fake-btn { min-height: 44px; border-radius: 12px; background: #0F766E; color: #FFFFFF; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@media (max-width: 600px) { .phone-card { position: static; width: auto; margin-top: 16px; } .hero-visual { padding-bottom: 0; } }

/* Fact strip */
.facts { border-bottom: 1px solid var(--line-soft); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fact { padding: 28px 20px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line-soft); }
.fact:first-child { border-left: 0; }
.fact strong { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.fact span { font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .fact { border-left: 0; border-top: 1px solid var(--line-soft); } .fact:first-child { border-top: 0; } }

/* Product tour */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tab {
  min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); font: inherit; font-size: 15px; font-weight: 700; color: var(--text); cursor: pointer;
}
.tab:hover { border-color: var(--muted); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tour-panel { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; background: var(--bg-soft); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.tour-panel[hidden] { display: none; }
.tour-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tour-copy h3 { font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.tour-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.tour-visual { flex: 1 1 460px; min-width: 0; }

.dayview { display: flex; flex-direction: column; gap: 12px; }
.dayview .row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.dayview .track { position: relative; height: 34px; background: #F4F6FA; border-radius: 8px; }
.dayview .bar { position: absolute; top: 3px; bottom: 3px; border-radius: 6px; font-size: 12px; font-weight: 800; display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden; }
.dayview .axis { display: grid; grid-template-columns: 90px repeat(4, minmax(0, 1fr)); font-size: 11px; color: #4A5568; font-weight: 700; }
.map {
  height: 340px; border-radius: 20px; background: #DDEBE8; position: relative; overflow: hidden; border: 1px solid #C8DCD8; color: #0B2230;
  background-image: linear-gradient(#F2F6F5, #F2F6F5), linear-gradient(#F2F6F5, #F2F6F5);
  background-size: 100% 18px, 18px 100%; background-position: 0 46%, 30% 0; background-repeat: no-repeat;
}
.map .fence { position: absolute; left: 42%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; background: rgba(15, 118, 110, .16); border: 2px dashed #0F766E; }
.map .pin { position: absolute; left: 42%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #0F766E; border: 4px solid #FFFFFF; }
.map .rules { position: absolute; right: 20px; top: 20px; display: flex; flex-direction: column; gap: 6px; }
.map .rules span { background: #FFFFFF; border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; }
.map .rules .on { background: #0F766E; color: #FFFFFF; font-weight: 800; }
.map .alert { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 280px; background: #FFFFFF; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 8px 24px rgba(11, 34, 48, .14); font-size: 13px; font-weight: 800; }
.map .alert span { font-size: 12px; font-weight: 700; color: #B45309; }
.req { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid #EEF1F5; }
.req:last-child { border-bottom: 0; }
.req .k { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #0F766E; }
.req strong { display: block; }
.req small { display: block; font-size: 13px; color: #4A5568; }
.req .acts { display: flex; gap: 8px; }
.mini { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid #D5DCE6; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; }
.mini.p { background: #0F766E; border-color: #0F766E; color: #FFFFFF; }
.sheet { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; }
.sheet th { text-align: left; font-weight: 800; color: #4A5568; padding: 8px 0; border-bottom: 1px solid #E3E8EF; }
.sheet td { padding: 12px 0; border-bottom: 1px solid #EEF1F5; }
.sheet td:first-child { font-weight: 700; }
.sheet .ot { font-weight: 800; color: #B45309; }
.sheet .ok { font-weight: 700; color: #0F766E; }
.scroll-x { overflow-x: auto; }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
/* Home page industry cards: a small icon tile beside the text */
.ind { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: flex-start; gap: 16px; padding: 22px; }
.ind-band { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.ind-band svg { width: 24px; height: 24px; }
a.ind:hover .ind-band { transform: translateY(-2px) scale(1.06) rotate(-4deg); }
.ind-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ind-body h3 { font-size: 18px; font-weight: 800; }
.ind-body p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ind-band { transition: none; } }
.band-teal { background: #E0F2F1; color: #0F766E; }
.band-blue { background: #E8EEF8; color: #1E3A8A; }
.band-amber { background: #FEF3C7; color: #92400E; }
.band-slate { background: #E6EAF0; color: #0B2230; }
.band-rose { background: #FDE8EC; color: #9F1239; }
.band-mint { background: #CCFBF1; color: #115E59; }
a.ind-other { border-style: dashed; }
@media (prefers-color-scheme: dark) {
  .band-teal { background: rgba(20, 184, 166, .14); color: #5EEAD4; }
  .band-blue { background: rgba(96, 165, 250, .14); color: #93C5FD; }
  .band-amber { background: rgba(251, 191, 36, .14); color: #FCD34D; }
  .band-slate { background: rgba(148, 163, 184, .16); color: #CBD5E1; }
  .band-rose { background: rgba(244, 114, 182, .14); color: #F9A8D4; }
  .band-mint { background: rgba(94, 234, 212, .12); color: #5EEAD4; }
}

/* Phone app section */
.phone-section { padding: 88px 0 0; overflow: hidden; }
.phone-grid { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 56px; }
.phone-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding-bottom: 88px; }
.phone-wrap { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.phone {
  width: 300px; max-width: 100%; height: 470px; background: #F4F6FA; color: #0B2230;
  border-radius: 40px 40px 0 0; border: 10px solid #12384A; border-bottom: 0; padding: 22px 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.phone .hi { font-size: 13px; font-weight: 700; color: #4A5568; }
.phone .next { background: #0B2230; color: #FFFFFF; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.phone .next .k { font-size: 12px; font-weight: 700; color: #5EEAD4; }
.phone .next strong { font-size: 18px; }
.phone .next span { font-size: 13px; color: #C9D4E5; }
.phone .next .fake-btn { margin-top: 6px; background: #5EEAD4; color: #0B2230; }
.phone .wk { font-size: 13px; font-weight: 800; margin-top: 4px; }
.phone .item { background: #FFFFFF; border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; font-size: 13px; }
.phone .item b { font-weight: 700; }
.phone .item span { color: #4A5568; }
.phone .item.open { background: #FEF3C7; color: #92400E; }
.phone .item.open b { font-weight: 800; }
.phone .item.open span { color: #92400E; font-weight: 700; }
/* Official App Store and Google Play badges (Apple's and Google's artwork, unchanged; keep their clear space) */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store { display: inline-flex; border-radius: 9px; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.store img { display: block; height: 48px; width: auto; }
a.store:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6); }
.store.is-soon { cursor: default; }
.store-note { font-size: 14px; line-height: 1.5; max-width: 420px; }

/* Setup steps */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > :first-child { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split > :last-child { flex: 1 1 520px; min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--surface); }
.num { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #0B2230; color: #5EEAD4; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps strong { display: block; font-size: 18px; font-weight: 800; }
.steps p { font-size: 15px; color: var(--muted); margin-top: 4px; line-height: 1.6; }

/* Everything in one app */
.dir { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.dir h3 { margin-bottom: 10px; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.dir h3 svg { width: 22px; height: 22px; color: var(--link); }
.dir ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text); }

/* Pricing teaser */
.teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.teaser > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* FAQ */
.faq { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-size: 17px; font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 28px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 600; color: var(--link); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.faq-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.faq-side a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

/* Final call to action */
.cta-band { border-radius: 28px; padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band > div { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }
.cta-band p { font-size: 17px; }
.cta-band .signup { flex: 1 1 420px; }

/* Pricing page */
.price-head { padding: 72px 0 36px; text-align: center; }
.price-head .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.price-head h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; max-width: 820px; }
.price-head .lead { max-width: 640px; }
.switches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--seg); }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--seg-on); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 34, 48, .12); }
.plans-section { padding: 0 0 72px; background: linear-gradient(var(--bg-soft) 0 50%, var(--bg) 50% 100%); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--primary); box-shadow: 0 20px 40px rgba(15, 118, 110, .14); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan h2 { font-size: 22px; font-weight: 800; }
.plan-tag { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--primary); color: #FFFFFF; }
.plan .tagline { font-size: 15px; color: var(--muted); min-height: 46px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price strong { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .note { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan .btn { width: 100%; }
.plan-list { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.plan-list > strong { font-size: 14px; font-weight: 800; }
.plan-list .tick-list li { font-size: 15px; line-height: 1.45; }
.plan-facts { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.plan-facts .tick-list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.plan-facts .tick-list li { font-size: 14px; font-weight: 700; }
.footnote { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.compare thead th { border-bottom: 1px solid var(--line); font-weight: 800; }
.compare thead th span { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.compare tbody th { font-weight: 600; color: var(--text); width: 34%; }
.compare td { font-weight: 700; }
.compare .pro { background: rgba(15, 118, 110, .06); }
.compare thead .pro { box-shadow: inset 0 3px 0 var(--primary); }
.compare .grp th { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); padding-top: 18px; padding-bottom: 8px; }
.compare tr:last-child > * { border-bottom: 0; }
.yes, .no { display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
.yes { background: var(--link); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.no { background: var(--no); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Help page */
.page-head { padding: 64px 0 32px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
/* Help centre: hero card with search, topic cards that filter, questions grouped by topic */
.help-hero { padding: 32px 0 0; }
.help-hero-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(40px, 6vw, 64px) clamp(22px, 5vw, 56px) clamp(28px, 5vw, 56px); border-radius: 28px;
  background: linear-gradient(135deg, #0B2230 0%, #12384A 55%, #0F766E 100%);
}
.hh-circle { position: absolute; border-radius: 50%; background: rgba(94, 234, 212, .08); pointer-events: none; }
.hh-circle.c1 { width: 420px; height: 420px; top: -180px; right: -120px; }
.hh-circle.c2 { width: 220px; height: 220px; bottom: -120px; right: 28%; }
.help-hero-card > :not(.hh-circle) { position: relative; }
.help-hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 14px; }
.help-search {
  display: flex; align-items: center; gap: 12px; max-width: 560px; min-height: 58px; padding: 0 20px;
  background: #FFFFFF; border-radius: 16px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45);
}
.help-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #4A5568; stroke-width: 2; stroke-linecap: round; }
.help-search input { flex: 1; min-width: 0; min-height: 56px; border: 0; outline: none; background: none; font: inherit; font-size: 16px; color: #0B2230; }
.help-search input::placeholder { color: #6B7A8C; }
.help-search:focus-within { box-shadow: 0 0 0 4px rgba(94, 234, 212, .55), 0 10px 30px -10px rgba(0, 0, 0, .45); }

.help-topics { padding: 28px 0 0; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.topic {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; border-radius: 18px;
  text-align: left; cursor: pointer; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.topic:hover { transform: translateY(-2px); border-color: var(--link); box-shadow: var(--shadow); }
.topic[aria-pressed="true"] { border-color: var(--link); box-shadow: 0 0 0 1px var(--link), var(--shadow); }
.topic b { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.topic small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.topic-count { margin-top: 10px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--link); }
.topic-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.topic-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.t-teal { background: #E0F2F1; color: #0F766E; }
.t-blue { background: #E8EEF8; color: #1E3A8A; }
.t-amber { background: #FEF3C7; color: #92400E; }
.t-slate { background: #E6EAF0; color: #0B2230; }
.t-rose { background: #FDE8EC; color: #9F1239; }
.t-mint { background: #CCFBF1; color: #115E59; }
@media (prefers-color-scheme: dark) {
  .t-teal { background: rgba(20, 184, 166, .14); color: #5EEAD4; }
  .t-blue { background: rgba(96, 165, 250, .14); color: #93C5FD; }
  .t-amber { background: rgba(251, 191, 36, .14); color: #FCD34D; }
  .t-slate { background: rgba(148, 163, 184, .16); color: #CBD5E1; }
  .t-rose { background: rgba(244, 114, 182, .14); color: #F9A8D4; }
  .t-mint { background: rgba(94, 234, 212, .12); color: #5EEAD4; }
}

.help-body { padding: 64px 0 104px; }
.help-wrap { max-width: 860px; }
.help-group { scroll-margin-top: 96px; margin-bottom: 44px; }
.help-group h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.help-group .faq { padding: 0 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.help-group .faq details:last-child { border-bottom: 0; }
.help-group .faq summary { font-size: 16px; }
.help-group .faq a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.help-filter {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px; padding: 10px 10px 10px 18px; border-radius: 14px;
  background: var(--tint); font-size: 14px; color: var(--tint-ink);
}
.help-filter b { font-weight: 800; }
.help-filter button {
  min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700;
  color: var(--link); background: var(--surface); border: 1px solid var(--line);
}
.help-filter button:hover { border-color: var(--link); }
.help-empty { padding: 24px; border-radius: 16px; background: var(--bg-soft); color: var(--muted); text-align: center; }
.help-filter[hidden], .help-empty[hidden], .help-group[hidden], .faq details[hidden] { display: none; }
.help-contact { margin-top: 16px; border-radius: 20px; background: var(--tint); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.help-contact h2 { font-size: 22px; font-weight: 800; color: var(--ink); }
.help-contact p { color: var(--tint-ink); margin-top: 4px; }
.help-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .help-hero { padding-top: 16px; }
  .help-hero-card { border-radius: 22px; }
  .help-search { min-height: 52px; padding: 0 16px; }
  .help-search input { min-height: 50px; font-size: 16px; }
  .topic-grid { gap: 10px; }
  .topic { padding: 14px; }
  .topic-ico { margin-bottom: 8px; }
  .topic small { display: none; }
  .topic-count { margin-top: 4px; }
  .help-body { padding: 44px 0 80px; }
  .help-group .faq { padding: 0 16px; }
  .help-contact { padding: 24px 20px; }
}

/* Legal pages */
.prose { max-width: 808px; padding-bottom: 96px; }
.prose h2 { font-size: 22px; font-weight: 800; margin: 36px 0 10px; }
.prose h3 { font-size: 17px; font-weight: 800; margin: 22px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--text); }
.prose p { margin: 0 0 12px; }
.prose ul { padding-left: 22px; margin: 0 0 12px; }
.prose li { margin-bottom: 6px; }
.draft { border: 1px solid #F59E0B; background: rgba(245, 158, 11, .1); color: var(--ink); border-radius: 14px; padding: 14px 18px; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 14px; }
.prose ul ul { margin: 6px 0 0; }
.legal-summary, .toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; margin: 0 0 16px; }
.legal-summary { background: var(--tint); border-color: transparent; }
.legal-summary h2 { margin: 0 0 10px; font-size: 18px; }
.legal-summary ul { margin: 0; }
.legal-summary li, .legal-summary strong { color: var(--tint-ink); }
.toc { background: var(--bg-soft); }
.toc > p { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.prose .toc li { margin: 0 0 6px; font-size: 14px; break-inside: avoid; }
.toc a { color: var(--link); text-decoration: none; }
.toc a:hover { color: var(--link-hover); text-decoration: underline; }
@media (max-width: 600px) { .legal-summary, .toc { padding: 18px 20px; } .toc ol { columns: 1; } }

/* Feature and industry pages */
.hero-sub h1 { font-size: clamp(36px, 5vw, 52px); }
.more-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; text-decoration: none; }
.more-link::after { content: '→'; }
a.card, a.ind { color: inherit; text-decoration: none; transition: border-color .15s; }
a.card:hover, a.ind:hover { border-color: var(--link); }
a.ind .ind-body { flex: 1 1 auto; align-self: stretch; }
a.card .more-link, a.ind .more-link { margin-top: auto; min-height: 0; padding-top: 4px; color: var(--link); }
.plan-tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--tint-ink); }

/* Contact */
.company { display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.6; }
.company .muted { color: var(--muted); font-size: 15px; }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.notfound h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; letter-spacing: -0.03em; }

/* Footer */
.footer { background: #0B2230; color: #C9D4E5; padding: 56px 0 32px; }
@media (prefers-color-scheme: dark) { .footer { border-top: 1px solid var(--line-soft); } }
.footer .brand { color: #FFFFFF; font-size: 18px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 36px; }
.footer-brand { flex: 2 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-tag { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer .store img { height: 40px; }
.footer .store-note { margin-top: -6px; font-size: 13px; color: var(--on-navy); }
.footer-cols { flex: 4 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.footer-cols div { display: flex; flex-direction: column; gap: 4px; }
.footer-cols h4 { font-size: 13px; font-weight: 800; color: #FFFFFF; margin-bottom: 6px; }
.footer a { color: #C9D4E5; text-decoration: none; font-size: 14px; min-height: 32px; display: inline-flex; align-items: center; }
.footer a:hover { color: #FFFFFF; }
.footer-link { align-self: flex-start; min-height: 32px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 14px; color: #C9D4E5; }
.footer-link:hover { color: #FFFFFF; }
.footer-link[hidden] { display: none; }

/* Cookie banner (analytics.js): bottom-left on wide screens, full width on phones */
.consent {
  position: fixed; z-index: 70; left: 24px; bottom: 24px; max-width: 440px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 48px -16px rgba(11, 34, 48, .35); animation: consent-in .35s cubic-bezier(.2, .8, .2, 1) both;
}
.consent p { font-size: 14px; line-height: 1.55; }
.consent strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--ink); }
.consent a { font-weight: 700; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { flex: 1; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 600px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (prefers-color-scheme: dark) { .consent { box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.footer-bottom { margin-top: 36px; border-top: 1px solid #1E3A4A; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
