:root {
  color-scheme: light;
  --ink: #202020;
  --muted: #626262;
  --line: #e5e5e5;
}

* { box-sizing: border-box; }
html {
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  width: min(calc(100% - 3rem), 70rem);
  margin: 0 auto;
}
.site-shell main { flex: 1; }
.page-heading h1 {
  margin: 0;
  font-size: clamp(3.7rem, 6vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.068em;
  line-height: 1.02;
}
.store-link {
  display: inline-block;
  margin-top: 1.8rem;
  line-height: 0;
}
.store-link img {
  display: block;
  width: 11.25rem;
  height: auto;
}
.device-demo {
  position: relative;
  width: min(100%, 53rem);
  aspect-ratio: 30 / 23;
  margin: 3rem auto 0;
  filter: drop-shadow(0 0.85rem 1.05rem rgb(0 0 0 / 12%));
}
.device-screen {
  position: absolute;
  top: calc(5.1304% - 1px);
  left: calc(4.1333% - 1px);
  width: calc(91.7333% + 2px);
  height: calc(89.7391% + 2px);
  overflow: hidden;
  background: #fff;
}
.device-screen img,
.device-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.device-screen video {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.device-bezel {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.page-main {
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: 3.5rem 0 0;
}
.back-home {
  display: inline-block;
  margin-bottom: 2.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.back-home:hover { color: var(--ink); }
.page-heading { padding-bottom: 3rem; }
.page-heading h1 { font-size: clamp(3.15rem, 4.5vw, 4.75rem); }
.page-heading p {
  max-width: 40rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.legal-copy,
.contact-copy {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.legal-copy h2,
.contact-copy h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}
.legal-copy h2:first-child,
.contact-copy h2:first-child { margin-top: 0; }
.legal-copy p,
.contact-copy p,
.legal-copy li {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.75;
}
.legal-copy a,
.contact-copy a { text-decoration: underline; text-underline-offset: 0.2em; }
.legal-copy code { font-size: 0.9em; }
.page-heading .legal-date { margin-top: 1rem; font-size: 0.84rem; }
.contact-address {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 1.12rem;
  font-weight: 600;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; }
.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 54rem) {
  .site-shell { width: min(calc(100% - 2.5rem), 70rem); }
  .site-footer { flex-direction: column; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .device-screen video { display: none; }
}
