:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-subtle: #eef0f4;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);

  --red: #d7263d;
  --red-hover: #b81d32;
  --blue: #0071e3;

  /* 4 Unified User-Language Status Colors */
  --st-works-bg: #e7f8f0;
  --st-works-fg: #0b6b49;
  --st-works-dot: #10b981;

  --st-esim-bg: #e8f1ff;
  --st-esim-fg: #1a56c4;
  --st-esim-dot: #2563eb;

  --st-partial-bg: #fef4dd;
  --st-partial-fg: #9a5506;
  --st-partial-dot: #f59e0b;

  --st-replace-bg: #fdecef;
  --st-replace-fg: #b4232e;
  --st-replace-dot: #e11d48;

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --font-serif: "Iowan Old Style", "New York", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, monospace;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-card: 0 10px 30px -14px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lift: 0 20px 44px -18px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.04);
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

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

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== STICKY GLASS HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 248, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: linear-gradient(145deg, #e11d48 0%, #be123c 100%);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(215, 38, 61, 0.25);
}

.phase-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.phase-nav a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.phase-nav a:hover {
  color: var(--ink);
  background: var(--bg);
}

.phase-nav a.active {
  background: var(--ink);
  color: #fff;
}

.header-cta {
  flex-shrink: 0;
}

/* ==================== BUTTONS & STATUS PILLS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.14s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(215, 38, 61, 0.42);
}

.btn-primary:hover {
  background: var(--red-hover);
  box-shadow: 0 10px 24px -6px rgba(215, 38, 61, 0.52);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #1e293b;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.btn-sm {
  min-height: 36px;
  padding: 0 15px;
  font-size: 0.82rem;
}

.icon-svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Real iOS-Squircle Vector Brand Icons */
.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.18s ease;
}

.app-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.app-icon-bordered {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.07);
}

.app-icon-sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.app-icon-phone {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}

.app-icon-lg {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-works_locally { background: var(--st-works-bg); color: var(--st-works-fg); }
.status-works_locally .status-dot { background: var(--st-works-dot); }

.status-roaming_esim { background: var(--st-esim-bg); color: var(--st-esim-fg); }
.status-roaming_esim .status-dot { background: var(--st-esim-dot); }

.status-partial { background: var(--st-partial-bg); color: var(--st-partial-fg); }
.status-partial .status-dot { background: var(--st-partial-dot); }

.status-replace { background: var(--st-replace-bg); color: var(--st-replace-fg); }
.status-replace .status-dot { background: var(--st-replace-dot); }

/* ==================== SECTION 1: LIGHT-MODE FLIGHTY HERO ==================== */
.flighty-hero {
  padding: 48px 0 76px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-works-dot);
}

.flighty-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.8vw, 3.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.038em;
  color: var(--ink);
}

.h1-muted {
  color: #94a3b8;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 48ch;
  line-height: 1.6;
}

/* Segmented Wi-Fi vs eSIM Control */
.toggle-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.seg-control {
  display: inline-flex;
  padding: 5px;
  border-radius: 16px;
  background: #e6e9ef;
  border: 1px solid rgba(15, 23, 42, 0.06);
  gap: 4px;
  margin-bottom: 20px;
  max-width: 100%;
}

.seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.seg-btn .icon-svg {
  width: 16px;
  height: 16px;
}

.seg-btn:hover {
  color: var(--ink);
}

.seg-btn.active-wifi {
  background: var(--surface);
  color: #e11d48;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.09);
}

.seg-btn.active-esim {
  background: var(--surface);
  color: #0b6b49;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.09);
}

/* Hero Instant Search */
.hero-search-wrap {
  position: relative;
  max-width: 460px;
  margin-bottom: 22px;
}

.hero-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 7px 5px 18px;
  box-shadow: 0 6px 20px -10px rgba(15, 23, 42, 0.12);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-search-box:focus-within {
  border-color: var(--ink);
  box-shadow: 0 10px 26px -10px rgba(15, 23, 42, 0.18);
}

.hero-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  color: var(--ink);
  min-height: 38px;
  outline: none;
  min-width: 0;
}

.hero-search-box input::placeholder {
  color: #94a3b8;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 8px;
  z-index: 60;
  display: grid;
  gap: 4px;
}

.search-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 12px;
  transition: background 0.12s ease;
}

.search-result-row:hover,
.search-result-row.active {
  background: var(--bg);
}

.search-result-left {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 0.9rem;
}

.hero-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.live-stat-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid;
  transition: all 0.25s ease;
}

.live-stat-wifi {
  background: #fff1f2;
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.22);
}

.live-stat-esim {
  background: #ecfdf5;
  color: #047857;
  border-color: rgba(16, 185, 129, 0.28);
}

/* ==================== SILVER TITANIUM IPHONE HARDWARE ==================== */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-halo {
  position: absolute;
  inset: 16px 24px;
  border-radius: 999px;
  filter: blur(52px);
  pointer-events: none;
  transition: background 0.45s ease;
}

.phone-halo-wifi {
  background: rgba(244, 63, 94, 0.18);
}

.phone-halo-esim {
  background: rgba(16, 185, 129, 0.22);
}

.titanium-frame {
  position: relative;
  width: 100%;
  max-width: 356px;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(145deg, #f3f4f6 0%, #cfd4dc 48%, #eceef2 100%);
  box-shadow:
    0 32px 68px -20px rgba(15, 23, 42, 0.24),
    0 10px 24px -8px rgba(15, 23, 42, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.phone-screen {
  border-radius: 38px;
  background: #fbfbfd;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 15px 15px 16px;
  overflow: hidden;
}

.ios-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  margin-bottom: 13px;
  font-size: 0.76rem;
  font-weight: 700;
}

.dynamic-island {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 25px;
  padding: 0 14px;
  border-radius: 999px;
  background: #09090b;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.island-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.phone-net-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 60px;
  padding: 0 13px;
  border-radius: 16px;
  margin-bottom: 13px;
  font-size: 0.78rem;
  line-height: 1.3;
  border: 1px solid;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.phone-net-wifi {
  background: #fff1f2;
  border-color: rgba(225, 29, 72, 0.2);
  color: #881337;
}

.phone-net-esim {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.25);
  color: #064e3b;
}

.phone-net-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  flex-shrink: 0;
}

.phone-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 13px;
}

.phone-app-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

.phone-app-btn:hover {
  background: #f1f5f9;
}

.phone-app-btn.selected {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.phone-icon-wrap {
  position: relative;
  display: inline-flex;
}

.icon-dimmed {
  opacity: 0.34;
  filter: grayscale(1);
}

.micro-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fbfbfd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1;
}

.micro-yes { background: #10b981; color: #fff; }
.micro-warn { background: #f59e0b; color: #111827; }
.micro-no { background: #e11d48; color: #fff; }

.phone-app-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.15;
}

.phone-inspector {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px 14px;
  height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.inspector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.inspector-top strong {
  font-size: 0.88rem;
}

.inspector-msg {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.42;
  min-height: 36px;
}

.inspector-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
}

.inspector-link {
  color: var(--blue);
  font-weight: 650;
}

.inspector-link:hover {
  text-decoration: underline;
}

/* ==================== SHARED SECTION STRUCTURE ==================== */
.phase-section {
  padding: 68px 0;
  border-top: 1px solid var(--border);
}

.phase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.phase-head-center {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 38px;
}

.phase-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.phase-head h2,
.phase-head-center h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.1;
}

.phase-sub {
  margin: 8px 0 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
  max-width: 44ch;
}

.phase-head-center .phase-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ==================== SECTION 2: LIGHT BENTO PLAYGROUNDS ==================== */
.bento-2col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.bento-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bento-brand-row h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.bento-brand-row p {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.cur-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  gap: 2px;
}

.cur-btn {
  padding: 5px 10px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.cur-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.fee-well {
  border-radius: 18px;
  padding: 20px;
  border: 1px solid;
  margin-bottom: 16px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.fee-well-free {
  background: #eaf8f0;
  border-color: rgba(16, 185, 129, 0.28);
}

.fee-well-fee {
  background: #fef4dc;
  border-color: rgba(245, 158, 11, 0.38);
}

.fee-well-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.fee-big-rmb {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
}

.fee-big-fx {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-left: 8px;
}

.fee-badge-solid {
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
}

input[type="range"].flighty-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.13);
  outline: none;
  cursor: pointer;
}

input[type="range"].flighty-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0f172a;
  border: 3px solid #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.26);
  cursor: pointer;
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-top: 8px;
}

.bento-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.bento-foot a {
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.bento-foot a:hover {
  text-decoration: underline;
}

/* iOS Lock-Screen Live Activity Card */
.live-activity {
  border-radius: 20px;
  background: #0f172a;
  color: #fff;
  padding: 18px;
  box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.35);
}

.la-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
}

.la-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #cbd5e1;
}

.la-status-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.la-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.la-cell {
  border-radius: 13px;
  padding: 10px 6px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.la-cell.on-green {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(52, 211, 153, 0.4);
}

.la-cell.on-blue {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.42);
}

.la-cell-k {
  font-size: 0.72rem;
  color: #94a3b8;
}

.la-cell-v {
  font-size: 0.8rem;
  font-weight: 750;
  margin-top: 2px;
}

.la-foot {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ==================== SECTION 3: FLIGHTY #AFTER-FLY CHINA PASSPORT ==================== */
.passport-config-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.config-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.cfg-pill {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.14s ease;
}

.cfg-pill:hover {
  color: var(--ink);
}

.cfg-pill.active {
  background: var(--ink);
  color: #fff;
}

.passport-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: stretch;
}

.stamp-trigger-list {
  display: grid;
  gap: 10px;
}

.stamp-trigger {
  width: 100%;
  text-align: left;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.stamp-trigger:hover {
  border-color: var(--border-strong);
  background: #fff;
}

.stamp-trigger.done {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.35);
}

.trigger-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid #cbd5e1;
  background: #fff;
  color: transparent;
}

.stamp-trigger.done .trigger-check {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

.trigger-body {
  min-width: 0;
  flex: 1;
}

.trigger-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.25;
}

.trigger-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.trigger-state {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.stamp-trigger.done .trigger-state {
  color: #047857;
}

/* Tactile Physical Open Passport Book */
.passport-book {
  background:
    radial-gradient(circle at 18% 22%, rgba(215, 38, 61, 0.045) 0, transparent 48%),
    radial-gradient(circle at 82% 76%, rgba(0, 113, 227, 0.045) 0, transparent 48%),
    repeating-linear-gradient(45deg, rgba(15, 23, 42, 0.015) 0px, rgba(15, 23, 42, 0.015) 1px, transparent 1px, transparent 12px),
    linear-gradient(90deg, #fcfaf5 0%, #fcfaf5 48.5%, #e8e2d5 50%, #fcfaf5 51.5%, #faf7f0 100%);
  border-radius: 28px;
  padding: 28px;
  box-shadow:
    0 28px 65px -18px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(15, 23, 42, 0.08),
    inset 0 0 0 6px #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.passport-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1.5px dashed rgba(15, 23, 42, 0.14);
}

.passport-serial {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #94a3b8;
}

.passport-title {
  margin: 4px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.airport-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.airport-chip {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.055);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.passport-score {
  text-align: right;
  flex-shrink: 0;
}

.passport-pct {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.passport-pct.complete {
  color: #059669;
}

.passport-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-top: 4px;
}

.stamp-canvas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  place-items: center;
  padding: 28px 0;
  min-height: 210px;
}

.stamp-slot-locked {
  width: 112px;
  height: 94px;
  border: 2px dashed rgba(148, 163, 184, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  opacity: 0.55;
}

.stamp-shape-round { border-radius: 999px; }
.stamp-shape-rect { border-radius: 14px; }

.stamp-ink {
  width: 112px;
  height: 94px;
  border: 2.5px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.45);
  animation: stampSlam 0.36s cubic-bezier(0.22, 1.35, 0.36, 1) forwards;
}

.stamp-city {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.stamp-code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 2px 0;
}

.stamp-star {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
}

.passport-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1.5px dashed rgba(15, 23, 42, 0.14);
}

.master-approved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9px;
  border: 2.5px solid var(--red);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  animation: stampSlam 0.36s cubic-bezier(0.22, 1.35, 0.36, 1) forwards;
}

.passport-partner-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.partner-micro-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
}

/* ==================== SECTION 4: QUICK APP RADAR (36 APPS) ==================== */
.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.cat-tab {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.14s ease;
}

.cat-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cat-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform 0.15s ease, box-shadow 0.16s ease, border-color 0.15s ease;
}

.app-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
}

.app-tile-meta {
  min-width: 0;
  flex: 1;
}

/* Clean natural wrapping — fixes earlier ellipsis truncation on long names! */
.app-tile-meta h3 {
  margin: 0 0 6px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.app-tile-arrow {
  color: #94a3b8;
  flex-shrink: 0;
}

/* ==================== GUIDE DETAIL, ESIM & PAYMENT PAGES ==================== */
.guide-page {
  padding: 32px 0 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.back-link:hover {
  color: var(--ink);
}

.verdict-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.verdict-hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.verdict-hero h1 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.verdict-one-line {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.verdict-date {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* 3-Tile Glance Row */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.glance-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.glance-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.12rem;
  font-weight: 850;
}

.glance-yes { background: var(--st-works-bg); color: var(--st-works-fg); }
.glance-no { background: var(--st-replace-bg); color: var(--st-replace-fg); }
.glance-partial { background: var(--st-partial-bg); color: var(--st-partial-fg); }
.glance-info { background: var(--st-esim-bg); color: var(--st-esim-fg); }

.glance-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.glance-value {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.25;
}

/* Single Disclosed "Our Pick" Ticket Stub */
.our-pick-wrap {
  margin: 22px 0;
}

.disclosure-micro {
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

.ticket-stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--red);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.ticket-stub-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 4px;
}

.ticket-stub h4 {
  margin: 0 0 4px;
  font-size: 1.04rem;
}

.ticket-stub p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.stub-alt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.stub-alt-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stub-alt-links a:hover {
  color: var(--red);
}

/* Accordions */
.accordion-stack {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.accordion-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.025);
}

.accordion-card summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
}

.accordion-card summary::-webkit-details-marker {
  display: none;
}

.accordion-chevron {
  transition: transform 0.18s ease;
  color: var(--ink-muted);
}

.accordion-card[open] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 20px 20px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.clean-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: s;
}

.clean-steps li {
  counter-increment: s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.clean-steps li::before {
  content: counter(s);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.clean-bullets {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.faq-mini {
  display: grid;
  gap: 14px;
}

.faq-mini strong {
  display: block;
  color: var(--ink);
  margin-bottom: 3px;
}

.faq-mini p {
  margin: 0;
}

.related-strip {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.related-strip h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

/* 2-col on narrow guide pages so long titles never get squeezed */
.related-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.report-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.report-row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* eSIM 3-Card Plans & Payment Calculator Page */
.plan-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.plan-card.featured {
  border-color: var(--red);
  box-shadow: var(--shadow-lift);
}

.plan-card h3 {
  margin: 6px 0 4px;
  font-size: 1.08rem;
}

.plan-specs {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}

.calc-row {
  display: flex;
  gap: 10px;
  margin: 10px 0 14px;
  align-items: center;
}

.calc-row input,
.calc-row select {
  height: 50px;
  padding: 0 16px;
  border-radius: 13px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: normal;
}

.calc-row input {
  flex: 1;
  min-width: 0;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.preset-btn {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}

.preset-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.calc-readout {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
}

.calc-big-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
}

/* Trust Accordions & Footer */
.trust-accordions {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.jargon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.jargon-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.jargon-item span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-mini-links a:hover {
  color: var(--ink);
}

.hidden {
  display: none !important;
}

@keyframes stampSlam {
  0% { opacity: 0; transform: scale(1.65) rotate(-14deg); }
  65% { opacity: 1; transform: scale(0.93) rotate(var(--rot, -5deg)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--rot, -5deg)); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .hero-split,
  .bento-2col,
  .passport-grid {
    grid-template-columns: 1fr;
  }

  .app-grid,
  .plan-cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0 8px;
    gap: 8px;
  }

  .phase-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .phase-nav::-webkit-scrollbar {
    display: none;
  }

  .flighty-hero {
    padding: 32px 0 52px;
  }

  .phase-section {
    padding: 48px 0;
  }

  .seg-control {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .seg-btn {
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .ticket-stub {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .app-grid,
  .plan-cards-3,
  .related-grid-3,
  .glance-grid {
    grid-template-columns: 1fr;
  }

  .stamp-canvas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .passport-book,
  .bento-card,
  .verdict-hero {
    padding: 20px 18px;
  }
}

@media print {
  .site-header,
  .flighty-hero,
  #before-fly,
  #directory,
  .trust-section,
  .site-footer,
  .passport-config-bar,
  .passport-partner-box,
  .passport-print-actions {
    display: none !important;
  }

  body {
    background: #fff;
  }

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

  .passport-book {
    box-shadow: none;
    border: 1.5px solid #111;
  }
}
