:root {
  --bg: #f7f3eb;
  --bg-soft: #fffdf8;
  --card: rgba(255, 252, 245, 0.88);
  --card-border: rgba(62, 48, 35, 0.1);
  --text: #201a16;
  --muted: #6c625a;
  --accent: #9d6c3b;
  --accent-soft: rgba(157, 108, 59, 0.1);
  --shadow: rgba(55, 38, 22, 0.08);
  --line: rgba(62, 48, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(157, 108, 59, 0.1), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, #f3ede3 100%);
}

body {
  line-height: 1.55;
}

main {
  display: grid;
}

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

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  margin-bottom: 28px;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(62, 48, 35, 0.08);
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
}

.site-nav,
.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: 0 18px 44px var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 44px 0 48px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2 {
  margin: 0 0 14px;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  max-width: 12ch;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.lede {
  max-width: 58ch;
  font-size: 1.06rem;
  color: #544941;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button-primary {
  background: var(--accent);
  color: #fffaf3;
  box-shadow: 0 14px 28px rgba(157, 108, 59, 0.18);
}

.button-secondary {
  background: transparent;
  border: 1px solid var(--line);
}

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

.button-secondary:hover {
  border-color: rgba(62, 48, 35, 0.22);
}

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

.mock-window {
  width: min(360px, 100%);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(62, 48, 35, 0.12);
  background: #fffdf9;
  box-shadow: 0 18px 44px var(--shadow);
}

.mock-window-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(157, 108, 59, 0.08);
}

.mock-window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(157, 108, 59, 0.24);
}

.mock-window-body {
  padding: 24px 22px 28px;
}

.mock-window-body p:first-child {
  color: var(--text);
  font-weight: 600;
}

.section-heading {
  max-width: 24rem;
}

.info-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.section-body > *:last-child {
  margin-bottom: 0;
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 10px;
}

.section-intro {
  max-width: 60ch;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 14px;
}

.platform-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(157, 108, 59, 0.16);
  color: #473427;
  font-weight: 600;
}

.footnote,
.legal-meta {
  color: #877a70;
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 28px;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.legal-shell {
  max-width: 920px;
}

.legal-card {
  padding: 32px;
  background: rgba(255, 253, 249, 0.96);
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 1.22rem;
}

@media (max-width: 860px) {
  .hero,
  .info-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px 0 36px;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 16px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-card {
    padding: 22px;
  }
}
