:root {
  /* Exact HushZone App Palette (theme.dart + feature_graphic + app UI) */
  --page: #F4F0E6;
  --surface: #FFFDF8;
  --raised: #EBE6D8;
  --line: #D8D1BF;

  --primary: #0F6B4A;
  --primary-deep: #06392A;
  --mint-dark: #075C47;
  --leaf: #34BE79;
  --spark: #9DF0C4;
  --mint-wash: #E6F7EE;
  --mint-soft: #D7F2E4;
  --amber: #734100;
  --danger: #B3202E;

  --text: #1C1D1A;
  --muted: #55564E;

  --brand-grad: linear-gradient(135deg, #187A55 0%, #0D5F42 58%, #06392A 100%);
  --hero-wash: linear-gradient(125deg, #F4F0E6 0%, #EDF6EE 52%, #DCF2E6 100%);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --shadow-card: 0 3px 14px rgba(15, 107, 74, 0.06);
  --shadow-teal: 0 22px 54px rgba(6, 57, 42, 0.20);
  --max-w: 1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(var(--max-w), calc(100% - 40px));
  margin-inline: auto;
}

/* Header styled like HushZone HomeHeader */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 230, 0.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-radar-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-grad);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(15, 107, 74, 0.30);
  flex-shrink: 0;
}

.wordmark-hush { color: var(--text); }
.wordmark-zone { color: var(--primary); }
.wordmark-hush-light { color: #FFFFFF; }
.wordmark-zone-light { color: var(--spark); }

.on-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--mint-wash);
  border: 1px solid rgba(52, 190, 121, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

/* App-style Buttons (BrandButton in common.dart) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 18px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-grad);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(15, 107, 74, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--leaf);
  background: var(--mint-wash);
}

.btn-spark {
  background: var(--spark);
  color: var(--primary-deep);
}

.btn-spark:hover {
  background: #B9F7D6;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: 14px;
}

/* Android Coming Soon badge */
.android-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--text);
  font-weight: 800;
  font-size: 0.92rem;
  user-select: none;
}

.android-soon-badge.android-soon-sm {
  padding: 7px 13px;
  border-radius: 14px;
  font-size: 0.84rem;
}

.android-soon-badge.android-soon-banner {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(157, 240, 196, 0.4);
  color: #FFFFFF;
}

.android-soon-badge .soon-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--mint-wash);
  color: var(--primary);
  border: 1px solid rgba(52, 190, 121, 0.45);
}

.android-soon-badge.android-soon-banner .soon-pill {
  background: rgba(157, 240, 196, 0.2);
  color: var(--spark);
  border-color: rgba(157, 240, 196, 0.45);
}

/* Hero in feature_graphic + HomeHeader Emerald/Mint style */
.hero {
  background: var(--hero-wash);
  border-bottom: 1px solid var(--line);
  padding: 46px 0 68px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 40px;
  align-items: center;
}

.live-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid rgba(52, 190, 121, 0.55);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: var(--shadow-card);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(52, 190, 121, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 190, 121, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(52, 190, 121, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 190, 121, 0); }
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.35rem, 4.3vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.hero h1 .teal-accent {
  color: var(--primary);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 550px;
  margin: 0 0 24px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* Signature Emerald Ticker Bar from screenshot_1_home.png */
.teal-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.teal-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(15, 107, 74, 0.18);
}

.teal-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spark);
}

/* Hero App Stage — styled like HushZone HomeHeader + RadarPulse */
.app-stage {
  background: var(--brand-grad);
  border-radius: 30px;
  padding: 22px;
  color: #FFFFFF;
  box-shadow: var(--shadow-teal);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(157, 240, 196, 0.25);
}

.stage-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(157, 240, 196, 0.20);
}

.stage-zone-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(157, 240, 196, 0.45);
  background: rgba(6, 57, 42, 0.45);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--spark);
}

.stage-wordmark {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.screen-tab {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.90);
  padding: 6px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.screen-tab.active {
  background: var(--spark);
  color: var(--primary-deep);
  border-color: var(--spark);
}

.phone-frame-wrap {
  display: grid;
  grid-template-columns: 222px 1fr;
  gap: 18px;
  align-items: center;
}

.phone-bezel {
  background: #0B1B15;
  border-radius: 26px;
  padding: 7px;
  border: 2px solid rgba(157, 240, 196, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.phone-bezel img {
  border-radius: 19px;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.screen-caption h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  line-height: 1.22;
}

.screen-caption p {
  margin: 0 0 14px;
  font-size: 0.91rem;
  color: rgba(255, 255, 255, 0.85);
}

.screen-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spark);
  margin-bottom: 6px;
}

.screen-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.94);
}

.screen-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.screen-bullets li::before {
  content: "●";
  color: var(--leaf);
  font-size: 0.72rem;
  margin-top: 3px;
}

/* Sections */
.section {
  padding: 68px 0;
}

.section-surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-mint {
  background: linear-gradient(180deg, var(--mint-wash) 0%, var(--page) 100%);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.section-head p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
}

/* Cards with HushZone 3D Icons */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hush-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.hush-card:hover {
  border-color: var(--leaf);
  transform: translateY(-2px);
}

.hush-card.featured {
  background: var(--mint-wash);
  border-color: var(--leaf);
}

.icon3d-badge {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--page);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  padding: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}

.hush-card.featured .icon3d-badge {
  background: var(--surface);
  border-color: rgba(52, 190, 121, 0.55);
}

.icon3d-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hush-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 800;
}

.hush-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Radar + Campus Pass Simulator */
.pass-panel {
  margin-top: 24px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.mode-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mode-btn {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--page);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mode-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.mode-readout {
  background: var(--brand-grad);
  color: #FFFFFF;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

/* Radar Pulse Rings from screenshot_1_home.png */
.radar-ring-box {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 240, 196, 0.25) 0%, rgba(157, 240, 196, 0.05) 68%, transparent 72%);
  border: 1.5px solid rgba(157, 240, 196, 0.35);
  display: grid;
  place-items: center;
  position: relative;
}

.radar-ring-box::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1.5px dashed rgba(157, 240, 196, 0.45);
}

.radar-center {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-deep);
  border: 2px solid var(--spark);
  display: grid;
  place-items: center;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(157, 240, 196, 0.18);
  color: var(--spark);
  margin-bottom: 8px;
}

.mode-readout h4 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.mode-readout p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.89rem;
}

.mode-perms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.perm-chip {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

/* Spaces Grid — styled identically to screenshot_2_spaces.png */
.live-banner {
  background: var(--mint-wash);
  border: 1.5px solid var(--leaf);
  border-radius: 22px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.live-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-banner-left img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

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

.space-tile {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.space-tile:hover {
  transform: translateY(-2px);
  border-color: var(--leaf);
  background: var(--mint-wash);
}

.space-tile.live {
  background: var(--mint-wash);
  border-color: var(--leaf);
}

.space-tile img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.space-tile h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.space-tile p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.35;
}

.space-meta {
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Chat & HR Desk / Rewards Split */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.highlight-card {
  border-radius: 26px;
  padding: 28px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.highlight-card.teal {
  background: var(--brand-grad);
  color: #FFFFFF;
  border-color: rgba(157, 240, 196, 0.25);
}

.highlight-card.teal p {
  color: rgba(255, 255, 255, 0.86);
}

.card-head-with-3d {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.card-head-with-3d img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Authentic HushZone Chat Bubble Preview from screenshot_3_chat.png */
.chat-preview-stack {
  display: grid;
  gap: 10px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
}

.hz-msg {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: end;
}

.hz-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint-wash);
  border: 2px solid var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

.hz-bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 13px;
  font-size: 0.86rem;
}

.hz-author {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.80rem;
  margin-bottom: 3px;
}

.hz-quote {
  background: var(--raised);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 6px 9px;
  margin-bottom: 6px;
  font-size: 0.80rem;
  color: var(--muted);
}

.mini-shot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-shot-row img {
  border-radius: 18px;
  border: 1.5px solid rgba(157, 240, 196, 0.35);
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: top;
}

/* Safety & 5-Strike Ladder */
.strike-wrap {
  margin-top: 24px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.strike-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 14px;
}

.strike-btn {
  text-align: left;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: var(--page);
  cursor: pointer;
  font: inherit;
  transition: all 0.15s ease;
}

.strike-btn strong {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 3px;
}

.strike-btn span {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text);
}

.strike-btn.active {
  border-color: var(--primary);
  background: var(--mint-wash);
  box-shadow: 0 0 0 2px rgba(52, 190, 121, 0.25);
}

.strike-btn.danger.active {
  border-color: var(--danger);
  background: rgba(179, 32, 46, 0.08);
  box-shadow: 0 0 0 2px rgba(179, 32, 46, 0.15);
}

.strike-detail {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.93rem;
  color: var(--muted);
}

/* CTA Banner styled after feature_graphic_1024x500.png */
.cta-banner {
  background: var(--brand-grad);
  border-radius: 30px;
  padding: 38px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-teal);
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  font-weight: 900;
}

.cta-banner p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.87);
}

.cta-banner-art {
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(157, 240, 196, 0.35);
  background: var(--surface);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  font-size: 0.89rem;
  color: var(--muted);
  background: var(--surface);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 700;
}

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

/* Legal pages */
.legal-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.legal-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 900;
}

.legal-card h2 {
  margin: 26px 0 8px;
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 800;
}

.legal-card p, .legal-card li {
  color: var(--muted);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 57, 42, 0.56);
  backdrop-filter: blur(5px);
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 80;
}

.modal-backdrop.open {
  display: grid;
}

.modal {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 24px;
  width: min(490px, 100%);
  padding: 26px;
  box-shadow: var(--shadow-teal);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-head h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
}

.close-btn {
  border: 1px solid var(--line);
  background: var(--page);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
}

.form-stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.form-stack label {
  display: grid;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 700;
}

.form-stack input, .form-stack select {
  font: inherit;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #FFFFFF;
  color: var(--text);
}

.form-feedback {
  margin-top: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--mint-wash);
  border: 1px solid var(--leaf);
  color: var(--primary-deep);
  font-size: 0.88rem;
  font-weight: 700;
  display: none;
}

.form-feedback.show {
  display: block;
}

.hero-grid > *,
.pass-panel > *,
.feature-split > *,
.cta-banner > *,
.phone-frame-wrap > *,
.mode-readout > * {
  min-width: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .pass-panel,
  .feature-split,
  .cta-banner {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 760px) {
  .container {
    width: min(var(--max-w), calc(100% - 28px));
  }

  .nav-row {
    min-height: 64px;
    gap: 10px;
  }

  .brand {
    font-size: 1.18rem;
    gap: 8px;
  }

  .brand-radar-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand .on-pill {
    display: none;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .nav-actions .btn-primary.btn-sm {
    padding: 8px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .nav-links,
  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow-card);
  }

  .menu-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 28px 0 44px;
  }

  .hero-grid {
    gap: 26px;
  }

  .live-strip {
    font-size: 0.76rem;
    padding: 6px 12px;
    gap: 8px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.2vw, 2.5rem);
    margin: 14px 0 12px;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 20px;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-cta-row > .btn-primary {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-cta-row > .android-soon-badge,
  .hero-cta-row > .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 11px 12px;
    font-size: 0.86rem;
    text-align: center;
  }

  .app-stage {
    padding: 16px;
    border-radius: 24px;
  }

  .stage-top-bar {
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .screen-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .screen-tabs::-webkit-scrollbar {
    display: none;
  }

  .screen-tab {
    flex-shrink: 0;
  }

  .phone-frame-wrap,
  .mode-readout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .phone-bezel {
    max-width: 220px;
    margin-inline: auto;
  }

  .radar-ring-box {
    margin-inline: auto;
  }

  .section {
    padding: 48px 0;
  }

  .pass-panel,
  .highlight-card,
  .strike-wrap {
    padding: 18px;
    border-radius: 22px;
  }

  .mode-readout {
    padding: 16px;
  }

  .spaces-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .space-tile {
    padding: 14px 10px;
    border-radius: 18px;
  }

  .space-tile img {
    width: 56px;
    height: 56px;
  }

  .strike-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .strike-steps .strike-btn.danger {
    grid-column: 1 / -1;
  }

  .cta-banner {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .hero-cta-row {
    grid-template-columns: 1fr;
  }
}
