/* Civadelia marketing site, v4. Phone first; no framework. Fonts are self-hosted (SIL Open Font License). */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* Fallbacks sized to match the web fonts (measured from the font files with fontTools), so the swap when the web
   fonts arrive moves nothing: no layout shift on slow connections. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400 600; size-adjust: 107.62%; ascent-override: 90.02%; descent-override: 22.41%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 650 900; size-adjust: 103.13%; ascent-override: 93.94%; descent-override: 23.39%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"); font-style: italic; size-adjust: 89.01%; ascent-override: 111.23%; descent-override: 34.83%; line-gap-override: 0%; }

:root {
  --navy: #0F2747;
  --navy-2: #163560;
  --blue: #1D4E89;
  --green: #2FCB78;
  --green-hover: #27B86B;
  --green-ink: #0B7A43;
  --green-soft: #E6F8EE;
  --ink: #0F2747;
  --text: #3A4A5F;
  --muted: #5B6B80;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --soft: #F5F7FA;
  --soft-2: #EEF2F7;
  --on-navy: #C9D6E8;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 39, 71, .06), 0 2px 8px rgba(15, 39, 71, .05);
  --shadow: 0 2px 6px rgba(15, 39, 71, .05), 0 12px 32px rgba(15, 39, 71, .09);
  --shadow-lg: 0 6px 16px rgba(15, 39, 71, .08), 0 30px 70px rgba(15, 39, 71, .16);
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, "Times New Roman", serif;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1em; height: 1em; flex: none; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(2.35rem, 7.2vw, 4.1rem); letter-spacing: -.035em; line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.75rem); letter-spacing: -.03em; line-height: 1.1; }
h3 { font-size: 1.15rem; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 .serif, h2 .serif { font-size: 1.08em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.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: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--green { background: var(--green); color: var(--navy); box-shadow: 0 6px 18px rgba(47, 203, 120, .28); }
.btn--green:hover { background: var(--green-hover); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--green-soft); color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .94rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header: a floating pill */
.site-header { position: fixed; top: 10px; left: 0; right: 0; z-index: 50; padding: 0 10px; pointer-events: none; }
.nav-pill { pointer-events: auto; max-width: 1180px; margin: 0 auto; height: var(--nav-h); display: flex; align-items: center; gap: 12px; padding: 0 10px 0 18px; background: rgba(255, 255, 255, .88); border: 1px solid rgba(227, 232, 239, .9); border-radius: 999px; box-shadow: var(--shadow-sm); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); transition: box-shadow .25s, background-color .25s; }
.site-header.is-scrolled .nav-pill { box-shadow: var(--shadow); background: rgba(255, 255, 255, .95); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
.nav { display: none; margin: 0 auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--text); font-weight: 550; font-size: .96rem; text-decoration: none; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--soft-2); color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.signin { display: none; padding: 8px 14px; color: var(--navy); font-weight: 600; text-decoration: none; border-radius: 999px; }
.signin:hover { background: var(--soft-2); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--soft-2); color: var(--navy); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-nav { pointer-events: auto; display: none; max-width: 1180px; margin: 8px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 10px; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a:not(.btn) { display: block; padding: 13px 14px; border-radius: 14px; color: var(--navy); font-weight: 600; text-decoration: none; }
.mobile-nav a:not(.btn):hover { background: var(--soft); }
.mobile-nav .mobile-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 4px 4px; }
.header-cta { padding: 8px 14px; }
@media (max-width: 359px) { .header-cta { display: none; } }
@media (min-width: 980px) {
  .nav { display: block; }
  .signin { display: inline-block; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
  .nav-actions { margin-left: 0; }
  .header-cta { padding: 8px 18px; }
}

/* Sections */
main { display: block; }
/* Sections below the hero are laid out only when they come near the screen (much less work on phones). */
main > .section, main > .cta-band, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 14px; }
.section--navy .eyebrow, .cta-band .eyebrow { color: var(--green); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.section--navy .lead { color: var(--on-navy); }

/* Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 44px) 0 72px; overflow: hidden; background:
  radial-gradient(900px 480px at 85% 10%, rgba(29, 78, 137, .10), transparent 65%),
  radial-gradient(600px 400px at 0% 0%, rgba(47, 203, 120, .08), transparent 60%),
  linear-gradient(#fff, #F7F9FC); }
.hero-inner { display: grid; gap: 52px; align-items: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 22px; }
.pill-badge .dot { width: 22px; height: 22px; border-radius: 999px; background: var(--green-soft); display: inline-grid; place-items: center; }
.pill-badge .dot::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .serif { color: var(--blue); }
.hero .lead { font-size: 1.16rem; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 550; color: var(--navy); }
.trust svg { width: 18px; height: 18px; color: var(--green-ink); }
@media (max-width: 479px) { .hero-actions .btn { flex: 1 1 100%; } }
@media (min-width: 1024px) { .hero { padding: calc(var(--nav-h) + 76px) 0 100px; } }
/* Two columns from 1100px; below that the visual sits under the text, at most 720px wide, so the chips keep
   clear of the browser and phone frames (checked at 1440, 1024 and 390px). */
@media (min-width: 1100px) { .hero-inner { grid-template-columns: 1fr 1.08fr; gap: 40px; } }

/* Hero visual: browser + phone + module chips */
.hero-visual { position: relative; padding: 26px 0 0; width: 100%; max-width: 720px; margin: 0 auto; }
.stage { position: relative; }
.browser { position: relative; z-index: 2; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 999px; background: #D5DCE6; }
.browser-bar i { display: block; height: 18px; flex: 1; max-width: 260px; margin-left: 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
/* Phones show the whole app screen, status bar included (586 x 1280 screenshots). */
.phone { position: relative; background: #0E1726; border-radius: 36px; padding: 8px; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 28px; width: 100%; aspect-ratio: 300 / 655; object-fit: cover; object-position: top; background: #fff; }
.phone--hero { position: absolute; z-index: 3; width: 34%; max-width: 200px; right: 0; bottom: -36px; border-radius: 30px; padding: 6px; }
.phone--hero img { border-radius: 24px; }
.hero-visual .browser { width: 88%; }
.chips { list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .88rem; font-weight: 650; color: var(--navy); white-space: nowrap; }
.chip svg { width: 22px; height: 22px; padding: 4px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); }
@media (max-width: 767px) {
  .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
  .chip { font-size: .82rem; padding: 6px 12px 6px 8px; box-shadow: var(--shadow-sm); }
}
@media (min-width: 768px) {
  /* A band above the frames (76px) and below them (112px) holds the chips; the phone hangs 88px below the
     browser, on the right, so the bottom chips stay in the left 60%. Dotted stubs join each chip to the frame. */
  .hero-visual { padding: 76px 0 112px; }
  .phone--hero { bottom: -88px; }
  .chips { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
  .chip { position: absolute; animation: float 7s ease-in-out infinite; }
  .chip::after { content: ""; position: absolute; left: 50%; border-left: 2px dotted #9FB3CC; }
  .chip--t1, .chip--t2, .chip--t3 { top: 8px; }
  .chip--t1::after, .chip--t2::after, .chip--t3::after { top: calc(100% + 1px); height: 28px; }
  .chip--b1, .chip--b2 { bottom: 24px; }
  .chip--b1::after, .chip--b2::after { bottom: calc(100% + 1px); height: 48px; }
  .chip--t1 { left: 0; }
  .chip--t2 { left: 36%; animation-delay: -2s; }
  .chip--t3 { right: 0; animation-delay: -4s; }
  .chip--b1 { left: 0; animation-delay: -1s; }
  .chip--b2 { left: 148px; animation-delay: -3s; }
}
@keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }

/* Module strip */
.modules { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.modules ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.modules li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); font-size: .95rem; }
.modules svg { width: 18px; height: 18px; color: var(--blue); }

/* Interactive previews: app screens in a phone, web screens in a browser frame (v4) */
.preview { display: grid; gap: 22px; grid-template-areas: "pills" "device" "panels" "store"; max-width: 980px; margin: 0 auto; }
.preview-pills { grid-area: pills; min-width: 0; }
.preview-device { grid-area: device; min-width: 0; }
.preview-panels { grid-area: panels; min-width: 0; }
.preview-store { grid-area: store; }
.preview-hint { margin: 0 0 10px; font-size: .9rem; color: var(--muted); text-align: center; }
/* Phones and small tablets: one row of pills that scrolls sideways inside its own box; the page never does. */
.pill-scroller { position: relative; margin: 0 -16px; }
.pills { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding: 0 16px; padding: 6px 16px 10px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill-scroller::after { content: ""; position: absolute; top: 0; right: 0; bottom: 4px; width: 36px; pointer-events: none; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff); }
.section--soft .pill-scroller::after { background: linear-gradient(to right, rgba(245, 247, 250, 0), var(--soft)); }
.pill { flex: none; scroll-snap-align: start; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2; cursor: pointer; box-shadow: var(--shadow-sm); transition: background-color .2s, border-color .2s, color .2s; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.pill:hover { border-color: var(--navy); }
.pill[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 999px; }
.preview-panel { text-align: center; max-width: 520px; margin: 0 auto; }
.preview-panel h3 { font-size: 1.3rem; margin-bottom: 6px; }
.preview-panel p { margin: 0; color: var(--muted); }
.preview-panel:focus-visible { outline-offset: 6px; }
.preview-img { transition: opacity .35s ease, transform .35s ease; }
.js .phone--preview .preview-img:not(.is-active), .js .browser-screen .preview-img:not(.is-active) { position: absolute; opacity: 0; transform: scale(.985); pointer-events: none; }
.js .preview-img.is-active { position: relative; opacity: 1; transform: none; }
.phone--preview { width: min(240px, 66vw); margin: 0 auto; }
.phone--preview .preview-img { top: 8px; left: 8px; width: calc(100% - 16px); }
.browser-screen { position: relative; }
.browser-screen .preview-img { top: 0; left: 0; }
.store-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.store-row img { height: 52px; width: auto; }
.store-note { text-align: center; color: var(--muted); font-size: .95rem; margin: 14px 0 0; }
/* Without JavaScript: no pills; the first screen shows and every caption is listed. */
.no-js .preview-pills { display: none; }
.no-js .preview-img:not(.is-active) { display: none; }
.no-js .preview-panel[hidden] { display: block !important; margin-top: 14px; }
@media (min-width: 900px) {
  .pill-scroller { margin: 0; }
  .pill-scroller::after { display: none; }
  .pills { flex-wrap: wrap; overflow: visible; padding: 4px; }
  .preview-hint, .preview-panel { text-align: left; margin-left: 0; }
  .preview--app { grid-template-columns: 300px 1fr; grid-template-areas: "device ." "device pills" "device panels" "device store" "device ."; grid-template-rows: 1fr auto auto auto 1fr; column-gap: 64px; row-gap: 24px; align-items: start; }
  .preview--app .phone--preview { width: 280px; }
  .preview--app .preview-panel h3 { font-size: 1.6rem; }
  .preview--app .preview-panel p { font-size: 1.08rem; }
  .preview--app .store-row { justify-content: flex-start; }
  .preview--app .store-note { text-align: left; }
  .preview--web { max-width: 1040px; grid-template-columns: 1fr 300px; grid-template-areas: "pills pills" "device panels"; column-gap: 40px; align-items: center; }
  .preview--web .preview-hint { text-align: center; }
  .preview--web .pills { justify-content: center; }
}
.badges--sm img { height: 40px; width: auto; }
a[data-store] { display: inline-block; border-radius: 10px; transition: transform .2s; }
a[data-store]:hover { transform: translateY(-2px); }
a[data-store].is-pending { opacity: .45; cursor: not-allowed; }

/* Navy band: one record */
.record-band { position: relative; overflow: hidden; }
.record-band::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 700px; height: 700px; border-radius: 999px; background: radial-gradient(circle, rgba(29, 78, 137, .55), transparent 65%); pointer-events: none; }
.record-band .container { position: relative; }
.role-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .role-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .role-cards { grid-template-columns: repeat(5, 1fr); } }
.role-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px 22px; transition: background-color .25s, transform .25s; }
.role-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.role-card .icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(47, 203, 120, .16); color: var(--green); margin-bottom: 16px; }
.role-card .icon svg { width: 22px; height: 22px; }
.role-card h3 { margin-bottom: 6px; }
.role-card p { margin: 0; font-size: .96rem; color: var(--on-navy); }
.record-core { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 30px auto 0; padding: 16px 22px; max-width: 720px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .3); color: #fff; font-weight: 600; text-align: center; }
.record-core svg { width: 22px; height: 22px; color: var(--green); }

/* Features by role (tabs) */
.tablist { display: flex; gap: 6px; overflow-x: auto; padding: 6px; margin: 0 auto 30px; width: max-content; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
@media (max-width: 639px) { .tablist { flex-wrap: wrap; justify-content: center; width: auto; border-radius: 24px; } .tab { padding: 8px 12px; } }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; transition: background-color .2s, color .2s; }
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: var(--navy); background: var(--soft); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.tabpanel { display: grid; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 26px 20px; box-shadow: var(--shadow-sm); }
@media (min-width: 960px) { .tabpanel { grid-template-columns: .9fr 1.1fr; padding: 44px; gap: 48px; } }
.tabpanel h3 { font-size: 1.5rem; margin-bottom: 4px; }
.tabpanel .who { color: var(--muted); margin-bottom: 20px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 999px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A43' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checklist strong { color: var(--ink); }
.section--navy .checklist strong { color: #fff; }
.shot-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot-frame img { width: 100%; }

/* How it works: steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); counter-increment: step; }
.step::before { content: counter(step); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 750; margin-bottom: 16px; }
.step:last-child::before { background: var(--green); color: var(--navy); }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 1040px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 45px; right: -21px; width: 22px; border-top: 2px dotted #AFC0D4; } }

/* Split layout */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.split h2 { margin-bottom: 16px; }
.split .lead { margin-bottom: 26px; }

/* Web screenshot gallery */
.gallery-title { text-align: center; margin: 72px 0 24px; }
.gallery { display: grid; gap: 22px; grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figure { margin: 0; }
.shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; background: #fff; }
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.gallery figcaption { padding: 14px 4px 0; font-size: .95rem; color: var(--muted); }
.gallery figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.gallery-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 30px 0 0; }
.lightbox { border: 0; padding: 0; max-width: min(1280px, 94vw); background: transparent; }
.lightbox::backdrop { background: rgba(9, 22, 41, .82); }
.lightbox img { border-radius: 12px; max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: #fff; color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.icon-badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--soft-2); color: var(--blue); margin-bottom: 16px; }
.icon-badge svg { width: 22px; height: 22px; }

/* Pricing */
.pricing { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
@media (min-width: 860px) { .pricing { grid-template-columns: 1.15fr 1fr; align-items: stretch; } }
.price-card { position: relative; border-radius: 28px; padding: 34px 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card--main { background: var(--navy); color: var(--on-navy); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.price-card--main h3, .price-card--main .price { color: #fff; }
.price-card .tag { align-self: flex-start; display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--green); color: var(--navy); font-size: .8rem; font-weight: 700; margin-bottom: 16px; }
.price-card .tag--soft { background: var(--soft-2); color: var(--navy); }
.price-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.price { font-size: clamp(2.4rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1; }
.price small { font-size: 1rem; font-weight: 550; letter-spacing: 0; color: inherit; opacity: .8; margin-left: 4px; }
.price-sub { margin: 10px 0 24px; font-weight: 550; }
.price-card--main .price-sub { color: #fff; }
.price-card .checklist { margin-bottom: 28px; }
.price-card--main .checklist li::before { background-color: rgba(47, 203, 120, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FCB78' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-more { max-width: 980px; margin: 20px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 24px; border-radius: 20px; border: 1px dashed #C4D0DE; background: #fff; }
.price-more p { margin: 0; color: var(--navy); font-weight: 550; }
.price-addon { max-width: 980px; margin: 20px auto 0; display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--soft); }
.price-addon .icon-badge { margin: 0; flex: none; background: #fff; }
.price-addon p { margin: 0; color: var(--text); }
.price-addon strong { color: var(--ink); }
.price-addon .addon-tag { display: table; margin: 0 0 6px; }
.addon-tag { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 9px; border-radius: 999px; background: var(--soft-2); color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5; white-space: nowrap; }
.chip .addon-tag { margin-left: 2px; font-size: .68rem; }
.price-foot { text-align: center; margin: 28px 0 0; }
.price-foot strong { display: block; font-size: 1.25rem; color: var(--ink); }
.price-foot small { color: var(--muted); }

/* FAQ: native <details>, no script needed */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2747' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary h3 { margin: 0; font-size: 1.08rem; letter-spacing: -.01em; }
.faq-item summary:hover h3 { color: var(--blue); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; color: var(--text); }

/* Android: a small "Get the app" banner (site.js adds it; iPhone gets Safari's own banner from the meta tag) */
.app-banner { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto; padding: 10px 8px 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.app-banner img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.app-banner p { margin: 0; flex: 1; min-width: 0; font-size: .86rem; line-height: 1.3; color: var(--muted); }
.app-banner p strong { display: block; color: var(--ink); font-size: .95rem; }
.app-banner .btn { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.app-banner-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--soft-2); color: var(--navy); cursor: pointer; display: inline-grid; place-items: center; }
.app-banner-close svg { width: 18px; height: 18px; }
body.has-app-banner { padding-bottom: 84px; }

/* Products */
.products { display: grid; gap: 18px; }
@media (min-width: 760px) { .products { grid-template-columns: 1fr 1fr; } .product--wide { grid-column: 1 / -1; } }
.product-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-logo img, .product-logo .mono { width: 52px; height: 52px; border-radius: 14px; }
.product-logo .mono { display: inline-grid; place-items: center; background: var(--soft-2); color: var(--blue); }
.product-logo .mono svg { width: 26px; height: 26px; }
.product-logo h3 { margin: 0; }
.product-logo .kind { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.product .actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.text-link svg { width: 16px; height: 16px; }
.product--wide { display: grid; gap: 22px; }
@media (min-width: 960px) { .product--wide { grid-template-columns: .9fr 1.6fr; align-items: start; gap: 36px; } }
.reviews { display: grid; gap: 12px; }
@media (min-width: 640px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 18px; border-radius: 16px; background: var(--soft); }
.review blockquote { margin: 0 0 12px; color: var(--ink); font-size: .95rem; }
.review blockquote p { margin: 0; }
.review figcaption { font-size: .82rem; color: var(--muted); }
.review figcaption strong { color: var(--navy); }
.reviews-label { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--muted); }

/* About */
.about { max-width: 820px; margin: 0 auto; text-align: center; }
.about .lead { margin-left: auto; margin-right: auto; font-size: 1.18rem; }
.about-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.about-points li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); font-size: .95rem; }

/* Contact + demo form */
.contact-wrap { display: grid; gap: 36px; }
@media (min-width: 980px) { .contact-wrap { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; } }
.contact-aside h2 { margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 650; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; word-break: break-word; }
.contact-list a:hover { border-color: var(--green); transform: translateY(-2px); }
.contact-list .icon-badge { margin: 0; width: 42px; height: 42px; flex: none; background: var(--green-soft); color: var(--green-ink); }
.contact-list small { display: block; font-weight: 500; color: var(--muted); }
.demo-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.demo-points li { display: flex; gap: 10px; align-items: flex-start; }
.demo-points svg { width: 20px; height: 20px; color: var(--green-ink); margin-top: 3px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 26px 20px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #D3DBE6; border-radius: 12px; font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 78, 137, .14); }
.field .error { display: none; margin: 6px 0 0; color: #B42318; font-size: .88rem; }
.field.has-error input, .field.has-error select { border-color: #B42318; }
.field.has-error .error { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #FEF3F2; color: #912018; font-size: .95rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.form-foot small { color: var(--muted); max-width: 320px; }
.form-success { text-align: center; padding: 20px 0; }
.form-success .icon-badge { background: var(--green-soft); color: var(--green-ink); }

/* Final call to action */
.cta-band { padding: 0 0 80px; }
.cta-inner { position: relative; overflow: hidden; background: var(--navy); border-radius: 32px; padding: 56px 24px; text-align: center; color: var(--on-navy); }
.cta-inner::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 999px; background: radial-gradient(circle, rgba(47, 203, 120, .22), transparent 65%); pointer-events: none; }
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; max-width: 680px; margin: 0 auto 14px; }
.cta-inner h2 .serif { color: var(--green); }
.cta-inner p { margin: 0 auto 28px; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 900px) { .cta-inner { padding: 80px 48px; } .cta-band { padding-bottom: 112px; } }

/* Footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; } .footer-grid > :first-child { grid-column: auto; } }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { color: var(--green-ink); text-decoration: underline; }
.footer-tag { margin: 14px 0 18px; color: var(--muted); max-width: 300px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges img { height: 40px; width: auto; }
.footer-contact a { word-break: break-word; }
@media (max-width: 899px) { .footer-contact { grid-column: 1 / -1; } }
.footer-bottom a { color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* Simple pages */
.page-hero { padding: calc(var(--nav-h) + 64px) 0 40px; background: linear-gradient(#fff, var(--soft)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }

/* Scroll-in animation */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.price-card .price + p { margin-top: 16px; }
