:root {
  --primary: #007AFF;
  --secondary: #5856D6;
  --accent: #FF9500;
  --success: #34C759;
  --green: #34C759;
  --green-deep: #1FA34A;
  --warning: #FFCC00;
  --error: #FF3B30;

  --bg: #FFFFFF;
  --bg-secondary: #F2F2F7;
  --bg-tertiary: #FAFAFC;
  --label: #000000;
  --label-secondary: rgba(60, 60, 67, 0.7);
  --label-tertiary: rgba(60, 60, 67, 0.5);
  --separator: rgba(60, 60, 67, 0.18);

  --xs: 4px;
  --sm: 8px;
  --md: 16px;
  --lg: 24px;
  --xl: 32px;
  --xxl: 48px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --content-width: 720px;
  --landing-width: 1200px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.25), 0 10px 24px -8px rgba(0, 0, 0, 0.12);

  --gradient-savings: linear-gradient(135deg, #007AFF 0%, #34C759 100%);
  --gradient-text: linear-gradient(135deg, #007AFF 0%, #1FA34A 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #0A84FF;
    --secondary: #5E5CE6;
    --accent: #FF9F0A;
    --success: #30D158;
    --green: #30D158;
    --green-deep: #34C759;
    --warning: #FFD60A;
    --error: #FF453A;

    --bg: #000000;
    --bg-secondary: #1C1C1E;
    --bg-tertiary: #0A0A0C;
    --label: #FFFFFF;
    --label-secondary: rgba(235, 235, 245, 0.7);
    --label-tertiary: rgba(235, 235, 245, 0.5);
    --separator: rgba(84, 84, 88, 0.65);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 10px 24px -8px rgba(0, 0, 0, 0.5);

    --gradient-text: linear-gradient(135deg, #0A84FF 0%, #30D158 100%);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(16px, 1rem + 0.1vw, 18px);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

a:hover,
a:focus-visible {
  border-bottom-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--lg) var(--md) var(--xxl);
}

.site-header {
  border-bottom: 1px solid var(--separator);
  background: var(--bg);
}

.site-header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--md);
  display: flex;
  align-items: center;
  gap: var(--sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sm);
  color: var(--label);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  border: none;
}

.brand:hover,
.brand:focus-visible {
  border: none;
  opacity: 0.85;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
}

.site-header-inner {
  justify-content: space-between;
}

.site-nav {
  display: flex;
  gap: var(--lg);
  font-size: 0.9375rem;
}

.site-nav a {
  color: var(--label-secondary);
  border: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--label);
  border: none;
}

@media (max-width: 560px) {
  .site-nav { display: none; }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--sm);
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--label-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sm);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: var(--xl) 0 var(--sm);
  line-height: 1.25;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: var(--lg) 0 var(--xs);
}

p {
  margin: 0 0 var(--md);
  color: var(--label);
}

.lead {
  font-size: 1.0625rem;
  color: var(--label-secondary);
  margin-bottom: var(--lg);
}

ul,
ol {
  padding-left: 1.25em;
  margin: 0 0 var(--md);
}

li {
  margin-bottom: var(--xs);
}

li > strong {
  color: var(--label);
}

code,
.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-secondary);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: var(--label);
}

.callout {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--md) var(--lg);
  margin: var(--lg) 0;
  border-left: 3px solid var(--primary);
}

.callout p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--label-secondary);
  font-size: 0.9375rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: var(--xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tag-no {
  background: rgba(52, 199, 89, 0.12);
  color: var(--success);
}

.tag-yes {
  background: rgba(255, 149, 0, 0.14);
  color: var(--accent);
}

@media (prefers-color-scheme: dark) {
  .tag-no {
    background: rgba(48, 209, 88, 0.18);
  }
  .tag-yes {
    background: rgba(255, 159, 10, 0.2);
  }
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--xs);
  margin: var(--md) 0 var(--lg);
}

.event-grid code {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  padding: var(--xs) var(--sm);
}

.faq details {
  border-bottom: 1px solid var(--separator);
  padding: var(--md) 0;
}

.faq details:last-of-type {
  border-bottom: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  color: var(--label);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--label-secondary);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details[open] summary {
  margin-bottom: var(--sm);
}

.contact-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--lg);
  margin: var(--lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--xs);
}

.contact-card .label {
  font-size: 0.8125rem;
  color: var(--label-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.contact-card .email {
  font-size: 1.25rem;
  font-weight: 600;
}

.site-footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--lg) var(--md) var(--xl);
  border-top: 1px solid var(--separator);
  color: var(--label-secondary);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--md);
  justify-content: space-between;
  align-items: center;
}

.site-footer nav {
  display: flex;
  gap: var(--md);
}

/* ==============================
   Shared landing components (also used by 404)
   ============================== */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--md);
  align-items: center;
  margin-bottom: var(--xl);
}

.cta-row-center {
  justify-content: center;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sm);
  background: var(--label);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border: none;
}

.app-store-badge .symbol {
  font-size: 1.4rem;
  line-height: 1;
}

.app-store-badge .label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.app-store-badge .label small {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cta-secondary {
  color: var(--label-secondary);
  font-size: 0.9375rem;
  border: none;
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  color: var(--label);
  border: none;
}

.disclaimer {
  text-align: center;
  color: var(--label-tertiary);
  font-size: 0.8125rem;
  margin-top: var(--xl);
}

/* ==============================
   Landing (body.landing) — full-width sections
   ============================== */

body.landing {
  background: var(--bg);
}

body.landing main {
  max-width: none;
  padding: 0;
  margin: 0;
}

.section-inner {
  max-width: var(--landing-width);
  margin: 0 auto;
  padding: 0 var(--lg);
}

.section-title-big {
  font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 0 var(--sm);
  line-height: 1.15;
}

.section-lead {
  text-align: center;
  color: var(--label-secondary);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto var(--xxl);
}

/* --- Hero --- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px) var(--lg) clamp(28px, 4vw, 56px);
  isolation: isolate;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(at 20% 15%, rgba(0, 122, 255, 0.18), transparent 50%),
    radial-gradient(at 75% 85%, rgba(52, 199, 89, 0.18), transparent 55%),
    radial-gradient(at 60% 30%, rgba(88, 86, 214, 0.08), transparent 50%);
  overflow: hidden;
}

.hero-aurora::before,
.hero-aurora::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-aurora::before {
  background: var(--primary);
  top: -15%;
  left: -10%;
  animation: float 24s ease-in-out infinite;
}

.hero-aurora::after {
  background: var(--green);
  bottom: -25%;
  right: -10%;
  animation: float 28s ease-in-out infinite reverse;
}

@media (prefers-color-scheme: dark) {
  .hero-aurora {
    background:
      radial-gradient(at 20% 15%, rgba(10, 132, 255, 0.22), transparent 50%),
      radial-gradient(at 75% 85%, rgba(48, 209, 88, 0.20), transparent 55%),
      radial-gradient(at 60% 30%, rgba(94, 92, 230, 0.10), transparent 50%);
  }
  .hero-aurora::before,
  .hero-aurora::after { opacity: 0.35; }
}

.hero-grid {
  max-width: var(--landing-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow-live {
  display: inline-flex;
  align-items: center;
  gap: var(--sm);
  background: var(--bg);
  border: 1px solid var(--separator);
  color: var(--label-secondary);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8125rem;
  padding: 6px 12px;
  margin-bottom: var(--lg);
  box-shadow: var(--shadow-sm);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

.live-dot-inline {
  margin-right: 6px;
  vertical-align: 1px;
}

.hero-title {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 var(--md);
}

.hero-title-accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-tagline {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--label-secondary);
  margin: 0 0 var(--xl);
  line-height: 1.5;
  max-width: 520px;
}

.hero-meta {
  margin: var(--md) 0 0;
  font-size: 0.875rem;
  color: var(--label-secondary);
}

.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.iphone-tilt {
  transform: rotate3d(0, 1, 0, -7deg) rotate(-2deg);
  transition: transform 0.6s ease;
}

.hero-mockup:hover .iphone-tilt {
  transform: rotate3d(0, 1, 0, 0deg) rotate(0deg);
}

.float-badge {
  position: absolute;
  background: var(--bg);
  border-radius: 14px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.18), 0 4px 10px -2px rgba(0, 0, 0, 0.08);
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
  border: 1px solid var(--separator);
}

.float-badge-savings {
  top: 20%;
  right: -2%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  animation: float-y 6s ease-in-out infinite;
}

.float-badge-savings .float-badge-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--label-secondary);
}

.float-badge-savings .float-badge-value {
  color: var(--green-deep);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.float-badge-best {
  bottom: 16%;
  left: -3%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  animation: float-y 7s ease-in-out infinite reverse;
  animation-delay: -2s;
}

.float-badge-best .dot-best {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.iphone-frame {
  position: relative;
  aspect-ratio: 831 / 1700;
  width: min(342px, 80vw);
  background: transparent;
  filter: drop-shadow(0 34px 42px rgba(20, 35, 55, 0.26))
          drop-shadow(0 14px 18px rgba(20, 35, 55, 0.16));
}

.iphone-frame-hero {
  width: min(330px, 82vw);
}

.iphone-bezel {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
}

.iphone-screen {
  position: absolute;
  z-index: 1;
  inset: 1.55% 4.2% 1.85%;
  display: block;
  overflow: hidden;
  border-radius: 8.8% / 4.1%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* --- Trust strip --- */

.trust-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--separator);
  border-bottom: 1px solid var(--separator);
  overflow: hidden;
  padding: var(--md) 0;
  position: relative;
}

.trust-track {
  display: flex;
  gap: var(--xl);
  width: max-content;
  animation: marquee 36s linear infinite;
}

.trust-strip:hover .trust-track {
  animation-play-state: paused;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: var(--xl);
  white-space: nowrap;
  font-size: 0.9375rem;
  color: var(--label-secondary);
}

.trust-row strong {
  color: var(--label);
  font-weight: 700;
}

.trust-sep {
  color: var(--label-tertiary);
  user-select: none;
}

/* --- How it works --- */

.how {
  padding: clamp(64px, 8vw, 120px) 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lg);
  max-width: 980px;
  margin: 0 auto;
}

.how-step {
  background: var(--bg-secondary);
  border: 1px solid var(--separator);
  border-radius: var(--radius-xl);
  padding: var(--xl);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.how-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 122, 255, 0.25);
}

.how-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--md);
}

.how-step h3 {
  margin: 0 0 var(--xs);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.how-step p {
  margin: 0;
  color: var(--label-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* --- Feature showcase --- */

.showcase {
  padding: clamp(56px, 7vw, 96px) var(--lg);
  background: var(--bg);
}

.showcase:nth-of-type(odd) {
  background: var(--bg-tertiary);
}

@media (prefers-color-scheme: dark) {
  .showcase:nth-of-type(odd) {
    background: var(--bg-tertiary);
  }
}

.showcase-grid {
  max-width: var(--landing-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.showcase-copy {
  max-width: 480px;
  justify-self: end;
}

.showcase-reverse .showcase-mockup { order: 1; }
.showcase-reverse .showcase-copy   { order: 2; justify-self: start; }

.showcase-mockup {
  display: flex;
  justify-content: center;
}

.showcase h2 {
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: var(--sm) 0 var(--md);
}

.showcase-copy p {
  font-size: 1.0625rem;
  color: var(--label-secondary);
  margin: 0 0 var(--lg);
  line-height: 1.55;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--sm);
  color: var(--label);
  font-size: 0.9375rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.15);
}

.check-list li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-deep);
  width: 18px;
  text-align: center;
}

/* --- Privacy block (always dark) --- */

.privacy-block {
  background: linear-gradient(135deg, #0a1929 0%, #062b1a 100%);
  color: #fff;
  padding: clamp(64px, 8vw, 120px) var(--lg);
  position: relative;
  overflow: hidden;
}

.privacy-block::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background:
    radial-gradient(circle, rgba(52, 199, 89, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(10, 132, 255, 0.20) 0%, transparent 50%);
  filter: blur(40px);
  pointer-events: none;
}

.privacy-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.eyebrow-on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.privacy-block h2 {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: var(--md) 0 var(--md);
  color: #fff;
}

.privacy-lead {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 var(--xl);
}

.privacy-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sm);
  margin-bottom: var(--xl);
}

.privacy-chips .chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.privacy-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.privacy-link:hover,
.privacy-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

/* --- Pro card --- */

.pro-section {
  padding: clamp(64px, 8vw, 120px) 0;
}

.pro-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
}

.pro-card-border {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    var(--primary) 0%,
    var(--green) 25%,
    var(--secondary) 50%,
    var(--green) 75%,
    var(--primary) 100%
  );
  animation: border-spin 8s linear infinite;
}

.pro-card-content {
  position: relative;
  z-index: 1;
  margin: 2px;
  background: var(--bg);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
}

.pro-tag {
  display: inline-block;
  background: rgba(52, 199, 89, 0.12);
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--md);
}

.pro-title {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 var(--xs);
}

.pro-pro {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pro-subtitle {
  color: var(--label-secondary);
  margin: 0 0 var(--xl);
  font-size: 1.0625rem;
}

.pro-list {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--lg);
  max-width: 360px;
  text-align: left;
}

.pro-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sm);
  padding: var(--sm) 0;
  border-bottom: 1px solid var(--separator);
  font-size: 0.9375rem;
}

.pro-list li:last-child {
  border-bottom: none;
}

.pro-check {
  color: var(--green-deep);
  font-weight: 700;
  flex-shrink: 0;
}

.pro-foot {
  font-size: 0.875rem;
  color: var(--label-tertiary);
  margin: var(--lg) 0 0;
}

/* --- CTA final --- */

.cta-final {
  padding: clamp(64px, 8vw, 120px) var(--lg);
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--separator);
}

.cta-final-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-final h2 {
  font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 var(--md);
}

.cta-final p {
  color: var(--label-secondary);
  margin: 0 0 var(--xl);
  font-size: 1.0625rem;
}

/* --- Animations --- */

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(52, 199, 89, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(60px, -40px); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes border-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll-driven entrance for showcases — progressive enhancement */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .showcase .showcase-grid > *,
    .how-step,
    .pro-card,
    .cta-final-inner {
      animation: slide-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }
    .how-step:nth-child(2) { animation-delay: 80ms; }
    .how-step:nth-child(3) { animation-delay: 160ms; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot,
  .hero-aurora::before,
  .hero-aurora::after,
  .float-badge,
  .pro-card-border,
  .trust-track {
    animation: none !important;
  }
  .iphone-tilt {
    transform: none;
  }
}

/* --- Responsive --- */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    max-width: 640px;
    margin: 0 auto;
  }
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-row {
    justify-content: center;
  }
  .hero-mockup {
    margin-top: var(--xl);
  }
  .iphone-frame-hero {
    width: min(320px, 76vw);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: var(--xl);
  }
  .showcase-copy,
  .showcase-reverse .showcase-copy {
    justify-self: center;
    text-align: center;
    max-width: 560px;
    order: 0;
  }
  .showcase-reverse .showcase-mockup {
    order: 0;
  }
  .check-list {
    display: inline-block;
    text-align: left;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .iphone-frame {
    width: min(292px, 76vw);
  }
  .iphone-frame-hero {
    width: min(265px, 70vw);
  }
  .float-badge {
    font-size: 0.8125rem;
    padding: 8px 12px;
  }
  .float-badge-savings { right: 0; }
  .float-badge-best { left: 0; }
}

/* ==============================
   404
   ============================== */

.notfound {
  text-align: center;
  padding: var(--xxl) 0;
}

.notfound-code {
  font-size: clamp(4rem, 3rem + 5vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--label-tertiary);
  line-height: 1;
  margin: 0 0 var(--md);
}

@media (max-width: 480px) {
  main {
    padding: var(--md) var(--md) var(--xl);
  }
  body.landing main {
    padding: 0;
  }
  .site-header-inner {
    padding: var(--sm) var(--md);
  }
  h1 {
    margin-bottom: var(--xs);
  }
}
