:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --ink: #26221e;
  --muted: #64594f;
  --line: #d9cbbd;
  --accent: #a43922;
  --dark: #29231e;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.25em; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: 0.6rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top { min-height: 5.6rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 1.12rem; font-weight: 750; letter-spacing: -0.055em; text-decoration: none; white-space: nowrap; }
.brand-light { font-weight: 450; }
.top nav { display: flex; gap: clamp(0.8rem, 3.2vw, 2.4rem); }
.top nav a, .footer > a:last-child { font-size: 0.88rem; text-decoration: none; }
.top nav a:hover, .footer a:hover, a[aria-current="page"] { text-decoration: underline; }

.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(1.75rem, 5.5vw, 5rem); align-items: center; padding-block: clamp(2.6rem, 6vw, 5.4rem); }
.eyebrow { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1.3rem; font-size: 0.74rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
.dot { width: 0.6rem; height: 0.6rem; flex: 0 0 auto; border-radius: 50%; background: var(--accent); }
.app-mark { display: block; flex: 0 0 auto; border-radius: 24%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 6.5vw, 6.25rem); line-height: 0.98; letter-spacing: -0.083em; }
h1 > span { color: var(--accent); }
.intro { max-width: 36ch; margin-block: 1.7rem 2rem; color: var(--muted); font-size: clamp(1.02rem, 1.65vw, 1.28rem); line-height: 1.6; }
.privacy-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; margin: 1.3rem 0 0; padding: 0; list-style: none; font-size: 0.86rem; font-weight: 650; }
.privacy-points li { display: inline-flex; align-items: center; gap: 0.42rem; }
.privacy-points li::before { content: ""; width: 0.65rem; height: 0.38rem; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-1px); }
.privacy-points + .button { margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; gap: 1.3rem; padding: 0.86rem 1.2rem; border-radius: 0.35rem; color: #fff9ed; background: var(--accent); font-weight: 680; font-size: 0.93rem; text-decoration: none; }
.button:hover { background: #842b18; }
.button:focus-visible { outline-color: var(--accent); }

.art { position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; margin: 0; padding: 3.55rem 1.25rem 3.45rem; border: 1px solid #d1ad94; border-radius: 0.55rem; background-color: #ead1bc; background-image: linear-gradient(#80432a18 1px, transparent 1px), linear-gradient(90deg, #80432a18 1px, transparent 1px); background-size: 2rem 2rem; }
.art::before { content: ""; position: absolute; z-index: -1; width: 84%; aspect-ratio: 1; border-radius: 50%; background: #d39576; }
.art figcaption { position: absolute; top: 1rem; left: 1rem; right: 1rem; display: flex; justify-content: space-between; gap: 1rem; }
.art figcaption, .art-note, .section-index, .step-number { font-family: ui-monospace, Consolas, monospace; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em; }
.device { width: min(62%, 14.7rem); border: 0.42rem solid #29231e; border-radius: 1.55rem; overflow: hidden; box-shadow: 0.6rem 0.75rem 0 #70372136; background: #f4f0e6; }
.device img { display: block; width: 100%; height: auto; }
.art-note { position: absolute; bottom: 0.95rem; left: 1rem; }
.art-note span { margin-right: 0.45rem; color: var(--accent); }

.routine { padding-block: 3.8rem 4.1rem; border-top: 1px solid var(--line); }
.section-index { color: var(--accent); }
h2 { font-size: clamp(2.15rem, 4.7vw, 4rem); line-height: 1.02; letter-spacing: -0.065em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.8rem); margin-top: 2.2rem; }
.steps article { border-top: 1px solid var(--line); padding-top: 1rem; }
.step-number { margin: 0 0 0.75rem; color: var(--accent); }
h3 { font-size: 1.25rem; letter-spacing: -0.04em; }
.steps article p:last-child, .policy section p { color: var(--muted); line-height: 1.6; }

.download { display: grid; grid-template-columns: 1fr 0.9fr; align-items: start; gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.6rem, 5vw, 3.6rem); border-radius: 0.55rem; background: var(--dark); color: #fff9ed; }
.download .section-index { color: #f0a387; }
.download p:not(.eyebrow) { color: #e3d5c8; line-height: 1.65; }
.download h2 + p { max-width: 39ch; }
.questions { border-top: 1px solid #776759; }
details { border-bottom: 1px solid #776759; }
summary { cursor: pointer; padding-block: 0.95rem; font-size: 0.95rem; font-weight: 650; }
details p { margin: 0 0 1rem; font-size: 0.92rem; }
.footer { padding-block: 1.6rem; margin-top: 1.4rem; }
.policy { max-width: 47rem; padding-block: 4rem 2rem; }
.policy section { margin-block: 2.5rem; }
.policy h2 { font-size: 1.65rem; letter-spacing: -0.04em; }

@media (max-width: 50rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero { grid-template-columns: 1fr 0.88fr; gap: 1.5rem; }
  .hero-break { display: none; }
  .device { width: min(72%, 13rem); }
  .art figcaption, .art-note { font-size: 0.58rem; }
}

@media (max-width: 39rem) {
  .wrap { width: calc(100% - 2rem); }
  .top { min-height: 4.35rem; }
  .top .brand { gap: 0.45rem; font-size: 1.02rem; }
  .top .brand img { width: 28px; height: 28px; }
  .top nav a { font-size: 0.8rem; }
  .hero, .download, .steps { grid-template-columns: 1fr; }
  .hero { gap: 2.25rem; padding-block: 2.9rem; }
  .device { width: min(64%, 12.6rem); }
  .routine { padding-block: 2.75rem; }
  .steps { margin-top: 1.6rem; gap: 0.8rem; }
  .policy { padding-block: 2.75rem 1rem; }
}
