/* =========================================================
   EaziSMSPro — Design tokens & base
   ========================================================= */
:root {
  /* Brand palette (extracted from logo) */
  --coral: #E63950;
  --coral-deep: #C2273C;
  --coral-soft: #F9C9CF;
  --ink: #1B1410;
  --ink-2: #3A2E26;
  --clay: #8A776B;
  --cream: #FBFAF7;        /* main bg — barely off-white, neutral warm */
  --cream-2: #F1EFEA;      /* inset surfaces, soft chips */
  --paper: #FFFFFF;        /* cards */
  --line: rgba(27, 20, 16, 0.08);
  --line-strong: rgba(27, 20, 16, 0.18);

  /* Type */
  --font-display: "Bricolage Grotesque", "Times New Roman", serif;
  --font-body: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  /* Radii / shadows */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(27,20,16,.06), 0 8px 24px rgba(27,20,16,.05);
  --shadow-2: 0 2px 4px rgba(27,20,16,.08), 0 24px 60px rgba(27,20,16,.10);
  --shadow-coral: 0 18px 50px -12px rgba(230, 57, 80, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Generic type */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 0.96; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--coral);
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--coral); }
.btn-primary .arrow { transition: transform .2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(27,20,16,.04); }

.btn-coral {
  background: var(--coral);
  color: white;
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover { background: var(--coral-deep); }

.btn-small { height: 38px; padding: 0 16px; font-size: 13.5px; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
}
.logo img { height: 30px; width: auto; }
.nav-links {
  display: flex; gap: 36px; align-items: center;
  font-size: 14.5px;
}
.nav-links a {
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--coral); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .sign-in { font-size: 14.5px; color: var(--ink-2); }
.nav-cta .sign-in:hover { color: var(--coral); }

.menu-btn { display: none; }
@media (max-width: 880px) {
  .nav-links, .nav-cta .sign-in { display: none; }
  .menu-btn {
    display: inline-flex;
    width: 44px; height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    align-items: center; justify-content: center;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 56px 0 100px;
  overflow: hidden;
}
.hero::before {
  /* warm gradient wash */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 92% 8%, rgba(230,57,80,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(230,57,80,.06), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 .accent {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--ink-2);
  max-width: 520px;
  margin: 26px 0 32px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 36px;
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--clay);
  letter-spacing: 0.04em;
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Phone mock */
.phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  aspect-ratio: 360 / 740;
  border-radius: 48px;
  background: var(--ink);
  padding: 8px;
  box-shadow:
    0 30px 80px -20px rgba(27,20,16,.35),
    0 0 0 1px rgba(255,255,255,.04) inset;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 42px;
  background: var(--paper);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 32px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}
.phone-notch::after {
  /* tiny camera dot for that authentic Dynamic Island feel */
  content: "";
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2a2018;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone-header {
  padding: 64px 22px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.phone-header .name { font-weight: 600; font-size: 14px; }
.phone-header .sub { font-size: 11.5px; color: var(--clay); font-family: var(--font-mono); }
.messages {
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
  flex: 1;
}
.msg {
  max-width: 80%;
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  animation: pop .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.msg.in {
  background: var(--cream-2);
  color: var(--ink);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}
.msg.out {
  background: var(--coral);
  color: white;
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}
.msg.in.delay-1 { animation-delay: .15s; }
.msg.in.delay-2 { animation-delay: .9s; }
.msg.in.delay-3 { animation-delay: 1.6s; }
.typing {
  align-self: flex-start;
  background: var(--cream-2);
  padding: 12px 16px;
  border-radius: 18px;
  display: inline-flex; gap: 4px;
  animation: pop .4s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--clay);
  animation: bounce 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }

@keyframes pop {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 80%, 100% { transform: scale(.6); opacity: .5; }
  40% { transform: scale(1); opacity: 1; }
}

/* Floating chips around phone */
.float-chip {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-1);
  z-index: 3;
}
.float-chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #2BA86A;
  box-shadow: 0 0 0 4px rgba(43,168,106,.18);
}
.float-chip.fc-1 { top: 14%; left: -30px; animation: floaty 6s ease-in-out infinite; }
.float-chip.fc-2 { bottom: 18%; right: -40px; animation: floaty 7s ease-in-out -2s infinite; }
.float-chip.fc-3 { bottom: 4%; left: -10px; animation: floaty 8s ease-in-out -1s infinite; }
.float-chip .num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--clay);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .phone { margin: 0 auto; }
  .float-chip.fc-1 { left: 0; }
  .float-chip.fc-2 { right: 0; }
}

/* =========================================================
   Marquee / Trust bar
   ========================================================= */
.trust {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
}
.trust-inner {
  display: flex; align-items: center; gap: 48px;
}
.trust-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11.5px;
  color: var(--clay);
  white-space: nowrap;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.marquee,
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  flex: 1;
}
.marquee-track {
  display: flex; gap: 64px;
  animation: scroll 40s linear infinite;
  width: max-content;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  opacity: .8;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; }
.marquee-track .glyph { color: var(--coral); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Section base
   ========================================================= */
section { padding: 110px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .lead {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 480px;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
}

/* =========================================================
   Features
   ========================================================= */
.features {
  background: var(--paper);
  border-radius: 28px;
  margin: 0 28px;
  position: relative;
}
@media (max-width: 720px){
  .features { margin: 0 12px; border-radius: 18px; padding: 70px 0; }
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.feature {
  grid-column: span 4;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 280px;
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.feature.big { grid-column: span 6; min-height: 320px; background: var(--ink); color: var(--paper); border-color: transparent; }
.feature.big h3, .feature.big p { color: var(--paper); }
.feature.big .icon { background: rgba(255,255,255,.08); color: var(--coral); }
.feature.wide { grid-column: span 6; }
.icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; font-size: 22px; }
.feature p { color: var(--ink-2); margin: 0; font-size: 15px; }
.feature .meta {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
}
.feature.big .meta { color: rgba(255,255,255,.55); }

/* Big feature visual: bars chart */
.bars {
  margin-top: 24px;
  display: flex; align-items: flex-end; gap: 8px;
  height: 110px;
}
.bars div {
  flex: 1;
  background: rgba(255,255,255,.10);
  border-radius: 6px 6px 2px 2px;
  position: relative;
  transition: background .3s ease;
}
.bars div.hi { background: var(--coral); }

@media (max-width: 900px){
  .feature, .feature.big, .feature.wide { grid-column: span 12; }
}

/* =========================================================
   Showcase (dashboard mockup)
   ========================================================= */
.showcase { background: var(--cream); }
.showcase-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.showcase h2 { margin-bottom: 22px; }
.showcase p.lead { color: var(--ink-2); font-size: 17px; }
.showcase .checks {
  margin-top: 28px;
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.showcase .checks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink-2);
}
.showcase .checks .tick {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--coral); color: white;
  display: grid; place-items: center;
  font-size: 13px;
}

.dashboard {
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: rotate(-0.5deg);
}
.dash-top {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.dash-top .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.dash-top .url {
  margin-left: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--clay);
}
.dash-body {
  display: grid;
  grid-template-columns: 200px 1fr;
}
.dash-side {
  background: var(--cream);
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  font-size: 13px;
}
.dash-side .item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink-2);
}
.dash-side .item.active { background: var(--paper); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-1); }
.dash-side .item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.dash-main { padding: 20px; }
.dash-main h4 {
  font-family: var(--font-display); font-size: 18px; margin: 0 0 12px;
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stat-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 12px;
}
.stat-card .label {
  font-family: var(--font-mono);
  font-size: 10.5px; text-transform: uppercase; color: var(--clay);
  letter-spacing: 0.08em;
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 4px;
}
.stat-card .delta { font-size: 11px; color: #2BA86A; font-family: var(--font-mono); }
.dash-chart {
  height: 140px;
  border-radius: 12px;
  background: var(--cream);
  padding: 12px;
  display: flex; align-items: flex-end; gap: 6px;
}
.dash-chart div {
  flex: 1;
  background: var(--coral-soft);
  border-radius: 4px 4px 1px 1px;
}
.dash-chart div.hi { background: var(--coral); }

@media (max-width: 900px){
  .showcase-inner { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}

/* =========================================================
   How it works
   ========================================================= */
.how { background: var(--ink); color: var(--paper); }
.how h2, .how .lead { color: var(--paper); }
.how .lead { color: rgba(255,255,255,.7); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.03);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  color: var(--coral);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.step h3 { color: var(--paper); margin: 14px 0 10px; font-size: 22px; }
.step p { color: rgba(255,255,255,.7); margin: 0; font-size: 14.5px; }
.step-visual { margin-top: 20px; height: 70px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.5); }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr; } }

/* =========================================================
   Pricing
   ========================================================= */
.pricing { background: var(--cream); }
.pricing-head { text-align: center; max-width: 700px; margin: 0 auto 30px; }
.pricing-head h2 { margin-bottom: 16px; }
.pricing-head p { color: var(--ink-2); margin: 0 auto; }

.volume-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--paper);
  border-radius: 999px;
  border: 1px solid var(--line);
  margin: 30px auto 50px;
  gap: 2px;
}
.volume-toggle button {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  border-radius: 999px;
  transition: all .15s ease;
}
.volume-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}
.toggle-wrap { text-align: center; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: relative;
}
.plan.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
  box-shadow: var(--shadow-2);
  transform: translateY(-8px);
}
.plan.featured h3, .plan.featured .price, .plan.featured ul li { color: var(--paper); }
.plan.featured ul li::before { color: var(--coral); }
.plan.featured .unit { color: rgba(255,255,255,.55); }
.plan .badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--coral);
  color: white;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.plan h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.plan .desc { font-size: 14px; color: var(--clay); margin: 0 0 24px; }
.plan.featured .desc { color: rgba(255,255,255,.65); }
.plan .price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan .price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan .unit { font-family: var(--font-mono); font-size: 12px; color: var(--clay); }
.plan .rate {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--coral);
  margin: 0 0 24px;
}
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan ul li {
  font-size: 14.5px;
  color: var(--ink-2);
  display: flex; gap: 10px;
  align-items: flex-start;
}
.plan ul li::before {
  content: "→";
  color: var(--coral);
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.plan .btn { width: 100%; justify-content: center; }
.plan.featured .btn-primary { background: var(--coral); }
.plan.featured .btn-primary:hover { background: var(--coral-deep); }

@media (max-width: 900px){
  .plans { grid-template-columns: 1fr; gap: 14px; }
  .plan.featured { transform: none; }
}

/* =========================================================
   Testimonial
   ========================================================= */
.quote {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-inner {
  max-width: 920px; margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: "Instrument Serif", serif;
  font-size: 90px;
  line-height: 0.6;
  color: var(--coral);
  margin-bottom: 24px;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 32px;
  color: var(--ink);
}
.quote blockquote em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}
.quote .who {
  display: inline-flex; align-items: center; gap: 14px;
}
.quote .avatar-lg {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.quote .meta { text-align: left; }
.quote .name { font-weight: 600; font-size: 14.5px; }
.quote .role { font-family: var(--font-mono); font-size: 12px; color: var(--clay); }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  padding: 60px 28px;
}
.cta-inner {
  position: relative;
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper);
  padding: 80px 60px;
  overflow: hidden;
  text-align: center;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 320px at 80% 20%, rgba(230,57,80,.4), transparent 60%),
    radial-gradient(400px 260px at 10% 100%, rgba(230,57,80,.25), transparent 60%);
  pointer-events: none;
}
.cta h2 { color: var(--paper); position: relative; max-width: 700px; margin: 0 auto 18px; }
.cta h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}
.cta p {
  position: relative;
  color: rgba(255,255,255,.7);
  max-width: 540px; margin: 0 auto 32px;
  font-size: 17px;
}
.cta .actions { position: relative; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta .btn-primary { background: var(--paper); color: var(--ink); }
.cta .btn-primary:hover { background: var(--coral); color: var(--paper); }
.cta .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,.2); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }

@media (max-width: 720px){ .cta-inner { padding: 50px 24px; } }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--cream);
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer .logo { margin-bottom: 16px; }
.footer .tagline { color: var(--clay); font-size: 14px; max-width: 280px; }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-2); }
.footer ul a:hover { color: var(--coral); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clay);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a:hover { color: var(--coral); }

@media (max-width: 820px){
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-inner { grid-template-columns: 1fr; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 18px 28px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 8px 0; color: var(--ink-2); font-size: 16px; }

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }


/* =========================================================
   SUB-PAGE styles (developers, docs)
   ========================================================= */
.page-header {
  position: relative;
  padding: 90px 0 60px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 90% 10%, rgba(230,57,80,.08), transparent 60%);
  pointer-events: none;
}
.page-header .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
}
.page-header h1 { font-size: clamp(40px, 5vw, 72px); line-height: 0.98; }
.page-header h1 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}
.page-header p.lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 480px;
  margin: 22px 0 0;
}
@media (max-width: 900px) {
  .page-header .inner { grid-template-columns: 1fr; gap: 24px; }
  .page-header { padding: 60px 0 40px; }
}

/* Breadcrumb */
.crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}
.crumb a { color: var(--clay); }
.crumb a:hover { color: var(--coral); }
.crumb .sep { margin: 0 8px; color: var(--line-strong); }

/* =========================================================
   DEVELOPERS — Code blocks & API
   ========================================================= */
.code-card {
  background: #14100D;
  color: #E7DDD3;
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(255,255,255,.05);
}
.code-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.code-tabs button {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.55);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: all .15s ease;
}
.code-tabs button.active {
  background: rgba(255,255,255,.08);
  color: var(--paper);
}
.code-tabs button:hover { color: var(--paper); }
.code-tabs .copy {
  margin-left: auto;
  color: var(--clay);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.code-body {
  padding: 22px;
  overflow-x: auto;
  white-space: pre;
}
.code-body .k { color: #E63950; }
.code-body .s { color: #BFE39B; }
.code-body .c { color: #6E665F; font-style: italic; }
.code-body .n { color: #F2B563; }
.code-body .p { color: #C8BBAD; }
.code-body .f { color: #9CCFFF; }

.code-pane { display: none; }
.code-pane.active { display: block; }

/* Endpoint cards */
.endpoints {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.endpoint {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.endpoint:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.endpoint .method {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 5px;
  margin-right: 10px;
  display: inline-block;
}
.method.post { background: var(--coral); color: white; }
.method.get  { background: #2BA86A; color: white; }
.method.del  { background: var(--ink); color: white; }
.endpoint code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink);
}
.endpoint p {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
@media (max-width: 720px){ .endpoints { grid-template-columns: 1fr; } }

/* Side-by-side feature rows for dev page */
.dev-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}
.dev-row:last-child { border-bottom: 0; }
.dev-row.flip > div:first-child { order: 2; }
.dev-row h3 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; }
.dev-row p { color: var(--ink-2); font-size: 16px; max-width: 480px; }
.dev-row .meta-row {
  margin-top: 22px;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.04em;
}
.dev-row .meta-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
@media (max-width: 820px) {
  .dev-row { grid-template-columns: 1fr; gap: 28px; padding: 50px 0; }
  .dev-row.flip > div:first-child { order: 0; }
}

/* SDK / Plugin chip grid */
.sdk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sdk {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: border-color .2s ease, transform .2s ease;
}
.sdk:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.sdk .lang {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
}
.sdk h4 { font-family: var(--font-display); font-size: 19px; margin: 0; }
.sdk .arrow { color: var(--coral); font-family: var(--font-mono); margin-top: auto; }
@media (max-width: 820px) { .sdk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sdk-grid { grid-template-columns: 1fr; } }

/* =========================================================
   DOCS page
   ========================================================= */
.docs-search {
  display: flex; gap: 10px; align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  max-width: 520px;
  margin-top: 26px;
}
.docs-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  outline: none;
  color: var(--ink);
  font-size: 15px;
}
.docs-search .kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--clay);
  background: var(--cream-2);
  border-radius: 4px;
  padding: 3px 6px;
  letter-spacing: 0.05em;
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: 70px 0 110px;
  align-items: start;
}
.docs-side {
  position: sticky; top: 100px;
  font-size: 14px;
}
.docs-side h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 12px;
  font-weight: 500;
}
.docs-side ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 6px; }
.docs-side a {
  display: block;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--ink-2);
  transition: all .15s ease;
}
.docs-side a:hover { background: var(--cream-2); color: var(--ink); }
.docs-side a.active { background: var(--ink); color: var(--paper); }

.docs-main h2 { margin-bottom: 16px; }
.docs-main .section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}
.guide {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s ease, transform .2s ease;
}
.guide:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.guide .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0;
}
.guide h3 { font-size: 22px; margin: 0; }
.guide p { color: var(--ink-2); font-size: 14.5px; margin: 0; flex: 1; }
.guide .read {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  margin-top: 4px;
}
.guide.feature {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
  grid-column: span 2;
  padding: 36px;
}
.guide.feature h3, .guide.feature .read { color: var(--paper); }
.guide.feature p { color: rgba(255,255,255,.7); max-width: 520px; }
.guide.feature .tag { color: var(--coral); }

@media (max-width: 980px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-side { position: static; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide.feature { grid-column: span 1; }
}

/* Pricing table — sub-page detailed */
.pricing-table {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pricing-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr 1fr;
  gap: 20px;
  padding: 22px 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.pricing-row:hover { background: var(--cream-2); }
.pricing-row:last-child { border-bottom: 0; }
.pricing-row.head {
  background: var(--cream-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
}
.pricing-row.head:hover { background: var(--cream-2); }
.pricing-row .amount {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pricing-row .smscount {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
}
.pricing-row .rate {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--coral);
}
.pricing-row .btn { justify-self: end; }
@media (max-width: 720px) {
  .pricing-row { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .pricing-row .btn { grid-column: span 2; justify-self: start; margin-top: 8px; }
  .pricing-row.head { display: none; }
}


.pricing .pricing-table { margin-top: 48px; }
.pricing-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--clay);
  text-align: center;
  margin-top: 20px;
}

/* =========================================================
   Lifestyle band (real photos)
   ========================================================= */
.lifestyle {
  background: var(--cream);
  padding: 110px 0;
}
.lifestyle-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.life-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 480px;
  box-shadow: var(--shadow-1);
  isolation: isolate;
}
.life-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.life-card:hover img { transform: scale(1.04); }
.life-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,20,16,0) 30%, rgba(27,20,16,.85) 100%);
  z-index: -1;
}
.life-card .content {
  position: relative;
  padding: 38px;
  display: flex; flex-direction: column;
  height: 100%;
  min-height: 480px;
  color: var(--paper);
  justify-content: flex-end;
}
.life-card .tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.life-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--paper);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  max-width: 90%;
}
.life-card p {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  margin: 0;
  max-width: 380px;
}

.life-intro {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 36px;
  align-items: end;
}
.life-intro h2 { margin-bottom: 0; }
.life-intro h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}
.life-intro p {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 480px;
}

@media (max-width: 820px) {
  .lifestyle-inner { grid-template-columns: 1fr; }
  .life-intro { grid-template-columns: 1fr; gap: 16px; }
  .life-intro, .life-card { grid-column: span 1; }
  .life-card { min-height: 380px; }
  .life-card .content { min-height: 380px; }
}

/* Testimonial section */
.testimonial { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 32px;
  color: var(--ink);
}
.attribution {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.attribution strong { display: block; font-size: 14.5px; }
.attribution span { font-family: var(--font-mono); font-size: 12px; color: var(--clay); }

/* Real photo for testimonial */
.avatar-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--paper);
  box-shadow: 0 2px 10px rgba(27,20,16,.12);
}


/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.faq-aside { position: sticky; top: 100px; }
.faq-aside h2 { margin-bottom: 18px; }
.faq-aside h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}
.faq-aside p {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 380px;
  margin: 0 0 26px;
}
.faq-aside .help-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  background: var(--cream);
  max-width: 380px;
}
.faq-aside .help-card .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
}
.faq-aside .help-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.faq-aside .help-card a {
  font-size: 14px;
  color: var(--ink-2);
  display: block;
  margin-top: 6px;
}
.faq-aside .help-card a:hover { color: var(--coral); }

.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--coral); }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: all .25s ease;
  color: var(--ink-2);
}
.faq-item[open] summary .plus {
  background: var(--coral);
  border-color: var(--coral);
  color: white;
  transform: rotate(45deg);
}
.faq-item .answer {
  padding: 0 0 26px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 620px;
}
.faq-item .answer code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--cream-2);
  padding: 2px 6px;
  border-radius: 4px;
}
.faq-item .answer a { color: var(--coral); border-bottom: 1px solid var(--coral-soft); }
.faq-item .answer strong { color: var(--ink); font-weight: 500; }

@media (max-width: 880px) {
  .faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside { position: static; }
}


/* =========================================================
   PRODUCTS page
   ========================================================= */
.product-hero {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  margin: 0 0 24px;
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.product-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 320px at 90% 10%, rgba(230,57,80,.35), transparent 60%),
    radial-gradient(400px 260px at 0% 100%, rgba(230,57,80,.18), transparent 60%);
  pointer-events: none;
}
.product-hero .tag {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.product-hero .tag::before {
  content: "";
  width: 22px; height: 1px; background: var(--coral);
}
.product-hero h2 {
  position: relative;
  color: var(--paper);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  margin-bottom: 18px;
}
.product-hero h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}
.product-hero p {
  position: relative;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  max-width: 460px;
  margin: 0 0 28px;
}
.product-hero .meta {
  position: relative;
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.55);
  margin-bottom: 28px;
}
.product-hero .meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--paper);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 2px;
}
.product-hero .actions { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }

.product-hero .visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  display: grid; place-items: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.product-hero .visual img {
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.95;
}
.product-hero .visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(230,57,80,.35) 100%);
  pointer-events: none;
}

@media (max-width: 880px) {
  .product-hero { padding: 50px 32px; grid-template-columns: 1fr; gap: 36px; }
}

/* Product grid (smaller products) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color .2s ease, transform .25s ease;
  min-height: 380px;
}
.product-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.product-card .product-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--cream-2);
  color: var(--coral);
  margin-bottom: 6px;
}
.product-card .product-icon svg { width: 30px; height: 30px; }
.product-card .product-icon.dark {
  background: var(--ink);
  color: var(--coral);
}
.product-card .lang {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.05;
}
.product-card h3 .small {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-left: 8px;
  vertical-align: middle;
}
.product-card p {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0;
  flex: 1;
}
.product-card .links {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.product-card .links a {
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.product-card .links a:hover { color: var(--coral); border-color: var(--coral); }
.product-card .badge {
  position: absolute; top: 24px; right: 28px;
  background: var(--coral);
  color: white;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.product-card.coming-soon {
  background: transparent;
  border: 1px dashed var(--line-strong);
  color: var(--clay);
  min-height: 240px;
}
.product-card.coming-soon .product-icon {
  background: transparent;
  color: var(--clay);
  border: 1px dashed var(--line-strong);
}
.product-card.coming-soon h3, .product-card.coming-soon p {
  color: var(--clay);
}
.product-card.coming-soon .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
}

@media (max-width: 820px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; padding: 32px; }
}

.section-band {
  padding: 80px 0;
}
.section-band .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}
.section-band .head h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}
.section-band .head p {
  color: var(--ink-2);
  max-width: 440px;
  font-size: 16px;
}
@media (max-width: 720px) {
  .section-band .head { grid-template-columns: 1fr; gap: 14px; }
}


/* =========================================================
   BLOG / ARTICLES
   ========================================================= */

/* Category chips */
.cat-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}
.cat-chips button {
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s ease;
}
.cat-chips button:hover { background: var(--cream-2); border-color: var(--ink-2); color: var(--ink); }
.cat-chips button.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Featured article (hero) */
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: stretch;
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}
.featured-article .visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
}
.featured-article .visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.featured-article:hover .visual img { transform: scale(1.03); }
.featured-article .body { display: flex; flex-direction: column; justify-content: center; }
.featured-article .tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.featured-article .tag::before {
  content: "Featured";
  background: var(--coral);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.featured-article h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.featured-article h2 { color: var(--ink); transition: color .2s; }
.featured-article:hover h2 { color: var(--coral); }
.featured-article .excerpt {
  color: var(--ink-2);
  font-size: 17px;
  margin: 0 0 22px;
  max-width: 520px;
}
.featured-article .byline {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px;
  color: var(--clay);
}
.featured-article .byline .author-img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper);
  box-shadow: 0 2px 6px rgba(27,20,16,.1);
}
.featured-article .byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--clay); }

@media (max-width: 820px) {
  .featured-article { grid-template-columns: 1fr; gap: 22px; }
  .featured-article .visual { aspect-ratio: 16 / 9; }
}

/* Articles grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.article-card {
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease;
}
.article-card:hover { transform: translateY(-3px); }
.article-card .visual {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}
.article-card .visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.article-card:hover .visual img { transform: scale(1.04); }
.article-card .visual.ph {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  display: grid; place-items: center;
  color: rgba(255,255,255,.9);
}
.article-card .visual.ph-2 { background: var(--ink); }
.article-card .visual.ph-3 { background: linear-gradient(135deg, var(--ink) 0%, #3a2e26 100%); }
.article-card .visual.ph .ph-letter {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 100px;
  line-height: 1;
  opacity: 0.4;
}
.article-card .visual .pattern {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.06) 14px 15px);
  pointer-events: none;
}
.article-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}
.article-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  transition: color .2s;
}
.article-card:hover h3 { color: var(--coral); }
.article-card .excerpt {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}
.article-card .byline {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--clay);
  display: flex; gap: 8px; align-items: center;
}
.article-card .byline .dot { width: 2px; height: 2px; border-radius: 50%; background: var(--clay); }

@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .articles-grid { grid-template-columns: 1fr; } }

/* Pagination */
.pagination {
  margin: 60px 0 0;
  padding: 30px 0;
  display: flex; justify-content: center; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.pagination a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
  transition: all .15s ease;
}
.pagination a:hover { background: var(--cream-2); color: var(--ink); }
.pagination a.active { background: var(--ink); color: var(--paper); }
.pagination .arrow {
  padding: 0 14px;
  width: auto; border-radius: 999px;
  border: 1px solid var(--line);
}

/* Newsletter band */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 60px;
  margin: 0 0 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 320px at 95% 50%, rgba(230,57,80,.25), transparent 60%);
  pointer-events: none;
}
.newsletter .copy { position: relative; }
.newsletter h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--paper);
}
.newsletter p { color: rgba(255,255,255,.7); margin: 0; font-size: 15px; max-width: 380px; }
.newsletter form {
  position: relative;
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,.08);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
}
.newsletter input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  padding: 0 18px;
  color: var(--paper);
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,.4); }

@media (max-width: 720px) {
  .newsletter { grid-template-columns: 1fr; padding: 40px 28px; gap: 24px; }
}

/* =========================================================
   SINGLE ARTICLE page
   ========================================================= */
.article-header {
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.article-meta-row {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 22px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.article-meta-row .cat {
  color: var(--coral);
  background: var(--coral-soft);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.article-meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--clay); }

.article-header h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 880px;
  margin: 0 0 22px;
}
.article-header .deck {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  max-width: 700px;
  line-height: 1.45;
  margin: 0 0 32px;
}
.article-byline {
  display: flex; align-items: center; gap: 14px;
}
.article-byline .author-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper);
  box-shadow: 0 2px 6px rgba(27,20,16,.1);
}
.article-byline .author-name { font-weight: 500; font-size: 14.5px; }
.article-byline .author-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clay);
}

.article-cover {
  margin: 60px 0 0;
}
.article-cover img {
  width: 100%;
  border-radius: var(--r-xl);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  max-width: 720px;
  margin: 60px auto 100px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.article-body p { margin: 0 0 24px; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 50px 0 18px;
  line-height: 1.15;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 36px 0 12px;
}
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a {
  color: var(--coral);
  border-bottom: 1px solid var(--coral-soft);
  transition: border-color .15s ease;
}
.article-body a:hover { border-color: var(--coral); }
.article-body ul, .article-body ol {
  padding-left: 26px;
  margin: 0 0 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--coral); }
.article-body blockquote {
  border-left: 3px solid var(--coral);
  padding: 8px 0 8px 26px;
  margin: 36px 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
}
.article-body code {
  font-family: var(--font-mono);
  font-size: 14.5px;
  background: var(--cream-2);
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--ink);
}
.article-body pre {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 26px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
}
.article-body pre code { background: transparent; padding: 0; color: var(--paper); }
.article-body figure { margin: 36px 0; }
.article-body figure img { width: 100%; border-radius: var(--r-md); }
.article-body figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clay);
  margin-top: 10px;
  text-align: center;
}
.article-body .callout {
  background: var(--cream);
  border-left: 3px solid var(--coral);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 16px;
  color: var(--ink-2);
}
.article-body .callout strong { color: var(--ink); }

/* Article footer / related */
.article-footer {
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 70px 0;
}
.article-footer .related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 720px) {
  .article-footer .related { grid-template-columns: 1fr; }
}

/* Tighten nav gap to fit 6 items */
.nav-links { gap: 28px; }
@media (max-width: 1080px) {
  .nav-links { gap: 22px; font-size: 14px; }
}

/* =========================================================
   LEGAL PAGES (terms, privacy)
   ========================================================= */
.legal-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 48px 0 12px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 16px; }
.legal-body ul {
  margin: 0 0 16px 24px;
  padding: 0;
}
.legal-body ul li { margin-bottom: 8px; }
.legal-body a { color: var(--coral); text-decoration: underline; }
.legal-body a:hover { opacity: .8; }
.legal-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
}
