/* =================================================================
   WriteFlow — One pager
   Aesthetic: Apple-minimal frame + WriteFlow electric gradient accents
   ================================================================= */

:root {
  /* Brand gradient — pulled from the WriteFlow logo */
  --brand-1: #2BD8FF;   /* cyan */
  --brand-2: #6E7BFF;   /* indigo */
  --brand-3: #B45CFF;   /* violet */
  --brand-4: #FF3FB1;   /* magenta */
  --grad: linear-gradient(90deg, var(--brand-1) 0%, var(--brand-2) 35%, var(--brand-3) 65%, var(--brand-4) 100%);
  --grad-soft: linear-gradient(135deg, rgba(43,216,255,.10), rgba(255,63,177,.10));

  /* Surfaces */
  --bg: #fbfbfd;          /* Apple's signature off-white */
  --bg-2: #f5f5f7;        /* secondary off-white */
  --bg-dark: #0a0a0c;     /* near-black */
  --bg-dark-2: #111114;

  /* Type */
  --ink: #1d1d1f;         /* Apple ink black */
  --ink-2: #6e6e73;       /* secondary grey */
  --ink-light: #f5f5f7;
  --ink-light-2: #a1a1a6;

  /* Layout */
  --max: 1200px;
  --pad-x: clamp(20px, 4vw, 48px);
  --radius: 24px;

  --ff-display: "Fredoka", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --ff-serif: "Fredoka", "Times New Roman", serif;
  --ff-body: "Fredoka", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ Brand gradient text ============ */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s ease;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0;
}
.nav-logo { width: 28px; height: 28px; border-radius: 7px; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink);
}
.nav-links a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: #000; }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: clamp(100px, 13vh, 140px) var(--pad-x) clamp(20px, 3vh, 40px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Combined hero + devices background gradient
   The .hero-wrap element wraps both sections so a single gradient
   stretches all the way from the top of the page through the devices. */
.hero-wrap {
  position: relative;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(110, 123, 255, 0.10), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 70%, rgba(255, 63, 177, 0.10), transparent 75%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(43, 216, 255, 0.08), transparent 70%),
    var(--bg);
}

/* ============ DEVICE SHOWCASE ============ */
.devices {
  padding: 0 var(--pad-x) clamp(20px, 4vh, 40px);
  background: transparent;
  overflow: hidden;
  position: relative;
}
.devices-inner {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Reserve enough height for the MacBook image so absolute-positioned
     iPhone and iPad don't collapse the layout. */
  min-height: clamp(320px, 32vw, 540px);
}
.device {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.device img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

/* MacBook — geometrically centred, sets the layout size */
.device-mac {
  position: relative;
  z-index: 1;
}
.device-mac img {
  width: clamp(520px, 55vw, 860px);
  max-width: 100%;
}

/* iPhone — overlaps the LEFT edge of the MacBook */
.device-iphone {
  position: absolute;
  bottom: 0;
  /* Sits so the iPhone visually crosses the left bezel of the MacBook */
  left: calc(40% - clamp(280px, 29vw, 460px));
  z-index: 2;
}
.device-iphone img {
  width: clamp(150px, 12vw, 190px);
}

/* Second iPhone — sits next to the first one, further left */
.device-iphone-2 {
  position: absolute;
  bottom: 190px;
  /* Sits to the LEFT of the first iPhone */
  left: calc(38% - clamp(280px, 29vw, 460px) - clamp(130px, 13vw, 200px));
  z-index: 2;
}
.device-iphone-2 img {
  width: clamp(150px, 12vw, 190px);
}

/* iPad — overlaps the RIGHT edge of the MacBook */
.device-ipad {
  position: absolute;
  bottom: 0;
  /* Sits so the iPad visually crosses the right bezel of the MacBook */
  right: calc(27% - clamp(300px, 32vw, 500px));
  z-index: 2;
}
.device-ipad img {
  width: clamp(320px, 34vw, 560px);
}

@media (max-width: 900px) {
  .devices-inner {
    flex-direction: column;
    min-height: 0;
    gap: 36px;
  }
  /* Reset overlap on small screens — stack them vertically */
  .device-iphone,
  .device-iphone-2,
  .device-ipad {
    position: static;
    left: auto;
    right: auto;
  }
  .device-iphone img,
  .device-iphone-2 img { width: 240px; }
  .device-mac img { width: min(560px, 90vw); }
  .device-ipad img { width: min(460px, 80vw); }
}

.hero-eyebrow {
  font-size: 21px;
  font-weight: 500;
  color: var(--brand-2);
  margin-bottom: 18px;
  letter-spacing: 0;
}
.hero-wordmark {
  font-family: var(--ff-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0;
  margin: 0 0 18px;
  color: var(--ink);
}
.hero-wordmark .grad-text {
  /* tighter, brighter gradient on the wordmark */
  background: linear-gradient(90deg,
    var(--brand-1) 0%,
    var(--brand-2) 40%,
    var(--brand-3) 70%,
    var(--brand-4) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.4;
}
.hero-sub {
  font-size: clamp(19px, 2.1vw, 26px);
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.35;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #000;
}
.btn-ghost {
  background: transparent;
  color: var(--brand-2);
  border: 1px solid rgba(110, 123, 255, 0.3);
}
.btn-ghost:hover {
  background: rgba(110, 123, 255, 0.06);
  transform: translateY(-2px);
}
.btn.full { width: 100%; }

/* Hero stage with logo */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 32px;
}
.hero-logo-wrap {
  position: relative;
  width: clamp(220px, 28vw, 320px);
  aspect-ratio: 1;
  border-radius: 28%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(180, 92, 255, 0.35),
              0 10px 30px rgba(43, 216, 255, 0.25);
  animation: float 6s ease-in-out infinite;
}
.hero-logo {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(180, 92, 255, 0.25), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-foot {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}
.br-d { display: inline; }
@media (max-width: 700px) {
  .br-d { display: none; }
}

/* ============ MARQUEE ============ */
.marquee-section {
  padding: 40px var(--pad-x) 80px;
  background: var(--bg);
  text-align: center;
}
.marquee-title {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-2);
  margin: 0 0 30px;
  font-weight: 500;
}
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  white-space: nowrap;
  animation: scroll 40s linear infinite;
}
.marquee-track .brand-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 4vw, 54px);
  height: clamp(40px, 4vw, 54px);
  transition: transform 0.3s ease;
}
.marquee-track .brand-icon:hover {
  transform: translateY(-6px) scale(1.1);
}
.marquee-track .brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ FEATURE SECTIONS ============ */
.feature {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
}
.feature.dark {
  background: var(--bg-dark);
  color: var(--ink-light);
}
.feature.dark .feature-body { color: var(--ink-light-2); }
.feature.dark .feature-list li { color: var(--ink-light-2); border-color: rgba(255,255,255,0.1); }
.feature.dark .feature-eyebrow { color: var(--brand-1); }

.feature-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.feature-flip .feature-inner {
  grid-template-columns: 1.1fr 1fr;
}
.feature-flip .feature-copy { order: 2; }
.feature-flip .feature-visual { order: 1; }
@media (max-width: 900px) {
  .feature-inner, .feature-flip .feature-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-flip .feature-copy { order: 1; }
  .feature-flip .feature-visual { order: 2; }
}

.feature-eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.feature-eyebrow.light { color: var(--brand-1); }
.feature-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
}
.feature-title.huge {
  font-size: clamp(48px, 7.5vw, 100px);
}
.feature-body {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 540px;
}
.feature-body.big { font-size: clamp(19px, 1.6vw, 24px); max-width: 720px; }
.feature-body.center { margin-left: auto; margin-right: auto; text-align: center; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-left: 26px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Visual frame */
.feature-visual {
  position: relative;
}
.feature-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  /* The provided images already have light backgrounds + device frames, so no shadow needed for those */
}
.feature.dark .feature-visual img {
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

/* Portrait phone screenshots — constrain so they don't dominate the column */
#features .feature-visual {
  display: flex;
  justify-content: center;
}
#features .feature-visual img {
  max-width: 320px;
  width: 100%;
  border-radius: 0;
}

/* Chip grid */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.chip:nth-child(3n+1) { color: var(--brand-2); border-color: rgba(110, 123, 255, 0.25); }
.chip:nth-child(3n+2) { color: var(--brand-4); border-color: rgba(255, 63, 177, 0.25); }
.chip:nth-child(3n+3) { color: var(--brand-1); border-color: rgba(43, 216, 255, 0.4); }

/* ============ TRANSLATE SECTION ============ */
.translate-section {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  text-align: center;
}
.translate-section.dark {
  background: var(--bg-dark);
  color: var(--ink-light);
  background-image:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(110, 123, 255, 0.15), transparent 70%);
}
.translate-section .feature-body { color: var(--ink-light-2); margin-left: auto; margin-right: auto; }
.translate-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.lang-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.lang-grid span {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-light);
  transition: all 0.3s ease;
}
.lang-grid span:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.lang-grid span:last-child {
  background: var(--grad);
  border: none;
  color: white;
  font-weight: 600;
}

/* ============ KEYBOARD SECTION (Mac) ============ */
.keyboard-section {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  background: var(--bg-2);
}
.kb-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) {
  .kb-inner { grid-template-columns: 1fr; }
}
.kb-visual img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* ============ PRIVACY ============ */
.privacy {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  background: var(--bg);
  text-align: center;
}
.privacy-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.lock-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 18px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.lock-icon svg { width: 32px; height: 32px; }
.privacy-row {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
@media (max-width: 800px) {
  .privacy-row { grid-template-columns: 1fr; }
}
.priv-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-2);
  transition: transform 0.3s ease;
}
.priv-card:hover { transform: translateY(-4px); }
.priv-card h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.priv-card p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

/* ============ DOWNLOAD ============ */
.download {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  background: var(--bg-2);
}
.download-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.download .center-block {
  text-align: center;
  margin-bottom: 60px;
}
.download .feature-title {
  margin-left: auto;
  margin-right: auto;
}
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) {
  .download-grid { grid-template-columns: 1fr; }
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.download-card::before {
  /* subtle gradient glow corner */
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(110, 123, 255, 0.12), transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.download-card:nth-child(2)::before {
  background: radial-gradient(circle, rgba(255, 63, 177, 0.12), transparent 70%);
}
.download-card:not(.download-card-disabled):hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: transparent;
  background:
    linear-gradient(white, white) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
  padding: 35px;
}

/* Coming-soon state */
.download-card-disabled {
  cursor: default;
  opacity: 0.78;
}
.download-card-cta-disabled {
  background: transparent;
  color: var(--ink-2);
  border: 1px dashed rgba(0, 0, 0, 0.18);
  padding: 11px 22px;
  font-weight: 500;
}

.download-card-icons {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--brand-2);
}
.download-card:nth-child(2) .download-card-icons {
  color: var(--brand-4);
}
.dc-icon {
  width: 36px;
  height: 36px;
}
.dc-icon-phone { width: 26px; height: 36px; }
.dc-icon-tablet { width: 32px; height: 36px; }
.dc-icon-laptop { width: 44px; height: 36px; }

.download-card-text { flex: 1; }
.download-card-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.download-card-title {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.download-card-sub {
  font-size: 14px;
  color: var(--ink-2);
}

.download-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 12px 22px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: gap 0.2s ease;
}
.download-card:hover .download-card-cta {
  gap: 12px;
}

.pricing {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  background: var(--bg);
}
.pricing-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.center-block {
  text-align: center;
  margin-bottom: 70px;
}
.center-block .feature-title { margin-left: auto; margin-right: auto; }
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) {
  .price-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 28px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.price-card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    var(--grad) border-box;
  box-shadow: 0 20px 60px rgba(180, 92, 255, 0.15);
}
.price-badge {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--grad);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.price-tag {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.price-value {
  font-family: var(--ff-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 24px;
  line-height: 1;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}
.price-card ul li {
  padding: 10px 0;
  font-size: 16px;
  color: var(--ink);
  position: relative;
  padding-left: 24px;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-2);
  font-weight: 700;
}
.price-card.featured ul li::before {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: clamp(100px, 14vw, 180px) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta.dark {
  background: var(--bg-dark);
  color: var(--ink-light);
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(180, 92, 255, 0.2), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(43, 216, 255, 0.15), transparent 70%);
}
.final-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.final-logo {
  width: 96px; height: 96px;
  border-radius: 24px;
  margin: 0 auto 32px;
  box-shadow: 0 20px 60px rgba(180, 92, 255, 0.4);
}
.final-title {
  font-family: var(--ff-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 20px;
}
.final-sub {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-light-2);
  margin: 0 0 48px;
}
.store-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: white;
  color: var(--bg-dark);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,255,255,0.15);
}
.store-btn svg {
  width: 30px; height: 30px;
}
.store-btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}
.store-btn small { font-size: 11px; opacity: 0.7; }
.store-btn strong { font-size: 18px; font-weight: 600; letter-spacing: 0; }

/* ============ FOOTER ============ */
.footer {
  padding: 50px var(--pad-x) 40px;
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-2);
  justify-content: center;
}
.footer-links a { transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ink); }
.footer-fine {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero staggered reveal */
.hero .reveal:nth-child(1) { transition-delay: 0s; }
.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero .reveal:nth-child(5) { transition-delay: 0.32s; }
.hero .reveal:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hero-logo-wrap { animation: none; }
}

/* ============ LOCK IPHONE SIZES ============ */
/* Force both iPhones to render at identical dimensions regardless of
   source image proportions. Adjust width/height to taste. */
.device-iphone img,
.device-iphone-2 img {
  width: 170px;
  height: 350px;
  object-fit: contain;
}
