/* FastFlip site theme (matches DesignTokens.swift) */
:root {
  color-scheme: light;
  --ff-navy: #0f1f4c;
  --ff-navy-deep: #0a1538;
  --ff-blue: #2563eb;
  --ff-accent: #3b82f6;
  --ff-green: #10b981;
  --ff-bg: #f3f4f8;
  --ff-card: #ffffff;
  --ff-muted: #6b7280;
  --ff-border: #e5e7eb;
  --ff-text: #0f1f4c;
  --max-width: 1120px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 64px rgba(15, 31, 76, 0.14);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ff-bg);
  color: var(--ff-text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ff-accent);
  text-decoration: none;
}

a:hover {
  color: var(--ff-navy);
}

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

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 45% at 10% -5%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 95% 5%, rgba(16, 185, 129, 0.08), transparent 50%),
    linear-gradient(180deg, #eef1f8 0%, var(--ff-bg) 40%, #e8ebf3 100%);
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  backdrop-filter: blur(16px);
  background: rgba(243, 244, 248, 0.82);
  border-bottom: 1px solid rgba(15, 31, 76, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ff-navy);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.brand span {
  font-size: 1.45rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--ff-muted);
}

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

.nav-mobile-only {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(15, 31, 76, 0.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--ff-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--ff-navy), #1e3a8a);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 31, 76, 0.28);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 31, 76, 0.36);
}

.btn-ghost {
  background: var(--ff-card);
  color: var(--ff-navy);
  border-color: var(--ff-border);
}

.btn-ghost:hover {
  color: var(--ff-navy);
  border-color: rgba(15, 31, 76, 0.22);
}

/* Hero — full-bleed brand plane */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(15, 31, 76, 0.92) 0%, rgba(30, 58, 138, 0.78) 48%, rgba(37, 99, 235, 0.55) 100%),
    url("../assets/banner-summer.png") center / cover no-repeat;
  transform: scale(1.02);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.06) translate(-1.5%, -1%); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 75% 50%, transparent 10%, rgba(10, 21, 56, 0.35) 100%),
    linear-gradient(to top, rgba(10, 21, 56, 0.55), transparent 40%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas: "copy phone";
  gap: 2rem;
  align-items: center;
  width: min(100% - 2.5rem, var(--max-width));
  margin: auto;
  padding: 4.5rem 0 3.5rem;
}

.hero-copy {
  grid-area: copy;
  color: #fff;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: brand-in 0.9s ease both;
}

@keyframes brand-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand img {
  width: clamp(88px, 14vw, 120px);
  height: clamp(88px, 14vw, 120px);
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.hero-brand-text {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-brand-text small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.28em;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
}

.hero h1 em {
  font-style: normal;
  color: #93c5fd;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero .btn-primary {
  background: #fff;
  color: var(--ff-navy);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.hero .btn-primary:hover {
  color: var(--ff-navy);
  background: #f0f4ff;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-weight: 700;
}

.scroll-hint svg {
  width: 22px;
  height: 22px;
}

.scroll-hint:hover {
  color: #fff;
}

/* Phone mockup */
.phone-stage {
  grid-area: phone;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.phone-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.45), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(100%, 300px);
  padding: 11px;
  border-radius: 44px;
  background: linear-gradient(160deg, #4a5058 0%, #2a2e34 18%, #15181c 55%, #0c0e11 100%);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #2c3036, #1a1d21);
  border-radius: 2px;
  z-index: 0;
}

.phone-btn--silent { left: -3px; top: 90px; width: 3px; height: 26px; }
.phone-btn--vol-up { left: -3px; top: 132px; width: 3px; height: 46px; }
.phone-btn--vol-down { left: -3px; top: 188px; width: 3px; height: 46px; }
.phone-btn--power { right: -3px; top: 160px; width: 3px; height: 72px; }

.phone-screen-wrap {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: var(--ff-navy);
  aspect-ratio: 9 / 19.5;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.8);
}

.phone-splash {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
}

.phone-quads {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
}

.phone-quad {
  position: relative;
  background-size: cover;
  background-position: center;
}

.phone-quad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 31, 76, 0.42), rgba(15, 31, 76, 0.28));
}

.phone-quads::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.35) calc(50% - 0.5px), rgba(255, 255, 255, 0.35) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(25% - 0.5px), rgba(255, 255, 255, 0.28) calc(25% - 0.5px), rgba(255, 255, 255, 0.28) calc(25% + 0.5px), transparent calc(25% + 0.5px)),
    linear-gradient(to bottom, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.35) calc(50% - 0.5px), rgba(255, 255, 255, 0.35) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(75% - 0.5px), rgba(255, 255, 255, 0.28) calc(75% - 0.5px), rgba(255, 255, 255, 0.28) calc(75% + 0.5px), transparent calc(75% + 0.5px));
  z-index: 1;
}

.phone-splash-logo {
  position: relative;
  z-index: 2;
  width: min(58%, 168px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-head {
  text-align: center;
  max-width: min(100%, var(--max-width));
  margin: 0 auto 2rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--ff-accent);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow .keep-case {
  text-transform: none;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  color: var(--ff-navy);
}

#features .section-head h2 {
  white-space: nowrap;
  font-size: clamp(1.15rem, 4.2vw + 0.55rem, 3.25rem);
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 0;
  color: var(--ff-muted);
  font-size: 1rem;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .section-head p {
    white-space: normal;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-item-media {
  border-radius: var(--radius);
  overflow: hidden;
  height: 160px;
  background: var(--ff-navy);
}

.feature-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-item-media--seal {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
}

.feature-item-media--seal img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1rem;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
}

.feature-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ff-navy);
}

.feature-item p {
  margin: 0;
  color: var(--ff-muted);
  font-size: 0.98rem;
}

.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.showcase--spaced {
  margin-top: 2.5rem;
}

.showcase--flip .showcase-copy {
  order: -1;
}

.showcase-panel {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(220px, 34vw, 300px);
  box-shadow: var(--shadow);
}

.showcase-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: clamp(220px, 34vw, 300px);
}

.showcase-panel--hunt,
.showcase-panel--seal {
  height: clamp(220px, 34vw, 300px);
  min-height: clamp(220px, 34vw, 300px);
  box-shadow: var(--shadow);
}

.showcase-panel--hunt {
  background: #f6e9d4;
  overflow: hidden;
}

.showcase-panel--hunt img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

.feature-item-media--treasure {
  background: #f6e9d4;
}

.feature-item-media--treasure img {
  object-fit: cover;
  object-position: center;
  padding: 0;
  box-sizing: border-box;
}

.showcase-panel--seal {
  display: grid;
  place-items: center;
  background: #eef2ff;
}

.showcase-panel--seal img {
  display: block;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 86%;
  min-height: 0;
  object-fit: contain;
  padding: 0;
  box-sizing: border-box;
}

.showcase-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ff-navy);
  letter-spacing: -0.02em;
}

.showcase-copy p {
  margin: 0 0 1rem;
  color: var(--ff-muted);
  font-size: 1.05rem;
}

.showcase-copy .btn {
  margin-top: 0.5rem;
}

.showcase-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ff-muted);
}

.showcase-list li {
  margin-bottom: 0.4rem;
}

.showcase-list li::marker {
  color: var(--ff-accent);
}

.download {
  text-align: center;
  padding: 2.5rem 0 3.5rem;
}

.download-panel {
  margin-inline: auto;
  max-width: 640px;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2rem);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(145deg, rgba(15, 31, 76, 0.96), #1e3a8a 70%, #2563eb);
  color: #fff;
  box-shadow: var(--shadow);
}

.download-panel .eyebrow {
  color: #93c5fd;
}

.download-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.download-panel p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.store-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.coming-soon-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86efac;
}

.app-store-badge {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(100%, 200px);
  opacity: 0.85;
  filter: brightness(1.05);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--ff-border);
  padding: 2.5rem 0 1.5rem;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  color: var(--ff-muted);
  font-size: 0.92rem;
  max-width: 24rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ff-navy);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--ff-muted);
  font-size: 0.92rem;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ff-border);
  color: var(--ff-muted);
  font-size: 0.85rem;
}

/* Business page */
.biz-intro {
  padding: 3rem 0 1.5rem;
}

.biz-intro-brand {
  margin-bottom: 1.25rem;
}

.biz-intro-brand .hero-brand-text {
  color: var(--ff-navy);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
}

.biz-intro-brand .hero-brand-text small {
  color: var(--ff-accent);
  opacity: 1;
}

.biz-intro-brand img {
  box-shadow: 0 12px 32px rgba(15, 31, 76, 0.18);
}

.biz-intro .showcase-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ff-navy);
}

.biz-intro .showcase-panel {
  min-height: clamp(280px, 42vw, 420px);
}

.biz-intro .showcase-panel img {
  min-height: clamp(280px, 42vw, 420px);
}

.biz-intro .hero-actions {
  margin-bottom: 0;
}

.biz-intro .btn-ghost {
  background: #fff;
}

.biz-audience {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.biz-audience--flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.biz-audience--flip .biz-audience-visual {
  order: 2;
}

.biz-audience-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
}

.biz-audience-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.biz-audience-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ff-navy);
}

.biz-audience-copy p {
  margin: 0 0 1rem;
  color: var(--ff-muted);
  font-size: 1.05rem;
}

.biz-audience-copy ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ff-muted);
}

.biz-audience-copy li + li {
  margin-top: 0.4rem;
}

.biz-how {
  background:
    linear-gradient(180deg, rgba(15, 31, 76, 0.03), transparent 40%),
    var(--ff-bg);
}

.biz-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  counter-reset: biz-step;
}

.biz-steps li {
  counter-increment: biz-step;
  position: relative;
  padding-top: 2.75rem;
}

.biz-steps li::before {
  content: counter(biz-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ff-accent);
}

.biz-steps strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ff-navy);
}

.biz-steps span {
  display: block;
  color: var(--ff-muted);
  font-size: 1rem;
}

.biz-cta {
  padding-bottom: 4rem;
}

.biz-cta-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--ff-border);
}

.biz-cta-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--ff-navy);
}

.biz-cta-copy p {
  margin: 0 0 0.85rem;
  color: var(--ff-muted);
  max-width: 32rem;
}

.biz-cta-copy p:last-child {
  margin-bottom: 0;
}

.biz-contact {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--ff-border);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(238, 242, 255, 0.9));
  box-shadow: var(--shadow);
}

.biz-contact-label {
  margin: 0;
  color: var(--ff-accent);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.biz-contact h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--ff-navy);
}

.biz-contact p {
  margin: 0;
  color: var(--ff-muted);
  font-size: 1.02rem;
  max-width: 28rem;
}

.biz-contact .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

/* Policy / help pages */
.page-main {
  padding: 3rem 0 4rem;
}

.page-main .container {
  width: min(100% - 2.5rem, 1280px);
}

.page-main h1 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--ff-navy);
  letter-spacing: -0.03em;
}

.page-intro {
  color: var(--ff-muted);
  margin-bottom: 2rem;
}

.page-intro.effective {
  margin-bottom: 0.35rem;
}

.page-intro.effective + .page-intro {
  margin-top: 1.75rem;
}

.policy-section {
  padding: 1.35rem 0;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--ff-border);
}

.policy-section:last-of-type {
  border-bottom: none;
}

.policy-section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ff-navy);
}

.policy-section p,
.policy-section li {
  margin: 0;
  color: var(--ff-muted);
}

.policy-section p + p {
  margin-top: 0.75rem;
}

.policy-section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--ff-muted);
}

.policy-section li {
  margin-bottom: 0.35rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ff-accent);
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.help-link {
  display: block;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--ff-border);
  color: var(--ff-navy);
  font-family: var(--font-display);
  font-weight: 700;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.help-link:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-1px);
  color: var(--ff-navy);
}

.help-link span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ff-muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-plane,
  .hero-brand {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "phone";
    gap: 1.75rem;
    padding: 2.75rem 0 2.5rem;
    align-items: start;
    justify-items: stretch;
  }

  .showcase,
  .footer-grid,
  .help-grid {
    grid-template-columns: 1fr;
  }

  .showcase--flip .showcase-copy {
    order: 0;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-copy {
    width: 100%;
    max-width: 36rem;
  }

  .hero-brand-text {
    font-size: clamp(2.2rem, 9vw, 3.25rem);
  }

  .hero h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.35rem);
    max-width: none;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .phone-stage {
    width: 100%;
    padding: 0.25rem 0 0.75rem;
  }

  .phone {
    width: min(58vw, 260px);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    z-index: 200;
    width: min(calc(100vw - 1.5rem), 280px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid rgba(15, 31, 76, 0.1);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: var(--shadow);
    pointer-events: auto;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.95rem;
    border-radius: 10px;
    color: var(--ff-navy);
    position: relative;
    z-index: 1;
  }

  .nav-links a:hover {
    background: rgba(15, 31, 76, 0.05);
  }

  .nav-links .nav-mobile-only {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner > .btn {
    display: none;
  }

  .section-head {
    max-width: 100%;
  }

  .section-head h2 {
    font-size: clamp(1.85rem, 6vw, 2.6rem);
  }

  #features .section-head h2 {
    font-size: clamp(1.05rem, 5.4vw, 1.65rem);
  }

  .showcase-panel,
  .showcase-panel img {
    min-height: 220px;
  }

  .showcase-panel--hunt,
  .showcase-panel--seal {
    height: 220px;
    min-height: 220px;
  }

  .showcase-panel--hunt img,
  .showcase-panel--seal img {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

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

  #features .section-head h2 {
    font-size: clamp(0.98rem, 4.8vw, 1.35rem);
  }

  .hero .container {
    gap: 1.35rem;
    padding: 2.25rem 0 2rem;
  }

  .hero-brand {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .scroll-hint {
    font-size: 1rem;
  }

  .phone {
    width: min(62vw, 230px);
  }

  .phone-splash-logo {
    width: min(54%, 140px);
  }

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

  .feature-item-media {
    height: 140px;
  }

  .showcase--spaced {
    margin-top: 1.75rem;
  }

  .download-panel {
    padding: 1.75rem 1.15rem;
  }

  .page-main {
    padding: 2rem 0 3rem;
  }

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

  .biz-audience,
  .biz-audience--flip {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .biz-audience--flip .biz-audience-visual {
    order: 0;
  }

  .biz-steps {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .biz-cta-panel {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 400px) {
  .hero-brand-text {
    font-size: clamp(1.9rem, 11vw, 2.4rem);
  }

  .phone {
    width: min(70vw, 210px);
  }
}
