/* ====================================================================
   REPOSTBOT — editorial / magazine landing
   Fonts: Fraunces (display serif) + Inter (body)
   Palette: cream + deep ink + burnt orange accent
   ==================================================================== */

:root {
  /* Palette harmonized with logo: deep cobalt base + warm orange accent */
  --cream: #f4f1ea;
  --cream-2: #ebe6da;
  --cream-3: #dfd7c3;
  --ink: #0e1a3d;        /* deep navy, from logo background */
  --ink-2: #1a2a52;      /* slightly lighter navy */
  --ink-3: #2d3d68;
  --muted: #5a6480;      /* bluish muted */
  --muted-2: #8a90a8;
  --rule: #c9c3b1;

  --accent: #2d6fdb;     /* bright cobalt blue, matches logo gradient */
  --accent-deep: #1a4ca8;
  --accent-warm: #ff8845; /* soft orange, matches robot chest icon */
  --accent-sky: #5ba0ff;  /* light sky, matches logo highlights */

  --tg-ink: #17212b;
  --tg-ink-2: #202b36;
  --tg-ink-3: #2b3a4a;
  --tg-text: #e7ebef;
  --tg-dim: #7d8d9d;
  --tg-accent: #6cb1e6;

  --max-bg: #fafaf9;
  --max-bg-2: #f0eeea;
  --max-text: #1a1817;
  --max-dim: #8b8780;
  --max-accent: #ff6f00;

  --max-w: 1280px;
  --gutter: 28px;

  --radius: 6px;
  --radius-device: 44px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--cream);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.02em;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "WONK" 1;
}

p {
  margin: 0 0 1em;
  color: var(--ink-2);
}

b,
strong {
  font-weight: 700;
  color: var(--ink);
}

em,
i {
  font-style: italic;
}

code {
  font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(23, 22, 26, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===================== MASTHEAD ===================== */
.masthead {
  border-bottom: 3px double var(--ink);
  padding: 22px 0;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 80;
}

.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.masthead-left {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  gap: 12px;
  align-items: center;
}

.masthead-sep {
  color: var(--rule);
}

.masthead-center {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--ink);
  font-variation-settings:
    "opsz" 144,
    "SOFT" 0,
    "WONK" 0;
}

.masthead-right {
  text-align: right;
}

.masthead-cta {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 10px 16px;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.masthead-cta:hover {
  background: var(--accent);
  color: var(--cream);
}

/* ===================== TOP NAV ===================== */
.top-nav {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  background: var(--cream);
}

.top-nav-inner {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
}

.top-nav a {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

.top-nav a:hover {
  color: var(--ink);
}

/* ===================== HERO ===================== */
.hero {
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-text {
  padding-right: 20px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 36px;
}

.kicker-rule {
  flex: 0 0 44px;
  height: 1.5px;
  background: var(--accent);
}

.hero-headline {
  font-size: clamp(48px, 7.2vw, 104px);
  font-weight: 400;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "WONK" 1;
  margin-bottom: 44px;
}

.hero-headline-em {
  font-weight: 900;
  font-style: normal;
}

.hero-headline-it {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.hero-headline-vk {
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.55em;
  vertical-align: baseline;
  margin-left: 0.2em;
  position: relative;
  padding-left: 0.35em;
}

.hero-headline-vk::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  background: var(--rule);
}

.hero-lede {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  max-width: 560px;
  margin-bottom: 44px;
}

.lede-dropcap {
  float: left;
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 72px;
  line-height: 0.82;
  padding: 4px 12px 0 0;
  color: var(--accent);
  font-variation-settings:
    "opsz" 144,
    "SOFT" 0,
    "WONK" 1;
}

.hero-lede p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  padding: 18px 32px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 2px solid var(--ink);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "→";
  font-size: 18px;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}

.btn-primary:hover::after {
  transform: translateX(4px);
}

.btn-primary-xl {
  padding: 24px 48px;
  font-size: 17px;
}

.btn-link {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--ink);
  transition: color 0.15s ease;
}

.btn-link-arr {
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.btn-link:hover .btn-link-arr {
  transform: translateX(4px);
}

.hero-byline {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  letter-spacing: 0.02em;
}

.hero-byline b {
  color: var(--ink);
  font-weight: 700;
}

.hero-byline em {
  font-style: italic;
  color: var(--accent);
}

/* ---------- Hero mascot ---------- */
.hero-mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.mascot-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  padding: 16px;
  background: linear-gradient(145deg, #dde9ff 0%, #c5d7ff 100%);
  border: 1px solid var(--ink);
  position: relative;
  box-shadow:
    24px 24px 0 var(--ink),
    24px 24px 0 1px var(--ink);
}

.mascot-frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed var(--rule);
  pointer-events: none;
}

.mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.mascot-caption {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.mascot-caption em {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

/* ===================== STATS STRIP ===================== */
.stats-strip {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0;
  border-bottom: 1px solid var(--rule);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-col {
  text-align: center;
  position: relative;
}

.stat-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(242, 237, 227, 0.18);
}

.stat-num {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(54px, 6vw, 88px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.04em;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 0,
    "WONK" 1;
}

.stat-word {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(38px, 4.4vw, 62px);
  color: var(--accent-warm);
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "WONK" 1;
}

.stat-unit {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.22em;
  color: var(--accent-warm);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variation-settings: "SOFT" 0;
}

.stat-cap {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(242, 237, 227, 0.65);
  letter-spacing: 0.04em;
  margin-top: 16px;
  line-height: 1.4;
}

/* ===================== SECTION HEAD (shared) ===================== */
.section-head {
  margin-bottom: 80px;
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.section-num {
  position: absolute;
  top: -14px;
  left: 0;
  background: var(--cream);
  padding-right: 18px;
  font-family: "Fraunces", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 28px;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "WONK" 1;
}

.section-dek {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
  max-width: 720px;
  font-style: italic;
  font-variation-settings: "SOFT" 0;
}

/* ===================== §01 DEMONSTRATION ===================== */
.demo {
  padding: 120px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.demo-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
  justify-items: center;
  margin-bottom: 72px;
}

/* ---------- Device frame (iPhone-ish) ---------- */
.device {
  width: 100%;
  max-width: 340px;
  margin: 0;
}

.device-frame {
  background: #0a0a0c;
  border-radius: var(--radius-device);
  padding: 8px;
  border: 1px solid #2a2a30;
  box-shadow:
    0 40px 80px rgba(23, 22, 26, 0.2),
    0 16px 40px rgba(23, 22, 26, 0.14),
    inset 0 0 0 1.5px #1a1a20;
  position: relative;
  aspect-ratio: 9 / 19.5;
}

.device-speaker {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #1a1a20;
  border-radius: 3px;
  z-index: 3;
}

.device-camera {
  position: absolute;
  top: 19px;
  left: calc(50% + 50px);
  width: 10px;
  height: 10px;
  background: #1a1a20;
  border-radius: 50%;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

/* ---------- iOS status bar ---------- */
.ios-status {
  height: 48px;
  padding: 18px 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "SF Pro Display", -apple-system, "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.ios-time {
  min-width: 80px;
  padding-left: 8px;
}

.ios-notch-fill {
  flex: 1;
}

.ios-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 8px;
}

/* ========== TELEGRAM screen ========== */
.tg-screen {
  background: var(--tg-ink);
  color: var(--tg-text);
}

.tg-status {
  color: var(--tg-text);
}

.tg-topbar {
  height: 52px;
  padding: 0 14px 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--tg-ink-2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.tg-back {
  color: var(--tg-accent);
  font-size: 26px;
  font-weight: 300;
  padding: 0 6px;
  line-height: 1;
}

.tg-channel {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tg-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #55a3d3 0%, #2aabee 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tg-avatar-inner {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: "SF Pro Display", "Inter", sans-serif;
}

.tg-channel-meta {
  min-width: 0;
  overflow: hidden;
}

.tg-channel-name {
  font-family: "SF Pro Display", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--tg-text);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.2;
}

.tg-channel-sub {
  font-family: "SF Pro Display", "Inter", sans-serif;
  font-size: 12px;
  color: var(--tg-dim);
  margin-top: 2px;
}

.tg-menu {
  color: var(--tg-text);
  font-size: 20px;
  padding: 0 4px;
  line-height: 1;
}

.tg-feed {
  padding: 14px 8px 20px;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(108, 177, 230, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(108, 177, 230, 0.03) 0%, transparent 50%);
  height: calc(100% - 48px - 52px);
  overflow: hidden;
}

.tg-post {
  background: var(--tg-ink-2);
  border-radius: 10px;
  overflow: hidden;
  font-family: "SF Pro Display", "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.tg-post-photo,
.max-post-photo {
  height: 120px;
  position: relative;
  overflow: hidden;
  background: #2a2a30;
}

.photo-layer {
  position: absolute;
  inset: 0;
}

.photo-l1 {
  background: linear-gradient(135deg, #d97757 0%, #c85a2a 40%, #8b1e28 100%);
}

.photo-l2 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 200, 120, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(139, 30, 40, 0.6) 0%, transparent 60%);
  mix-blend-mode: overlay;
}

.photo-l3 {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%),
    repeating-linear-gradient(45deg, transparent 0, transparent 8px, rgba(255, 255, 255, 0.03) 8px, rgba(255, 255, 255, 0.03) 16px);
}

.photo-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 44px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  z-index: 2;
}

.tg-post-body {
  padding: 10px 14px 6px;
}

.tg-post-body p {
  margin: 0 0 6px;
  color: var(--tg-text);
  font-size: 13px;
  line-height: 1.4;
}

.tg-post-body b {
  color: #fff;
  font-weight: 600;
}

.tg-dim {
  color: var(--tg-dim);
}

.tg-highlight {
  padding: 4px 0;
}

.tg-tags {
  color: var(--tg-accent) !important;
  font-size: 12px !important;
  margin-top: 8px !important;
}

.tg-tags span {
  margin-right: 6px;
}

.tg-reactions {
  display: flex;
  gap: 6px;
  padding: 4px 14px 10px;
  flex-wrap: wrap;
}

.reaction-pill {
  background: rgba(108, 177, 230, 0.1);
  border: 1px solid rgba(108, 177, 230, 0.2);
  color: var(--tg-text);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  font-family: "SF Pro Display", "Inter", sans-serif;
}

.reaction-active {
  background: rgba(108, 177, 230, 0.25);
  border-color: var(--tg-accent);
  color: var(--tg-accent);
}

.tg-post-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 12px;
  font-size: 11px;
  color: var(--tg-dim);
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  font-family: "SF Pro Display", "Inter", sans-serif;
}

.tg-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tg-edited {
  font-style: italic;
}

.tg-time {
  margin-left: auto;
}

/* ========== MAX screen ========== */
.max-screen {
  background: var(--max-bg);
  color: var(--max-text);
}

.max-status {
  color: var(--max-text);
}

.max-topbar {
  height: 56px;
  padding: 0 14px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-bottom: 1px solid #e7e4dc;
}

.max-back {
  color: var(--max-accent);
  font-size: 24px;
  padding: 0 6px;
  line-height: 1;
}

.max-channel {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.max-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--max-accent) 0%, #ffa873 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.max-avatar-inner {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

.max-channel-meta {
  min-width: 0;
  overflow: hidden;
}

.max-channel-name {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--max-text);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.2;
}

.max-channel-sub {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--max-dim);
  margin-top: 2px;
}

.max-menu {
  color: var(--max-text);
  font-size: 24px;
  padding: 0 4px;
  line-height: 1;
}

.max-feed {
  padding: 16px 14px 20px;
  background: var(--max-bg-2);
  height: calc(100% - 48px - 56px);
  overflow: hidden;
}

.max-post {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.48;
  box-shadow:
    0 1px 3px rgba(26, 24, 23, 0.06),
    0 4px 12px rgba(26, 24, 23, 0.04);
  border: 1px solid rgba(26, 24, 23, 0.04);
}

.max-post-body {
  padding: 12px 14px 8px;
}

.max-post-body p {
  margin: 0 0 6px;
  color: var(--max-text);
  font-size: 13px;
  line-height: 1.45;
}

.max-post-body b {
  font-weight: 700;
  color: var(--max-text);
}

.max-dim {
  color: var(--max-dim);
}

.max-highlight {
  padding: 4px 0;
}

.max-tags {
  color: var(--max-accent) !important;
  font-size: 12px !important;
  margin-top: 8px !important;
}

.max-tags span {
  margin-right: 6px;
}

.max-post-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px 14px 12px;
  font-size: 11px;
  color: var(--max-dim);
  font-family: "Inter", sans-serif;
}

.max-check {
  display: inline-flex;
  align-items: center;
  color: var(--max-accent);
}

/* ---------- Transfer marker between devices ---------- */
.transfer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 120px;
}

.transfer-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.transfer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 90, 42, 0.15);
}

.transfer-label {
  text-align: center;
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid var(--ink);
  position: relative;
}

.transfer-label::before,
.transfer-label::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.transfer-label::before {
  top: -4px;
  left: -4px;
}

.transfer-label::after {
  bottom: -4px;
  right: -4px;
}

.transfer-big {
  font-family: "Fraunces", serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  font-variation-settings:
    "opsz" 144,
    "WONK" 1;
}

.transfer-big-word {
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.transfer-big span {
  font-size: 0.6em;
  margin-left: 4px;
  color: var(--ink);
  font-weight: 500;
}

.transfer-big-word span {
  font-size: 0.7em;
  margin-left: 3px;
}

.transfer-small {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.device-caption {
  margin: 18px 0 0;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.caption-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.caption-platform {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}

.demo-note {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 24px 28px;
  border: 1px solid var(--rule);
  background: var(--cream-2);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.note-symbol {
  font-family: "Fraunces", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.demo-note p {
  font-family: "Fraunces", serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ===================== §02 CAPABILITIES ===================== */
.features {
  padding: 120px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.feature-columns {
  column-count: 3;
  column-gap: 56px;
  column-rule: 1px solid var(--rule);
}

.feature {
  break-inside: avoid;
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

.feature:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.feature-num {
  font-family: "Fraunces", serif;
  font-size: 64px;
  font-weight: 900;
  color: var(--accent);
  line-height: 0.9;
  margin-bottom: 16px;
  font-variation-settings:
    "opsz" 144,
    "WONK" 1;
}

.feature h3 {
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 12px;
  color: var(--ink);
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30;
}

.feature p {
  font-size: 15px;
  line-height: 1.58;
  color: var(--muted);
  margin: 0;
}

/* ===================== §03 METHOD ===================== */
.method {
  padding: 120px 0;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.method .section-head {
  border-top-color: var(--cream);
}

.method .section-num {
  background: var(--ink);
  color: var(--accent-warm);
}

.method .section-title {
  color: var(--cream);
}

.method .section-dek {
  color: rgba(242, 237, 227, 0.6);
}

.method-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 860px;
}

.method-steps li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid rgba(242, 237, 227, 0.15);
}

.method-steps li:last-child {
  border-bottom: 1px solid rgba(242, 237, 227, 0.15);
}

.method-num {
  font-family: "Fraunces", serif;
  font-size: 72px;
  font-weight: 400;
  color: var(--accent-warm);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-style: italic;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "WONK" 1;
}

.method-body h3 {
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 10px;
  font-variation-settings: "SOFT" 30;
}

.method-body p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(242, 237, 227, 0.75);
  margin: 0;
  max-width: 640px;
}

.method-body a {
  color: var(--accent-warm);
  border-bottom: 1px solid var(--accent-warm);
}

.method-body b {
  color: var(--cream);
}

/* ===================== §04 PRICING ===================== */
.pricing {
  padding: 120px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 2px solid var(--ink);
  background: var(--ink);
  margin-bottom: 48px;
}

.plan {
  background: var(--cream);
  padding: 44px 32px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  background: var(--ink);
  color: var(--cream);
}

.plan-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: var(--accent);
  color: var(--cream);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px;
}

.plan-featured .plan-head {
  margin-top: 36px;
}

.plan-head {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.plan-featured .plan-head {
  border-bottom-color: rgba(242, 237, 227, 0.2);
}

.plan-name {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
  font-variation-settings: "SOFT" 30;
}

.plan-featured .plan-name {
  color: var(--cream);
}

.plan-motto {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.plan-featured .plan-motto {
  color: rgba(242, 237, 227, 0.55);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.price-amt {
  font-family: "Fraunces", serif;
  font-size: 76px;
  font-weight: 900;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variation-settings:
    "opsz" 144,
    "WONK" 1;
}

.plan-featured .price-amt {
  color: var(--cream);
}

.price-cur {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  margin-left: 6px;
}

.price-per {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.plan-featured .price-per {
  color: rgba(242, 237, 227, 0.55);
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  flex: 1;
}

.plan-list li {
  padding: 10px 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-list li::before {
  content: "·";
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
  line-height: 0;
  margin-top: -4px;
}

.plan-featured .plan-list li {
  color: rgba(242, 237, 227, 0.7);
  border-bottom-color: rgba(242, 237, 227, 0.12);
}

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

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: all 0.2s ease;
  text-align: center;
}

.plan-cta-ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.plan-cta-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.plan-cta-fill {
  background: var(--accent);
  border: 1.5px solid var(--accent);
  color: var(--cream);
}

.plan-cta-fill:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.pricing-mini-legal {
  max-width: 760px;
  margin: 32px auto 0;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  padding: 14px 20px;
  border-top: 1px solid var(--rule);
}

.pricing-mini-legal a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

.pricing-mini-legal code {
  background: rgba(45, 111, 219, 0.08);
  color: var(--accent);
  font-size: 0.92em;
}

.pay-methods {
  max-width: 760px;
  margin: 16px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: var(--muted);
}

.pay-methods-label {
  font-weight: 600;
  color: var(--ink);
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}

.pay-methods-note {
  flex-basis: 100%;
  text-align: center;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}

.plan-list sup {
  color: var(--accent);
  font-size: 0.75em;
  font-weight: 700;
  margin-left: 2px;
}

.plan-featured .plan-list sup {
  color: var(--accent-warm);
}

/* ===================== §05 FAQ ===================== */
.faq {
  padding: 120px 0;
  background: var(--cream-2);
  border-bottom: 1px solid var(--rule);
}

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  transition: all 0.2s ease;
}

.faq-item summary {
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-variation-settings: "SOFT" 30;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 32px;
  font-weight: 300;
  line-height: 0.7;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  font-family: "Fraunces", serif;
}

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

.faq-item p {
  margin: 20px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 680px;
}

/* ===================== CTA ===================== */
.cta {
  padding: 140px 0;
  background: var(--cream);
  text-align: center;
}

.cta-rule {
  max-width: 120px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 40px;
}

.cta-title {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 32px;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "WONK" 1;
}

.cta-em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.6em;
  margin-bottom: 12px;
}

.cta-big {
  display: block;
  font-weight: 900;
  color: var(--ink);
}

.cta-sub {
  max-width: 560px;
  margin: 0 auto 48px;
  font-family: "Fraunces", serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.55;
  color: var(--muted);
  font-variation-settings: "SOFT" 0;
}

.cta .btn-primary {
  margin-bottom: 48px;
}

.cta .cta-rule:last-child {
  margin: 0 auto;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(242, 237, 227, 0.15);
  margin-bottom: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand p {
  font-family: "Fraunces", serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(242, 237, 227, 0.55);
  margin: 0;
  line-height: 1.5;
}

.footer-logo {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 8px;
  font-variation-settings:
    "opsz" 144,
    "WONK" 1;
}

.footer-head {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 4px;
}

.footer-col a {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: rgba(242, 237, 227, 0.7);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-merchant {
  /*
   * `.container` supplies `padding: 0 var(--gutter)` horizontally. We only
   * want to ADD vertical padding, so use the longhand properties — using
   * the shorthand `padding` would wipe the container's horizontal padding
   * and the text would touch the screen edge (observed on iOS Safari).
   */
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(242, 237, 227, 0.12);
  border-bottom: 1px solid rgba(242, 237, 227, 0.12);
  margin-bottom: 20px;
}

.footer-merchant p {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(242, 237, 227, 0.55);
  margin: 0 0 12px;
  max-width: 820px;
}

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

.footer-merchant b {
  color: rgba(242, 237, 227, 0.8);
}

.footer-merchant i {
  color: rgba(242, 237, 227, 0.4);
  font-style: italic;
}

.footer-merchant a {
  color: var(--accent-warm);
  border-bottom: 1px solid var(--accent-warm);
}

.footer-disclaimer {
  font-size: 11px !important;
  color: rgba(242, 237, 227, 0.45) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: rgba(242, 237, 227, 0.45);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-colophon {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 13px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-mascot {
    max-width: 380px;
    margin: 0 auto;
  }

  .demo-stage {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .transfer {
    flex-direction: row;
    padding-top: 0;
  }

  .transfer-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }

  .feature-columns {
    column-count: 2;
  }

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

@media (max-width: 820px) {
  .masthead-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .masthead-left,
  .masthead-right {
    justify-content: center;
    text-align: center;
  }

  .top-nav-inner {
    gap: 20px;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-headline {
    font-size: clamp(44px, 11vw, 68px);
  }

  .stats-strip {
    padding: 48px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .stat-col:not(:last-child)::after {
    display: none;
  }

  .demo,
  .features,
  .method,
  .pricing,
  .faq,
  .cta {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 56px;
  }

  .feature-columns {
    column-count: 1;
  }

  .method-steps li {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .method-num {
    font-size: 56px;
  }

  .footer {
    padding: 60px 0 32px;
  }

  .footer-grid {
    /* Brand block on top, two link columns side-by-side below. */
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "links-a links-b";
    gap: 36px 24px;
    padding-bottom: 36px;
  }

  .footer-brand {
    grid-area: brand;
  }

  .footer-grid > .footer-col:nth-child(2) {
    grid-area: links-a;
  }

  .footer-grid > .footer-col:nth-child(3) {
    grid-area: links-b;
  }

  .footer-logo {
    font-size: 24px;
  }

  .footer-brand p {
    max-width: 420px;
  }

  .footer-merchant {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .footer-merchant p {
    font-size: 12px;
    line-height: 1.55;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .device {
    max-width: 300px;
  }

  .mascot-frame {
    box-shadow:
      16px 16px 0 var(--ink);
  }
}
