/* ============================================================
   Feedrium — Redesign Stylesheet
   Warm paper base, teal accent, Playfair Display + Sora.
   Scale is deliberately larger than the previous site.
   ============================================================ */

:root {
  /* Surfaces */
  --paper:      #efe9dd;
  --paper-2:    #e5dece;
  --card:       #fffdf9;
  --ink:        #0d1a2b;
  --ink-soft:   #14263c;

  /* Text */
  --text:       #0d1a2b;
  --text-2:     #47607a;
  --text-3:     #8397a9;
  --on-dark:    #f3ede1;
  --on-dark-2:  rgba(243,237,225,0.68);

  /* Brand */
  --teal:       #0091a8;
  --teal-deep:  #00707f;
  --teal-lite:  #5fd3e3;
  --gold:       #b57f22;
  --green:      #2f8c5d;
  --rose:       #b4543f;

  /* Lines */
  --line:       rgba(13,26,43,0.10);
  --line-2:     rgba(13,26,43,0.20);

  /* Type */
  --serif: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --sans:  'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid type scale — noticeably larger than before */
  --t-display: clamp(46px, 6.6vw, 92px);
  --t-h2:      clamp(34px, 4.4vw, 60px);
  --t-h3:      clamp(21px, 1.6vw, 26px);
  --t-lead:    clamp(18px, 1.45vw, 23px);
  --t-body:    clamp(15.5px, 1.05vw, 17px);

  /* Rhythm */
  --sp-section: clamp(88px, 11vw, 168px);
  --sp-gutter:  clamp(20px, 4vw, 48px);
  --wrap:       1280px;
  --wrap-narrow: 860px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 34px;

  --shadow-1: 0 1px 2px rgba(13,26,43,.05), 0 6px 20px rgba(13,26,43,.06);
  --shadow-2: 0 2px 6px rgba(13,26,43,.07), 0 18px 50px rgba(13,26,43,.11);
  --shadow-3: 0 30px 90px rgba(0,70,88,.20), 0 10px 30px rgba(13,26,43,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: rgba(0,145,168,.20); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--sp-gutter); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin: 0 auto; padding-inline: var(--sp-gutter); }
.section { padding-block: var(--sp-section); position: relative; }
.section--tight { padding-block: clamp(64px, 7vw, 104px); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--on-dark); padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ─────────── Typography ─────────── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.022em; line-height: 1.08; }
.display { font-size: var(--t-display); line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: 1.25; }
em.accent { font-style: italic; color: var(--teal); font-weight: 400; }
.lead { font-size: var(--t-lead); line-height: 1.65; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; color: var(--text-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 30px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--center::before { display: none; }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head p { margin-top: 20px; }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: .01em;
  padding: 17px 30px; border-radius: 14px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.9,.3,1), box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn svg { flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-2); }
.btn--primary:hover { background: #061523; box-shadow: 0 12px 38px rgba(13,26,43,.28); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 8px 28px rgba(0,145,168,.32); }
.btn--teal:hover { background: var(--teal-deep); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(13,26,43,.04); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline-light { background: transparent; color: var(--on-dark); border-color: rgba(243,237,225,.32); }
.btn--outline-light:hover { border-color: var(--on-dark); background: rgba(243,237,225,.08); }
.btn--sm { padding: 12px 20px; font-size: 14.5px; border-radius: 11px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { font-size: 13.5px; color: var(--text-3); margin-top: 16px; }

/* ─────────── Nav ─────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--sp-gutter);
  background: rgba(239,233,221,.82);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s, box-shadow .25s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(239,233,221,.96); box-shadow: 0 6px 26px rgba(13,26,43,.06); }
.nav-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-brand .mark {
  width: 30px; height: 33px; background: var(--teal); flex-shrink: 0;
  -webkit-mask: url('/feedrium_logo.png') no-repeat center/contain;
  mask: url('/feedrium_logo.png') no-repeat center/contain;
}
.nav-brand .word { font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.nav-brand .word b { font-weight: 700; color: var(--ink); }
.nav-brand .word span { font-weight: 500; color: var(--text-2); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 10px 15px; border-radius: 10px; text-decoration: none;
  font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: rgba(13,26,43,.05); }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin-inline: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--line-2); color: var(--text); cursor: pointer;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 19px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform .22s;
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: none; border: none; border-radius: 10px; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--text-2);
}
.lang-btn:hover { background: rgba(13,26,43,.05); color: var(--text); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px; z-index: 60;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-2); overflow: hidden;
}
.lang-menu.is-open { display: block; }
.lang-menu a { display: block; padding: 12px 18px; font-size: 14.5px; text-decoration: none; color: var(--text); }
.lang-menu a:hover { background: var(--paper-2); }
.lang-menu a[aria-current="true"] { font-weight: 700; color: var(--teal-deep); }

/* ─────────── Sticky CTA bar ─────────── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 280;
  transform: translateY(115%); transition: transform .35s cubic-bezier(.2,.9,.3,1);
  background: rgba(13,26,43,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(95,211,227,.22);
  padding: 14px var(--sp-gutter);
  box-shadow: 0 -12px 40px rgba(13,26,43,.22);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.sticky-cta-text { color: var(--on-dark); font-size: 15px; line-height: 1.45; }
.sticky-cta-text strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.sticky-cta-text span { color: var(--on-dark-2); font-size: 14px; }
.sticky-cta-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sticky-cta-close {
  background: none; border: 1px solid rgba(243,237,225,.24); color: var(--on-dark-2);
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 18px; line-height: 1;
}
.sticky-cta-close:hover { color: var(--on-dark); border-color: rgba(243,237,225,.5); }

/* ─────────── Hero ─────────── */
.hero { position: relative; padding-top: clamp(120px, 14vw, 180px); padding-bottom: clamp(60px, 7vw, 110px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 130%;
  background:
    radial-gradient(ellipse 70% 55% at 18% 8%, rgba(0,145,168,.13), transparent 62%),
    radial-gradient(ellipse 55% 50% at 92% 22%, rgba(181,127,34,.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; gap: clamp(40px, 5vw, 76px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(0,145,168,.10); border: 1px solid rgba(0,145,168,.26); color: var(--teal-deep);
  padding: 8px 16px; border-radius: 99px;
  font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,145,168,.65); }
  70% { box-shadow: 0 0 0 11px rgba(0,145,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,145,168,0); }
}
.hero h1 { margin: 26px 0 24px; }
.hero .lead { max-width: 54ch; }
.hero .btn-row { margin-top: 38px; }

.trust-bar {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); align-items: flex-start;
  margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line);
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1; color: var(--ink); }
.trust-label { font-size: 13px; color: var(--text-3); line-height: 1.4; max-width: 15ch; }

.appstore-row { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.appstore-row img { height: 48px; width: auto; }
.appstore-copy { font-size: 14px; line-height: 1.5; max-width: 34ch; }
.appstore-copy strong { display: block; color: var(--text); }
.appstore-copy span { color: var(--text-3); }

.platforms { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; }
.platform { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-3); font-weight: 500; }

/* Device mock */
.device-stage { display: flex; justify-content: center; align-items: center; position: relative; }
.device-stage::before {
  content: ''; position: absolute; width: 108%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,145,168,.16), transparent 66%);
}
.phone {
  position: relative; width: min(320px, 78vw); background: #14171c;
  border-radius: 46px; padding: 8px;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.10), 0 0 0 3px #07090c, var(--shadow-3);
  transition: transform .6s cubic-bezier(.2,.9,.3,1);
}
.phone:hover { transform: translateY(-8px); }
.phone .island {
  position: absolute; top: 21px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 29px; background: #07090c; border-radius: 20px; z-index: 3;
}
.phone .screen { position: relative; border-radius: 38px; overflow: hidden; aspect-ratio: 320 / 640; background: #07090c; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone .shot-light { animation: shotLight 9s ease-in-out infinite; }
.phone .shot-dark { animation: shotDark 9s ease-in-out infinite; }
@keyframes shotDark { 0%,44% { opacity: 1 } 52%,94% { opacity: 0 } 100% { opacity: 1 } }
@keyframes shotLight { 0%,44% { opacity: 0 } 52%,94% { opacity: 1 } 100% { opacity: 0 } }
.float-chip {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 99px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-2); white-space: nowrap;
}
.float-chip svg { color: var(--teal); }
.float-chip--a { top: 9%; left: -6%; animation: bob 6s ease-in-out infinite; }
.float-chip--b { bottom: 13%; right: -8%; animation: bob 6s ease-in-out infinite 1.6s; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
@media (prefers-reduced-motion: reduce) {
  .float-chip--a, .float-chip--b, .badge .dot { animation: none; }
  .phone .shot-light { animation: none; opacity: 0; }
  .phone .shot-dark { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ─────────── Logo / value strip ─────────── */
.strip { border-block: 1px solid var(--line); background: rgba(255,253,249,.5); }
.strip-inner { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 46px); justify-content: space-between; padding-block: 30px; }
.strip-item { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.strip-item svg { color: var(--teal); flex-shrink: 0; }

/* ─────────── Cards / grids ─────────── */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 2.4vw, 36px);
  transition: transform .3s cubic-bezier(.2,.9,.3,1), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card h3 { margin-bottom: 12px; font-size: var(--t-h3); }
.card p { color: var(--text-2); font-size: 15.5px; }
.card-icon {
  width: 62px; height: 62px; border-radius: 19px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,145,168,.09); color: var(--teal-deep);
  transition: background .3s, transform .3s;
}
.card:hover .card-icon { background: rgba(0,145,168,.16); transform: scale(1.07) rotate(-4deg); }
.tag {
  display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.tag--pro { background: rgba(181,127,34,.14); color: var(--gold); }
.tag--new { background: rgba(47,140,93,.14); color: var(--green); }

.card--dark { background: var(--ink); color: var(--on-dark); border-color: rgba(95,211,227,.18); }
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--on-dark-2); }
.card--dark .card-icon { background: rgba(95,211,227,.14); color: var(--teal-lite); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(24px, 3vw, 44px); position: relative; }
.step { text-align: center; }
.step-num {
  width: 74px; height: 74px; margin: 0 auto 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-1);
  font-family: var(--serif); font-size: 30px; color: var(--teal-deep);
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15.5px; }

/* ─────────── Interactive demo ─────────── */
.demo {
  background: var(--ink); color: var(--on-dark); border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 60px); box-shadow: var(--shadow-3); position: relative; overflow: hidden;
}
.demo::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 88% -10%, rgba(0,145,168,.28), transparent 62%);
  pointer-events: none;
}
.demo > * { position: relative; }
.demo h2, .demo h3 { color: #fff; }
.demo .eyebrow { color: var(--teal-lite); }
.demo-lead { color: var(--on-dark-2); font-size: var(--t-lead); max-width: 58ch; margin-top: 18px; }
.demo-body { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); margin-top: clamp(34px, 4vw, 52px); align-items: start; }
.demo-panel-title { font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--teal-lite); margin-bottom: 16px; }
.src-list { display: flex; flex-direction: column; gap: 9px; }
.src {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  padding: 13px 15px; border-radius: 14px; cursor: pointer;
  background: rgba(243,237,225,.05); border: 1.5px solid rgba(243,237,225,.13);
  color: var(--on-dark); font-family: var(--sans); font-size: 14.5px;
  transition: background .18s, border-color .18s, transform .18s;
}
.src:hover { background: rgba(243,237,225,.10); transform: translateX(3px); }
.src[aria-pressed="true"] { border-color: var(--teal-lite); background: rgba(0,145,168,.20); }
.src .swatch { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.src .src-name { flex: 1; font-weight: 600; }
.src .src-cat { font-size: 11.5px; color: var(--on-dark-2); font-weight: 500; }
.src .check { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(243,237,225,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.src[aria-pressed="true"] .check { background: var(--teal-lite); border-color: var(--teal-lite); color: var(--ink); }
.src .check svg { opacity: 0; }
.src[aria-pressed="true"] .check svg { opacity: 1; }

.custom-url { margin-top: 18px; }
.custom-url label { display: block; font-size: 12.5px; color: var(--on-dark-2); margin-bottom: 8px; }
.custom-url-row { display: flex; gap: 8px; }
.custom-url input {
  flex: 1; min-width: 0; padding: 13px 15px; border-radius: 12px;
  background: rgba(243,237,225,.06); border: 1.5px solid rgba(243,237,225,.16);
  color: var(--on-dark); font-family: var(--sans); font-size: 14px;
}
.custom-url input::placeholder { color: rgba(243,237,225,.42); }
.custom-url input:focus { outline: none; border-color: var(--teal-lite); }
.custom-url button {
  padding: 13px 18px; border-radius: 12px; border: none; cursor: pointer;
  background: var(--teal-lite); color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 14px;
}
.custom-url button:hover { background: #fff; }
.demo-hint { font-size: 12.5px; color: rgba(243,237,225,.55); margin-top: 10px; line-height: 1.55; }

.reader {
  background: #070d16; border: 1px solid rgba(243,237,225,.12); border-radius: 22px;
  overflow: hidden; min-height: 460px; display: flex; flex-direction: column;
}
.reader-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 20px; border-bottom: 1px solid rgba(243,237,225,.09); background: rgba(243,237,225,.03);
}
.reader-title { font-family: var(--serif); font-size: 18px; color: #fff; }
.reader-title em { font-style: italic; color: var(--teal-lite); }
.reader-count { font-size: 12px; color: rgba(243,237,225,.55); }
.mode-switch { display: flex; gap: 4px; padding: 4px; background: rgba(243,237,225,.07); border-radius: 11px; }
.mode-switch button {
  padding: 7px 13px; border: none; border-radius: 8px; cursor: pointer; background: transparent;
  color: rgba(243,237,225,.62); font-family: var(--sans); font-size: 12.5px; font-weight: 600;
}
.mode-switch button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.reader-scroll { flex: 1; overflow-y: auto; max-height: 470px; padding: 8px 0; }
.article {
  display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid rgba(243,237,225,.07);
  animation: fadeUp .45s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.article:last-child { border-bottom: none; }
.article .bullet { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.article-body { min-width: 0; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-lite); margin-bottom: 5px; }
.article-meta .time { color: rgba(243,237,225,.42); font-weight: 500; letter-spacing: 0; text-transform: none; }
.article-headline { font-size: 15px; font-weight: 500; color: #f3ede1; line-height: 1.45; }
.article-flag {
  display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 5px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(180,84,63,.22); color: #ffab95;
}
.reader-empty { padding: 60px 26px; text-align: center; color: rgba(243,237,225,.5); font-size: 15px; }
.reader-foot {
  padding: 15px 20px; border-top: 1px solid rgba(243,237,225,.09);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: rgba(243,237,225,.6);
}

/* ─────────── Screenshot showcase ─────────── */
.showcase { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(34px, 4vw, 70px); align-items: center; }
.showcase-shot {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: var(--shadow-3); background: var(--card);
}
.showcase-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; list-style: none; }
.showcase-list li { display: flex; gap: 15px; }
.showcase-list .ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,145,168,.10); color: var(--teal-deep);
}
.showcase-list strong { display: block; font-size: 16.5px; margin-bottom: 3px; }
.showcase-list span { color: var(--text-2); font-size: 15px; }

/* ─────────── Pricing ─────────── */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; max-width: 980px; margin: 0 auto; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(30px, 3vw, 46px); position: relative; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
}
.price-card--featured {
  border-color: rgba(0,145,168,.42);
  box-shadow: 0 0 0 4px rgba(0,145,168,.10), var(--shadow-2);
}
.price-flag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--on-dark); white-space: nowrap;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 99px;
}
.price-plan { font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.price-amount { font-family: var(--serif); font-size: clamp(48px, 5vw, 68px); line-height: 1; letter-spacing: -.03em; }
.price-amount sup { font-size: .38em; vertical-align: super; font-family: var(--sans); font-weight: 400; color: var(--text-2); }
.price-amount small { font-size: .28em; font-family: var(--sans); font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.price-was { font-size: 14px; color: var(--text-3); text-decoration: line-through; margin-top: 10px; }
.price-alt { font-size: 15px; font-weight: 600; color: var(--gold); margin-top: 4px; }
.price-sub { font-size: 14px; color: var(--text-3); margin-top: 10px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 28px 0 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.price-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-2); }
.price-list svg { color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.price-foot { text-align: center; margin-top: 30px; font-size: 14.5px; color: var(--text-2); }

/* ─────────── Comparison table ─────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
table.compare th, table.compare td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
table.compare thead th { font-family: var(--sans); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); background: var(--paper-2); }
table.compare thead th.us { color: var(--teal-deep); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody tr:hover { background: rgba(0,145,168,.035); }
table.compare td:first-child { font-weight: 600; color: var(--text); }
.yes { color: var(--green); font-weight: 600; }
.no { color: var(--text-3); }
.partial { color: var(--gold); font-weight: 600; }
.table-note { font-size: 13px; color: var(--text-3); margin-top: 16px; line-height: 1.6; }

/* ─────────── Prose (guide pages) ─────────── */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 62px; margin-bottom: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(20px, 2vw, 26px); margin-top: 40px; margin-bottom: 14px; }
.prose p { margin-bottom: 20px; color: var(--text-2); }
.prose ul, .prose ol { margin: 0 0 24px 22px; color: var(--text-2); }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--teal); }
.callout {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: var(--r-md); padding: 24px 28px; margin: 32px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--text); }

/* ─────────── FAQ ─────────── */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq-item:hover { border-color: var(--line-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--text);
}
.faq-q:hover { color: var(--teal-deep); }
.faq-q svg { flex-shrink: 0; color: var(--text-3); transition: transform .25s; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { padding: 0 26px 24px; color: var(--text-2); font-size: 15.5px; max-width: 72ch; }
.faq-a[hidden] { display: none; }
.faq-a a { color: var(--teal-deep); }

/* ─────────── Big CTA ─────────── */
.cta {
  background: var(--ink); color: var(--on-dark); border-radius: var(--r-xl);
  padding: clamp(50px, 6vw, 96px) clamp(28px, 5vw, 76px); text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-3);
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -18%, rgba(0,184,212,.20), transparent 66%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta h2 em { font-style: italic; color: var(--teal-lite); }
.cta p { color: var(--on-dark-2); font-size: var(--t-lead); max-width: 56ch; margin: 22px auto 38px; }
.cta .btn-row { justify-content: center; }
.cta-fine { margin-top: 24px; font-size: 13.5px; color: rgba(243,237,225,.5); }

/* ─────────── Related links ─────────── */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.related a {
  display: block; text-decoration: none; padding: 24px 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.related a:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.related .kicker { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.related .title { font-family: var(--serif); font-size: 20px; margin-top: 8px; color: var(--text); }
.related .desc { font-size: 14px; color: var(--text-3); margin-top: 6px; }

/* ─────────── Breadcrumb ─────────── */
.crumb { padding-top: clamp(104px, 11vw, 130px); font-size: 13.5px; color: var(--text-3); }
.crumb a { color: var(--text-3); text-decoration: none; }
.crumb a:hover { color: var(--teal-deep); text-decoration: underline; }
.crumb span { margin-inline: 8px; }

/* Sub-page hero */
.page-hero { padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(56px, 6vw, 96px); position: relative; }
.page-hero::before {
  content: ''; position: absolute; inset: -40% -10% auto -10%; height: 160%;
  background: radial-gradient(ellipse 60% 50% at 22% 12%, rgba(0,145,168,.12), transparent 62%);
  pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.04; margin: 22px 0 24px; max-width: 18ch; }

/* ─────────── Footer ─────────── */
.footer { background: var(--ink); color: var(--on-dark-2); padding-block: clamp(56px, 6vw, 84px) 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0,1fr)); gap: 40px 28px; }
.footer-brand .word { font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; line-height: 1.65; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(243,237,225,.16); color: var(--on-dark-2); transition: color .18s, border-color .18s;
}
.footer-social a:hover { color: #fff; border-color: rgba(243,237,225,.42); }
.footer-col h4 { font-family: var(--sans); font-size: 11.5px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: rgba(243,237,225,.5); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--on-dark-2); text-decoration: none; margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(243,237,225,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px;
}
.footer-bottom a { color: var(--on-dark-2); text-decoration: none; margin-left: 22px; }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: #fff; }

/* ─────────── Reveal on scroll ─────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.9,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.dl1 { transition-delay: .06s } .dl2 { transition-delay: .13s } .dl3 { transition-delay: .2s } .dl4 { transition-delay: .27s }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─────────── Responsive ─────────── */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .device-stage { order: -1; margin-bottom: 10px; }
  .float-chip--a { left: 0; } .float-chip--b { right: 0; }
  .showcase { grid-template-columns: 1fr; }
  .demo-body { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* On phones the value proposition comes first, and the chips would sit on the screenshot. */
  .device-stage { order: 0; margin-top: 12px; margin-bottom: 0; }
  .float-chip { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 74px; left: 12px; right: 12px; z-index: 299;
    flex-direction: column; align-items: stretch; gap: 3px; padding: 12px;
    background: var(--card); border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow-2);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .3s ease, opacity .22s ease;
  }
  .nav-links.is-open { max-height: 78vh; overflow-y: auto; opacity: 1; pointer-events: auto; }
  .nav-link, .lang-btn { width: 100%; padding: 14px 16px; justify-content: flex-start; }
  .nav-sep { display: none; }
  .nav-links .btn { width: 100%; margin-top: 6px; }
  .lang-menu { position: static; box-shadow: none; margin-top: 4px; width: 100%; }
  .grid-2, .grid-3, .grid-4, .pricing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .strip-inner { flex-direction: column; gap: 14px; }
  .sticky-cta-text strong { font-size: 17px; }
  .sticky-cta-actions { width: 100%; }
  .sticky-cta-actions .btn { flex: 1; }
  .reader-scroll { max-height: 380px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .appstore-row .btn, .platforms .btn { width: auto; }
}
