:root {
  --bg: #f4efe7;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #1f2933;
  --muted: #5f6c76;
  --accent: #1e847f;
  --accent-dark: #145b58;
  --warm: #b5773e;
  --border: rgba(31, 41, 51, 0.12);
  --shadow: 0 24px 80px rgba(31, 41, 51, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(30, 132, 127, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(181, 119, 62, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f4ee 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 24px auto;
}

.hero,
.section,
.site-footer {
  position: relative;
}

.hero {
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    linear-gradient(120deg, rgba(30, 132, 127, 0.12), rgba(181, 119, 62, 0.1));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -60px;
  right: 140px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(181, 119, 62, 0.16), transparent 66%);
}

.hero::after {
  right: -80px;
  top: 100px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(30, 132, 127, 0.18), transparent 65%);
}

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

.brand,
.nav-links a,
.text-link,
.button {
  text-decoration: none;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 32px;
}

.eyebrow,
.section-label,
.app-badge {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.05;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

p,
dd {
  margin-top: 0;
  line-height: 1.7;
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 1rem;
}

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

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.text-link:hover,
.nav-links a:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 14px 28px rgba(20, 91, 88, 0.24);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.66);
}

.section {
  margin-top: 28px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

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

.app-grid,
.panel-grid {
  display: grid;
  gap: 20px;
}

.app-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
}

.panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-card,
.info-panel,
.policy-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.featured {
  background:
    linear-gradient(160deg, rgba(30, 132, 127, 0.12), rgba(255, 255, 255, 0.92)),
    var(--surface-strong);
}

.placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(231, 221, 208, 0.72));
}

.app-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  margin-bottom: 18px;
  border-radius: var(--radius-pill);
  background: rgba(30, 132, 127, 0.12);
  color: var(--accent-dark);
}

.app-badge.muted {
  background: rgba(31, 41, 51, 0.08);
  color: var(--muted);
}

.app-meta,
.faq-list {
  margin: 18px 0 0;
  padding: 0;
}

.app-meta {
  list-style: none;
}

.app-meta li {
  padding: 10px 0;
  border-top: 1px solid rgba(31, 41, 51, 0.08);
  color: var(--muted);
}

.card-actions {
  margin-top: 22px;
}

.text-link {
  font-weight: 800;
  color: var(--accent-dark);
}

.section-split {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(231, 221, 208, 0.58)),
    var(--surface);
}

.muted-text {
  font-size: 0.96rem;
}

.faq-list div + div {
  margin-top: 18px;
}

dt {
  margin-bottom: 6px;
  font-weight: 800;
  color: var(--text);
}

.policy-card h3 {
  margin-top: 24px;
}

.policy-card h3:first-of-type {
  margin-top: 0;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0 32px;
  padding: 8px 4px;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .app-grid,
  .panel-grid,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
  }

  h1 {
    max-width: 15ch;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin: 10px auto;
  }

  .hero,
  .section {
    padding: 22px 18px;
    border-radius: 24px;
  }

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

  .button {
    width: 100%;
  }
}
