:root {
  color-scheme: light;
  --ink: #102c50;
  --ink-deep: #091f3a;
  --muted-text: #656861;
  --paper: #fffdf8;
  --sand: #f6f0e3;
  --line: #ddd4c1;
  --accent: #174b7a;
  --accent-soft: #e6eef4;
  --success: #236448;
  --success-soft: #e3efe7;
  --warning: #826321;
  --warning-soft: #f4ead1;
  --unavailable: #7a4545;
  --unavailable-soft: #f3e4e2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 12% 4%, rgb(255 255 255 / 72%), transparent 28rem), var(--sand);
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgb(23 75 122 / 35%); outline-offset: 4px; border-radius: 4px; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 10; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }

.site-header, .site-footer, .home-main, .document-main { width: min(100% - 40px, 1120px); margin-inline: auto; }
.site-header { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 760; letter-spacing: -0.025em; text-decoration: none; }
.brand-mark { display: block; width: 42px; height: 42px; border: 1px solid rgb(16 44 80 / 10%); border-radius: 12px; object-fit: cover; box-shadow: 0 8px 18px rgb(16 44 80 / 14%); }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 22px; font-size: 0.94rem; }
nav a { color: var(--ink); text-decoration: none; }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.035em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.98; }
h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.06; }
h3 { margin: 0; color: var(--ink-deep); font-size: 1.1rem; line-height: 1.3; }
p, ul, ol { margin: 0; }
.eyebrow { margin-bottom: 12px; color: var(--accent); font-size: 0.75rem; font-weight: 780; letter-spacing: 0.15em; text-transform: uppercase; }
.lede { max-width: 720px; margin-top: 22px; color: var(--muted-text); font-size: clamp(1.08rem, 2.2vw, 1.3rem); line-height: 1.55; }

.hero { display: grid; min-height: 660px; grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr); align-items: center; gap: clamp(42px, 7vw, 92px); padding: 74px 0 88px; }
.hero-copy h1 { max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.store-badge, .button-link { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 22px; background: var(--ink); color: #fffaf0; font-weight: 700; text-decoration: none; }
.store-badge { cursor: default; }
.text-action, .inline-link { font-weight: 700; }

.transfer-visual { position: relative; display: grid; gap: 14px; padding: 30px; border: 1px solid rgb(221 212 193 / 90%); border-radius: 32px; background: rgb(255 253 248 / 76%); box-shadow: 0 30px 80px rgb(16 44 80 / 10%); }
.transfer-visual::before { position: absolute; inset: -24px; z-index: -1; border-radius: 48px; background: radial-gradient(circle, rgb(23 75 122 / 10%), transparent 68%); content: ""; }
.transfer-node { display: grid; grid-template-columns: 48px 1fr; align-items: center; column-gap: 14px; padding: 17px 18px; border-radius: 18px; background: var(--paper); }
.transfer-node strong, .transfer-node span:last-child { grid-column: 2; }
.transfer-node span:last-child { color: var(--muted-text); font-size: 0.88rem; }
.transfer-node-highlight { background: var(--ink); color: #fffaf0; }
.transfer-node-highlight strong { color: #fffaf0; }
.transfer-node-highlight span:last-child { color: rgb(255 250 240 / 72%); }
.node-icon { display: grid; width: 48px; height: 48px; grid-row: 1 / 3; grid-column: 1; place-items: center; border-radius: 15px; background: var(--accent-soft); color: var(--accent); font-size: 1.3rem; }
.transfer-node-highlight .node-icon { background: rgb(255 255 255 / 12%); color: #fffaf0; }
.transfer-path { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--accent); letter-spacing: 0.2em; }
.transfer-path b { transform: rotate(90deg); font-size: 1.25rem; }

.section-block { padding: clamp(88px, 12vw, 150px) 0; }
.section-heading { max-width: 720px; }
.section-heading > p:last-child { margin-top: 18px; color: var(--muted-text); font-size: 1.06rem; }
.steps-list { display: grid; margin-top: 54px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps-list li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step-number { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.steps-list p, .mapping-list p { margin-top: 7px; color: var(--muted-text); }

.privacy-feature { display: grid; grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 90px); align-items: center; padding: clamp(45px, 7vw, 80px); border-radius: 36px; background: var(--accent-soft); }
.privacy-feature p:not(.eyebrow) { margin: 20px 0 24px; color: var(--muted-text); font-size: 1.05rem; }
.privacy-symbol { display: grid; width: min(100%, 230px); aspect-ratio: 1; place-items: center; border: 1px solid rgb(23 75 122 / 18%); border-radius: 50%; background: var(--paper); color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 10vw, 7rem); }

.download-section { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: clamp(40px, 8vw, 100px); align-items: center; margin: clamp(88px, 12vw, 150px) 0 60px; padding: clamp(48px, 8vw, 88px); border-radius: 38px; background: var(--ink); color: #fffaf0; }
.download-section h2 { max-width: 720px; color: #fffaf0; }
.download-copy > p:not(.eyebrow) { max-width: 650px; margin: 20px 0 30px; color: rgb(255 250 240 / 72%); }
.download-section .eyebrow { color: #bcd4e7; }
.app-store-placeholder { display: inline-flex; align-items: center; gap: 13px; min-height: 58px; padding: 9px 18px; border: 1px solid rgb(255 250 240 / 30%); border-radius: 14px; background: rgb(255 255 255 / 8%); color: #fffaf0; }
.app-store-placeholder > span:first-child { font-size: 1.5rem; }
.app-store-placeholder > span:last-child { display: grid; line-height: 1.15; }
.app-store-placeholder small { margin-bottom: 3px; color: rgb(255 250 240 / 66%); font-size: 0.67rem; letter-spacing: 0.04em; text-transform: uppercase; }
.qr-preview { position: relative; display: grid; width: 210px; aspect-ratio: 1; place-items: center; overflow: hidden; border: 10px solid #fffaf0; border-radius: 22px; background: #fffaf0; color: var(--ink); text-align: center; }
.qr-preview::after { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 42%, rgb(16 44 80 / 7%) 42% 58%, transparent 58%); content: ""; }
.qr-preview strong { position: absolute; inset: auto 16px 14px; z-index: 2; padding: 5px 7px; border-radius: 7px; background: #fffaf0; font-size: 0.72rem; }
.qr-corner { position: absolute; width: 46px; height: 46px; border: 8px solid var(--ink); }
.qr-corner::after { position: absolute; inset: 7px; background: var(--ink); content: ""; }
.qr-corner-one { top: 12px; left: 12px; }
.qr-corner-two { top: 12px; right: 12px; }
.qr-corner-three { bottom: 38px; left: 12px; }
.qr-dots { color: var(--ink); font-size: 1.35rem; font-weight: 800; line-height: 1.2; letter-spacing: 0.12em; }

.site-footer { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px 60px; padding: 34px 4px 46px; border-top: 1px solid var(--line); color: var(--muted-text); font-size: 0.88rem; }
.site-footer > div:first-child > p { max-width: 430px; margin-top: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); justify-content: end; gap: 10px 30px; }
.legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.78rem; }

.document-main { margin-bottom: 60px; padding: clamp(38px, 7vw, 78px); border: 1px solid var(--line); border-radius: 32px; background: var(--paper); box-shadow: 0 18px 55px rgb(16 44 80 / 7%); }
.document-main > h1 { max-width: 820px; }
.document-main > section:not(.summary, .contact-card, .support-category, .unsupported-note, .closing-section) h2 { margin-top: 2.4rem; }
.document-main > section p, .document-main > section ul { margin-top: 0.7rem; }
.meta { margin-top: 18px; color: var(--muted-text); font-size: 0.9rem; }
.summary, .contact-card, .notice, .unsupported-note { margin-top: 32px; border-radius: 18px; padding: 22px 24px; }
.summary, .contact-card { background: var(--accent-soft); }
.summary h2, .contact-card h2, .unsupported-note h2 { margin-top: 0; font-size: 1.8rem; }
.summary ul, .document-main ul { padding-left: 1.3rem; }
.summary li + li, .document-main li + li { margin-top: 0.45rem; }
.notice { border: 1px solid var(--line); background: #faf6ed; }

.supported-page > .lede { max-width: 850px; }
.status-key { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 30px 0 60px; padding: 17px 20px; border-radius: 14px; background: var(--sand); font-size: 0.88rem; }
.status-key span { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.available, .status.available { background: var(--success-soft); color: var(--success); }
.status-dot.limited, .status.limited { background: var(--warning-soft); color: var(--warning); }
.status-dot.unavailable, .status.unavailable { background: var(--unavailable-soft); color: var(--unavailable); }
.status-dot.available, .status-dot.limited, .status-dot.unavailable { background: currentColor; }
.support-category { margin-top: 64px; }
.category-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.category-heading > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; }
.category-heading h2 { font-size: clamp(1.75rem, 4vw, 2.3rem); }
.mapping-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mapping-list article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fffefa; }
.mapping-list .status { display: inline-block; margin-bottom: 14px; border-radius: 999px; padding: 3px 9px; font-size: 0.7rem; font-weight: 780; letter-spacing: 0.08em; text-transform: uppercase; }
.unsupported-note { margin-top: 72px; background: var(--sand); }
.compact-closing { margin: 72px 0 0; }

@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

@media (max-width: 840px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  nav { justify-content: flex-start; }
  .hero, .privacy-feature, .download-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 54px; }
  .privacy-symbol { width: 145px; }
}

@media (max-width: 620px) {
  .site-header, .site-footer, .home-main, .document-main { width: min(100% - 28px, 1120px); }
  nav { width: 100%; gap: 10px 18px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero { gap: 52px; padding: 45px 0 65px; }
  .transfer-visual { padding: 18px; border-radius: 24px; }
  .mapping-list, .site-footer { grid-template-columns: 1fr; }
  .section-block { padding: 78px 0; }
  .privacy-feature { padding: 34px 24px; border-radius: 26px; }
  .steps-list li { grid-template-columns: 52px 1fr; }
  .download-section { padding: 40px 24px; border-radius: 26px; }
  .qr-preview { width: min(210px, 100%); }
  .footer-links { grid-template-columns: 1fr; justify-content: start; }
  .document-main { padding: 32px 22px; border-radius: 22px; }
  .status-key { align-items: flex-start; flex-direction: column; }
}
