:root {
  color-scheme: light;
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --surface-2: #EEF0F3;
  --surface-3: #E3E6EC;
  --ink: #101218;
  --ink-2: #4F5562;
  --ink-3: #7B8290;
  --line: rgba(16, 18, 24, 0.09);
  --line-strong: rgba(16, 18, 24, 0.16);
  --pill-bg: #121418;
  --pill-ink: #F1F2F4;
  --pill-muted: #A2A7B1;
  --lime: #C2F23D;
  --lime-text: #3F6B00;
  --lime-line: #76A800;
  --cyan: #5CE1E6;
  --amber: #B86E00;
  --radius: 18px;
  --radius-sm: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: clip;
}
body.home-daylight { min-height: 100dvh; display: flex; flex-direction: column; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease; }
button { color: inherit; cursor: pointer; border: 0; background: transparent; }
button:disabled { opacity: 0.45; cursor: default; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
img { vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  font-size: clamp(34px, 3.85vw, 52px);
  letter-spacing: -0.036em;
  line-height: 1.09;
  font-weight: 760;
  color: var(--ink);
}
h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.24;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: var(--ink);
}
h3 { font-size: 17px; line-height: 1.38; font-weight: 680; color: var(--ink); }
.wrap { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
[hidden] { display: none !important; }

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; z-index: 99; left: 20px; top: 12px;
  background: var(--ink); color: #FFFFFF; padding: 10px 16px; border-radius: 10px; font-weight: 650;
}

.eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 720; color: var(--lime-text); }
.intro { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-top: 14px; max-width: 500px; }
.quiet { font-size: 12.5px; color: var(--ink-3); line-height: 1.48; }
.text-link { text-decoration: underline; text-underline-offset: 4px; font-size: 14px; font-weight: 550; color: var(--lime-text); }
.text-link:hover { color: var(--ink); }

/* Frosted Light 58px Header */
.show-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 58px;
  background: rgba(246, 247, 249, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
}
header.show-header.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16.5px;
  font-weight: 760;
  letter-spacing: -0.025em;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img { border-radius: 8px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  font-weight: 520;
  color: var(--ink-2);
}
.site-nav a:hover { color: var(--ink); }
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 580;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}
.account-link:hover {
  border-color: rgba(16, 18, 24, 0.28);
  background: var(--surface-2);
}
.language-picker {
  display: inline-flex;
  align-items: center;
}
.language-picker select {
  max-width: 132px;
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.language-picker select:hover {
  border-color: rgba(16, 18, 24, 0.28);
  color: var(--ink);
}

/* Main & Single-Screen Desktop Hero */
.home-main {
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero {
  width: min(1160px, calc(100% - 56px));
  max-width: 100%;
  min-width: 0;
  min-height: calc(min(100dvh, 900px) - 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.4vw, 64px);
  align-items: center;
  padding-block: 24px 36px;
}
.hero-copy, .hero-phone-showcase {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(16, 18, 24, 0.04);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 2px rgba(194, 242, 61, 0.35);
}

/* 4 State Tabs */
.scenario-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  max-width: 472px;
}
.scenario-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.scenario-pill:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}
.scenario-pill[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 18, 24, 0.12);
}
.pill-num {
  font-size: 10.5px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-3);
  flex-shrink: 0;
}
.scenario-pill[aria-selected="true"] .pill-num {
  background: var(--lime);
  color: var(--ink);
}

/* Obsidian Primary Download CTA + Crisp White QR Card */
.hero-download-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.download-primary-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.primary-link, .download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 13px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.3;
  box-shadow: 0 8px 22px rgba(16, 18, 24, 0.15);
  transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.16s ease;
}
.primary-link:hover:not([aria-disabled="true"]),
.download-btn:hover:not([aria-disabled="true"]) {
  background: #1D212C;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(16, 18, 24, 0.22);
}
.primary-link[aria-disabled="true"],
.download-btn[aria-disabled="true"] {
  background: var(--surface-3);
  color: var(--ink-3);
  pointer-events: none;
  box-shadow: none;
}
.cta-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(194, 242, 61, 0.22);
  flex-shrink: 0;
}
.download-btn[aria-disabled="true"] .cta-live-dot {
  background: var(--ink-3);
  box-shadow: none;
}
.cta-arrow {
  flex-shrink: 0;
  color: currentColor;
}
.release-note-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.release-icon {
  font-size: 9.5px;
  font-weight: 780;
  color: var(--lime-text);
  background: rgba(194, 242, 61, 0.34);
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: 0.05em;
}
.release-note-wrapper .quiet { margin: 0; font-size: 12px; color: var(--ink-2); }

.desktop-qr-card {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 13px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(16, 18, 24, 0.04);
}
.qr-box {
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-shrink: 0;
  line-height: 0;
}
.qr-info { display: flex; flex-direction: column; gap: 1px; }
.qr-info strong { font-size: 12.5px; color: var(--ink); font-weight: 660; }
.qr-info span { font-size: 11px; color: var(--ink-2); }

/* Quiet Billing & Live Status */
.hero-quiet-meta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quiet-billing { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.quiet-link { color: var(--lime-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.quiet-link:hover { color: var(--ink); }

.hero-live-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-3);
}
.hero-live-status p { margin: 0; line-height: 1.4; }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  flex-shrink: 0;
}
.hero-live-status[data-state="ready"] { color: var(--lime-text); }
.hero-live-status[data-state="ready"] .status-dot {
  background: var(--lime-line);
  box-shadow: 0 0 0 3px rgba(194, 242, 61, 0.35);
}
.hero-live-status[data-state="paused"],
.hero-live-status[data-state="unverified"] { color: var(--amber); }
.hero-live-status[data-state="paused"] .status-dot,
.hero-live-status[data-state="unverified"] .status-dot { background: var(--amber); }

/* 1:1 Real Android App Upright Phone Stage (0deg) */
.hero-phone-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}
.stage-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mockup-frame {
  width: 332px;
  max-width: 100%;
  min-width: 0;
  height: 586px;
  background: #1B1E26;
  border: 9px solid #1B1E26;
  border-radius: 44px;
  transform: none;
  box-shadow:
    0 28px 64px -18px rgba(16, 18, 24, 0.2),
    0 8px 22px rgba(16, 18, 24, 0.08),
    0 0 0 1px rgba(16, 18, 24, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mockup-screen {
  flex: 1;
  position: relative;
  background: var(--surface);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Soft Translucent Lime-to-Cyan Screen-Edge Glow (ONLY Slide 0 / data-glow="on") */
.mockup-edge-glow {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  border-radius: 34px;
  box-shadow:
    inset 0 0 16px 4px rgba(194, 242, 61, 0.56),
    inset 0 0 34px 8px rgba(92, 225, 230, 0.28),
    inset 0 0 0 2px rgba(194, 242, 61, 0.36);
  opacity: 1;
  transition: opacity 0.28s ease;
}
.stage-shell[data-glow="off"] .mockup-edge-glow { opacity: 0; }

.stage-viewport {
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.stage-shell.is-dragging .stage-viewport { cursor: grabbing; }

.stage-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.stage-shell.is-dragging .stage-track { transition: none; }
.stage-shell[data-scene="0"] .stage-track { transform: translateX(0%); }
.stage-shell[data-scene="1"] .stage-track { transform: translateX(-25%); }
.stage-shell[data-scene="2"] .stage-track { transform: translateX(-50%); }
.stage-shell[data-scene="3"] .stage-track { transform: translateX(-75%); }

.stage-slide {
  width: 25%;
  flex: 0 0 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--surface);
  color: var(--ink);
}

/* Light Android Status Bar */
.android-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 4px;
  color: var(--ink);
  flex-shrink: 0;
}
.android-status-bar.is-chrome { background: #F2F3F5; }
.android-status-bar.is-native { background: #FFFFFF; }
.sb-time {
  font-size: 10.5px;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.sb-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
}

/* Real Light Android Browser Chrome (#F2F3F5) */
.app-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 8px;
  background: #F2F3F5;
  border-bottom: 1px solid rgba(16, 18, 24, 0.08);
  flex-shrink: 0;
}
.bar-search-glyph {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  flex-shrink: 0;
}
.bar-omnibox {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid rgba(16, 18, 24, 0.09);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
}
.bar-omnibox svg { color: var(--ink-3); flex-shrink: 0; }
.bar-omnibox span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-tabs {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.6px solid var(--ink);
  font-size: 9.5px;
  font-weight: 760;
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
  line-height: 1;
}
.bar-more {
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
  padding-inline: 1px;
  flex-shrink: 0;
}

.app-webview {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Floating Dark TakeoverPill (#121418) */
.takeover-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 5px 4px 9px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  box-shadow: 0 6px 18px rgba(16, 18, 24, 0.28);
  font-size: 10px;
  white-space: nowrap;
  max-width: calc(100% - 14px);
}
.tp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tp-dot.is-live {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(194, 242, 61, 0.28);
  animation: kippPulse 2s ease-in-out infinite;
}
.tp-dot.is-idle {
  background: #8A909C;
}
.tp-stage {
  font-weight: 620;
  color: var(--pill-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  color: var(--pill-muted);
  font-variant-numeric: tabular-nums;
}
.tp-btn {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: var(--pill-ink);
  font-size: 9.5px;
  font-weight: 620;
  flex-shrink: 0;
}

@keyframes kippPulse {
  0%, 100% { box-shadow: 0 0 0 2.5px rgba(194, 242, 61, 0.26); }
  50% { box-shadow: 0 0 0 5px rgba(194, 242, 61, 0.44); }
}

/* Slide 0: Real Bright Thailand TDAC Form (v45_e1_tdac_mid_2.png) */
.tdac-banner {
  position: relative;
  height: 44px;
  padding: 0 12px;
  background: linear-gradient(90deg, #135B8E 0%, #1E77B5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tdac-banner-title {
  position: absolute;
  left: 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}
.tdac-banner .takeover-pill { position: relative; z-index: 2; }
.tdac-body {
  padding: 11px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tdac-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.tdac-step {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D8DCE2;
  color: #5E6572;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.tdac-step.is-active {
  background: #1A6DA8;
  color: #FFFFFF;
}
.tdac-step-line {
  width: 28px;
  height: 2px;
  background: #E2E5EA;
  border-radius: 2px;
}
.tdac-section-title {
  font-size: 12.5px;
  font-weight: 680;
  color: #155B8F;
  padding-bottom: 5px;
  border-bottom: 1.5px solid #2A78B1;
}
.tdac-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tdac-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tdac-label {
  font-size: 10px;
  font-weight: 600;
  color: #1F5B88;
}
.tdac-label em {
  font-style: normal;
  color: #D93A3F;
  margin-right: 1px;
}
.tdac-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 6px;
  border: 1px solid #D5DBE2;
  background: #FFFFFF;
  font-size: 11px;
  font-weight: 560;
  color: var(--ink);
}
.tdac-input.is-focused {
  border-color: var(--lime-line);
  background: #F9FDEE;
  box-shadow: 0 0 0 2px rgba(194, 242, 61, 0.34);
}
.tdac-val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.tdac-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #EBF7C4;
  border: 1px solid var(--lime-line);
  color: var(--lime-text);
  font-size: 9.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tdac-caret {
  display: inline-block;
  width: 1.5px;
  height: 12px;
  background: var(--ink);
  margin-left: 2px;
  animation: kippBlink 1.05s steps(2, start) infinite;
}
@keyframes kippBlink { to { opacity: 0; } }

/* Floating Dark AgentBubble + Kipp Pet (Slide 0) */
.agent-bubble {
  position: absolute;
  right: 14px;
  bottom: 82px;
  width: 214px;
  padding: 9px 11px;
  border-radius: 13px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  box-shadow: 0 10px 24px rgba(16, 18, 24, 0.3);
  z-index: 6;
}
.agent-bubble::after {
  content: "";
  position: absolute;
  right: 19px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--pill-bg);
  transform: rotate(45deg);
  border-radius: 2px;
}
.ab-title {
  font-size: 11px;
  font-weight: 640;
  color: var(--pill-ink);
  line-height: 1.3;
}
.ab-track {
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  margin: 7px 0 6px;
  overflow: hidden;
}
.ab-bar {
  display: block;
  width: 64%;
  height: 100%;
  background: var(--lime);
  border-radius: 99px;
}
.ab-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  color: var(--pill-muted);
}
.ab-dot {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

.kipp-pet {
  line-height: 0;
  filter: drop-shadow(0 5px 10px rgba(16, 18, 24, 0.22));
  pointer-events: none;
}
.pet-running {
  position: absolute;
  right: 12px;
  bottom: 24px;
  z-index: 7;
}
.pet-sheet-corner {
  position: absolute;
  top: -25px;
  right: 14px;
  z-index: 8;
}

/* Slides 1 & 2: Native White Bottom Sheet over Bright Webpage */
.sheet-backdrop {
  background: #ECEEF2;
  justify-content: flex-end;
}
.peek-store-page {
  position: absolute;
  inset: 0 0 auto 0;
  padding: 12px 14px 28px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F2F6 100%);
  opacity: 0.72;
}
.peek-store-head {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.peek-store-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.peek-store-bars span {
  display: block;
  height: 8px;
  width: 78%;
  border-radius: 4px;
  background: #DCE0E7;
}
.peek-store-bars span.is-short { width: 52%; }

.portal-banner {
  position: absolute;
  inset: 0 0 auto 0;
  height: 62px;
  background: linear-gradient(115deg, #124FB2 0%, #1F72D8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
}

.app-sheet {
  position: relative;
  z-index: 4;
  background: #FFFFFF;
  border-radius: 22px 22px 0 0;
  border-top: 1px solid rgba(16, 18, 24, 0.07);
  box-shadow: 0 -8px 26px rgba(16, 18, 24, 0.1);
  padding: 16px 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 77%;
}
.app-sheet.is-asking-sheet { min-height: 82%; gap: 8px; }

.sheet-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 660;
}
.sheet-status.is-done { color: var(--lime-text); }
.sheet-check { font-weight: 850; color: var(--lime-line); }
.sheet-status.is-amber { color: var(--amber); }
.sheet-amber-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.sheet-title {
  font-size: 14px;
  font-weight: 720;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.015em;
  padding-right: 44px;
}

.sheet-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
}
.sheet-line {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.sheet-line.is-best .sl-val { color: var(--lime-text); font-weight: 700; }
.sheet-line.is-muted { color: var(--ink-3); }
.sl-name { font-weight: 560; }

.sheet-sec-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 2px;
}
.sheet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sheet-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 550;
}
.sheet-divider {
  height: 1px;
  background: var(--line);
  margin-top: auto;
}
.sheet-meta {
  font-size: 10px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.sheet-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
}
.composer-text {
  font-size: 10.5px;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.composer-send {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #DFE2E8;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Slide 2 Prompt Card + Lime Upload Pill + Missing Row */
.sheet-prompt-box {
  background: var(--surface-2);
  border-radius: 13px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.prompt-q {
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.4;
}
.upload-doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #F4FBE1;
  border: 1.4px solid var(--lime-line);
  color: var(--lime-text);
  font-size: 10.5px;
  font-weight: 680;
}
.missing-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink);
  line-height: 1.4;
}
.missing-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.8px solid var(--amber);
  flex-shrink: 0;
}
.sheet-back-link {
  margin-top: auto;
  text-align: center;
  font-size: 11.5px;
  font-weight: 560;
  color: var(--ink-2);
  padding-top: 6px;
}

/* Slide 3: Native MyInfoPage (MyInfo.kt — ZERO Browser URL Bar) */
.myinfo-native-page {
  flex: 1;
  min-height: 0;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  padding: 0 15px 18px;
  position: relative;
}
.myinfo-appbar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.myinfo-back { font-size: 16px; line-height: 1; color: var(--ink); }
.myinfo-title { font-size: 15px; font-weight: 700; letter-spacing: -0.015em; }
.myinfo-privacy {
  font-size: 10.8px;
  line-height: 1.48;
  color: var(--ink-2);
  margin: 2px 0 10px;
}
.myinfo-sec {
  font-size: 10px;
  font-weight: 680;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin: 8px 0 6px;
}
.myinfo-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 6px;
}
.myinfo-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  font-size: 11px;
  line-height: 1.4;
}
.mi-label { color: var(--ink-2); }
.mi-val {
  color: var(--ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mi-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
}
.myinfo-docs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.myinfo-doc {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 11px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.mi-doc-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mi-doc-copy { min-width: 0; }
.mi-doc-name {
  font-size: 11px;
  font-weight: 640;
  color: var(--ink);
  line-height: 1.3;
}
.mi-doc-meta {
  font-size: 9.8px;
  color: var(--ink-2);
  line-height: 1.35;
}
.myinfo-toggle-row {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mi-toggle-copy { min-width: 0; }
.mi-toggle-title { font-size: 11px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mi-toggle-note { font-size: 9.8px; color: var(--ink-3); line-height: 1.35; }
.native-switch {
  width: 36px;
  height: 21px;
  border-radius: 999px;
  background: var(--surface-3);
  padding: 2.5px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.native-switch.is-on {
  background: var(--ink);
  justify-content: flex-end;
}
.switch-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
  display: block;
}

/* Subtle Android Gesture Bar */
.gesture-pill {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 88px;
  height: 3.5px;
  border-radius: 999px;
  background: rgba(16, 18, 24, 0.2);
  pointer-events: none;
}

/* Stage Controls Below Phone */
.stage-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stage-arrow {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.stage-arrow:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #FFFFFF;
}
.stage-dots { display: inline-flex; align-items: center; gap: 6px; }
.stage-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  background: var(--surface-3);
  transition: width 0.22s ease, background 0.22s ease;
}
.stage-dot.is-active { width: 20px; background: var(--ink); }
.stage-hint { font-size: 11.5px; color: var(--ink-3); }

/* Below-the-Fold Daylight Trust Sections (#how & #evidence) */
.trust-how {
  padding-block: 52px 24px;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 620px;
}
.section-kicker {
  font-size: 11.5px;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lime-text);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.how-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(16, 18, 24, 0.03);
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}
.how-card p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-2);
}

.trust-evidence {
  padding-block: 16px 56px;
}
.evidence-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 2px 14px rgba(16, 18, 24, 0.035);
}
.evidence-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 650px;
  min-width: 0;
}
.evidence-copy h2 { font-size: clamp(20px, 2.2vw, 26px); }
.evidence-copy p { font-size: 14.5px; color: var(--ink-2); line-height: 1.62; }
.evidence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.evidence-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.evidence-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 196px;
}
.secondary-btn, .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 640;
  text-align: center;
}
.secondary-btn {
  background: var(--ink);
  color: #FFFFFF;
}
.secondary-btn:hover { background: #222632; color: #FFFFFF; }
.ghost-btn {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.ghost-btn:hover { background: var(--surface-2); }

/* Clean Daylight Footer */
.show-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-brand { font-weight: 600; color: var(--ink-2); }

/* Evidence / Scenarios Secondary Page Styles (scenarios.html shares showcase.css) */
.evidence-page main { padding-block: 38px 64px; }
.evidence-intro { max-width: 720px; margin-bottom: 32px; }
.preview-note {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.68;
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2.5px solid var(--lime-line);
}
.scenario-records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 44px;
}
.scenario-record {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(16, 18, 24, 0.03);
}
.scenario-record dl { margin: 0; display: grid; gap: 12px; }
.scenario-record dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime-text); font-weight: 720; }
.scenario-record dd { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.64; }
.history-section { padding-top: 34px; border-top: 1px solid var(--line); margin-bottom: 36px; }
.evidence-table-wrap { overflow-x: auto; margin-top: 16px; }
.evidence-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--surface); border-radius: 14px; overflow: hidden; }
.evidence-table caption { text-align: left; font-size: 12px; color: var(--ink-3); margin-bottom: 10px; }
.evidence-table th, .evidence-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.evidence-table th small { display: block; color: var(--ink-3); font-weight: 400; margin-top: 3px; }
.evidence-details { margin-top: 16px; color: var(--ink-2); font-size: 13.5px; }
.evidence-details summary { cursor: pointer; color: var(--lime-text); font-weight: 650; }
.evidence-start {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* Responsive Breakpoints */
@media (max-width: 1020px) {
  .wrap, .hero { width: calc(100% - 36px); }
  .hero { gap: 32px; }
  .mockup-frame { width: 312px; height: 562px; }
  .how-grid, .scenario-records { grid-template-columns: 1fr; }
  .evidence-strip { flex-direction: column; align-items: flex-start; padding: 24px; }
  .evidence-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
}

@media (max-width: 768px) {
  .wrap, .hero { width: calc(100% - 28px); }
  .show-header, .header-inner { min-height: 54px; }
  .account-link span { display: none; }
  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-block: 22px 32px;
  }
  .intro { font-size: 15px; }
  .desktop-qr-card { display: none; }
  .download-primary-col { width: 100%; }
  .download-btn { width: 100%; }
  .mockup-frame { width: 316px; height: 556px; }
  .trust-how { padding-block: 36px 16px; }
  .trust-evidence { padding-block: 12px 40px; }
  .show-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { justify-content: flex-start; gap: 10px 18px; }
}

@media (max-width: 480px) {
  .wrap, .hero { width: calc(100% - 24px); }
  h1 { font-size: 28px; line-height: 1.16; }
  .intro { font-size: 14px; }
  .scenario-pills { gap: 7px; }
  .scenario-pill { padding: 9px 10px; font-size: 12px; gap: 6px; }
  .language-picker select { max-width: 112px; padding: 5px 8px; }
  .mockup-frame {
    width: min(296px, 100%);
    height: 536px;
    border-width: 8px;
    border-radius: 38px;
  }
  .mockup-screen, .mockup-edge-glow { border-radius: 30px; }
  .agent-bubble { width: 196px; right: 11px; bottom: 78px; }
  .pet-running { right: 9px; bottom: 20px; }
  .stage-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-track, .mockup-edge-glow, .stage-dot { transition: none; }
  .tp-dot.is-live, .tdac-caret { animation: none; }
}
