:root {
  --canvas: #e9e2d8;
  --card: #fbf7f2;
  --ink: #1b1814;
  --muted: #6f675f;
  --line: #ddd4c8;
  --accent: #d15a38;
  --accent-ink: #fff8f4;
  --shadow: 0 24px 60px rgba(48, 32, 18, 0.12);
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(209, 90, 56, 0.16), transparent 60%),
    var(--canvas);
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(233, 226, 216, 0.86);
  border-bottom: 1px solid rgba(27, 24, 20, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.mark {
  width: 28px;
  height: 28px;
  border: 1.5px dashed var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.mark span {
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 5px var(--accent);
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  color: var(--ink);
}

.hero { padding: 72px 0 36px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(46px, 6vw, 76px); margin: 0 0 16px; }
h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 8px; }
.lede { font-size: 19px; color: var(--muted); max-width: 38rem; margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
  font: inherit;
}
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.ghost { background: transparent; border-color: #c9bfb2; color: var(--ink); }
.button:disabled { opacity: 0.45; cursor: not-allowed; }

.phone {
  background: var(--card);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 28px 24px 22px;
  min-height: 460px;
  position: relative;
}
.phone-top { display: flex; justify-content: space-between; align-items: flex-start; }
.today { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.date { font-family: var(--serif); font-size: 28px; margin: 4px 0 0; }
.ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 66%, #f0e4d8 66% 100%);
  display: grid;
  place-items: center;
}
.ring span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.task { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.task:last-child { border-bottom: 0; }
.box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #c8b8a8; flex: none; }
.box.done { background: var(--accent); border-color: var(--accent); }
.task p { margin: 0; }
.task small { color: var(--muted); }
.task.done p { text-decoration: line-through; color: var(--muted); }
.note { margin-top: 18px; color: var(--muted); font-size: 14px; }

section { padding: 64px 0; }
.section-intro { max-width: 40rem; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .faq details, .legal, .download-card, .notice {
  background: var(--card);
  border-radius: 22px;
  padding: 22px;
}
.card p, .faq p, .legal p, .notice p { color: var(--muted); margin: 0; }
.card p { margin-top: 6px; }
.faq { display: grid; gap: 12px; }
.faq details { padding: 6px 22px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 14px 0; }
.faq p { padding-bottom: 14px; }

.legal h1 { font-size: clamp(40px, 5vw, 60px); }
.legal h2 { font-size: 28px; margin-top: 32px; }
.meta { color: var(--muted); margin-bottom: 8px; }
.legal a, .notice a, .check a { color: var(--accent); }

.download-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; }
.check input { margin-top: 5px; }
.specs { list-style: none; padding: 0; margin: 18px 0 0; }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.specs span { color: var(--muted); }
.notice { margin-top: 16px; border: 1px solid #ead2c6; }
.notice h3 { margin-top: 0; }

.site-footer { padding: 28px 0 48px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.site-footer nav { display: flex; gap: 16px; }
.site-footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero, .grid, .download-layout { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: var(--card);
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
}
