/* ============================================================
   Readaily landing page — styles
============================================================ */

@font-face {
  font-family: 'Lora';
  src: url('fonts/Lora-VariableFont_wght.ttf') format('truetype-variations'),
       url('fonts/Lora-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('fonts/Lora-VariableFont_wght.ttf') format('truetype-variations'),
       url('fonts/Lora-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* tokens — from Readaily DS */
  --ink: #181411;
  --taupe: #3A332D;
  --sand: #D8CEC4;
  --paper: #F1EBE4;
  --paper-deep: #E8DFD3;
  --soft-beige: #F5F1ED;
  --white: #FFFFFF;
  --charcoal: #2D3748;
  --slate: #4A5568;
  --light-gray: #CBD5E0;
  --soft-gray: #E2E8F0;

  --reading-orange: #ED8936;
  --bookmark-gold: #D69E2E;
  --quote-purple: #805AD5;
  --success: #38A169;

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', ui-monospace, Menlo, Monaco, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 999px;

  --sh-1: 0 1px 3px rgba(24,20,17,0.10);
  --sh-2: 0 4px 6px rgba(24,20,17,0.10);
  --sh-3: 0 10px 20px rgba(24,20,17,0.10);
  --sh-4: 0 24px 60px rgba(24,20,17,0.18);
  --sh-phone: 0 30px 80px rgba(24,20,17,0.22), 0 10px 30px rgba(24,20,17,0.10);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(241, 235, 228, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(24,20,17,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; object-fit: contain; }
.brand-name { line-height: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--charcoal);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color var(--ease) 150ms;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }

/* nav right cluster: language selector + cta */
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-select { position: relative; }
.lang-select-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(24,20,17,0.12);
  border-radius: var(--radius-pill);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}
.lang-select-trigger:hover { color: var(--ink); border-color: rgba(24,20,17,0.25); background: rgba(24,20,17,0.03); }
.lang-select-trigger svg:last-child { transition: transform 200ms var(--ease); opacity: 0.6; }
.lang-select.open .lang-select-trigger svg:last-child { transform: rotate(180deg); }
.lang-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid rgba(24,20,17,0.08);
  border-radius: 14px;
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 180ms var(--ease), visibility 180ms var(--ease), transform 180ms var(--ease);
  z-index: 50;
}
.lang-select.open .lang-select-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-select-menu li { margin: 0; }
.lang-select-menu a {
  display: block;
  padding: 8px 12px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--charcoal);
  border-radius: 8px;
  text-decoration: none;
}
.lang-select-menu a:hover { background: var(--paper); color: var(--ink); }
.lang-select-menu a[aria-selected="true"] { color: var(--ink); font-weight: 500; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .lang-select-trigger span { display: none; }
}

/* ---------- HERO common ---------- */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--taupe);
  background: rgba(24,20,17,0.05);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--reading-orange);
}
.h-display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.h-display em {
  font-style: italic;
  font-weight: 500;
  color: var(--taupe);
}
.h-sub {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--slate);
  margin: 24px 0 0;
  max-width: 520px;
  text-wrap: pretty;
}

/* ---------- store badges ---------- */
.badges { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  font-family: var(--sans);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
  border: 1px solid rgba(255,255,255,0.06);
  min-width: 188px;
}
.badge:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }
.badge svg { flex: 0 0 auto; width: 26px; height: 26px; fill: currentColor; }
.badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.badge-text small { font-size: 11px; opacity: 0.78; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-text strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; }

/* ---------- HERO A: editorial book + phone ---------- */
.hero-a {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 620px;
}
.hero-a .left { position: relative; z-index: 2; }
.pull-quote {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.4;
  color: var(--taupe);
  padding: 0 0 0 28px;
  border-left: 2px solid var(--ink);
  max-width: 460px;
  margin: 0 0 32px;
}
.pull-quote .byline {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 14px;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.hero-a .ctas {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-a .meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--slate);
}
.hero-a .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--slate); opacity: 0.5; }

/* book + phone composition */
.composition {
  position: relative;
  height: 620px;
}
.book {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%) rotate(-6deg);
  width: 280px;
  height: 420px;
  border-radius: 4px 10px 10px 4px;
  background: linear-gradient(110deg, var(--taupe) 0%, var(--taupe) 8px, #4a4138 8px, #4a4138 100%);
  box-shadow:
    0 30px 60px rgba(24,20,17,0.25),
    inset -4px 0 12px rgba(0,0,0,0.18),
    inset 6px 0 0 rgba(0,0,0,0.25);
  overflow: hidden;
}
.book::before {
  /* page edges */
  content: "";
  position: absolute;
  right: -3px;
  top: 6px;
  bottom: 6px;
  width: 5px;
  background: repeating-linear-gradient(
    to bottom,
    #f5f1ed 0,
    #f5f1ed 2px,
    #d8cec4 2px,
    #d8cec4 3px
  );
  border-radius: 0 2px 2px 0;
}
.book-cover {
  position: absolute;
  inset: 24px 22px 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
  font-family: var(--serif);
}
.book-cover .small {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.7;
}
.book-cover .title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.book-cover .author {
  font-style: italic;
  font-size: 14px;
  opacity: 0.85;
  margin-top: 6px;
}
.book-cover .ornament {
  width: 40px;
  height: 1px;
  background: var(--paper);
  opacity: 0.5;
  margin: 16px 0;
}
.book-cover .bottom {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.phone {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(4deg);
  width: 290px;
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--sh-phone);
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: var(--ink);
  border-radius: 16px;
  z-index: 2;
}

/* decorative typographic background ornament */
.hero-ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
}
.hero-ornament.tl {
  top: 20px; left: -80px;
  width: 460px;
  height: 460px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}
@media (max-width: 960px) {
  .hero-ornament.tl { width: 320px; height: 320px; top: 60px; left: -60px; }
}

@media (max-width: 960px) {
  .hero-a { grid-template-columns: 1fr; gap: 32px; }
  .composition { height: 520px; }
  .book { width: 220px; height: 330px; left: 8%; }
  .phone { width: 230px; right: 8%; }
}
@media (max-width: 560px) {
  .hero { padding: 32px 0 56px; }
  .composition { height: 460px; }
  .book { width: 170px; height: 256px; left: 4%; }
  .phone { width: 200px; right: 0; }
}

/* ---------- HERO B: typographic centered ---------- */
.hero-b {
  text-align: center;
  padding-top: 32px;
  position: relative;
}
.hero-b .h-display {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.hero-b .h-sub {
  margin: 28px auto 0;
  text-align: center;
}
.hero-b .ctas {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-b .stage {
  position: relative;
  margin-top: 64px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-b .stage .phone {
  position: relative;
  transform: rotate(0);
  right: auto; top: auto;
  width: 320px;
  z-index: 3;
}
.hero-b .stage .phone.left,
.hero-b .stage .phone.right {
  position: absolute;
  width: 280px;
  z-index: 1;
}
.hero-b .stage .phone.left {
  left: 50%; top: 50%;
  transform: translate(-145%, -50%) rotate(-9deg);
  opacity: 0.92;
}
.hero-b .stage .phone.right {
  left: 50%; top: 50%;
  transform: translate(45%, -50%) rotate(9deg);
  opacity: 0.92;
}
@media (max-width: 760px) {
  .hero-b .stage { height: 540px; }
  .hero-b .stage .phone { width: 240px; }
  .hero-b .stage .phone.left,
  .hero-b .stage .phone.right { width: 200px; }
  .hero-b .stage .phone.left { transform: translate(-130%, -50%) rotate(-9deg); }
  .hero-b .stage .phone.right { transform: translate(30%, -50%) rotate(9deg); }
}
@media (max-width: 520px) {
  .hero-b .stage { height: 420px; }
  .hero-b .stage .phone { width: 200px; }
  .hero-b .stage .phone.left,
  .hero-b .stage .phone.right { display: none; }
}

/* ---------- streak section ---------- */
.streak {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0;
  position: relative;
}
.streak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.streak h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--paper);
  text-wrap: balance;
}
.streak p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(241, 235, 228, 0.72);
  margin: 0;
  max-width: 460px;
}
.streak-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reading-orange);
  font-family: var(--sans);
  font-weight: 500;
  margin-bottom: 20px;
}
.week-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
  font-family: var(--serif);
}
.week-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.week-title { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; font-family: var(--sans); }
.week-streak {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-feature-settings: "tnum" 1;
  font-size: 22px;
  color: var(--reading-orange);
}
.week-streak svg { width: 20px; height: 20px; }
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.day {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  position: relative;
}
.day.read {
  background: var(--paper);
  color: var(--ink);
}
.day.today {
  background: var(--reading-orange);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.25);
}
.day.future { opacity: 0.4; }
.day .dn { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; font-family: var(--sans); margin-bottom: 2px; }
.day .dd { font-size: 18px; font-weight: 500; line-height: 1; }
.day .check { position: absolute; bottom: 6px; opacity: 0.6; }
.day .check svg { width: 12px; height: 12px; }

.week-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.week-stat .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; font-family: var(--sans); }
.week-stat .value { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-top: 4px; }

@media (max-width: 880px) {
  .streak-grid { grid-template-columns: 1fr; gap: 48px; }
  .streak { padding: 64px 0; }
}

/* ---------- features section ---------- */
.section { padding: 120px 0; }
.section-eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 16px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 760px;
  text-wrap: balance;
}
.section-lede {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 600px;
  margin: 0;
  text-wrap: pretty;
}
.section-head { margin-bottom: 64px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 36px;
  box-shadow: var(--sh-1);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  margin-bottom: 24px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.feature p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
.feature.wide { grid-column: span 2; }
@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
  .section { padding: 80px 0; }
}

/* ---------- screenshots showcase ---------- */
.shots {
  padding: 120px 0;
  background: var(--soft-beige);
  border-top: 1px solid rgba(24,20,17,0.06);
  border-bottom: 1px solid rgba(24,20,17,0.06);
  overflow: hidden;
}
.shots-wrap {
  position: relative;
  margin-top: 56px;
}
.shots-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 8px 14px;
  border: 1px solid rgba(24,20,17,0.12);
  border-radius: var(--radius-pill);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--taupe);
  background: rgba(255,255,255,0.4);
}
.shots-hint svg { animation: shotsHint 1.8s var(--ease) infinite; }
@keyframes shotsHint {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(4px); opacity: 1; }
}
.shots-rail {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 32px 32px;
  margin: 0 -32px;
  scrollbar-width: none;
}
.shots-rail::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 280px;
  text-align: left;
}
.shot .phone {
  position: relative;
  width: 280px;
  transform: none;
  right: auto; top: auto;
  margin-bottom: 20px;
}
.shot-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 6px;
}
.shot-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.shot-desc {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .shots { padding: 80px 0; }
}

/* ---------- testimonials ---------- */
.testimonials { padding: 120px 0; }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
}
.t-card.tall { grid-row: span 2; }
.t-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 0.5;
  color: var(--reading-orange);
  margin-bottom: 8px;
}
.t-body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  flex: 1;
  text-wrap: pretty;
}
.t-card.large .t-body { font-size: 22px; line-height: 1.45; }
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(24,20,17,0.08);
}
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.t-name { font-family: var(--serif); font-size: 15px; color: var(--ink); font-weight: 500; }
.t-role { font-family: var(--serif); font-size: 13px; color: var(--slate); }
@media (max-width: 920px) {
  .t-grid { grid-template-columns: 1fr 1fr; }
  .t-card.tall { grid-row: auto; }
}
@media (max-width: 560px) {
  .t-grid { grid-template-columns: 1fr; }
  .testimonials { padding: 80px 0; }
}

/* ---------- pricing ---------- */
.pricing {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--paper) 0%, var(--paper-deep) 18%, var(--paper-deep) 82%, var(--paper) 100%);
}
.p-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.p-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 40px;
  position: relative;
  box-shadow: var(--sh-1);
}
.p-card.pro {
  background: var(--ink);
  color: var(--paper);
}
.p-tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
}
.p-card.pro .p-tag { color: var(--reading-orange); }
.p-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.p-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  margin-bottom: 28px;
}
.p-price .amount {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.p-price .per { font-size: 15px; color: var(--slate); }
.p-card.pro .p-price .per { color: rgba(241,235,228,0.6); }
.p-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
}
.p-check {
  flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.p-card.pro .p-check { background: var(--reading-orange); }
.p-check svg { width: 12px; height: 12px; }
.p-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  transition: transform 200ms var(--ease);
}
.p-cta.dark { background: var(--ink); color: var(--paper); }
.p-cta.outline { background: transparent; border: 1px solid var(--paper); color: var(--paper); }
.p-cta.bright { background: var(--reading-orange); color: var(--ink); }
.p-cta:hover { transform: translateY(-1px); }
@media (max-width: 720px) {
  .p-grid { grid-template-columns: 1fr; }
  .pricing { padding: 80px 0; }
}

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid rgba(24,20,17,0.1);
}
.faq-item {
  border-bottom: 1px solid rgba(24,20,17,0.1);
}
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-q .plus {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(24,20,17,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 250ms var(--ease), background 250ms var(--ease);
}
.faq-q .plus svg { width: 14px; height: 14px; transition: transform 250ms var(--ease); }
.faq-item[open] .plus { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-item[open] .plus svg { transform: rotate(45deg); }
.faq-a {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  padding: 0 64px 28px 0;
  margin: 0;
  max-width: 720px;
}
@media (max-width: 720px) {
  .faq { padding: 80px 0; }
  .faq-q { font-size: 18px; }
  .faq-a { font-size: 16px; padding-right: 0; }
}

/* ---------- final CTA ---------- */
.final {
  padding: 120px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.final h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.final h2 em { font-style: italic; color: var(--reading-orange); font-weight: 400; }
.final p {
  font-family: var(--serif);
  font-size: 18px;
  color: rgba(241,235,228,0.7);
  margin: 0 auto 40px;
  max-width: 540px;
  text-wrap: pretty;
}
.final .badges { justify-content: center; }
.final .badge { background: var(--paper); color: var(--ink); border-color: rgba(24,20,17,0.06); }

/* ---------- footer ---------- */
footer {
  background: var(--paper);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  margin: 0 0 20px;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-col a {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--charcoal);
  transition: color 200ms var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-brand p {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--slate);
  margin: 16px 0 24px;
  max-width: 320px;
  line-height: 1.55;
}
.socials { display: flex; gap: 10px; }
.social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 200ms var(--ease), background 200ms var(--ease);
  box-shadow: var(--sh-1);
}
.social:hover { transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; }
.lang-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.lang-pill {
  font-family: var(--sans);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--charcoal);
  transition: background 200ms var(--ease);
  letter-spacing: 0.04em;
}
.lang-pill:hover { background: var(--ink); color: var(--paper); }
.lang-pill.active { background: var(--ink); color: var(--paper); }
.footer-bottom {
  border-top: 1px solid rgba(24,20,17,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--slate);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- entrance animations ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 700ms var(--ease) both; }
.rise.d1 { animation-delay: 80ms; }
.rise.d2 { animation-delay: 160ms; }
.rise.d3 { animation-delay: 240ms; }
.rise.d4 { animation-delay: 320ms; }
.rise.d5 { animation-delay: 400ms; }

/* hero variant visibility */
.hero[data-variant="b"] .hero-a { display: none; }
.hero[data-variant="a"] .hero-b { display: none; }
