:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-soft: #eef5fb;
  --text: #1f2a44;
  --muted: #657083;
  --primary: #1769aa;
  --primary-dark: #0f4f83;
  --line: #dfe5ec;
  --shadow: 0 24px 70px rgba(31, 42, 68, 0.12);
  --on-primary: #ffffff;
  --inverse-surface: var(--text);
  --on-inverse-surface: #ffffff;
  --body-copy: #475267;
  --surface-hover: #eef7ff;
  --surface-translucent: rgba(255,255,255,0.72);
  --preview-surface: rgba(255,255,255,.74);
  --footer-surface: rgba(255,255,255,0.45);
  --surface-section: #edf5fb;
  --primary-container: #e8f3fc;
  --neutral-container: #f0f1f3;
  --input-border: #ccd4de;
  --focus-ring: rgba(23,105,170,.28);
  --focus-ring-soft: rgba(23,105,170,.18);
  --focus-shadow: 0 0 0 3px rgba(23,105,170,.12);
  --success: #168044;
  --success-container: #e7f7ed;
  --warning: #704713;
  --warning-container: #fff2df;
  --error: #a52d28;
  --error-container: #fff0ef;
  --screen-media-start: #e8f3fc;
  --screen-media-end: #f7fbfe;
  --secondary-button: #ffffff;
  --secondary-button-hover: #eaf3fb;
  --secondary-button-text: var(--text);
  --cta-border: #b8d9f3;
  --content-border: rgba(223,229,236,.65);
  --preview-border: rgba(223,229,236,.9);
  --shadow-menu: 0 18px 40px rgba(23, 60, 90, .14);
  --shadow-screen: 0 16px 44px rgba(31,42,68,.09);
  --shadow-screen-hover: 0 24px 56px rgba(31,42,68,.14);
  --shadow-device: 0 18px 52px rgba(31,42,68,.1);
  --shadow-submit: 0 12px 24px rgba(23,105,170,.2);
  --shadow-itinerary-card: 0 8px 24px rgba(28, 67, 101, .06);
  --screen-hover-border: #c7d9e8;
  --inverse-accent: #7fc0f1;
  --inverse-muted: #c8d0dc;
  --scrollbar: #b9cfe0;
  --radius: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--primary); text-underline-offset: 0.2em; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 120ms ease;
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--primary); color: #fff; font-size: 17px; transform: rotate(-8deg); } */
.site-navigation { display: flex; gap: clamp(12px, 1.7vw, 26px); align-items: center; }
nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.site-header nav > a { display: inline-flex; min-height: 44px; align-items: center; }
nav a:hover, nav a[aria-current="page"] { color: var(--primary); }
.lang-link { color: var(--primary); }
.site-preferences { display: inline-flex; align-items: center; gap: 8px; }
.theme-picker { position: relative; display: inline-flex; align-items: center; }
.theme-picker-button { display: inline-flex; min-width: 58px; min-height: 36px; align-items: center; justify-content: center; gap: 3px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; appearance: none; }
.material-icon { display: block; width: 19px; height: 19px; fill: currentColor; }
.theme-picker-button .theme-material-icon { opacity: .42; transition: color 160ms ease, opacity 160ms ease, transform 160ms ease; }
.theme-picker-button.is-light .theme-material-icon:first-child, .theme-picker-button.is-dark .theme-material-icon:last-child { color: var(--primary); opacity: 1; transform: scale(1.08); }
.theme-picker-button:focus-visible, .theme-option:focus-visible { outline: 3px solid var(--focus-ring-soft); outline-offset: 2px; }
.theme-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 21; min-width: 174px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-menu); }
.theme-option { display: grid; width: 100%; min-height: 38px; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 13px; font-weight: 800; text-align: left; cursor: pointer; }
.theme-option .theme-material-icon { width: 18px; height: 18px; color: var(--muted); }
.theme-option:hover, .theme-option[aria-selected="true"] { background: var(--surface-hover); color: var(--primary); }
.selection-material-icon { display: none; width: 18px; height: 18px; margin-left: auto; color: var(--primary); }
.theme-option[aria-selected="true"] .selection-material-icon, .language-option[aria-selected="true"] .selection-material-icon { display: block; }
.language-picker { position: relative; display: inline-flex; align-items: center; }
.language-picker-button { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--primary); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; appearance: none; }
.language-material-icon { width: 17px; height: 17px; }
.language-picker-button:focus-visible, .language-option:focus-visible { outline: 3px solid var(--focus-ring-soft); outline-offset: 2px; }
.language-picker-arrow { width: 18px; height: 18px; transition: transform 160ms ease; }
.language-picker-button[aria-expanded="true"] .language-picker-arrow { transform: rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 138px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-menu); }
.language-option { display: flex; width: 100%; min-height: 34px; align-items: center; justify-content: space-between; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 13px; font-weight: 800; text-align: left; cursor: pointer; }
.language-option:hover, .language-option[aria-selected="true"] { background: var(--surface-hover); color: var(--primary); }
.language-option-note { margin-left: auto; padding-left: 12px; color: var(--muted); font-size: 10px; font-weight: 600; }
.site-menu-button { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.12fr 0.88fr; align-items: center; gap: 80px; padding-block: 70px 90px; }
.eyebrow { margin: 0 0 10px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; }
.hero h1 { margin: 0; font-size: clamp(46px, 6vw, 72px); line-height: 1.17; letter-spacing: -0.065em; }
.lead { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 18px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 36px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 800; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
a.button:hover { background: var(--primary-dark); transform: translateY(-2px); }
.button-disabled { opacity: 0.78; cursor: default; }
.text-link { font-weight: 700; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif !important;
  font-style: italic;
  letter-spacing: 0.2em;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: auto;
  display: block;
}

.app-preview { position: relative; width: min(390px, 100%); margin-inline: auto; padding: 20px; border: 1px solid var(--preview-border); border-radius: 44px; background: var(--preview-surface); box-shadow: var(--shadow); }
.app-preview img { display: block; width: 100%; max-width: 320px; height: auto; margin-inline: auto; border-radius: 28px; }
/* .app-preview::before { content: ""; position: absolute; width: 230px; height: 230px; top: -100px; right: -80px; border-radius: 50%; background: #d5e8ff; } */
/* .preview-top, .date-card, .preview-nav { position: relative; }
.preview-top { display: flex; align-items: center; justify-content: space-between; }
.preview-brand { font-size: 18px; font-weight: 900; }
.preview-chip { padding: 5px 11px; border-radius: 999px; background: #eaf3fb; color: var(--primary); font-size: 11px; font-weight: 800; }
.preview-label { margin: 50px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.app-preview h2 { position: relative; margin: 0 0 24px; font-size: 29px; }
.date-card { display: grid; gap: 5px; margin-top: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; }
.date-card span, .date-card small { color: var(--muted); font-size: 11px; }
.date-card strong { font-size: 15px; }
.date-card.accent { border-color: #b8d9f3; background: #f3f9fe; }
.preview-nav { display: flex; justify-content: space-around; margin: 22px -10px 0; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; }
.preview-nav span:first-child { color: var(--primary); } */

.feature-section { padding-block: 110px; }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading h2, .privacy-callout h2, .document-header h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.3; letter-spacing: -0.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-translucent); }
.feature-icon { color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: 0.14em; }
.feature-card h3 { margin: 34px 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.screen-showcase { padding-block: 20px 120px; }
.screen-showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.screen-showcase-heading .section-heading { margin-bottom: 0; }
.screen-showcase-note { max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; }
.screen-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: start; }
.screen-gallery:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 8px; border-radius: 18px; }
.screen-card { grid-column: span 4; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-screen); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.screen-card:nth-child(1), .screen-card:nth-child(2) { grid-column: span 6; }
.screen-card-media { overflow: hidden; aspect-ratio: 1206 / 1730; background: linear-gradient(145deg, var(--screen-media-start), var(--screen-media-end)); }
.screen-card img { display: block; width: 100%; height: auto; transition: transform 260ms ease; }
.screen-card figcaption { padding: 18px 20px 20px; }
.screen-card strong { display: block; font-size: 18px; line-height: 1.45; }
.screen-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.screen-card-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

@media (hover: hover) and (pointer: fine) {
  .screen-card:hover { transform: translateY(-5px); border-color: var(--screen-hover-border); box-shadow: var(--shadow-screen-hover); }
  .screen-card:hover img { transform: scale(1.012); }
}

.app-screen-figure { max-width: 390px; margin: 0 auto; padding: 16px; border: 1px solid var(--line); border-radius: 34px; background: var(--surface); box-shadow: var(--shadow-device); }
.app-screen-figure img { display: block; width: 100%; height: auto; border-radius: 22px; }
.app-screen-figure figcaption { padding: 14px 8px 2px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.detail-section, .steps-section, .faq-section { padding-block: 30px 100px; }
.section-heading p:not(.eyebrow) { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.detail-grid h3 { margin: 0 0 8px; font-size: 19px; }
.detail-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.step-list li { min-height: 160px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-translucent); counter-increment: steps; }
.step-list li::before { content: counter(steps, decimal-leading-zero); display: block; margin-bottom: 28px; color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: 0.14em; }
.step-list strong { display: block; margin-bottom: 8px; font-size: 19px; }
.step-list span { display: block; color: var(--muted); font-size: 14px; }
.faq-section { padding-top: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.faq-list summary { cursor: pointer; padding: 20px 24px; color: var(--text); font-weight: 800; }
.faq-list p { max-width: none; margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 14px; text-wrap: pretty; }
.content-section.faq-list p { max-width: none; }

.privacy-callout { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 110px; padding: 54px; border-radius: 32px; background: var(--inverse-surface); color: var(--on-inverse-surface); }
.privacy-callout .eyebrow { color: var(--inverse-accent); }
.privacy-callout p:last-child { max-width: 680px; margin-bottom: 0; color: var(--inverse-muted); }
.button-secondary { flex: 0 0 auto; background: var(--secondary-button); color: var(--secondary-button-text); }
a.button-secondary:hover { background: var(--secondary-button-hover); }

.document-main { max-width: 860px; padding-block: 90px 120px; }
.document-header { margin-bottom: 42px; }
.document-header > p:last-child { color: var(--muted); }
.document-card { padding: clamp(26px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.document-card > p:first-child { margin-top: 0; font-size: 17px; font-weight: 700; }
.document-card section { padding-top: 30px; border-top: 1px solid var(--line); margin-top: 30px; }
.document-card .document-section-first { padding-top: 0; border-top: 0; margin-top: 0; }
.document-card h2 { margin: 0 0 10px; font-size: 19px; }
.document-card h3 { margin: 26px 0 10px; font-size: 16px; }
.document-card p { margin-bottom: 0; color: var(--body-copy); }
.document-card ul { margin-bottom: 0; padding-left: 1.3em; color: var(--body-copy); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; }
.document-card table { width: 100%; border-collapse: collapse; min-width: 360px; color: var(--body-copy); }
.document-card th, .document-card td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.document-card th { background: var(--surface-soft); color: var(--text); font-size: 14px; }
.document-card tr:last-child td { border-bottom: 0; }

.development-notes-main { padding-bottom: 120px; }
.development-notes-section { display: grid; max-width: 860px; gap: 58px; }
.development-notes-seasonal-note { padding: clamp(22px, 4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--primary-container); }
.development-notes-seasonal-note p { margin: 0; color: var(--body-copy); }
.development-notes-block { min-width: 0; }
.development-notes-heading { margin-bottom: 20px; }
.development-notes-heading .eyebrow { margin: 0 0 4px; }
.development-notes-heading h2 { margin: 0; font-size: clamp(24px, 4vw, 32px); line-height: 1.4; letter-spacing: -.025em; }
.development-notes-planned-list { display: grid; gap: 16px; }
.development-note-planned { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--warning); border-radius: var(--radius); background: var(--warning-container); }
.development-note-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--warning); font-size: 13px; }
.development-note-status span { padding: 3px 10px; border-radius: 999px; background: var(--warning); color: var(--warning-container); font-weight: 900; }
.development-note-status strong { font-weight: 900; letter-spacing: .02em; }
.development-note-planned h3 { margin: 14px 0 0; font-size: clamp(20px, 3vw, 25px); line-height: 1.45; }
.development-note-planned p { margin: 10px 0 0; color: var(--body-copy); }
.development-notes-timeline { position: relative; display: grid; gap: 18px; margin: 0; padding: 0 0 0 38px; list-style: none; }
.development-notes-timeline::before { position: absolute; top: 9px; bottom: 18px; left: 7px; width: 2px; border-radius: 999px; background: var(--line); content: ""; }
.development-note-timeline-item { position: relative; }
.development-note-timeline-item::before { position: absolute; top: 28px; left: -37px; z-index: 1; width: 16px; height: 16px; border: 4px solid var(--bg); border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 2px var(--primary); content: ""; }
.development-note-card { position: relative; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-screen); }
.development-note-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--primary); font-size: 13px; font-weight: 900; }
.development-note-meta time { letter-spacing: 0.04em; }
.development-note-meta span { padding: 3px 9px; border-radius: 999px; background: var(--primary-container); letter-spacing: .02em; }
.development-note-card h3 { margin: 10px 0 0; font-size: clamp(19px, 3vw, 24px); line-height: 1.45; }
.development-note-card p { margin: 10px 0 0; color: var(--body-copy); }
.development-note-release { border-style: dashed; background: var(--surface-soft); }

.app-web-content .site-header,
.app-web-content .site-footer,
.app-web-content .development-notes-main > .breadcrumbs { display: none; }
.app-web-content .development-notes-main { padding-top: max(28px, env(safe-area-inset-top)); }

.caution { margin: 22px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--warning-container); color: var(--warning); font-size: 13px; font-weight: 700; }

.contact-form-main { max-width: 760px; padding-block: 64px 110px; }
.contact-form-header { margin-bottom: 34px; }
.contact-form-header h1, .contact-complete h2 { margin: 0; font-size: clamp(32px, 6vw, 48px); line-height: 1.3; letter-spacing: -0.045em; }
.contact-form-header > p:not(.eyebrow) { color: var(--muted); }
.contact-privacy-lead { padding: 14px 16px; border-radius: 14px; background: var(--surface-soft); color: var(--text) !important; font-size: 14px; font-weight: 700; }
.contact-form { display: grid; gap: 24px; }
.contact-fieldset, .contact-field, .contact-upload { margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.contact-fieldset { display: block; min-width: 0; }
.contact-fieldset legend { float: left; width: 100%; margin: 0 0 18px; padding: 0; font-size: 17px; font-weight: 800; }
.contact-fieldset legend + * { clear: both; }
.required-badge, .optional-badge { display: inline-flex; vertical-align: 2px; margin-left: 5px; padding: 2px 7px; border-radius: 999px; background: var(--primary-container); color: var(--primary); font-size: 11px; font-weight: 800; }
.optional-badge { background: var(--neutral-container); color: var(--muted); }
.contact-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-choice-grid label, .contact-radio-stack label { cursor: pointer; }
.contact-choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.contact-choice-grid span { display: grid; min-height: 48px; place-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--body-copy); font-size: 14px; font-weight: 800; text-align: center; transition: 150ms ease; }
.contact-choice-grid input:checked + span { border-color: var(--primary); background: var(--surface-soft); color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.contact-field { position: relative; display: grid; gap: 9px; color: var(--text); font-size: 17px; font-weight: 800; }
.contact-field small { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.65; }
.contact-field textarea, .contact-field input[type="email"] { width: 100%; border: 1px solid var(--input-border); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; font-weight: 500; line-height: 1.6; outline: 0; }
.contact-field textarea { resize: vertical; min-height: 180px; padding: 15px; }
.contact-field input[type="email"] { min-height: 50px; padding: 10px 14px; }
.contact-field textarea:focus, .contact-field input[type="email"]:focus { border-color: var(--primary); box-shadow: var(--focus-shadow); }
.contact-counter { color: var(--muted); font-size: 12px; font-weight: 500; text-align: right; }
.contact-counter b { font-weight: 600; }
.contact-upload h2 { margin: 0; font-size: 17px; }
.contact-upload > div p { margin: 5px 0 18px; color: var(--muted); font-size: 13px; }
.contact-upload-button { display: inline-flex; cursor: pointer; }
.contact-upload-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.contact-upload-button span { display: inline-flex; min-height: 46px; align-items: center; gap: 7px; padding: 0 18px; border: 1px solid var(--primary); border-radius: 999px; color: var(--primary); font-size: 14px; font-weight: 800; }
.contact-upload-button .material-icon { width: 18px; height: 18px; }
.contact-limit { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.contact-file-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.contact-file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-soft); color: var(--body-copy); font-size: 13px; }
.contact-file-list button { border: 0; background: transparent; color: var(--primary); font-weight: 800; }
.contact-radio-stack { display: grid; gap: 12px; }
.contact-radio-stack label { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.contact-radio-stack input { width: 20px; height: 20px; accent-color: var(--primary); }
.contact-email { margin-top: 18px; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.contact-device-note { margin: 0; padding: 0 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.contact-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 12px; margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--body-copy); cursor: pointer; font-size: 13px; line-height: 1.75; }
.contact-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--primary); }
.contact-consent input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.contact-consent a { color: var(--primary); font-weight: 800; text-underline-offset: 3px; }
.contact-turnstile { display: flex; min-height: 70px; align-items: center; justify-content: center; }
.contact-error { margin: 0; padding: 13px 15px; border-radius: 12px; background: var(--error-container); color: var(--error); font-size: 14px; font-weight: 700; }
.contact-submit { min-height: 56px; border: 0; border-radius: 18px; background: var(--primary); color: var(--on-primary); font: inherit; font-size: 16px; font-weight: 800; box-shadow: var(--shadow-submit); }
.contact-submit:disabled { opacity: .65; }
.contact-honeypot { position: absolute; left: -9999px; }
.contact-complete { padding: 64px 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); text-align: center; outline: 0; }
.contact-complete-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 22px; place-items: center; border-radius: 50%; background: var(--success-container); color: var(--success); }
.contact-complete-icon .material-icon { width: 30px; height: 30px; }
.contact-complete p { color: var(--muted); }
.contact-reference { margin-top: 28px; font-size: 13px; }
.app-contact .contact-site-chrome { display: none; }
.app-contact .contact-form-main { padding-top: 28px; }

.site-footer { border-top: 1px solid var(--line); background: var(--footer-surface); }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-inner a { color: var(--muted); text-decoration: none; }

/* SEO content pages */
.feature-card a, .detail-grid a { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 800; }
.guide-section { padding-block: 20px 110px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.guide-grid h3 { margin: 4px 0 8px; font-size: 20px; line-height: 1.5; }
.guide-grid h3 a { color: var(--text); }
.guide-grid p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.guide-label { margin: 0; color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 100px; padding: 48px; border: 1px solid var(--cta-border); border-radius: 30px; background: var(--surface-soft); }
.final-cta h2 { max-width: 700px; margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.35; }
.final-cta p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 14px; }

.content-page { border-top: 1px solid var(--content-border); }
.breadcrumbs { display: flex; gap: 10px; align-items: center; padding-top: 18px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { font-size: inherit; }
.content-hero, .article-hero { padding-block: 70px 80px; }
.content-hero h1, .article-hero h1, .error-page h1 { max-width: 900px; margin: 0; font-size: clamp(38px, 6vw, 66px); line-height: 1.22; letter-spacing: -.05em; }
.content-hero .lead, .article-hero .lead { max-width: 780px; text-wrap: pretty; }
.content-hero .button { margin-top: 34px; }
.content-section { padding-block: 70px; }
.content-section h2, .related-section h2 { margin: 0 0 22px; font-size: clamp(27px, 4vw, 40px); line-height: 1.35; letter-spacing: -.035em; }
.content-section h3 { margin: 28px 0 8px; font-size: 20px; }
.content-section p { max-width: 780px; color: var(--body-copy); }
.surface-section { background: var(--surface-section); }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: start; }
.content-figure { max-width: 360px; margin: 0 auto; text-align: center; }
.content-figure img { display: block; width: 100%; height: auto; }
.content-figure figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.content-grid article, .comparison > div, .example-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.content-grid article h3, .comparison h3 { margin-top: 0; }
.check-list { padding-left: 1.35em; }
.check-list li { margin-block: 8px; padding-left: 4px; color: var(--body-copy); }
.numbered-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: content-step; }
.numbered-steps li { display: grid; grid-template-columns: minmax(170px, .55fr) 1.45fr; gap: 20px; align-items: start; padding: 22px; border-bottom: 1px solid var(--line); counter-increment: content-step; }
.numbered-steps strong::before { content: counter(content-step, decimal-leading-zero) ". "; color: var(--primary); }
.numbered-steps span { color: var(--muted); }
.fact-table { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.fact-table [role="row"] { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.fact-table [role="row"]:last-child { border-bottom: 0; }
.fact-table span { color: var(--body-copy); }
.note { margin-block: 30px; padding: 22px 24px; border-left: 4px solid var(--primary); border-radius: 4px 16px 16px 4px; background: var(--surface-soft); }
.note p { margin: 5px 0 0; }
.related-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }

.article-hero { max-width: 1100px; }
.article-meta { margin-top: 28px; color: var(--muted); font-size: 13px; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; align-items: start; padding-bottom: 110px; }
.toc { position: sticky; top: 20px; display: block; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.toc ol { margin: 10px 0 0; padding-left: 1.2em; }
.toc a { font-size: 13px; }
.article-body section { padding-block: 42px; border-top: 1px solid var(--line); }
.article-body section:first-child { padding-top: 0; border-top: 0; }
.article-body h2 { margin: 0 0 20px; font-size: clamp(27px, 4vw, 38px); line-height: 1.4; letter-spacing: -.035em; }
.article-body h3 { margin: 30px 0 10px; font-size: 20px; }
.article-body p, .article-body li, .article-body dd { color: var(--body-copy); }
.comparison { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.schedule-example, .example-card { margin-block: 24px; padding: 26px; background: var(--surface); }
.schedule-example dl { margin: 0; }
.schedule-example dl > div { display: grid; grid-template-columns: 80px 1fr; gap: 18px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.schedule-example dt { color: var(--primary); font-weight: 900; }
.schedule-example dd { margin: 0; }
.article-screen-figure { max-width: 360px; margin: 30px auto 8px; padding: 14px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-device); }
.article-screen-figure img { display: block; width: 100%; height: auto; border-radius: 20px; }
.article-screen-figure figcaption { padding: 14px 8px 2px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.check-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.check-columns section { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.check-columns section h3 { margin-top: 0; }

/* Manual */
.manual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 72px;
  align-items: end;
  padding-block: 70px 76px;
}
.manual-hero h1 { max-width: 900px; margin: 0; font-size: clamp(38px, 6vw, 66px); line-height: 1.22; letter-spacing: -.05em; }
.manual-hero .lead { max-width: 660px; }
.manual-hero-guide { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.manual-hero-guide strong { display: block; margin-bottom: 8px; font-size: 16px; }
.manual-hero-guide p { margin: 0; color: var(--body-copy); font-size: 14px; }
.manual-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 70px; align-items: start; padding-bottom: 110px; }
.manual-sidebar { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); scrollbar-width: thin; scrollbar-color: var(--scrollbar) transparent; }
.manual-sidebar strong { display: block; margin-bottom: 10px; font-size: 14px; }
.manual-sidebar ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.manual-sidebar a { display: grid; min-height: 42px; grid-template-columns: 30px 1fr; align-items: center; padding: 5px 8px; border-radius: 10px; color: var(--muted); font-size: 13px; text-decoration: none; }
.manual-sidebar a:hover { background: var(--surface-hover); color: var(--primary); }
.manual-sidebar a span { color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.manual-body { min-width: 0; }
.manual-section { padding-block: 0 72px; scroll-margin-top: 24px; }
.manual-section + .manual-section { padding-top: 72px; border-top: 1px solid var(--line); }
.manual-section-heading { margin-bottom: 30px; }
.manual-section-heading .eyebrow { margin-bottom: 8px; }
.manual-section h2 { max-width: 720px; margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.35; letter-spacing: -.04em; }
.manual-section-heading > p:last-child { max-width: 720px; margin: 18px 0 0; color: var(--body-copy); }
.manual-start-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 42px; align-items: start; }
.manual-copy { min-width: 0; }
.manual-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: manual-step; }
.manual-steps li { position: relative; min-height: 76px; padding: 2px 0 18px 58px; border-bottom: 1px solid var(--line); counter-increment: manual-step; }
.manual-steps li::before { content: counter(manual-step); position: absolute; top: 0; left: 0; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--primary-container); color: var(--primary); font-size: 13px; font-weight: 900; }
.manual-steps strong { display: block; margin-bottom: 3px; }
.manual-steps span { display: block; color: var(--body-copy); font-size: 14px; }
.manual-screen { margin: 0; padding: 11px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-device); }
.manual-screen img { display: block; width: 100%; height: auto; border-radius: 18px; }
.manual-screen .manual-screen-image-dark { display: none; }
:root[data-theme="dark"] .manual-screen .manual-screen-image-light { display: none; }
:root[data-theme="dark"] .manual-screen .manual-screen-image-dark { display: block; }
img.theme-screen-image-dark { display: none; }
:root[data-theme="dark"] img.theme-screen-image-light { display: none; }
:root[data-theme="dark"] img.theme-screen-image-dark { display: block; }
.manual-screen figcaption { padding: 12px 7px 3px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.manual-note { margin: 28px 0 0; padding: 20px 22px; border-left: 4px solid var(--primary); border-radius: 4px 16px 16px 4px; background: var(--surface-soft); }
.manual-note strong { display: block; }
.manual-note p { margin: 4px 0 0; color: var(--body-copy); font-size: 14px; }
.manual-note-warning { border-left-color: var(--error); }
.manual-quick-facts { display: grid; gap: 10px; margin-top: 24px; }
.manual-quick-facts p { display: grid; grid-template-columns: minmax(120px, .55fr) minmax(0, 1.45fr); gap: 16px; margin: 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.manual-quick-facts strong { font-size: 14px; }
.manual-quick-facts span { color: var(--body-copy); font-size: 13px; }
.manual-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 28px; color: var(--muted); font-size: 13px; }
.manual-path span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 800; }
.manual-path-menu i { display: inline-flex; align-items: center; gap: 3px; font-style: normal; }
.manual-path-menu-icon { width: 19px; height: 19px; fill: currentColor; }
.manual-path b { color: var(--primary); }
.manual-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.manual-topic-card { min-width: 0; padding: 24px; scroll-margin-top: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.manual-topic-label { margin: 0 0 6px; color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .11em; }
.manual-topic-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.5; }
.manual-topic-card > p:not(.manual-topic-label) { margin: 0; color: var(--body-copy); font-size: 14px; }
.manual-topic-card a { display: inline-flex; margin-top: 16px; font-size: 14px; font-weight: 800; }
.manual-topic-card-danger { border-color: color-mix(in srgb, var(--error) 42%, var(--line)); }
.manual-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 42px; align-items: start; margin-top: 42px; padding-top: 42px; border-top: 1px solid var(--line); }
.manual-detail-layout h3 { margin: 0 0 12px; font-size: 22px; }
.manual-detail-layout p { color: var(--body-copy); }
.manual-detail-layout a, .manual-related-link { display: inline-flex; margin-top: 10px; font-size: 14px; font-weight: 800; }
.manual-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.manual-feature-grid article { padding: 21px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.manual-feature-grid h3 { margin: 0 0 7px; font-size: 18px; }
.manual-feature-grid p { margin: 0; color: var(--body-copy); font-size: 14px; }
.manual-steps-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin-top: 32px; }
.manual-steps-compact li { min-height: 92px; }
.manual-related-link { margin-top: 24px; }
.manual-help { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px; border: 1px solid var(--cta-border); border-radius: var(--radius); background: var(--surface-soft); }
.manual-help h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.manual-help p { margin: 0; color: var(--body-copy); font-size: 14px; }
.manual-help-links { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px 18px; }
.manual-help-links a { font-size: 14px; font-weight: 800; }
.ai-itinerary-hero { padding-bottom: 28px; }
.ai-itinerary-privacy-note { max-width: 760px; margin-top: 32px; }
.ai-itinerary-introduction { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 52px; padding-block: 50px 86px; border-top: 1px solid var(--line); }
.ai-itinerary-introduction h2 { margin: 0; font-size: clamp(29px, 4vw, 42px); line-height: 1.35; letter-spacing: -.035em; }
.ai-itinerary-introduction-copy { max-width: 690px; }
.ai-itinerary-introduction-copy p { margin: 0 0 18px; color: var(--body-copy); }
.ai-itinerary-introduction-copy p:last-child { margin-bottom: 0; }
.ai-itinerary-introduction-message { padding: 15px 18px; border-radius: 14px; background: var(--primary-container); color: var(--primary-dark) !important; font-weight: 900; }
.ai-itinerary-workflow { max-width: 1100px; padding-bottom: 90px; }
.ai-itinerary-step-list { display: grid; gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: none; }
.ai-itinerary-step { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-itinerary-card); }
.ai-itinerary-step-number { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--primary-container); color: var(--primary-dark); font-weight: 900; font-variant-numeric: tabular-nums; }
.ai-itinerary-step h2 { margin: 2px 0 9px; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.025em; }
.ai-itinerary-step p { max-width: 760px; margin: 0 0 18px; color: var(--body-copy); }
.ai-itinerary-step label { display: block; margin: 20px 0 8px; font-weight: 800; }
.ai-itinerary-step textarea { display: block; width: 100%; padding: 14px 15px; border: 1px solid var(--input-border); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; line-height: 1.55; resize: vertical; }
.ai-itinerary-step textarea:focus { outline: 0; border-color: var(--primary); box-shadow: var(--focus-shadow); }
.ai-itinerary-step textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 18%, transparent); }
.ai-itinerary-step textarea[readonly] { min-height: 210px; background: var(--surface-soft); color: var(--body-copy); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; }
.ai-itinerary-step .form-help { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.ai-itinerary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 4px; }
.ai-itinerary-copy-button { min-height: 48px; padding: 0 20px; border: 1px solid var(--input-border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-weight: 800; cursor: pointer; }
.ai-itinerary-copy-button:hover { background: var(--surface-soft); }
.ai-itinerary-copy-button:focus-visible, .ai-itinerary-download:focus-visible, .ai-itinerary-file-picker:focus-within span { outline: 0; box-shadow: var(--focus-shadow); }
.ai-itinerary-copy-button:disabled, .ai-itinerary-chatgpt.is-disabled { opacity: .55; cursor: not-allowed; }
.ai-itinerary-chatgpt.is-disabled { pointer-events: none; }
.ai-itinerary-download { margin-top: 20px; border: 0; cursor: pointer; font: inherit; }
.ai-itinerary-file-picker { display: inline-flex; margin-top: 20px; cursor: pointer; }
.ai-itinerary-file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ai-itinerary-file-picker span { display: inline-flex; min-height: 48px; align-items: center; padding: 0 20px; border: 1px solid var(--primary); border-radius: 999px; color: var(--primary); font-weight: 800; }
.ai-itinerary-file-name { margin: 12px 0 0 !important; color: var(--muted) !important; font-size: 14px; }
.ai-itinerary-fallback { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.ai-itinerary-fallback summary { cursor: pointer; font-weight: 800; }
.ai-itinerary-fallback > p { margin-top: 16px; }
.ai-itinerary-import-list { display: grid; gap: 12px; margin: 20px 0 0; padding-left: 25px; color: var(--body-copy); }
.ai-itinerary-import-list li { padding-left: 4px; }
.ai-itinerary-step code { overflow-wrap: anywhere; font-size: .9em; }
.ai-itinerary-step .note { margin: 26px 0 0; }
.ai-itinerary-status { min-height: 1.5em; margin: 18px 0 0 76px; color: var(--success); font-weight: 700; }
.ai-itinerary-status[data-state="error"] { color: var(--error); }
.ai-itinerary-related { padding-bottom: 110px; }
.error-page { min-height: 70vh; padding-block: 120px; }
.error-page p { max-width: 580px; color: var(--muted); }

@media (max-width: 760px) {
  .site-header { min-height: 68px; }
  .site-navigation { position: absolute; top: calc(100% - 2px); right: 0; left: 0; z-index: 30; display: none; align-items: stretch; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-menu); }
  .site-navigation.is-open { display: grid; }
  .site-header .site-navigation > a { min-height: 44px; padding-inline: 12px; border-radius: 10px; font-size: 14px; }
  .site-header .site-navigation > a:hover, .site-header .site-navigation > a[aria-current="page"] { background: var(--surface-soft); }
  .site-menu-button { position: relative; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; }
  .site-menu-button .material-icon { width: 22px; height: 22px; }
  .site-menu-button .close-material-icon { display: none; }
  .site-menu-button[aria-expanded="true"] .menu-material-icon { display: none; }
  .site-menu-button[aria-expanded="true"] .close-material-icon { display: block; }
  .site-navigation .site-preferences { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
  .site-navigation .theme-picker-button { min-width: 44px; min-height: 44px; border-radius: 12px; }
  .site-navigation .theme-menu { right: auto; left: 0; }
  .site-navigation .language-picker { width: 100%; }
  .site-navigation .language-picker-button { width: 100%; justify-content: space-between; min-height: 44px; border-radius: 12px; }
  .site-navigation .language-menu { right: auto; left: 0; width: 100%; }
  .language-picker-button { min-height: 34px; padding-inline: 11px; font-size: 12px; }
  .language-menu { min-width: 126px; }
  /* .brand { font-size: 19px; }
  .brand-mark { width: 30px; height: 30px; } */
  .hero { grid-template-columns: 1fr; gap: 60px; padding-block: 70px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; text-align: left; }
  .actions { justify-content: center; }
  .feature-section { padding-block: 80px; }
  .feature-grid { grid-template-columns: 1fr; }
  .screen-showcase { padding-bottom: 90px; }
  .screen-showcase-heading { align-items: flex-start; flex-direction: column; }
  .screen-gallery { width: calc(100% + 20px); grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 82vw); gap: 14px; overflow-x: auto; margin-right: -20px; padding: 4px 20px 24px 0; scroll-padding-inline: 0 20px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--scrollbar) transparent; -webkit-overflow-scrolling: touch; }
  .screen-card, .screen-card:nth-child(1), .screen-card:nth-child(2) { grid-column: auto; border-radius: 22px; scroll-snap-align: start; }
  .screen-card-media { aspect-ratio: 1206 / 1620; }
  .screen-card figcaption { padding: 14px 15px 16px; }
  .screen-card strong { font-size: 15px; }
  .detail-section, .steps-section, .faq-section { padding-block: 10px 80px; }
  .detail-grid, .step-list { grid-template-columns: 1fr; }
  .privacy-callout { align-items: flex-start; flex-direction: column; padding: 36px 28px; }
  .document-main { padding-block: 64px 90px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 26px; }
  .footer-inner nav { gap: 12px 18px; }
  .guide-grid, .content-grid, .comparison, .check-columns { grid-template-columns: 1fr; }
  .guide-section { padding-bottom: 80px; }
  .final-cta { align-items: flex-start; flex-direction: column; padding: 34px 28px; }
  .content-hero, .article-hero { padding-block: 52px 60px; }
  .content-section { padding-block: 52px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .content-figure { max-width: 290px; }
  .article-layout { grid-template-columns: 1fr; gap: 34px; padding-bottom: 80px; }
  .toc { position: static; }
  .manual-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 52px 60px; }
  .manual-hero-guide { max-width: 620px; }
  .manual-layout { grid-template-columns: 1fr; gap: 42px; padding-bottom: 80px; }
  .manual-sidebar { position: static; max-height: none; overflow: visible; }
  .manual-sidebar ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manual-start-layout, .manual-detail-layout { grid-template-columns: 1fr; }
  .manual-screen { width: min(300px, 100%); margin-inline: auto; }
  .manual-topic-grid, .manual-feature-grid { grid-template-columns: 1fr; }
  .manual-help { align-items: flex-start; flex-direction: column; }
  .numbered-steps li { grid-template-columns: 1fr; gap: 6px; }
  .fact-table [role="row"] { grid-template-columns: 1fr; gap: 4px; }
  .ai-itinerary-workflow { padding-bottom: 70px; }
  .ai-itinerary-introduction { grid-template-columns: 1fr; gap: 18px; padding-block: 42px 68px; }
  .ai-itinerary-step { grid-template-columns: 1fr; gap: 14px; padding: 24px; border-radius: 20px; }
  .ai-itinerary-step-number { width: 38px; height: 38px; }
  .ai-itinerary-status { margin-left: 0; }
  .ai-itinerary-related { padding-bottom: 80px; }
}

@media (max-width: 440px) {
  .wrap, .site-header { width: min(100% - 28px, 1100px); }
  .hero h1 { font-size: 44px; }
  .lead { font-size: 16px; }
  .app-preview { border-radius: 30px; }
  .screen-gallery { width: calc(100% + 14px); grid-auto-columns: minmax(248px, 86vw); margin-right: -14px; padding-right: 14px; scroll-padding-right: 14px; }
  .screen-card-media { aspect-ratio: 1206 / 1740; }
  .document-card { border-radius: 20px; }
  .manual-sidebar ol { grid-template-columns: 1fr; }
  .manual-section { padding-bottom: 58px; }
  .manual-section + .manual-section { padding-top: 58px; }
  .manual-topic-card { padding: 21px; }
  .manual-steps-compact { grid-template-columns: 1fr; }
  .manual-quick-facts p { grid-template-columns: 1fr; gap: 4px; }
  .manual-help { padding: 24px; }
  .contact-form-main { width: min(100% - 28px, 760px); padding-block: 36px 70px; }
  .contact-form-header h1 { font-size: 31px; }
  .contact-fieldset, .contact-field, .contact-upload { padding: 20px; border-radius: 18px; }
  .contact-choice-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact-choice-grid span { min-height: 52px; padding-inline: 6px; }
}

:root[data-theme="dark"] {
    --bg: #0f141c;
    --surface: #18202b;
    --surface-soft: #202a37;
    --text: #edf3fc;
    --muted: #aeb8c6;
    --primary: #78baf2;
    --primary-dark: #91c9f7;
    --line: #3b4655;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --on-primary: #06243c;
    --inverse-surface: #202a37;
    --on-inverse-surface: #edf3fc;
    --body-copy: #c4cedb;
    --surface-hover: #172d42;
    --surface-translucent: rgba(24, 32, 43, 0.78);
    --preview-surface: rgba(24, 32, 43, 0.78);
    --footer-surface: rgba(19, 26, 35, 0.72);
    --surface-section: #151e29;
    --primary-container: #173a59;
    --neutral-container: #29323d;
    --input-border: #4b5868;
    --success: #72d9b0;
    --success-container: #183a31;
    --warning: #f3c78d;
    --warning-container: #3e2f1e;
    --error: #ffaaa3;
    --error-container: #422326;
    --screen-media-start: #172b3e;
    --screen-media-end: #202a37;
    --secondary-button: #edf3fc;
    --secondary-button-hover: #d9e7f5;
    --secondary-button-text: #18202b;
    --cta-border: #315675;
    --content-border: var(--line);
    --preview-border: var(--line);
    --shadow-menu: 0 18px 40px rgba(0, 0, 0, .34);
    --shadow-screen: 0 16px 44px rgba(0, 0, 0, .24);
    --shadow-screen-hover: 0 24px 56px rgba(0, 0, 0, .34);
    --shadow-device: 0 18px 52px rgba(0, 0, 0, .28);
    --shadow-submit: 0 12px 24px rgba(48,125,187,.28);
    --shadow-itinerary-card: 0 8px 24px rgba(28, 67, 101, .06);
    --screen-hover-border: #315675;
    --inverse-accent: #78baf2;
    --inverse-muted: #c7d0dc;
    --scrollbar: #4b5868;
    --focus-ring: rgba(120,186,242,.34);
    --focus-ring-soft: rgba(120,186,242,.24);
    --focus-shadow: 0 0 0 3px rgba(120,186,242,.18);
}

:root[data-theme="dark"] .contact-field textarea,
:root[data-theme="dark"] .contact-field input[type="email"] {
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #445063; --body-copy: #3f4a5e; --line: #8c97a7; --input-border: #788596; --surface-translucent: var(--surface);
  }
  :root[data-theme="dark"] {
    --muted: #d3dce8; --body-copy: #d3dce8; --line: #7b8797; --input-border: #9aa7b8; --surface-translucent: var(--surface);
  }
}
