@font-face {
  font-family: "Marcellus";
  src: url("/assets/fonts/Marcellus-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-Variable.ttf") format("truetype");
  font-display: swap;
}

:root {
  --background-top: #141723;
  --background-mid: #0f121c;
  --background-bottom: #080a12;
  --surface-base: rgba(19, 22, 31, 0.82);
  --surface-card: rgba(27, 31, 43, 0.88);
  --surface-elevated: rgba(35, 40, 55, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --gold: #d9b34d;
  --gold-bright: #e8c44a;
  --gold-light: #f0db96;
  --gold-muted: #a98d41;
  --patina: #4aa398;
  --patina-light: #9bd4cc;
  --copper: #b97a43;
  --text-primary: #f7f4ee;
  --text-secondary: rgba(247, 244, 238, 0.78);
  --text-muted: rgba(247, 244, 238, 0.58);
  --success: #47c27c;
  --border-strong: rgba(217, 179, 77, 0.24);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.05);
  --shadow-card: 0 28px 70px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 72px;
  --space-4xl: 104px;
  --container-width: 1180px;
  --legal-width: 760px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-secondary);
  background:
    radial-gradient(circle at top right, rgba(217, 179, 77, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(74, 163, 152, 0.14), transparent 34%),
    linear-gradient(160deg, var(--background-top), var(--background-mid) 44%, var(--background-bottom));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(84px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.48;
  animation: atmosphere 18s ease-in-out infinite alternate;
}

body::before {
  top: -10rem;
  right: -10rem;
  background: rgba(217, 179, 77, 0.1);
}

body::after {
  bottom: -12rem;
  left: -10rem;
  background: rgba(74, 163, 152, 0.08);
  animation-delay: -6s;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.08;
}

h1,
h2,
.display-text {
  font-family: "Marcellus", Georgia, serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2.15rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.glass-panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(36, 41, 56, 0.92), rgba(20, 24, 34, 0.82));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.section-label,
.panel-eyebrow,
.mini-label,
.meta-label,
.status-pill,
.hero-badge,
.detail-chip,
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header {
  display: grid;
  gap: 14px;
  margin-bottom: var(--space-2xl);
  max-width: 760px;
}

.section-label {
  color: var(--gold-light);
}

.section-header p,
.hero-subtitle,
.story-panel p,
.analysis-copy p,
.vault-note,
.cta-copy p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

section {
  padding: var(--space-4xl) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(7, 10, 18, 0.68);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: var(--header-height);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(217, 179, 77, 0.18);
}

.site-logo-wordmark {
  width: 136px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a.nav-cta {
  color: var(--text-primary);
  border: 1px solid rgba(217, 179, 77, 0.24);
  background: rgba(217, 179, 77, 0.08);
}

.nav-links a.nav-cta:hover {
  border-color: rgba(217, 179, 77, 0.38);
  background: rgba(217, 179, 77, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #0f1014;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-light), var(--gold));
  box-shadow:
    0 16px 34px rgba(217, 179, 77, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  box-shadow:
    0 22px 40px rgba(217, 179, 77, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-secondary {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: var(--space-4xl);
}

.hero-simple-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-simple-copy {
  display: grid;
  gap: 22px;
  max-width: 640px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  background: rgba(217, 179, 77, 0.08);
  border: 1px solid rgba(217, 179, 77, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-simple h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 6vw, 5rem);
}

.hero-simple-visual {
  display: flex;
  justify-content: center;
}

.phone-shell-simple {
  width: min(100%, 400px);
  margin: 0 auto;
}

.scan-stage-simple {
  min-height: 430px;
}

.phone-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.quick-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.quick-points li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.step-card,
.feature-card {
  padding: 26px;
  border-radius: 24px;
}

.step-card {
  display: grid;
  gap: 14px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text-primary);
  background: rgba(217, 179, 77, 0.14);
  border: 1px solid rgba(217, 179, 77, 0.24);
  font-weight: 700;
}

.feature-grid-simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  display: grid;
  gap: 10px;
}

.cta-shell-simple {
  justify-items: start;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  border: 1px solid rgba(217, 179, 77, 0.24);
  background: rgba(217, 179, 77, 0.08);
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(217, 179, 77, 0.4);
}

.hero-copy h1 {
  max-width: 10.5ch;
}

.hero-subtitle {
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stage {
  position: relative;
  min-height: 660px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 14% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 179, 77, 0.18), transparent 66%);
  filter: blur(24px);
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  margin: 74px auto 0;
  padding: 16px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(34, 39, 54, 0.96), rgba(15, 18, 27, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-pill.status-pill-muted {
  color: var(--text-muted);
}

.scan-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 462px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(217, 179, 77, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(12, 17, 29, 0.82), rgba(7, 10, 18, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.scan-stage::before {
  content: "";
  position: absolute;
  inset: 8% 14%;
  border-radius: 50%;
  border: 1px solid rgba(217, 179, 77, 0.16);
  animation: pulse-ring 7.5s ease-in-out infinite;
}

.scan-stage::after {
  content: "";
  position: absolute;
  inset: auto 16% 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.28);
}

.scan-mark {
  position: relative;
  z-index: 1;
  width: min(88%, 300px);
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.34));
  animation: float 9s ease-in-out infinite;
}

.scan-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mini-stat {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.mini-stat strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.mini-stat-accent strong {
  color: var(--success);
}

.hero-floating-card {
  position: absolute;
  z-index: 3;
  width: min(100%, 255px);
  padding: 20px;
  border-radius: 24px;
  color: var(--text-secondary);
  background:
    linear-gradient(180deg, rgba(38, 44, 60, 0.92), rgba(18, 22, 32, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.hero-floating-top {
  top: 20px;
  left: 0;
  animation: float 8.5s ease-in-out infinite;
}

.hero-floating-bottom {
  right: 0;
  bottom: 28px;
  animation: float 9.5s ease-in-out infinite;
  animation-delay: -2.5s;
}

.panel-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.coin-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.coin-pair img {
  width: 102px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 179, 77, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(217, 179, 77, 0.18);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.coin-pair img + img {
  margin-left: -18px;
}

.detail-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.detail-list li {
  position: relative;
  padding-left: 20px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--patina-light), var(--patina));
  box-shadow: 0 0 12px rgba(74, 163, 152, 0.32);
}

.story-grid,
.vault-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.story-panel,
.vault-card,
.analysis-card,
.cta-shell {
  border-radius: 28px;
}

.story-panel,
.vault-card,
.analysis-card {
  padding: 28px;
}

.story-panel {
  min-height: 270px;
}

.story-panel.accent-gold,
.analysis-card.accent-gold {
  box-shadow:
    inset 4px 0 0 var(--gold),
    var(--shadow-card);
}

.story-panel.accent-patina,
.analysis-card.accent-patina {
  box-shadow:
    inset 4px 0 0 var(--patina),
    var(--shadow-card);
}

.story-panel.accent-copper,
.analysis-card.accent-copper {
  box-shadow:
    inset 4px 0 0 var(--copper),
    var(--shadow-card);
}

.story-panel > *,
.vault-card > *,
.analysis-card > * {
  position: relative;
  z-index: 1;
}

.story-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.story-metrics,
.detail-chip-row,
.vault-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-metric {
  display: grid;
  gap: 2px;
  min-width: 120px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-metric strong {
  color: var(--text-primary);
  font-size: 1.1rem;
}

.story-note {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.analysis-band {
  padding-top: var(--space-3xl);
}

.analysis-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.analysis-copy {
  display: grid;
  gap: 16px;
  padding-top: 10px;
}

.analysis-stack {
  display: grid;
  gap: 18px;
}

.analysis-card {
  display: grid;
  gap: 12px;
}

.analysis-card strong {
  color: var(--text-primary);
  font-size: clamp(1.5rem, 4vw, 2.15rem);
}

.analysis-card .meta-label {
  color: var(--text-muted);
}

.vault-card {
  display: grid;
  gap: 16px;
}

.vault-list {
  display: grid;
  gap: 12px;
}

.vault-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.vault-list strong {
  color: var(--text-primary);
}

.vault-list span {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.value-tag {
  color: var(--gold-light);
  font-weight: 700;
}

.share-card-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(217, 179, 77, 0.16), rgba(74, 163, 152, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.share-card-preview strong {
  color: var(--text-primary);
}

.cta-banner {
  padding-top: var(--space-3xl);
}

.cta-shell {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: 34px;
}

.cta-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.cta-brand img:first-child {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.cta-brand img:last-child {
  width: 150px;
}

.cta-copy {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 34px 0 40px;
  border-top: 1px solid var(--border-soft);
  background: rgba(8, 10, 18, 0.42);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(160px, 220px));
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 430px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.footer-logo .site-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.footer-logo .site-logo-wordmark {
  width: 126px;
}

.footer-heading {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-nav-group {
  display: grid;
  align-content: start;
}

.footer-links {
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.legal-page {
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: var(--space-3xl);
}

.legal-shell {
  width: min(100%, var(--legal-width));
}

.legal-page h1 {
  margin-bottom: 10px;
}

.last-updated {
  margin-bottom: var(--space-2xl);
  color: var(--text-muted);
}

.legal-page h2 {
  margin-top: var(--space-2xl);
  margin-bottom: 14px;
  font-size: 1.65rem;
}

.legal-page h3 {
  margin-top: var(--space-lg);
  margin-bottom: 10px;
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
}

.legal-page p {
  margin-bottom: 14px;
}

.legal-page ul,
.legal-page ol {
  margin-bottom: 14px;
  padding-left: 22px;
}

.legal-page li + li {
  margin-top: 10px;
}

.legal-page strong {
  color: var(--text-primary);
}

.legal-page a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.8;
  }
}

@keyframes atmosphere {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(18px, -24px, 0) scale(1.08);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .analysis-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-stage .phone-shell {
    margin-top: 160px;
  }
}

@media (max-width: 920px) {
  .hero-simple-layout {
    grid-template-columns: 1fr;
  }

  .hero-simple-copy {
    max-width: 760px;
  }

  .hero-simple h1 {
    max-width: 12ch;
  }

  .hero-simple-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .step-grid,
  .feature-grid-simple,
  .phone-highlights,
  .story-grid,
  .vault-grid,
  .scan-insights {
    grid-template-columns: 1fr;
  }

  .hero-floating-top,
  .hero-floating-bottom {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .hero-stage {
    display: grid;
    gap: 18px;
  }

  .phone-shell {
    order: 2;
    margin: 0 auto;
  }

  .hero-floating-top {
    order: 1;
  }

  .hero-floating-bottom {
    order: 3;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links li:not(:last-child) {
    display: none;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 32px);
  }

  .hero-simple h1,
  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.3rem, 12vw, 3.35rem);
  }

  .hero-kicker {
    font-size: 0.74rem;
  }

  .cta-shell,
  .story-panel,
  .vault-card,
  .analysis-card {
    padding: 24px;
  }

  .cta-actions,
  .hero-actions {
    width: 100%;
  }

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

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .site-logo-wordmark {
    width: 118px;
  }

  .site-logo-icon {
    width: 42px;
    height: 42px;
  }

  .phone-shell {
    border-radius: 30px;
    padding: 14px;
  }

  .step-card,
  .feature-card {
    padding: 22px;
  }

  .scan-stage {
    min-height: 400px;
  }

  .footer-links {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
