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

:root {
  --gold: #edc259;
  --gold-dark: #ce9638;
  --gold-light: #fbf1db;
  --gold-gradient: linear-gradient(135deg, #edc259 0%, #ce9638 100%);

  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --text-primary: #000000;
  --text-secondary: #4a4a4a;
  --text-tertiary: #6b6b6b;
  --border-color: rgba(0, 0, 0, 0.08);
  --overlay: rgba(0, 0, 0, 0.45);
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --text-primary: #ffffff;
  --text-secondary: #d4d4d4;
  --text-tertiary: #a3a3a3;
  --border-color: rgba(255, 255, 255, 0.12);
  --overlay: rgba(0, 0, 0, 0.6);
  --card-bg: #141414;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

.gold-text {
  color: var(--gold);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border-color);
  background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
  backdrop-filter: blur(12px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  max-width: 1080px;
  margin-inline: auto;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

[data-theme="dark"] .sun-icon {
  display: none;
}

[data-theme="light"] .moon-icon,
:root:not([data-theme]) .moon-icon {
  display: none;
}

/* Hero */
.hero {
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.hero-proof {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
}

/* App store buttons */
.app-store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.app-store-button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--gold) 50%, var(--border-color));
}

.app-store-button svg {
  width: 24px;
  height: 24px;
}

.app-store-button .button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.app-store-button .button-text span {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.app-store-button .button-text small {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Two doors */
.two-doors {
  padding: 3rem 0 4rem;
  background: var(--bg-secondary);
  border-block: 1px solid var(--border-color);
}

.section-kicker {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 2rem;
}

.doors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.door-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.door-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.door-card ul {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.door-card li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.door-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* Trust band */
.trust-band {
  padding: 3rem 0;
}

.trust-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.trust-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.trust-card p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.trust-card p:last-child {
  margin-bottom: 0;
}

.trust-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-links a {
  color: var(--gold);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Closing CTA */
.closing-cta {
  padding: 4rem 0 5rem;
  text-align: center;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--gold) 8%, var(--bg-primary)) 100%
  );
}

.closing-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.closing-cta p {
  color: var(--text-secondary);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 1.25rem 2rem;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: 1080px;
  margin-inline: auto;
}

.footer-grid h4 {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-grid p,
.footer-grid li {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1080px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.footer-bottom a:hover {
  color: var(--gold);
}

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
