:root {
  color-scheme: light;
  --bg: #f4efe5;
  --bg-2: #e9e2d5;
  --card: #fdfaf4;
  --ink: #20332c;
  --ink-2: #677069;
  --accent: #49675a;
  --accent-2: #30483e;
  --gold: #b88a35;
  --clay: #a85c3e;
  --dark: #16231e;
  --dark-ink: #f2eee5;
  --dark-ink-2: #aeb9b2;
  --line: color-mix(in srgb, var(--accent) 13%, transparent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  height: 66px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.nav-cta {
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 76px 0 40px;
  text-align: center;
}

.hero::before {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 138, 53, 0.16), transparent 68%);
  content: "";
  inset: -160px auto auto calc(50% - 260px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.feature-section h2,
.cta-band h2,
.page-hero h1 {
  font-family: Fraunces, Georgia, serif;
  color: var(--ink);
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.hero h1 .highlight {
  color: var(--accent);
  font-style: italic;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--ink-2);
  font-size: clamp(17px, 2.3vw, 21px);
}

.store-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  position: relative;
  display: inline-block;
  pointer-events: none;
}

.store-badge img {
  width: auto;
  height: 56px;
  filter: grayscale(1) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
  opacity: 0.48;
}

.store-badge::after {
  position: absolute;
  bottom: -22px;
  left: 50%;
  color: var(--ink-2);
  content: "Submission in progress";
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.availability {
  margin: 36px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

.availability strong {
  color: var(--gold);
}

.showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 3vw, 44px);
  margin-top: 56px;
  padding-bottom: 20px;
}

.screen {
  width: clamp(190px, 26vw, 300px);
  overflow: hidden;
  border: 1px solid rgba(32, 51, 44, 0.11);
  border-radius: clamp(24px, 3vw, 42px);
  background: #e9e3d8;
  box-shadow: 0 28px 58px rgba(28, 39, 34, 0.22);
  transition: transform 240ms ease;
}

.screen.side {
  width: clamp(150px, 21vw, 250px);
  margin-bottom: 26px;
  opacity: 0.94;
}

.screen img {
  width: 100%;
  height: auto;
}

.screen:hover {
  transform: translateY(-8px);
}

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 52px 0;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--accent);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.stat span {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

.feature-section {
  padding: 88px 0;
}

.feature-section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-lead {
  max-width: 590px;
  margin: 0 auto 56px;
  color: var(--ink-2);
  font-size: 18px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 22px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: 30px 28px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.feature-card:hover {
  box-shadow: 0 18px 40px rgba(28, 39, 34, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.feature-icon svg {
  width: 27px;
  height: 27px;
}

.feature-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.feature-card p {
  color: var(--ink-2);
  font-size: 15.5px;
}

.cta-band {
  padding: 92px 0;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.cta-band p {
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--ink-2);
  font-size: 18px;
}

.site-footer {
  background: var(--dark);
  color: var(--dark-ink);
  padding: 56px 0 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
}

.footer-links a {
  color: color-mix(in srgb, var(--dark-ink) 80%, var(--accent));
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.more-apps a:hover,
.more-apps a:focus-visible {
  color: #fff;
}

.disclaimer {
  max-width: 680px;
  color: var(--dark-ink-2);
  font-size: 12.5px;
  line-height: 1.65;
}

.more-apps,
.made-by {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.more-apps {
  gap: 8px;
}

.more-apps small,
.made-by small {
  color: var(--dark-ink-2);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.more-apps nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
}

.more-apps a {
  color: var(--dark-ink-2);
  transition: color 160ms ease;
}

.made-by {
  gap: 7px;
  padding-top: 8px;
}

.made-by img {
  width: auto;
  height: 22px;
  opacity: 0.9;
}

.made-by a:hover img,
.made-by a:focus-visible img {
  opacity: 1;
}

.page-hero {
  padding: 76px 0 46px;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.page-hero p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: 18px;
}

.page-hero a,
.document-card a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.document-card {
  max-width: 850px;
  margin: 0 auto 96px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  padding: clamp(28px, 6vw, 62px);
  box-shadow: 0 18px 48px rgba(28, 39, 34, 0.08);
}

.document-card h2 {
  margin: 38px 0 10px;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 25px;
  line-height: 1.2;
}

.document-card h2:first-child {
  margin-top: 0;
}

.document-card p,
.document-card li {
  color: var(--ink-2);
}

.faq {
  border-top: 1px solid var(--line);
  padding: 24px 0 5px;
}

.faq:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq h2,
.faq h2:first-child {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 21px;
}

@media (max-width: 680px) {
  .hero {
    padding: 52px 0 20px;
  }

  .showcase {
    gap: 0;
    margin-top: 40px;
  }

  .screen.side {
    display: none;
  }

  .screen {
    width: min(72vw, 290px);
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-hero {
    padding-top: 54px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
