/* qcode landing page. Matches qvac.tether.io design tokens:
   mint #16E3C1 + Inconsolata mono + dark background. */

:root {
  --bg: #07090c;
  --bg-2: #0d1117;
  --bg-card: #0f151c;
  --border: #1f2a35;
  --border-teal: rgba(22, 227, 193, 0.22);
  --border-teal-hi: rgba(22, 227, 193, 0.5);
  --text: #e6edf3;
  --text-muted: #8b98a6;
  --text-dim: #5c6773;
  --mint: #16E3C1;
  --mint-dim: #0fb39a;
  --grad-a: #16E3C1;
  --grad-b: #7af7df;
  --shadow-teal: 0 0 40px rgba(22, 227, 193, 0.15);
  --mono: "Inconsolata", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--grad-b); }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 1px 6px;
  background: rgba(22, 227, 193, 0.08);
  border: 1px solid var(--border-teal);
  border-radius: 4px;
  color: var(--grad-b);
}

/* ===== grid background ===== */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(22, 227, 193, 0.10), transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(22, 227, 193, 0.04), transparent 50%),
    linear-gradient(to bottom, var(--bg) 0%, var(--bg-2) 100%);
}
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 227, 193, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 227, 193, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
}

/* ===== nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7, 9, 12, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  animation: pulse 2.4s ease-in-out infinite;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: var(--mono);
  font-size: 14px;
}
.nav-links a {
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--mint); }
.nav-github {
  padding: 6px 14px;
  border: 1px solid var(--border-teal);
  border-radius: 6px;
  color: var(--text) !important;
}
.nav-github:hover { background: rgba(22, 227, 193, 0.08); }

@media (max-width: 720px) {
  .nav-links a:not(.nav-github) { display: none; }
}

/* ===== hero ===== */
.hero {
  padding: 80px 24px 100px;
  text-align: center;
}
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border-teal);
  border-radius: 999px;
  background: rgba(22, 227, 193, 0.05);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 28px;
}
.grad {
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px;
}

/* demo stage (laptop + phone side by side) */
.demo-stage {
  max-width: 1060px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .demo-stage { grid-template-columns: 1fr; }
  .demo-stage .phone { margin: 0 auto; }
}

/* terminal */
.terminal {
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-teal);
  position: relative;
  min-height: 340px;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0a0e13;
  border-bottom: 1px solid var(--border);
}
.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot.red { background: #ff5f56; }
.term-dot.amber { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }
.term-title {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.term-pill {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  background: rgba(22, 227, 193, 0.1);
  border: 1px solid var(--border-teal);
  border-radius: 4px;
  color: var(--mint);
}
.terminal-body {
  padding: 18px 22px;
  font-family: var(--mono);
  font-size: 14px;
  min-height: 260px;
}
/* scene swapping (only one .scene-active visible at a time) */
.scene {
  display: none;
}
.scene-active {
  display: block;
  animation: sceneIn 0.5s ease;
}
@keyframes sceneIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.term-line {
  margin: 0 0 10px;
  color: var(--text);
}
.term-prompt {
  color: var(--mint);
  font-weight: 700;
  margin-right: 10px;
}
.term-text {
  color: var(--text);
  white-space: pre-wrap;
}
.cursor {
  color: var(--mint);
  animation: blink 0.9s step-end infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }
.term-tool {
  color: var(--text-muted);
  font-size: 13px;
  padding-left: 18px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.term-tool.is-revealed { opacity: 1; transform: translateY(0); }
.term-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 8px 0;
  background: rgba(22, 227, 193, 0.05);
  border: 1px solid var(--border-teal);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.term-attachment.is-revealed { opacity: 1; transform: translateY(0); }
.attach-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(22, 227, 193, 0.08);
  border: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  flex: 0 0 auto;
}
.attach-meta { font-size: 13px; }
.attach-meta > div:first-child { color: var(--text); }
.attach-sub { color: var(--text-dim); font-size: 11px; margin-top: 2px; }
.term-tool-name {
  color: var(--mint);
  margin-right: 10px;
  font-weight: 500;
}
.term-arg { color: var(--text-dim); }
.term-reply {
  padding: 12px 14px;
  background: rgba(22, 227, 193, 0.05);
  border-left: 2px solid var(--mint);
  border-radius: 3px;
  color: var(--text);
  font-size: 13px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.term-reply.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.term-label {
  display: inline-block;
  color: var(--mint);
  font-weight: 700;
  margin-right: 10px;
}

/* picker scene */
.picker-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
  font-family: var(--sans);
}
.picker-section {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 14px 0 6px;
}
.picker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 13px;
}
.picker-row.picker-active {
  border-color: var(--mint);
  background: rgba(22, 227, 193, 0.06);
}
.picker-main > div:first-child { color: var(--text); font-weight: 500; }
.picker-meta { font-family: var(--mono); font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.picker-badge {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  background: var(--mint);
  color: #07090c;
  border-radius: 4px;
  font-weight: 600;
}
.picker-btn {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid var(--border-teal);
  border-radius: 5px;
  color: var(--mint);
  cursor: pointer;
  transition: all 0.15s;
}
.picker-btn:hover { background: rgba(22, 227, 193, 0.08); border-color: var(--border-teal-hi); }
.picker-btn-accent { background: rgba(22, 227, 193, 0.1); }
.peer-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  margin-right: 8px;
  transition: background 0.4s, box-shadow 0.4s;
}
.peer-dot.is-connected {
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 2s infinite;
}

/* phone mockup */
.phone {
  position: relative;
  width: 260px;
  align-self: center;
}
.phone-frame {
  width: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 38px;
  background: linear-gradient(180deg, #1a2028, #0a0f14);
  border: 2px solid #2a3540;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(22, 227, 193, 0.08),
    0 25px 60px rgba(0, 0, 0, 0.5),
    var(--shadow-teal);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #07090c;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone-notch::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #16E3C1;
  opacity: 0.5;
}
.phone-screen {
  background: #07090c;
  border-radius: 28px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(22, 227, 193, 0.2);
}
.phone-topbar {
  padding: 28px 14px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 9px;
  flex: 0 0 auto;
}
.phone-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 4px var(--mint);
}
.phone-app-name {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.phone-model {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 8px;
}
.phone-chat {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 9px;
}
.phone-msg {
  max-width: 82%;
  padding: 5px 8px;
  border-radius: 7px;
  line-height: 1.35;
  animation: msgIn 0.4s ease;
}
.phone-msg.is-user {
  align-self: flex-end;
  background: rgba(22, 227, 193, 0.14);
  color: var(--text);
  border: 1px solid var(--border-teal);
}
.phone-msg.is-assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}
.phone-msg.is-tool {
  align-self: flex-start;
  background: transparent;
  color: var(--mint);
  padding: 2px 4px;
  font-size: 8px;
}
.phone-msg.is-image {
  align-self: flex-end;
  padding: 4px;
  background: rgba(22, 227, 193, 0.08);
  border: 1px solid var(--border-teal);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
}
.phone-msg.is-image .phone-thumb {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: rgba(22, 227, 193, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.phone-composer {
  flex: 0 0 auto;
  padding: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
}
.phone-comp-btn {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
}
.phone-comp-btn:hover { color: var(--mint); border-color: var(--border-teal); }
.phone-comp-btn.phone-send {
  background: var(--mint);
  color: #07090c;
  border-color: var(--mint);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
}
.phone-comp-input {
  flex: 1;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-dim);
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  border: 1px solid var(--border);
}
.phone-home {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

/* scene pills */
.scene-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 4px auto 40px;
  flex-wrap: wrap;
}
.scene-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.scene-pill:hover { color: var(--text); border-color: var(--border-teal); }
.scene-pill.is-active {
  background: rgba(22, 227, 193, 0.1);
  border-color: var(--mint);
  color: var(--mint);
}
.scene-pill svg { stroke: currentColor; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-primary {
  background: var(--mint);
  color: #07090c;
  border-color: var(--mint);
  box-shadow: 0 4px 16px rgba(22, 227, 193, 0.25);
}
.btn-primary:hover {
  background: var(--grad-b);
  color: #07090c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 227, 193, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-teal);
}
.btn-ghost:hover {
  background: rgba(22, 227, 193, 0.08);
  border-color: var(--border-teal-hi);
  color: var(--mint);
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

/* stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 620px;
  margin: 0 auto;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--mint);
  line-height: 1;
  text-shadow: 0 0 20px rgba(22, 227, 193, 0.25);
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
  font-family: var(--mono);
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== sections ===== */
.section {
  padding: 100px 24px;
  position: relative;
}
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--mint);
  font-weight: 500;
  padding: 3px 10px;
  border: 1px solid var(--border-teal);
  border-radius: 4px;
}
.section-lead {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 760px;
  margin: 0 0 50px;
}
.sub-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 60px 0 20px;
  font-family: var(--mono);
}

/* ===== demo video ===== */
.section-demo .video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-teal);
  box-shadow: var(--shadow-teal);
  background: black;
}
.section-demo video {
  display: block;
  width: 100%;
  height: auto;
}
.video-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin: 24px auto 0;
  max-width: 720px;
  line-height: 1.6;
}

/* ===== features ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 920px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
  opacity: 0;
  transform: translateY(20px);
}
.feature-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  border-color: var(--border-teal-hi);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(22, 227, 193, 0.12);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(22, 227, 193, 0.08);
  border: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--mint);
}
.feature-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 600;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ===== architecture ===== */
.arch-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: 12px;
  padding: 30px;
  overflow-x: auto;
}
.arch-svg {
  width: 100%;
  height: auto;
  max-width: 900px;
  display: block;
  margin: 0 auto;
}
.arch-label {
  font-family: var(--mono);
  font-size: 13px;
  fill: var(--text);
  font-weight: 600;
}
.arch-sub {
  font-family: var(--mono);
  font-size: 10px;
  fill: var(--text-muted);
}
.arch-inner {
  font-family: var(--mono);
  font-size: 13px;
  fill: var(--mint);
  font-weight: 500;
}
.arch-inner-small {
  font-family: var(--mono);
  font-size: 12px;
  fill: var(--text);
  font-weight: 600;
}
.phone-text {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
}
.phone-mono {
  font-family: var(--mono);
  font-size: 7px;
  fill: var(--text-muted);
}
.arch-notes {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 820px) { .arch-notes { grid-template-columns: 1fr; } }
.arch-notes > div {
  padding: 16px;
  background: var(--bg-card);
  border-left: 2px solid var(--mint);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.arch-notes strong { color: var(--text); font-weight: 600; }

/* ===== stack ===== */
.section-stack { background: linear-gradient(180deg, transparent, rgba(22, 227, 193, 0.025)); }
.stack-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stack-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.stack-row:last-child { border-bottom: none; }
.stack-row:hover { background: rgba(22, 227, 193, 0.03); }
.stack-head {
  background: rgba(22, 227, 193, 0.05);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.stack-head:hover { background: rgba(22, 227, 193, 0.05); }
.stack-row > div:first-child { color: var(--text); }
.stack-row > div:last-child { color: var(--text-muted); line-height: 1.55; }
@media (max-width: 720px) {
  .stack-row { grid-template-columns: 1fr; }
  .stack-row > div:last-child { margin-top: 4px; }
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: 20px;
  color: var(--text);
  transition: all 0.15s;
}
.chip:hover {
  border-color: var(--border-teal-hi);
  background: rgba(22, 227, 193, 0.08);
  color: var(--mint);
}

/* ===== airplane mode ===== */
.section-airplane {
  padding: 60px 24px;
}
.airplane-card {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(22, 227, 193, 0.08), rgba(22, 227, 193, 0.02));
  border: 1px solid var(--border-teal-hi);
  border-radius: 14px;
}
.airplane-left { flex: 0 0 auto; }
.airplane-icon {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: rgba(22, 227, 193, 0.12);
  border: 1px solid var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-teal);
}
.airplane-right h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.airplane-right p {
  color: var(--text-muted);
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
}
.check-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mint);
  font-weight: 700;
}
@media (max-width: 720px) {
  .airplane-card { flex-direction: column; text-align: center; padding: 28px; }
  .check-list { grid-template-columns: 1fr; text-align: left; }
}

/* ===== limits ===== */
.limits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 680px) { .limits-grid { grid-template-columns: 1fr; } }
.limit-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}
.limit-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.limit-card:hover { border-color: var(--border-teal); }
.limit-card h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 600;
}
.limit-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.limit-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  background: rgba(22, 227, 193, 0.08);
  border: 1px solid var(--border-teal);
  border-radius: 4px;
  color: var(--mint);
}

.next-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.next-item {
  padding: 14px 18px;
  background: var(--bg-card);
  border-left: 2px solid var(--mint);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-muted);
}
.next-bullet {
  color: var(--mint);
  font-weight: 700;
  margin-right: 10px;
}

/* ===== author ===== */
.section-author { padding: 60px 24px; }
.author-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.author-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-bottom: 8px;
}
.author-card h3 {
  font-size: 26px;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.author-card p {
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.65;
}
.author-links {
  display: flex;
  gap: 20px;
  font-family: var(--mono);
  font-size: 13px;
}

/* ===== final CTA ===== */
.section-cta {
  text-align: center;
  padding: 120px 24px;
  background: radial-gradient(ellipse at center, rgba(22, 227, 193, 0.06), transparent 70%);
}
.cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 40px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 24px;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--mono);
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--mint); }
