:root {
  --bg: #f7f3ed;
  --card: #ffffff;
  --title: #263e57;
  --body: #4a5560;
  --muted: #68727d;
  --accent: #8a3f50;
  --gold: #9a783d;
  --border: #e6ded4;
  --focus: #1f6f8b;
  --shadow: 0 18px 45px rgba(38, 62, 87, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--body);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

body::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 42rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--title);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--title);
  line-height: 1.22;
}

h1 {
  font-size: 4.5rem;
  margin-bottom: 1.1rem;
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

p {
  margin-bottom: 1rem;
}

.site-header {
  background: rgba(247, 243, 237, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav,
.site-footer,
.section {
  margin-inline: auto;
  max-width: 1120px;
  padding-inline: 1.25rem;
}

.nav {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  color: var(--title);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  justify-content: flex-end;
}

.nav-links a,
.site-footer nav a {
  color: var(--body);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.section {
  padding-block: clamp(3rem, 8vw, 6.75rem);
}

.hero {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  min-height: calc(100vh - 72px);
}

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

.lead {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.actions,
.card-actions,
.page-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  min-height: 46px;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
}

.button.primary {
  background: var(--title);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--title);
  color: var(--title);
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.text-link {
  min-height: 44px;
  padding-block: 0.65rem;
}

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

.phone-shell {
  background: #23364a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2.1rem;
  box-shadow: var(--shadow);
  max-width: 320px;
  padding: 0.9rem;
  width: min(100%, 320px);
}

.phone-top {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  height: 0.42rem;
  margin: 0.2rem auto 0.8rem;
  width: 4.5rem;
}

.app-preview {
  aspect-ratio: 9 / 15;
  background:
    linear-gradient(160deg, rgba(138, 63, 80, 0.15), transparent 45%),
    var(--bg);
  border-radius: 1.55rem;
  color: var(--title);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
}

.preview-label {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
}

.app-preview strong {
  font-size: 1.55rem;
  line-height: 1.35;
}

.preview-lines {
  display: grid;
  gap: 0.65rem;
}

.preview-lines span {
  background: rgba(74, 85, 96, 0.16);
  border-radius: 999px;
  height: 0.7rem;
}

.preview-lines span:nth-child(2) {
  width: 76%;
}

.preview-lines span:nth-child(3) {
  width: 58%;
}

.section-heading {
  max-width: 700px;
}

.app-card,
.feature-grid article,
.info-card,
.policy article,
.contact-band {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-card {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 1.5rem;
  padding: clamp(1.3rem, 4vw, 2rem);
}

.status {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 0.55rem;
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
}

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

.feature-grid article,
.info-card,
.policy article {
  padding: 1.25rem;
}

.contact-band {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: clamp(3rem, 8vw, 6rem);
  padding: clamp(1.3rem, 4vw, 2rem);
}

address {
  display: grid;
  font-style: normal;
  gap: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 1rem;
  padding-block: 2rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.copyright {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.page-hero {
  padding-bottom: 2rem;
}

.page-hero .lead {
  max-width: 760px;
}

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

.policy {
  display: grid;
  gap: 1rem;
}

.policy ol,
.policy ul,
.info-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.policy li,
.info-card li {
  margin-bottom: 0.45rem;
}

.meta-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
}

.meta-list div {
  display: grid;
  gap: 0.15rem;
}

.meta-list dt {
  color: var(--title);
  font-weight: 900;
}

.meta-list dd {
  margin: 0;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 72px);
  place-items: center;
  text-align: center;
}

.not-found .info-card {
  max-width: 620px;
}

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

@media (max-width: 820px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.3rem;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 0.85rem;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .contact-band,
  .app-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    justify-content: flex-start;
  }

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

@media (max-width: 520px) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .lead {
    font-size: 1.12rem;
  }

  .nav,
  .site-footer,
  .section {
    padding-inline: 1rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .button {
    justify-content: center;
    width: 100%;
  }

  .actions,
  .card-actions,
  .page-links {
    align-items: stretch;
    flex-direction: column;
  }

  .phone-shell {
    max-width: 280px;
  }
}
