:root {
  color-scheme: light;
  --page: #f3f4f6;
  --ink: #16181d;
  --muted: #5f646e;
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a { transition: opacity 150ms ease; }
a:hover { opacity: .75; }
a:focus-visible { outline: 3px solid #21815f; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
section[id], footer[id] { scroll-margin-top: 24px; }
.shell { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 10; padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; }
.brand-wordmark { display: block; line-height: 0; }
.brand-wordmark img { width: 118px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 14px; font-weight: 500; }
.nav-archive { color: var(--muted); }
.nav-contact { padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; }
.site-intro { margin: 12px 0 20px; font-size: clamp(14px, 1.25vw, 16px); color: #3c4049; text-wrap: pretty; }
.eyebrow { margin: clamp(24px, 5vw, 48px) 0 clamp(16px, 2.4vw, 24px); font: 400 clamp(11px, 1.2vw, 13px)/1.7 "DM Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: #3c4049; }

.featured { overflow: hidden; background: #fff; border-radius: 24px; }
.featured-main { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding: clamp(24px, 5vw, 56px); }
.featured-copy { flex: 1 1 360px; min-width: 0; }
.featured-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 400 12px/1.7 "DM Mono", monospace; color: #257258; }
.featured-label > span { width: 8px; height: 8px; border-radius: 50%; background: #359d74; }
.featured-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.featured-icon { flex: none; width: 72px; height: 72px; border-radius: 18px; }
.featured-identity h1 { font-size: clamp(26px, 3.125vw, 40px); line-height: 1.2; font-weight: 700; }
.platform { font: 400 12px/1.7 "DM Mono", monospace; color: var(--muted); margin-top: 4px; }
.featured-description { max-width: 460px; margin-bottom: 12px; font-size: clamp(15px, 1.8vw, 17px); color: #3c4049; text-wrap: pretty; }
.featured-achievement { margin-bottom: 28px; font-size: 13px; font-weight: 700; }
.featured-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 5px; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; line-height: 1.7; }
.button-primary { background: var(--ink); color: #fff; font-weight: 700; }
.button-secondary { padding-inline: 18px; border-color: #d6d9de; }
.featured-screenshots { display: flex; flex: 1 1 300px; min-width: 0; justify-content: center; align-items: flex-start; gap: 16px; }
.featured-screenshots img { flex: none; width: min(44%, 210px); height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 24px; background: #eceef1; }
.featured-screenshots .screenshot-offset { margin-top: 40px; }
.sister-app { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px clamp(24px, 5vw, 56px); border-top: 1px solid #eceef1; background: #fafafb; }
.sister-app > img { flex: none; width: 44px; height: 44px; border-radius: 11px; }
.sister-copy { flex: 1 1 260px; }
.sister-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.sister-label { font: 400 11px/1.7 "DM Mono", monospace; color: var(--muted); }
.sister-heading h2 { font-size: 16px; font-weight: 700; }
.sister-copy p { font-size: 13px; color: var(--muted); }
.sister-platform { font: 400 12px/1.7 "DM Mono", monospace; }

.apps-section { padding-top: clamp(48px, 7vw, 80px); }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
.section-heading p { font-size: 13px; color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.app-card { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: #fff; border-radius: 20px; }
.app-icon { width: 60px; height: 60px; border-radius: 15px; }
.app-card h3 { font-size: 17px; font-weight: 700; }
.app-card p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.app-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; font: 400 12px/1.7 "DM Mono", monospace; color: var(--muted); }
.app-destination { color: var(--ink); }

.archive-section { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(48px, 7vw, 80px); padding: clamp(22px, 4vw, 36px); border: 1px dashed #c3c7ce; border-radius: 20px; }
.archive-copy { flex: 1 1 300px; }
.archive-label { margin-bottom: 4px; font: 400 12px/1.7 "DM Mono", monospace; color: var(--muted); }
.archive-copy h2 { margin-bottom: 6px; font-size: 19px; font-weight: 700; }
.archive-copy > p:last-child { font-size: 13px; color: var(--muted); text-wrap: pretty; }
.archive-links { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.archive-links a { padding: 8px 14px; border-radius: 999px; background: #e6e8eb; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 40px 0 32px; font-size: 12px; color: var(--muted); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer > span { margin-left: auto; white-space: nowrap; }

.contact-main { padding-bottom: 40px; }
.contact-main > h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.contact-intro { max-width: 680px; margin: 16px 0 32px; color: var(--muted); }
.contact-main .app-card h2 { font-size: 17px; }
.contact-destination { margin-top: auto; font-size: 13px; }
.contact-web-heading { margin-top: 40px; font-size: 19px; font-weight: 700; }
.contact-web-intro { margin: 8px 0 20px; color: var(--muted); }
.contact-note { max-width: 760px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.contact-note a { text-decoration: underline; text-underline-offset: 3px; }

.policy-main { max-width: 800px; padding-top: 20px; }
.policy-main h1 { margin-bottom: 12px; font-size: clamp(26px, 4vw, 36px); font-weight: 700; }
.policy-main h2 { margin: 32px 0 12px; font-size: 19px; font-weight: 700; }
.policy-main p { margin-top: 12px; }
.policy-main .policy-date { margin: 0 0 28px; font-size: 13px; color: var(--muted); }
.policy-main a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy-main ul { padding-left: 24px; }
.policy-main li { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
