/* Existing Hadeonmal palette. One adaptive theme; no remote fonts.
   Radius: 8px controls, 12px passages, 28px real screen frame.
   Layers: page 0, sticky navigation 10, native dialog top layer. */
:root {
  color-scheme: light dark;
  --canvas: #f8f7f3; --surface: #fdfdfb; --ink: #172322;
  --muted: #626b68; --accent: #315e49; --on-accent: #f8f7f3;
  --tint: #e8ede7; --line: #cdd4cd; --control-line: #7b8c80;
  --shadow: 0 16px 46px rgb(37 68 51 / 10%);
  --page: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  font-synthesis: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #141c18; --surface: #1c2922; --ink: #eff2ec;
    --muted: #b6c1b8; --accent: #a9cdb7; --on-accent: #172c20;
    --tint: #23362b; --line: #41574a; --control-line: #879f8f;
    --shadow: 0 16px 46px rgb(6 20 13 / 24%);
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 17px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 5px;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1.15em; }
h1, h2, h3 { margin: 0; line-height: 1.35; font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.1vw, 3.35rem); line-height: 1.27; }
h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
h3 { font-size: 1.2rem; }
ul, ol { padding-left: 1.35em; }
li + li { margin-top: .6em; }
.wrap { width: min(var(--page), calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 780px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 11; background: var(--surface); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--canvas); border-bottom: 1px solid var(--line); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 550; color: var(--muted); text-decoration: none; padding: 16px 0; white-space: nowrap; }
.nav-links a[aria-current='page'] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }
.nav-links a:hover { color: var(--ink); }
.menu-button { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); border-radius: 8px; font-size: 16px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.button:hover { text-decoration: none; box-shadow: var(--shadow); }
.button:active { transform: translateY(1px); }
.button.secondary { background: transparent; color: var(--accent); border-color: var(--control-line); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-weight: 600; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.hero { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 72px; padding-block: 40px 44px; }
.hero-copy { padding-block: 24px; }
.descriptor { font-size: 16px; color: var(--accent); margin-bottom: 22px; font-weight: 600; }
.hero h1 span { display: block; }
.hero-intro { max-width: 465px; margin-top: 24px; color: var(--muted); font-size: 18px; }
.hero-media { justify-self: center; text-align: center; }
.screen-link { display: inline-block; border-radius: 28px; color: var(--accent); text-decoration: none; }
.screen { width: 258px; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.screen-link:hover .screen { border-color: var(--accent); }
figcaption { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 14px; text-wrap: balance; }
.section { padding-block: 86px; border-top: 1px solid var(--line); }
.section-intro { max-width: 650px; margin-bottom: 38px; }
.section-intro p { color: var(--muted); margin-top: 16px; }
.experience-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 38px; }
.experience-tabs button { color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 22px; min-height: 52px; font-weight: 600; white-space: nowrap; }
.experience-tabs button[aria-selected='true'] { color: var(--accent); border-bottom-color: var(--accent); }
.experience-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.experience-panel + .experience-panel { margin-top: 56px; }
.js .experience-panel { margin-top: 0; }
.experience-figure { justify-self: center; text-align: center; }
.experience-figure .screen { width: 276px; }
.experience-copy { max-width: 450px; }
.experience-copy p { color: var(--muted); }
.experience-copy h3 { font-size: 1.8rem; margin-bottom: 22px; }
.passage { border-left: 3px solid var(--accent); padding-left: 24px; margin: 28px 0; }
.passage blockquote { font-size: clamp(1.5rem, 2.5vw, 2.05rem); font-weight: 550; letter-spacing: -.025em; line-height: 1.5; margin: 0 0 12px; word-break: normal; }
.passage p { font-size: 17px; margin: 0; }
.caption-note { font-size: 14px; }
.future-section { background: var(--tint); }
.future-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.future-layout > div { max-width: 470px; }
.future-layout h2 { margin-bottom: 20px; }
.future-layout p { color: var(--muted); }
.flow { list-style: none; padding: 0 0 0 26px; margin: 0; border-left: 2px solid var(--accent); }
.flow li { margin: 0; padding: 0 0 28px; }
.flow li:last-child { padding-bottom: 0; }
.flow h3 { margin-bottom: 8px; }
.flow p { margin: 0; }
.section-note { font-size: 15px; }
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 21px 4px; font-weight: 600; font-size: 18px; }
details p { color: var(--muted); padding: 0 4px 20px; margin: 0; max-width: 720px; }
.end-note { padding-block: 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.end-note p { margin: 0; font-size: 20px; font-weight: 600; }
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px; }
.footer-name { font-size: 19px; font-weight: 650; margin-bottom: 6px; }
.footer-inner p { color: var(--muted); font-size: 13px; margin: 0; }
.footer-links { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.page-intro { padding-block: 66px 40px; max-width: 800px; }
.page-intro h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.page-intro p { margin: 20px 0 0; color: var(--muted); max-width: 690px; font-size: 18px; }
.page-intro .descriptor { margin: 0 0 18px; font-size: 15px; }
.notice { padding: 24px 28px; border-left: 3px solid var(--accent); background: var(--tint); margin-bottom: 42px; }
.notice h2, .notice h3 { font-size: 20px; margin-bottom: 12px; }
.notice p { margin-bottom: 10px; }
.notice p:last-child { margin: 0; }
.prose { padding-bottom: 68px; }
.prose h2 { margin: 42px 0 18px; font-size: 1.7rem; }
.prose h3 { margin: 24px 0 12px; }
.prose p, .prose li { max-width: 750px; }
.meta-list { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 28px; font-size: 15px; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; }
.guide-layout { display: grid; grid-template-columns: 1fr 248px; gap: 64px; align-items: start; }
.guide-figure { position: sticky; top: 110px; text-align: center; }
.guide-figure .screen { width: 220px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 24px 0; margin: 0; border-bottom: 1px solid var(--line); }
.checklist label { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 20px; font-weight: 600; line-height: 1.55; }
.checklist input { width: 23px; height: 23px; margin: 5px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.checklist p { margin: 12px 0 0 37px; color: var(--muted); font-size: 16px; }
.check-status { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 24px; }
.check-status p { margin: 0; font-size: 15px; color: var(--muted); }
.small-button { background: transparent; color: var(--accent); border: 1px solid var(--control-line); border-radius: 8px; padding: 9px 14px; min-height: 44px; font-size: 14px; }
.feedback-template { width: 100%; min-height: 210px; resize: vertical; display: block; border: 1px solid var(--control-line); background: var(--surface); color: var(--ink); border-radius: 8px; padding: 18px; font-size: 16px; line-height: 1.7; margin-block: 10px 18px; }
.status-text { font-size: 15px; min-height: 27px; color: var(--muted); }
.privacy-contents { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; list-style: none; margin: 22px 0 32px; }
.privacy-contents li { margin: 0; }
.privacy-contents a { min-height: 44px; display: inline-flex; align-items: center; }
dialog { border: 1px solid var(--line); background: var(--canvas); color: var(--ink); border-radius: 12px; width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 20px; }
dialog::backdrop { background: rgb(10 26 18 / 72%); }
.dialog-bar { position: sticky; top: -20px; background: var(--canvas); display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 16px; }
.dialog-bar h2 { font-size: 18px; }
.dialog-image { width: min(100%, 420px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .button, .small-button, .screen { transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease; }
}
@media (max-width: 1023px) {
  .hero { gap: 36px; }
  .hero h1 { font-size: 2.65rem; }
  .nav-links { gap: 18px; }
  .future-layout { gap: 40px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 86px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 66px; flex-wrap: wrap; gap: 0; }
  .brand { font-size: 22px; min-height: 66px; }
  .nav-links { width: 100%; gap: 0; display: flex; flex-wrap: wrap; padding-bottom: 10px; }
  .nav-links a { padding: 10px 18px 10px 0; min-height: 44px; }
  .js .nav-links { display: none; }
  .js .nav-links[data-open='true'] { display: flex; }
  .js .menu-button { display: inline-flex; }
  .hero { display: flex; flex-direction: column; gap: 28px; padding-block: 26px 38px; align-items: stretch; }
  .hero-copy { padding: 14px 0 0; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.65rem); }
  .descriptor { font-size: 15px; margin-bottom: 18px; }
  .hero-intro { font-size: 16px; margin: 18px 0 0; max-width: 460px; }
  .actions { margin-top: 22px; }
  .hero-media { align-self: center; }
  .screen { width: 236px; }
  .section { padding-block: 56px; }
  .section-intro { margin-bottom: 24px; }
  .experience-tabs { overflow-x: auto; gap: 0; margin-bottom: 28px; }
  .experience-tabs button { padding-inline: 15px; font-size: 15px; }
  .experience-panel { grid-template-columns: 1fr; gap: 26px; }
  .experience-copy { grid-row: 1; max-width: none; }
  .experience-copy h3 { font-size: 1.45rem; margin-bottom: 14px; }
  .experience-copy p { margin-bottom: 14px; }
  .experience-figure .screen { width: 258px; }
  .passage { margin: 20px 0; padding-left: 18px; }
  .passage blockquote { font-size: 1.4rem; }
  .future-layout { grid-template-columns: 1fr; gap: 28px; }
  .future-layout > div { max-width: none; }
  .flow { padding-left: 20px; }
  .end-note { flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { gap: 18px; }
  .page-intro { padding-block: 40px 28px; }
  .page-intro p { font-size: 16px; }
  .notice { padding: 20px; margin-bottom: 24px; }
  .guide-layout { grid-template-columns: 1fr; gap: 32px; }
  .guide-figure { position: static; justify-self: center; }
  .guide-figure .screen { width: 220px; }
  .checklist label { font-size: 18px; }
  .meta-list { grid-template-columns: 1fr; gap: 0; }
  .meta-list dd { margin-bottom: 10px; }
  .prose h2 { margin-top: 34px; font-size: 1.5rem; }
}
@media (forced-colors: active) {
  .button, .small-button, .screen, .notice { border: 1px solid ButtonText; }
  .experience-tabs button[aria-selected='true'] { border-bottom-color: Highlight; }
}
