:root {
  --bg: #f5ead8;
  --bg-deep: #ebddc5;
  --ink: #201e1d;
  --muted: #6a6257;
  --accent: #c67139;
  --accent-soft: #c6713922;
  --display: "Caprasimo", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; min-height: 100%;
  font-family: var(--sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.atmosphere {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, var(--accent-soft), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
}
.top { display: flex; align-items: center; gap: 12px; padding: 28px clamp(20px, 5vw, 64px); }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700;
}
.brand { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.hero { padding: clamp(32px, 8vw, 96px) clamp(20px, 5vw, 64px); max-width: 760px; }
.hero h1 {
  font-family: var(--display); font-weight: 700; margin: 0 0 20px;
  font-size: clamp(2.25rem, 6vw, 3.75rem); line-height: 1.05; letter-spacing: -0.02em;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.6; color: var(--muted); margin: 0 0 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 12px;
  font-weight: 600; text-decoration: none; transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--muted); }
.features { padding: clamp(24px, 6vw, 72px) clamp(20px, 5vw, 64px); display: grid; gap: clamp(48px, 8vw, 96px); }
.feature { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(even) .shot { order: -1; }
  /* Two columns are for a feature paired with a screenshot. A text-only one
     kept in that grid leaves a tall empty column beside it, and a wide facts
     table gets squeezed into half the width. Both go full-width instead. */
  .feature-textonly { grid-template-columns: 1fr; }
  .feature-wide { grid-template-columns: 1fr; }
}
.feature h2 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; }
.feature p { color: var(--muted); line-height: 1.65; margin: 0; font-size: 1.05rem; }
.feature-textonly { grid-template-columns: 1fr; max-width: 68ch; }
/* The 68ch cap is a reading measure for prose. A wide facts table is not
   prose, and the cap squeezes it — so a text-only feature carrying one drops
   the cap while the others keep it. */
.feature-textonly.feature-wide { max-width: none; }
.facts { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .95rem; }
.facts th, .facts td { text-align: left; padding: 9px 0; vertical-align: top; border-bottom: 1px solid color-mix(in srgb, var(--muted) 20%, transparent); }
.facts th { font-weight: 600; padding-right: 20px; width: 45%; }
.facts td { color: var(--muted); }
.shot img {
  width: 100%; height: auto; display: block; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--muted) 25%, transparent);
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.45);
}
footer {
  padding: 48px clamp(20px, 5vw, 64px); color: var(--muted);
  border-top: 1px solid color-mix(in srgb, var(--muted) 20%, transparent); margin-top: 48px;
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
