:root {
  color-scheme: light;
  --bg: #f7f1e8;
  --panel: #fffdf8;
  --panel-strong: #f0e2d2;
  --ink: #18211d;
  --muted: #667269;
  --line: #ddd0c1;
  --accent: #7a4a63;
  --accent-dark: #4d2d3d;
  --soft: #efe8de;
  --shadow: 0 24px 80px rgba(24, 33, 29, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(122, 74, 99, 0.14), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(92, 122, 101, 0.16), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.site-header, .site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header { padding: 24px 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(24, 33, 29, 0.12);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
}

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

nav a, .site-footer a { text-decoration: none; }
nav a:hover, .site-footer a:hover { color: var(--accent); }

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 7vw, 86px);
  padding: 56px 0 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(3rem, 8vw, 6.6rem); max-width: 820px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.35rem; }

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 24px 0 0;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
}

.button.primary { background: var(--ink); color: var(--bg); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,0.45); color: var(--ink); }

.hero-card {
  justify-self: center;
  width: min(100%, 380px);
  padding: 18px;
  border-radius: 38px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
}

.phone-frame {
  min-height: 520px;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(160deg, var(--panel), var(--panel-strong));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
}

.status-pill {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(122, 74, 99, 0.12);
  color: var(--accent-dark);
  font-weight: 750;
}

.phone-frame p { color: var(--muted); margin: 0; }

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.section {
  margin: 28px 0;
  padding: clamp(28px, 6vw, 56px);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(221, 208, 193, 0.75);
  border-radius: 32px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}

.section p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section h2 + p { margin-top: 20px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.feature-card {
  min-height: 230px;
  padding: 28px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(24, 33, 29, 0.06);
}

.feature-card p { color: var(--muted); margin: 14px 0 0; }
.callout { margin-bottom: 72px; }
.callout .button { margin-top: 24px; }

.content-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 76px;
}

.content-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.content-card h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.content-card h2 { font-size: 1.45rem; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.content-card p, .content-card li { color: var(--muted); }
.content-card a { color: var(--accent-dark); font-weight: 700; }

.notice {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid rgba(221, 208, 193, 0.75);
}

@media (max-width: 820px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .hero, .split, .feature-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .phone-frame { min-height: 420px; }
}
