/* Kumashiroya Polar Cruise
   Ice white + deep blue, angular clip-path panels, monospace coordinate labels, aurora gradient accents. */
:root {
  --ice: #f3f8fc;
  --ice-2: #e3eef7;
  --white: #ffffff;
  --deep: #0a2342;
  --deep-2: #0f3460;
  --blue: #1d4f91;
  --ink: #0c1e33;
  --muted: #4c6278;
  --line: #c6d9e9;
  --mint: #2ee6a8;
  --sky: #36b9f5;
  --violet: #8b6cf6;
  --aurora: linear-gradient(90deg, #2ee6a8 0%, #36b9f5 52%, #8b6cf6 100%);
  --aurora-soft: linear-gradient(120deg, rgba(46, 230, 168, 0.18), rgba(54, 185, 245, 0.16) 50%, rgba(139, 108, 246, 0.18));
  --head: "Bahnschrift", "DIN Alternate", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --cut: 18px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--body); color: var(--ink); background: var(--ice); overflow-wrap: break-word; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.08; letter-spacing: 0.005em; margin: 0 0 0.45em; color: var(--deep); }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
[id] { scroll-margin-top: 84px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--white); padding: 8px 14px; }
.mono { font-family: var(--mono); }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.74rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 1em;
}
.tag::before { content: ""; width: 26px; height: 3px; background: var(--aurora); flex: none; }
.dark .tag, .tag-light { color: #9fd8ff; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.mt { margin-top: 28px; }
.ph { background: #fff2cc; border: 1px dashed #c7962c; padding: 0 4px; color: #5e420a; font-weight: 600; font-family: var(--mono); font-size: 0.9em; overflow-wrap: anywhere; }

/* Angular shapes */
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.cut-sm { --cut: 10px; }

/* ---------- 18+ strip ---------- */
.rg-strip { position: relative; background: var(--deep); color: #d6e6f4; font-size: 0.84rem; line-height: 1.45; padding: 7px 20px 9px; text-align: center; }
.rg-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--aurora); }
.rg-strip a { color: #8fe9cc; font-weight: 600; }
.age {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-width: 2.6em; height: 1.75em; padding: 0 0.35em; margin-right: 0.55em; vertical-align: middle;
  font: 700 0.78em/1 var(--mono); letter-spacing: 0.02em;
  color: var(--deep); background: var(--aurora);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(243, 248, 252, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.head-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; min-height: 70px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--deep); padding: 8px 0; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 1.2rem/1 var(--head); letter-spacing: 0.14em; text-transform: uppercase; }
.brand-sub { font: 500 0.66rem/1.2 var(--mono); letter-spacing: 0.06em; color: var(--muted); margin-top: 5px; }
.site-nav { display: flex; align-items: stretch; flex-wrap: wrap; }
.site-nav a {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 10px 10px 12px; text-decoration: none;
  font: 600 0.74rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--deep);
}
.site-nav a span { color: #7f97ad; font-weight: 500; }
.site-nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 3px; background: var(--aurora); transform: scaleX(0); transform-origin: left; transition: transform 0.2s; }
.site-nav a:hover::after { transform: scaleX(0.5); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle {
  display: none; align-items: center; gap: 10px; cursor: pointer;
  font: 700 0.78rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: var(--deep); border: 0; padding: 12px 16px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.nav-toggle-bars { width: 16px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line);
    padding: 6px 20px 18px; box-shadow: 0 24px 40px -24px rgba(10, 35, 66, 0.4);
  }
  .js .site-nav.open { display: flex; }
  .js .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--ice-2); font-size: 0.82rem; }
  .js .site-nav a::after { left: 0; right: auto; width: 4px; top: 10px; bottom: 10px; height: auto; transform: scaleY(0); }
  .js .site-nav a[aria-current="page"] { padding-left: 14px; }
  .js .site-nav a[aria-current="page"]::after { transform: scaleY(1); background: linear-gradient(180deg, var(--mint), var(--violet)); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-align: center;
  font: 700 0.82rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  padding: 15px 22px; border: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-deep { background: var(--deep); color: var(--white); }
.btn-deep:hover { background: var(--deep-2); color: var(--white); }
.btn-aurora { background: var(--aurora); color: var(--deep); }
.btn-aurora:hover { filter: brightness(1.08); color: var(--deep); }
.btn-line { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 2px var(--deep); }
.btn-line:hover { background: var(--deep); color: var(--white); }
.btn-line-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7); }
.btn-line-light:hover { background: var(--white); color: var(--deep); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(78vh, 700px); background: var(--ice); }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 64px 56px 64px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); }
.hero-text h1 { max-width: 12ch; }
.hero-coords { font: 500 0.8rem/1.5 var(--mono); color: var(--muted); margin-top: 28px; letter-spacing: 0.04em; }
.hero-coords b { color: var(--deep); }
.hero-img { position: relative; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); background: var(--deep); }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--aurora); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-img { order: -1; height: 300px; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
  .hero-img::after { display: none; }
  .hero-text { padding: 32px 20px 48px; }
}

/* Data strip (mono readout) */
.readout { background: var(--deep); color: var(--white); position: relative; }
.readout::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--aurora); }
.readout dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.readout dl > div { padding: 24px 20px; border-left: 1px solid rgba(159, 216, 255, 0.18); }
.readout dl > div:first-child { border-left: 0; }
.readout dt { font: 600 0.7rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #9fd8ff; }
.readout dd { margin: 6px 0 0; font: 600 1.3rem/1.25 var(--head); }
@media (max-width: 760px) {
  .readout dl { grid-template-columns: 1fr 1fr; }
  .readout dl > div:nth-child(3) { border-left: 0; }
  .readout dl > div:nth-child(n+3) { border-top: 1px solid rgba(159, 216, 255, 0.18); }
}

/* ---------- Inner page head ---------- */
.page-head { position: relative; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--aurora); }
.page-head-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: stretch; min-height: 320px; }
.page-head-text { padding: 56px 40px 56px 0; display: flex; flex-direction: column; justify-content: center; }
.crumb { font: 500 0.74rem/1.4 var(--mono); letter-spacing: 0.06em; color: var(--muted); margin-bottom: 18px; text-transform: uppercase; }
.crumb a { color: var(--muted); }
.page-head-art { position: relative; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); background: var(--deep); margin-right: calc(-1 * max(20px, (100vw - var(--wrap)) / 2 + 20px)); }
.page-head-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head-art.aurora-art { background:
    radial-gradient(60% 70% at 30% 20%, rgba(46, 230, 168, 0.55), transparent 70%),
    radial-gradient(55% 65% at 80% 40%, rgba(139, 108, 246, 0.55), transparent 70%),
    radial-gradient(50% 60% at 60% 90%, rgba(54, 185, 245, 0.5), transparent 70%),
    var(--deep); }
.page-head-art .art-coord { position: absolute; right: 22px; bottom: 18px; font: 600 0.74rem/1.3 var(--mono); color: rgba(255, 255, 255, 0.85); letter-spacing: 0.06em; text-align: right; }
@media (max-width: 860px) {
  .page-head-grid { grid-template-columns: 1fr; min-height: 0; }
  .page-head-art { order: -1; height: 170px; margin: 0 -20px; clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%); }
  .page-head-text { padding: 26px 0 40px; }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 52px 0; }
.bg-white { background: var(--white); }
.bg-ice2 { background: var(--ice-2); }
.dark {
  color: #d6e6f4;
  background:
    radial-gradient(50% 60% at 8% 0%, rgba(46, 230, 168, 0.16), transparent 70%),
    radial-gradient(45% 55% at 95% 10%, rgba(139, 108, 246, 0.2), transparent 70%),
    var(--deep);
}
.dark h2, .dark h3 { color: var(--white); }
.dark a:not(.btn) { color: #8fe9cc; }
.dark .muted, .dark .lead { color: #a9c3da; }
.section-head { max-width: 740px; margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
.split-wide { grid-template-columns: 1.25fr 0.75fr; }
@media (max-width: 880px) { .split, .split-wide { grid-template-columns: 1fr; gap: 36px; } .section { padding: 64px 0; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Panels (angular cards) ---------- */
.panel { position: relative; background: var(--white); padding: 30px 28px 28px; }
.panel::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--aurora); }
.panel > :last-child { margin-bottom: 0; }
.panel-deep { background: var(--deep); color: #d6e6f4; }
.panel-deep h3, .panel-deep h2 { color: var(--white); }
.panel-glass { background: rgba(255, 255, 255, 0.06); color: #d6e6f4; }
.panel-glass h3 { color: var(--white); }
.panel-ice { background: var(--ice); }
.panel .num { font: 600 2.8rem/1 var(--head); background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.panel-media { padding: 0; display: flex; flex-direction: column; }
.panel-media .media { position: relative; aspect-ratio: 16 / 10; background: var(--deep-2); overflow: hidden; }
.panel-media .media img, .panel-media .media .frost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-media .body { padding: 24px 26px 26px; flex: 1; }
.panel-media .body > :last-child { margin-bottom: 0; }
.label { display: block; font: 600 0.7rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.dark .label, .panel-deep .label { color: #9fd8ff; }
.note { border-left: 3px solid var(--sky); background: var(--ice); padding: 12px 16px; font-size: 0.93rem; color: #23384d; }

.frost { display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 40%), var(--aurora-soft), linear-gradient(150deg, #e9f6fd 0%, #a9d8f2 50%, #3f78b5 100%); }
.frost svg { width: 34%; max-width: 150px; color: var(--white); filter: drop-shadow(0 4px 14px rgba(10, 35, 66, 0.35)); }

/* Lists */
.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li, .crosses li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; background: var(--aurora); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.crosses li::before { content: "\00D7"; position: absolute; left: 1px; top: -0.1em; font: 700 1.25em/1.3 var(--mono); color: #c0392b; }
.dark .crosses li::before, .panel-deep .crosses li::before { color: #ff8f80; }

/* Latitude ladder */
.ladder-wrap h3 { margin-bottom: 2px; }
.ladder { position: relative; height: 420px; margin: 24px 0 4px 8px; }
.ladder::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--violet), var(--sky), var(--mint)); }
.rung { position: absolute; left: -6px; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; }
.rung::before { content: ""; width: 15px; height: 15px; background: var(--white); border: 3px solid var(--sky); transform: rotate(45deg); flex: none; }
.rung.is-line::before { background: var(--mint); border-color: var(--mint); }
.rung .lat { font: 600 0.76rem/1 var(--mono); color: #9fd8ff; min-width: 5.6em; }
.rung .name { font: 600 1.1rem/1.2 var(--head); color: var(--white); }
.rung .name small { display: block; font: 400 0.76rem/1.3 var(--mono); color: #a9c3da; margin-top: 2px; }
.rung.is-line .name { color: var(--mint); }

/* Route days */
.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.day { display: grid; grid-template-columns: 88px 1fr; gap: 22px; }
.day-id { font: 700 0.78rem/1.2 var(--mono); color: var(--white); background: var(--deep); padding: 14px 10px; text-align: center; align-self: start; letter-spacing: 0.06em; }
.day-id b { display: block; font: 600 2rem/1 var(--head); margin-top: 4px; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.chip { font: 600 0.72rem/1 var(--mono); letter-spacing: 0.04em; padding: 6px 9px; background: var(--ice-2); color: var(--deep); }
.chip-aurora { background: var(--deep); color: #8fe9cc; }
@media (max-width: 560px) { .day { grid-template-columns: 1fr; gap: 10px; } .day-id { justify-self: start; display: flex; gap: 10px; align-items: baseline; } .day-id b { margin-top: 0; font-size: 1.5rem; } }
.route-aside { position: sticky; top: 96px; }
@media (max-width: 880px) { .route-aside { position: static; } }

/* Schedule */
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(159, 216, 255, 0.2); }
.schedule time { font: 600 1rem/1.4 var(--mono); color: #8fe9cc; }
.schedule strong { color: var(--white); }

/* Casino */
.casino-photo { clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%); }
.casino-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.numbers > div { background: rgba(255, 255, 255, 0.07); padding: 20px; position: relative; }
.numbers > div::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 3px; background: var(--aurora); }
.numbers dt { font: 600 0.7rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #9fd8ff; }
.numbers dd { margin: 8px 0 0; font: 600 1.5rem/1.15 var(--head); color: var(--white); }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; }
.steps li .panel { height: 100%; }
.steps li .panel::after { content: "0" counter(step); position: absolute; right: 22px; top: 18px; font: 700 0.8rem/1 var(--mono); color: var(--blue); }
.steps h3 { font-size: 1.12rem; padding-right: 30px; }
.steps p { margin: 0; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* 18+ warning box */
.warn { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; margin-top: 28px; background: #fff7e3; color: #4a3407; position: relative; }
.warn::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--mint), var(--violet)); }
.warn p { margin: 0; }
.warn a { color: #7a4f00; font-weight: 600; }
.dark .warn { background: rgba(255, 255, 255, 0.07); color: #e5eef7; }
.dark .warn a { color: #8fe9cc; }

/* ---------- Tickets ---------- */
.ticket { display: flex; flex-direction: column; }
.ticket .price-from { font: 600 2.4rem/1 var(--head); color: var(--deep); margin: 6px 0 4px; }
.panel-deep .price-from { color: var(--white); }
.ticket .actions { margin-top: auto; padding-top: 14px; }
.prices { width: 100%; border-collapse: collapse; margin: 16px 0 18px; }
.prices caption { text-align: left; font: 600 0.7rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.panel-deep .prices caption { color: #9fd8ff; }
.prices th, .prices td { padding: 11px 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; }
.panel-deep .prices th, .panel-deep .prices td { border-color: rgba(159, 216, 255, 0.25); }
.prices td { text-align: right; font: 600 1.25rem/1.2 var(--head); white-space: nowrap; }
.prices td small { display: block; font: 400 0.72rem/1.4 var(--mono); color: var(--muted); }
.panel-deep .prices td small { color: #a9c3da; }
.seats { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 16px; background: rgba(255, 255, 255, 0.07); font: 500 0.78rem/1.4 var(--mono); }
.seats-bar { flex: 1; min-width: 70px; height: 6px; background: rgba(255, 255, 255, 0.15); }
.seats-bar span { display: block; height: 100%; background: var(--aurora); }
.sailings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sailing .mono { font-size: 0.72rem; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.sailing .dates { font: 600 1.35rem/1.2 var(--head); color: var(--deep); margin: 6px 0; }
.sailing p { margin: 0; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 760px) { .sailings { grid-template-columns: 1fr; } }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .legend { font: 600 0.74rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--deep); }
.hint { font-size: 0.82rem; color: var(--muted); font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 400; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.legend { padding: 0; margin-bottom: 8px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  font: inherit; width: 100%; min-width: 0; padding: 12px 14px; color: var(--ink);
  background: var(--ice); border: 0; border-bottom: 2px solid var(--deep); border-radius: 0;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; background: var(--white); box-shadow: inset 0 -3px 0 var(--sky), 0 0 0 2px rgba(54, 185, 245, 0.35); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; display: block; padding: 14px 14px 14px 46px; cursor: pointer; background: var(--ice); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.choice input { position: absolute; left: 15px; top: 17px; width: 19px; height: 19px; margin: 0; accent-color: var(--blue); }
.choice strong { display: block; color: var(--deep); }
.choice span { display: block; font-size: 0.85rem; color: var(--muted); }
.choice.is-checked { background: var(--deep); }
.choice.is-checked strong { color: var(--white); }
.choice.is-checked span { color: #a9c3da; }
.choice.is-disabled { opacity: 0.5; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 16px 18px; background: var(--deep); color: var(--white); }
.total-label { font: 600 0.74rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #9fd8ff; }
.total-value { font: 600 1.8rem/1.1 var(--head); }
.total-per { width: 100%; font: 400 0.78rem/1.4 var(--mono); color: #a9c3da; }
.msg { padding: 13px 16px; font-size: 0.93rem; }
.msg[hidden] { display: none; }
.msg-ok { background: #e2f8ef; color: #0d4b34; }
.msg-stop { background: #fde9e6; color: #6b1a14; }
.demo-note { font: 400 0.76rem/1.4 var(--mono); color: var(--muted); margin: 14px 0 0; }
.success[hidden] { display: none; }
.success-icon { width: 54px; height: 54px; background: var(--aurora); color: var(--deep); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.success dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 18px 0; padding: 18px; background: var(--ice); }
.success dt { font: 600 0.72rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.success dd { margin: 0; min-width: 0; }
@media (max-width: 640px) {
  .form-grid, .choices { grid-template-columns: 1fr; }
  .success dl { grid-template-columns: 1fr; gap: 2px; }
  .success dd { margin-bottom: 8px; }
}

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6, 18, 35, 0.78); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: 100%; max-width: 460px; background: var(--white); padding: 38px 28px 28px; text-align: center; }
.modal-box::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--aurora); }
.modal-box .age { font-size: 1.1rem; margin: 0 auto 14px; }
.modal-box p { color: var(--muted); }
.modal-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.modal-actions .btn { min-width: 150px; }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; font: 400 1.6rem/1 var(--mono); color: var(--muted); cursor: pointer; padding: 6px 10px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); padding: 0 20px; border-left: 4px solid var(--line); }
.faq details[open] { border-left-color: var(--sky); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; color: var(--deep); }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.5rem; }

/* Deck list */
.deck-list { list-style: none; margin: 0; padding: 0; }
.deck-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.deck-list li:last-child { border-bottom: 1px solid var(--line); }
.deck-list strong { font: 700 0.8rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
@media (max-width: 480px) { .deck-list li { grid-template-columns: 1fr; gap: 2px; } }

/* Helplines */
.helplines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.helplines h3 { font-size: 1.1rem; margin-bottom: 4px; }
.helplines p { margin: 0 0 6px; color: #23384d; }
.helplines a { font: 600 0.86rem/1.4 var(--mono); word-break: break-all; }

/* Legal */
.legal h2 { font-size: 1.4rem; margin-top: 40px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: #213549; }
.legal .note { margin-bottom: 1.2em; }
.legal-dates { font: 500 0.8rem/1.6 var(--mono); color: var(--muted); }

/* ---------- Footer ---------- */
.site-foot { position: relative; background: var(--deep); color: #a9c3da; padding: 56px 0 28px; font-size: 0.92rem; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--aurora); }
.site-foot a { color: #d6e6f4; }
.foot-warn { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; margin-bottom: 40px; background: rgba(255, 255, 255, 0.07); color: #e5eef7; }
.foot-warn p { margin: 0; }
.foot-warn a { color: #8fe9cc; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font: 600 0.72rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #9fd8ff; margin-bottom: 12px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-brand { font: 700 1.15rem/1 var(--head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.foot-legal { border-top: 1px solid rgba(159, 216, 255, 0.18); margin-top: 36px; padding-top: 20px; font: 400 0.76rem/1.6 var(--mono); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

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

/* Links and muted text inside deep panels */
.panel-deep a:not(.btn), .panel-glass a:not(.btn) { color: #8fe9cc; }
.panel-deep .muted, .panel-glass .muted { color: #a9c3da; }
