/* Palette and type follow the main site's stylesheet, so both pages read as one product. */
:root {
  color-scheme: light dark;
  --background: #F0F4FA;
  --foreground: #0F172A;
  --card: #ffffff;
  --card-foreground: #08241F;
  --primary: #0D7356;
  --primary-hover: #0B6249;
  --primary-foreground: #ffffff;
  --secondary: #E4ECF4;
  --muted-foreground: #4A6A62;
  --border: #D0DAE6;
  --ring: #0D7356;
  --radius: 1rem;
  --radius-control: 0.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0F172A;
    --foreground: #EAF4FF;
    --card: #102238;
    --card-foreground: #EAF4FF;
    --primary: #0EC08A;
    --primary-hover: #2fd39f;
    --primary-foreground: #03243A;
    --secondary: #1A2D4A;
    --muted-foreground: #7A9AB0;
    --border: #1D2740;
    --ring: #0EC08A;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, summary { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--ring) 50%, transparent); outline-offset: 2px; }

.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }

.skip { position: absolute; left: 16px; top: -64px; z-index: 60; padding: 8px 12px; border-radius: var(--radius-control); background: var(--primary); color: var(--primary-foreground); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--background); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.brand-icon { width: 24px; height: 24px; color: var(--primary); }
.brand-accent { color: var(--primary); }
.nav { display: none; gap: 32px; }
.nav a { font-size: 14px; color: var(--muted-foreground); text-decoration: none; transition: color 200ms var(--ease); }
.nav a:hover { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-mobile { font-size: 14px; color: var(--muted-foreground); text-decoration: none; padding: 4px 8px; }
@media (min-width: 1024px) { .nav { display: flex; } .nav-mobile { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px;
  border-radius: var(--radius-control);
  background: var(--primary); color: var(--primary-foreground);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover { background: var(--primary-hover); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 32px; padding: 0 12px; }
.btn-lg { height: auto; min-height: 48px; padding: 12px 24px; font-size: 16px; white-space: normal; text-align: center; }

/* Hero */
.hero { padding-top: 48px; text-align: center; }
.hero h1 { max-width: 14em; margin: 0 auto; font-size: clamp(2.5rem, 7.4vw, 5.5rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.035em; }
.hero-lead { max-width: 34em; margin: 24px auto 0; font-size: 18px; line-height: 1.375; color: var(--muted-foreground); }
.hero-actions { margin-top: 36px; display: flex; justify-content: center; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted-foreground); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .icon { color: var(--primary); }
@media (min-width: 768px) { .hero { padding-top: 64px; } .hero-lead { font-size: 22px; } }

/* Dark showcase panel, the same in both themes, as on the main site. */
.stage {
  position: relative; overflow: hidden;
  border-radius: 1.75rem;
  color: #eaf4ff;
  background:
    radial-gradient(60% 55% at 50% 0%, rgb(14 192 138 / 0.16) 0%, rgb(14 192 138 / 0) 70%),
    linear-gradient(180deg, #0c3a55 0%, #0d2a5c 45%, #061c4e 100%);
}
.hero-stage {
  --art: max(680px, min(1100px, 96vw));
  margin-top: 40px; height: clamp(420px, 52vw, 560px);
  padding-top: calc(var(--art) * 0.15 + 40px);
  display: flex; justify-content: center;
}
@media (min-width: 768px) { .hero-stage { margin-top: 56px; } }
.shield-arch { position: absolute; top: 0; left: 50%; width: var(--art); height: var(--art); translate: -50% calc(-9.6% + 32px); overflow: visible; pointer-events: none; }

.phones { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 32px; }
.phone {
  width: min(248px, 70vw); padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, #0f2d48 0%, #0a1f3a 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16), 0 40px 80px -30px rgb(2 10 30 / 0.85);
  text-align: start;
}
.phone-side { display: none; width: 196px; margin-top: 80px; }
@media (min-width: 1024px) { .phone-side { display: block; } }
.phone-main { min-height: 480px; }
.phone-bar { display: flex; justify-content: space-between; padding: 4px 8px 12px; font-size: 11px; font-weight: 600; color: #cfe3f5; }
.app-card { padding: 16px; border-radius: 16px; background: rgb(255 255 255 / 0.06); text-align: center; }
.app-card b { display: block; font-size: 18px; font-weight: 500; }
.app-card small { font-size: 11px; color: #8fb0c8; }
.app-title { padding: 4px 8px 12px; font-size: 15px; font-weight: 600; }
.app-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.app-list li { padding: 8px 12px; border-radius: 9999px; background: rgb(255 255 255 / 0.08); font-size: 12px; text-align: center; }
.app-list li.on { background: #0ec08a; color: #03243a; font-weight: 600; }
.app-devices { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.app-devices li { padding: 12px; border-radius: 12px; background: rgb(255 255 255 / 0.06); }
.app-devices b { display: block; font-size: 13px; font-weight: 600; }
.app-devices small { font-size: 11px; color: #8fb0c8; }
.power { position: relative; width: 168px; height: 168px; margin: 56px auto 24px; border-radius: 9999px; display: grid; place-items: center; background: radial-gradient(circle, #0e3a58 0%, #0a2440 70%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
.power .icon { width: 40px; height: 40px; color: #3ccfe8; }
.power-ring { position: absolute; inset: 24px; border-radius: 9999px; border: 1px solid rgb(60 207 232 / 0.35); animation: pulse 2600ms var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.94); opacity: 0.7; } 100% { transform: scale(1.18); opacity: 0; } }

/* Facts row */
.facts { display: grid; gap: 32px; margin: 0; padding-block: 40px; border-bottom: 1px solid var(--border); text-align: start; }
.facts div { display: flex; flex-direction: column-reverse; gap: 4px; }
.facts dd { margin: 0; font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.facts dt { color: var(--muted-foreground); }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(3, 1fr); padding-block: 56px; } }

/* Sections */
.section { padding-block: 32px; }
@media (min-width: 768px) { .section { padding-block: 48px; } }
.hero + .section { padding-top: 64px; }
html { scroll-padding-top: 80px; }
.section-head { display: grid; gap: 12px; max-width: 780px; margin-bottom: 32px; }
@media (min-width: 768px) { .section-head { margin-bottom: 48px; } }
.label { font-size: 15px; font-weight: 600; color: var(--primary); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 700; line-height: 1.07; letter-spacing: -0.03em; }
.section-lead { max-width: 34em; font-size: 18px; line-height: 1.375; color: var(--muted-foreground); }
@media (min-width: 768px) { .section-lead { font-size: 22px; } }

.card { padding: 24px; border-radius: var(--radius); background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); }
.card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--muted-foreground); }
.card-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--secondary); color: var(--primary); }
.card-icon .icon { width: 20px; height: 20px; }

.bento { display: grid; gap: 16px; }
.card.card-stage {
  border: 0; color: #eaf4ff; padding: 32px;
  background:
    radial-gradient(60% 55% at 50% 0%, rgb(14 192 138 / 0.16) 0%, rgb(14 192 138 / 0) 70%),
    linear-gradient(180deg, #0c3a55 0%, #0d2a5c 45%, #061c4e 100%);
}
.card.card-stage p { color: #a9c3d8; }
.card.card-stage .card-stage-copy p { margin-top: 8px; }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .card-stage { grid-column: span 2; grid-row: span 2; }
}

.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 9999px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); font-weight: 700; }

.downloads { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .downloads { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .downloads { grid-template-columns: repeat(4, 1fr); } }
.dl { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); text-decoration: none; transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.dl:hover { border-color: var(--primary); }
.dl:active { transform: translateY(1px); }
.dl .icon { width: 20px; height: 20px; color: var(--primary); }
.dl b { display: block; font-weight: 600; }
.dl small { font-size: 14px; color: var(--muted-foreground); }
.note { margin-top: 16px; font-size: 14px; color: var(--muted-foreground); }

.plans { display: grid; gap: 16px; }
.plans { max-width: 896px; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; gap: 4px; }
.plan-sub { margin-top: 0 !important; font-size: 14px; }
.price { margin-top: 16px !important; color: var(--muted-foreground); }
.price b { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--card-foreground); }
.plan-list { display: grid; gap: 8px; margin: 16px 0 24px; padding: 0; list-style: none; font-size: 14px; }
.plan-list li { display: flex; align-items: center; gap: 8px; }
.plan-list .icon { color: var(--primary); }
.plan-list li.term { padding-left: 24px; color: var(--muted-foreground); }
@media (min-width: 768px) { .price b { font-size: 44px; } }
.plan .btn { margin-top: auto; height: 48px; font-size: 16px; }

.faq { display: grid; gap: 8px; max-width: 896px; }
.faq details { border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 20px; font-weight: 400; line-height: 1; color: var(--muted-foreground); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 16px; color: var(--muted-foreground); }

.final { padding: 64px 24px; text-align: center; }
.final h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 700; line-height: 1.07; letter-spacing: -0.03em; }
.final p { margin: 16px auto 32px; max-width: 34em; font-size: 18px; color: #a9c3d8; }
.final .btn { background: #0EC08A; color: #03243A; }
.final .btn:hover { background: #2fd39f; }

.footer { display: grid; gap: 4px; padding-block: 40px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted-foreground); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 400px) { .nav-mobile { display: none; } }

/* Store captures of the app (the header band with the brand logo is cut out of them). */
.app-shot { display: block; height: auto; border-radius: 7.4% / 3.35%; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16), 0 40px 80px -30px rgb(2 10 30 / 0.85); }
.shots { position: relative; width: 100%; display: flex; justify-content: center; }
.shot-main { position: relative; z-index: 1; width: min(248px, 70vw); }
/* The devices screen sits beside the main one, so the main screen stays on the shield's axis. */
.shot-side { display: none; position: absolute; top: 64px; left: calc(50% + 160px); width: 196px; }
@media (min-width: 1024px) { .shot-side { display: block; } }

.card.card-stage { position: relative; overflow: hidden; display: grid; gap: 0; padding-bottom: 0; }
.bento-shot { width: 200px; max-width: 100%; margin: 24px auto -48px; }
@media (min-width: 1024px) {
  .card.card-stage { grid-template-columns: 1fr 240px; column-gap: 32px; }
  .card-stage-copy { align-self: center; padding-bottom: 32px; }
  .card.card-stage .bento-shot { grid-column: 2; width: 240px; margin: 0 0 -96px; }
}

@media (max-width: 767px) {
  .hero { padding-top: 32px; }
  .hero-lead { margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-stage { height: 440px; padding-top: 56px; }
  .shot-main { width: 216px; }
  .header-row { padding-block: 10px; }
  .header .btn-sm { min-height: 44px; }
}
@media (max-width: 640px) { .final { padding: 48px 16px; } .final .btn { padding-inline: 20px; } }

@media (prefers-color-scheme: dark) {
  .dl, .faq details { border-color: #2B3E56; }
}
.shots { align-items: flex-start; }
@media (max-width: 767px) { .hero-stage { height: 504px; padding-top: 56px; } }
/* The facts stay one row on phones too: three compact columns instead of a tall stack. */
.facts { grid-template-columns: repeat(3, 1fr); gap: 16px; padding-block: 32px; }
.facts dd { font-size: clamp(1.75rem, 8vw, 3.75rem); }
.facts dt { font-size: 13px; line-height: 1.3; }
@media (min-width: 768px) { .facts { gap: 32px; padding-block: 56px; } .facts dt { font-size: 16px; line-height: 1.5; } }
.facts div { flex-direction: column; justify-content: flex-start; }
.facts dd { order: -1; }

/* Alignment pass: equal rows in the feature grid, centred copy in the big card, one rhythm between sections. */
@media (min-width: 1024px) {
  .bento { grid-auto-rows: 1fr; }
  .card.card-stage { padding-bottom: 32px; }
  .card-stage-copy { padding-bottom: 0; }
  .card.card-stage .bento-shot { margin-bottom: -128px; }
}
#pricing .note { max-width: 896px; }
.hero + .section { padding-top: 32px; }
@media (min-width: 768px) { .facts { padding-block: 48px; } .hero + .section { padding-top: 48px; } }

/* Five shortcuts: one row on wide screens; on tablets the last one takes the full row. */
@media (min-width: 640px) and (max-width: 1023px) { .downloads .dl:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .downloads { grid-template-columns: repeat(5, 1fr); } }

/* Purchase-first page: the buy button leads, the free trial stays one quiet step away. */
.hero-actions-buy { flex-direction: column; align-items: center; gap: 16px; }
.trial-link { font-size: 15px; font-weight: 500; color: var(--primary); text-underline-offset: 4px; }
.trial-link:hover { text-decoration-thickness: 2px; }
.trial-link-dark { display: inline-block; margin-top: 16px; color: #7ff0cd; }

.why { display: grid; gap: 16px; }
@media (min-width: 768px) { .why { grid-template-columns: repeat(3, 1fr); } }

.terms { display: grid; gap: 16px; max-width: 1040px; }
@media (min-width: 768px) { .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.term-card { position: relative; display: flex; flex-direction: column; }
.term-card .price { margin-top: 12px !important; }
.term-card .per { margin-top: 4px; font-size: 14px; }
.term-card .btn { margin-top: auto; height: 48px; font-size: 16px; }
.term-card .per { margin-bottom: 24px; }
.term-best { border: 2px solid var(--primary); }
.badge { position: absolute; top: -13px; left: 24px; margin: 0 !important; padding: 2px 10px; border-radius: 9999px; background: var(--primary); color: var(--primary-foreground) !important; font-size: 13px; font-weight: 600; }
@media (max-width: 767px) { .term-best { order: -1; margin-top: 8px; } }

.btn-outline { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1px var(--border); }
.btn-outline:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }

.trial-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; max-width: 1040px; margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--secondary); }
.trial-strip h3 { font-size: 18px; font-weight: 600; }
.trial-strip p { margin-top: 4px; color: var(--muted-foreground); }
.trial-strip .btn { height: 44px; }
#pricing .terms + .note { max-width: 1040px; }
.final .trial-link-dark { display: block; width: fit-content; margin: 16px auto 0; }
.hero-actions-buy { gap: 8px; }
.hero-price { font-size: 22px; color: var(--muted-foreground); }
.hero-price b { font-size: 28px; font-weight: 700; color: var(--foreground); letter-spacing: -0.02em; }
.hero-price-note { margin-bottom: 12px; font-size: 14px; color: var(--muted-foreground); }
.hero-actions-buy .trial-link { margin-top: 8px; }
.page-buy .terms, .page-buy .trial-strip, .page-buy #pricing .note { max-width: none; }
.page-buy #pricing .note + .note { margin-top: 4px; }
@media (min-width: 1024px) { .page-buy .hero-stage { padding-top: calc(var(--art) * 0.15 - 24px); } }
@media (prefers-color-scheme: dark) { .page-buy .btn-outline { box-shadow: inset 0 0 0 1px #657E94; } }
@media (min-width: 768px) { .page-buy .why { grid-template-columns: repeat(2, 1fr); } }


/* Country list on the left, mirroring the devices screen on the right, as on the main site. */
.shot-side.shot-left { left: auto; right: calc(50% + 160px); }
