/* Geist is served from this site (no third-party font requests). */
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* RD19 — main stylesheet. One family (Geist), monochrome UI, colour only in product art. */
:root {
  --ink: #000;
  --paper: #fff;
  --graphite: #2B2B2B;
  --mute: #555552;
  --line: #E7E7E5;
  --concrete: #EBEBE8;
  --pad: 80px;
  --k: 1; /* composition scale for the product bento */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
/* Nothing may widen the page: animated and bleeding elements are clipped at the viewport. */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
.company, .products, .venture, .contact { overflow-x: clip; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.dark a:focus-visible, .dark button:focus-visible { outline-color: #fff; }
.skip { position: absolute; left: -9999px; top: 8px; background: #000; color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: 1600px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
section[id] { scroll-margin-top: 72px; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); border-bottom: 1px solid #EDEDEB; }
.hdr-in { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; font-size: 24px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.nav { display: flex; gap: 40px; font-size: 15px; font-weight: 450; letter-spacing: -0.01em; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 400ms cubic-bezier(.2,.7,.2,1); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; font: inherit; font-size: 15px; font-weight: 500; height: 44px; padding: 0 0 0 16px; border: 0; background: none; color: #000; cursor: pointer; align-items: center; gap: 10px; }
.mnav { display: none; }

/* ---------- Motion primitives ---------- */
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: block; transform: translateY(110%); animation: rise 1000ms cubic-bezier(.16,.84,.24,1) 80ms forwards; }
.ln.d2 > span { animation-delay: 200ms; }
.fade { opacity: 0; animation: fadeUp 800ms cubic-bezier(.2,.7,.2,1) 650ms forwards; }
.fade2 { opacity: 0; animation: fadeUp 800ms cubic-bezier(.2,.7,.2,1) 800ms forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes srUp { from { opacity: 0; transform: translateY(64px); } to { opacity: 1; transform: none; } }
@keyframes srX { from { transform: translateX(14%); } to { transform: none; } }
@keyframes srPh { from { transform: translateY(110px); } to { transform: none; } }
@supports (animation-timeline: view()) {
  .sr { animation: srUp linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  .sx { animation: srX linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  .sp { animation: srPh linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 40px; padding-bottom: 56px; height: clamp(620px, calc(100svh - 72px), 940px); display: flex; flex-direction: column; }
.field { position: relative; flex: 1 1 auto; min-height: 140px; overflow: hidden; touch-action: pan-y; }
.field svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-h { margin: 40px 0 0; display: grid; grid-template-columns: max-content; justify-content: start; font-size: clamp(56px, 6.4vw, 124px); font-weight: 500; letter-spacing: -0.055em; line-height: 0.94; }
.hero-h .l1 { justify-self: start; }
.hero-h .l2 { justify-self: end; }
.hero-sub { margin: 28px 0 0; max-width: 720px; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.4; letter-spacing: -0.01em; color: var(--graphite); }

/* ---------- Company ---------- */
.company { background: #000; color: #fff; }
.company .g12 { padding-top: 200px; padding-bottom: 220px; }
.company h2 { grid-column: 1 / span 10; margin: 0; font-size: clamp(56px, 6.2vw, 116px); font-weight: 500; letter-spacing: -0.055em; line-height: 0.96; }
.company p { grid-column: 7 / span 6; margin: 96px 0 0; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; letter-spacing: -0.015em; color: #A9A9A6; }

/* ---------- Products bento ---------- */
.products .g12 { padding-top: 180px; padding-bottom: 220px; row-gap: 24px; }
.products h2 { grid-column: 1 / span 7; grid-row: 1; align-self: end; margin: 0 0 40px; font-size: clamp(72px, 8.4vw, 160px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.9; }
.tile { position: relative; display: block; border-radius: 6px; overflow: hidden; text-decoration: none; }
.tile .art { position: absolute; inset: 0; transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.tile:hover .art { transform: scale(1.025); }
.tile .nm { display: block; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.tile:hover .nm { transform: translateX(6px); }
.tile .ar { flex: none; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.tile:hover .ar { transform: translate(5px, -5px); }
.tile .name { display: block; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.tile .cap { display: block; font-weight: 450; letter-spacing: -0.01em; line-height: 1.3; }
.ph { position: absolute; }
.phs { width: 300px; height: 650px; transform-origin: top left; transform: scale(calc(var(--ps) * var(--k))); }
.phone { width: 300px; height: 650px; padding: 7.8px; border-radius: 48px; background: #0A0A0A; box-shadow: inset 0 0 0 1px #3A3A38, 0 40px 80px -36px rgba(40,28,8,0.55); }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; }
.phone img { width: 100%; height: auto; }

.t-veritas { grid-column: 1 / span 8; grid-row: 2; height: calc(780px * var(--k)); color: #000; }
.t-veritas .art { background: #E2D6BD; }
.t-veritas .head { position: absolute; top: 40px; left: 44px; right: 44px; display: flex; justify-content: space-between; align-items: flex-start; }
.t-veritas .name { font-size: calc(56px * var(--k)); }
.t-veritas .cap { margin-top: 12px; font-size: 17px; color: #4A4232; }
.t-veritas .ph-today { left: 21%; top: calc(208px * var(--k)); --ps: 1.1; }
.t-veritas .ph-tarot { left: 61%; top: calc(250px * var(--k)); --ps: 1; }

.t-nestly { grid-column: 9 / span 4; grid-row: 1 / span 2; align-self: start; margin-top: calc(140px * var(--k)); height: calc(640px * var(--k)); color: #000; }
.t-nestly .art { background: #C5D0BA; }
.t-nestly .head { position: absolute; left: 32px; top: 32px; right: 32px; display: flex; justify-content: space-between; align-items: flex-start; }
.t-nestly .name { font-size: calc(44px * var(--k)); }
.t-nestly .cap { margin-top: 10px; font-size: 16px; color: #36452F; }
.t-nestly .ph-n { left: 40%; top: calc(116px * var(--k)); --ps: 0.92; }

.t-myboat { grid-column: 5 / span 8; grid-row: 3; margin-top: 96px; height: calc(440px * var(--k)); color: #fff; }
.t-myboat .art { background: #1D3350; }
.t-myboat .head { position: absolute; left: 40px; bottom: 40px; display: flex; align-items: flex-start; gap: 20px; }
.t-myboat .name { font-size: calc(52px * var(--k)); }
.t-myboat .cap { margin-top: 10px; font-size: 16px; color: #B9C8DC; }
.t-myboat .ar { margin-top: 10px; }
.t-myboat .ph-trip { left: 44%; top: calc(48px * var(--k)); --ps: 0.78; }
.t-myboat .ph-boat { left: 74%; top: calc(110px * var(--k)); --ps: 0.78; }

/* ---------- Venture statement ---------- */
.venture { background: var(--concrete); }
.venture .g12 { padding-top: 220px; padding-bottom: 240px; }
.venture h2 { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; font-size: clamp(72px, 8.4vw, 160px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.92; }
.venture h2 .v1 { grid-column: 1 / -1; }
.venture h2 .v2 { grid-column: 3 / -1; }
.venture p { grid-column: 3 / span 7; margin: 72px 0 0; max-width: 760px; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; letter-spacing: -0.015em; color: #3A3A38; }

/* ---------- Contact ---------- */
.contact .g12 { padding-top: 200px; padding-bottom: 200px; align-items: end; }
.talk { grid-column: 1 / span 6; margin: 0; position: relative; font-size: clamp(88px, 10vw, 184px); font-weight: 500; letter-spacing: -0.065em; line-height: 0.88; }
.talk .ghost { visibility: hidden; white-space: pre-line; }
.talk .live { position: absolute; left: 0; top: 0; right: 0; white-space: pre-line; }
.talk .dot { opacity: 0; }
.talk .dot.on { opacity: 1; }
.caret { display: inline-block; width: 0.055em; height: 0.78em; margin-left: 0.05em; background: currentColor; vertical-align: -0.02em; animation: blink 900ms steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.contact-r { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 28px; padding-bottom: 12px; }
.contact-r p { margin: 0; font-size: 20px; line-height: 1.45; letter-spacing: -0.01em; color: var(--graphite); }
.mail-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mail { text-decoration: none; font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.15; padding-bottom: 4px; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 500ms cubic-bezier(.2,.7,.2,1); }
.mail:hover { background-size: 0 1px; background-position: 100% 100%; }
.copy { font: inherit; font-size: 14px; font-weight: 500; height: 44px; padding: 0 18px; border: 1px solid #000; border-radius: 4px; background: #fff; color: #000; cursor: pointer; transition: background-color 300ms ease, color 300ms ease; }
.copy:hover { background: #000; color: #fff; }

/* ---------- Footer ---------- */
.foot { background: #000; color: #fff; }
.foot .wrap { padding-top: 96px; padding-bottom: 40px; }
.foot-top { row-gap: 48px; }
.foot-logo { grid-column: 1 / span 3; font-size: 64px; font-weight: 700; letter-spacing: -0.07em; line-height: 0.9; }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-biz { grid-column: 5 / span 2; }
.foot-legal { grid-column: 8 / span 5; gap: 4px; font-size: 14px; line-height: 1.5; color: #CFCFCC; }
.foot-label { font-size: 13px; color: #8A8A87; }
.foot-legal .foot-label { margin-bottom: 6px; }
.foot-entity { font-weight: 600; color: #fff; }
.foot-kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 16px; margin-top: 12px; }
.foot-kv dt { color: #8A8A87; }
.foot-kv dd { margin: 0; }
.flink { text-decoration: none; color: #CFCFCC; }
.flink:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { margin-top: 96px; padding-top: 24px; border-top: 1px solid #262626; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: #8A8A87; }
.foot-bottom nav { display: flex; gap: 28px; }
.foot-bottom .flink { color: #8A8A87; }

/* ---------- Careers ---------- */
.careers .g12 { padding-top: 168px; padding-bottom: 200px; }
.careers h1 { grid-column: 1 / -1; margin: 0; font-size: clamp(96px, 12vw, 220px); font-weight: 500; letter-spacing: -0.07em; line-height: 0.86; }
.careers-l { grid-column: 1 / span 4; margin-top: 88px; padding-right: 24px; }
.careers-lead { margin: 0; font-size: clamp(28px, 2.4vw, 40px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; }
.careers-note { margin: 28px 0 0; font-size: 17px; line-height: 1.5; color: var(--mute); }
.careers-r { grid-column: 6 / span 7; margin-top: 96px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.form .full { grid-column: 1 / -1; }
.lbl { display: block; font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.lbl-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.lbl-row .lbl { margin: 0; }
.count { font-size: 12px; color: #8A8A87; }
.fld { width: 100%; font: inherit; font-size: 20px; letter-spacing: -0.01em; color: #000; background: transparent; border: 0; border-bottom: 1px solid #CFCFCC; border-radius: 0; padding: 10px 0 14px; outline: none; transition: border-color 300ms ease; }
.fld:hover { border-bottom-color: #8A8A87; }
.fld:focus { border-bottom-color: #000; }
.fld::placeholder { color: #A3A3A0; }
textarea.fld { resize: vertical; line-height: 1.45; min-height: 150px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.submit { font: inherit; font-size: 17px; font-weight: 500; height: 64px; padding: 0 32px; border: 0; border-radius: 4px; background: #000; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 20px; transition: background-color 300ms ease, opacity 300ms ease; }
.submit:hover { background: #2B2B2B; }
.submit[disabled] { opacity: 0.5; cursor: progress; }
.submit svg { transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.submit:hover svg { transform: translateX(5px); }
.form-err { margin: 0; font-size: 15px; color: #B3261E; min-height: 1.4em; }
.sent { padding: 48px 0; border-top: 1px solid #000; }
.sent p:first-child { margin: 0; font-size: 56px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.sent p + p { margin: 20px 0 0; font-size: 20px; line-height: 1.45; color: var(--mute); }

/* ---------- Mid widths: same composition, scaled ---------- */
@media (max-width: 1279px) {
  :root { --pad: 48px; --k: 0.78; }
  .t-veritas .head { top: 28px; left: 28px; right: 28px; }
  .t-nestly .head { left: 24px; top: 24px; right: 24px; }
  .t-myboat .head { left: 28px; bottom: 28px; }
}

/* ---------- Phones: recomposed, not shrunk ---------- */
@media (max-width: 899px) {
  :root { --pad: 20px; --k: 1; }
  section[id] { scroll-margin-top: 60px; }
  .hdr-in { height: 60px; }
  .logo { font-size: 22px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .mnav { padding: 24px 20px 40px; flex-direction: column; gap: 4px; border-top: 1px solid #EDEDEB; }
  .mnav.open { display: flex; animation: fadeUp 400ms cubic-bezier(.2,.7,.2,1); }
  .mnav a { text-decoration: none; font-size: 44px; font-weight: 500; letter-spacing: -0.05em; line-height: 1.15; }

  .hero { padding-top: 20px; padding-bottom: 32px; height: clamp(540px, calc(100svh - 60px), 760px); }
  .field { min-height: 110px; }
  .hero-h { margin-top: 28px; display: block; font-size: clamp(44px, 12.8vw, 58px); letter-spacing: -0.06em; line-height: 0.95; }
  .hero-sub { margin-top: 20px; max-width: 320px; font-size: 16px; line-height: 1.45; }

  .company .g12, .products .g12, .venture .g12, .contact .g12, .careers .g12 { display: block; }
  .company .g12 { padding-top: 112px; padding-bottom: 120px; }
  .company h2 { font-size: clamp(34px, 10.3vw, 44px); letter-spacing: -0.05em; line-height: 1.02; }
  .company p { margin: 40px 0 0 56px; font-size: 17px; line-height: 1.5; }

  .products .g12 { padding-top: 112px; padding-bottom: 128px; display: flex; flex-direction: column; }
  .products h2 { margin: 0 0 32px; font-size: clamp(52px, 16.4vw, 72px); letter-spacing: -0.065em; }
  .tile .name { letter-spacing: -0.05em; }
  .t-veritas { height: 500px; }
  .t-veritas .head { top: 24px; left: 24px; right: 24px; }
  .t-veritas .name { font-size: 40px; }
  .t-veritas .cap { margin-top: 8px; font-size: 14px; }
  .t-veritas .ph-today { left: 14%; top: 156px; --ps: 0.667; }
  .t-veritas .ph-tarot { left: 56%; top: 186px; --ps: 0.567; }
  .t-nestly { width: 74%; margin: 16px 0 0 auto; height: 400px; }
  .t-nestly .head { left: 20px; top: 20px; right: 20px; }
  .t-nestly .name { font-size: 34px; }
  .t-nestly .cap { margin-top: 6px; font-size: 13px; }
  .t-nestly .ph-n { left: 32%; top: 104px; --ps: 0.6; }
  .t-myboat { width: 88%; margin-top: 16px; height: 280px; }
  .t-myboat .head { left: 20px; bottom: 20px; gap: 12px; }
  .t-myboat .name { font-size: 36px; }
  .t-myboat .cap { margin-top: 6px; font-size: 13px; }
  .t-myboat .ar { margin-top: 6px; width: 22px; height: 22px; }
  .t-myboat .ph-trip { left: 54%; top: 32px; --ps: 0.48; }
  .t-myboat .ph-boat { display: none; }

  .venture .g12 { padding-top: 128px; padding-bottom: 144px; }
  .venture h2 { display: block; font-size: clamp(44px, 15.4vw, 64px); line-height: 0.95; }
  .venture h2 span { display: block; }
  .venture p { margin: 48px 0 0; max-width: 320px; font-size: 17px; line-height: 1.5; }

  .contact .g12 { padding-top: 128px; padding-bottom: 120px; }
  .talk { font-size: clamp(72px, 23.6vw, 96px); letter-spacing: -0.07em; }
  .contact-r { margin-top: 40px; gap: 20px; padding: 0; }
  .contact-r p { font-size: 17px; }
  .mail { font-size: 28px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; background: none; }
  .copy { height: 48px; font-size: 15px; padding: 0 20px; }

  .foot .wrap { padding-top: 64px; padding-bottom: 32px; }
  .foot-top { display: flex; flex-direction: column; gap: 40px; }
  .foot-logo { font-size: 52px; }
  .foot-col a { padding: 6px 0; }
  .foot-legal { font-size: 13px; }
  .foot-kv { grid-template-columns: 118px minmax(0, 1fr); }
  .foot-bottom { margin-top: 40px; padding-top: 20px; flex-direction: column-reverse; align-items: flex-start; }
  .foot-bottom nav a { padding: 10px 0; }

  .careers .g12 { padding-top: 96px; padding-bottom: 112px; }
  .careers h1 { font-size: clamp(64px, 21.5vw, 88px); }
  .careers-l { margin-top: 32px; padding: 0; }
  .careers-lead { font-size: 28px; letter-spacing: -0.04em; line-height: 1.1; }
  .careers-note { margin-top: 20px; font-size: 16px; }
  .careers-r { margin-top: 56px; }
  .form { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fld { font-size: 18px; padding: 10px 0 12px; }
  .submit { width: 100%; justify-content: center; height: 60px; }
  .sent p:first-child { font-size: 40px; }
  .sent p + p { font-size: 17px; }
}

/* ---------- Cookie notice ---------- */
.notice { position: fixed; left: 24px; bottom: 24px; z-index: 50; max-width: 420px; display: flex; align-items: center; gap: 20px; padding: 16px 16px 16px 20px; background: #000; color: #fff; border-radius: 6px; font-size: 14px; line-height: 1.45; animation: fadeUp 500ms cubic-bezier(.2,.7,.2,1); }
.notice[hidden] { display: none; }
.notice p { margin: 0; color: #CFCFCC; }
.notice a { color: #fff; text-underline-offset: 3px; }
.notice-ok { flex: none; font: inherit; font-size: 14px; font-weight: 500; height: 40px; padding: 0 18px; border: 1px solid #fff; border-radius: 4px; background: #000; color: #fff; cursor: pointer; transition: background-color 300ms ease, color 300ms ease; }
.notice-ok:hover { background: #fff; color: #000; }
.notice a:focus-visible, .notice-ok:focus-visible { outline-color: #fff; }

/* ---------- Careers legal line ---------- */
.form-legal { flex: 1 1 100%; margin: 0; font-size: 13px; line-height: 1.5; color: var(--mute); }
.form-legal a { color: #000; text-underline-offset: 3px; }

/* ---------- Legal pages ---------- */
.legal .g12 { padding-top: 168px; padding-bottom: 200px; }
.legal h1 { grid-column: 1 / -1; margin: 0; font-size: clamp(64px, 8.4vw, 160px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.9; }
.legal-meta { grid-column: 1 / span 3; margin: 72px 0 0; font-size: 14px; line-height: 1.6; color: var(--mute); }
.legal-meta nav { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; position: sticky; top: 104px; }
.legal-meta nav a { color: var(--graphite); text-decoration: none; }
.legal-meta nav a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.legal-body { grid-column: 5 / span 7; margin-top: 72px; max-width: 720px; font-size: 17px; line-height: 1.65; color: #1F1F1F; }
.legal-body h2 { margin: 64px 0 16px; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; color: #000; scroll-margin-top: 96px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: #000; }
.legal-body p, .legal-body ul { margin: 0 0 16px; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: #000; text-underline-offset: 3px; }
.legal-body .lead { font-size: 20px; line-height: 1.55; color: #000; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.legal-body th { font-weight: 600; color: #000; }
.legal-scroll { overflow-x: auto; }
@media (max-width: 899px) {
  .notice { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .legal .g12 { display: block; padding-top: 96px; padding-bottom: 112px; }
  .legal h1 { font-size: clamp(48px, 15vw, 72px); }
  .legal-meta { margin-top: 32px; }
  .legal-meta nav { position: static; }
  .legal-body { margin-top: 48px; font-size: 16px; }
  .legal-body h2 { font-size: 22px; margin-top: 48px; }
}

/* ---------- Consent banner & settings ---------- */
.consent { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 60; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 20px 20px 20px 24px; background: #000; color: #fff; border-radius: 6px; font-size: 14px; line-height: 1.5; animation: fadeUp 500ms cubic-bezier(.2,.7,.2,1); }
.consent[hidden] { display: none; }
.consent p { margin: 0; color: #CFCFCC; flex: 1 1 auto; }
.consent a { color: #fff; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
.btn-line, .btn-solid, .btn-ghost { font: inherit; font-size: 14px; font-weight: 500; height: 40px; padding: 0 16px; border-radius: 4px; cursor: pointer; transition: background-color 300ms ease, color 300ms ease; }
.consent .btn-line { background: #000; color: #fff; border: 1px solid #fff; }
.consent .btn-line:hover { background: #fff; color: #000; }
.consent .btn-ghost { background: none; color: #CFCFCC; border: 0; text-decoration: underline; text-underline-offset: 3px; padding: 0 8px; }
.consent .btn-ghost:hover { color: #fff; }
.consent button:focus-visible { outline-color: #fff; }
.consent-dialog { width: min(560px, calc(100vw - 32px)); padding: 32px; border: 0; border-radius: 6px; color: #000; font-size: 15px; line-height: 1.5; }
.consent-dialog::backdrop { background: rgba(0,0,0,0.5); }
.consent-dialog h2 { margin: 0 0 8px; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
.consent-dialog > p { margin: 0 0 20px; color: var(--mute); }
.consent-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); cursor: pointer; }
.consent-row[hidden] { display: none; }
.consent-row strong { display: block; font-weight: 600; }
.consent-row span { display: block; color: var(--mute); font-size: 14px; }
.consent-row input { width: 22px; height: 22px; accent-color: #000; flex: none; cursor: pointer; }
.consent-always { flex: none; font-size: 13px !important; color: #8A8A87 !important; }
.consent-dialog .consent-actions { margin-top: 24px; justify-content: flex-end; }
.consent-dialog .btn-line { background: #fff; color: #000; border: 1px solid #000; }
.consent-dialog .btn-line:hover { background: #000; color: #fff; }
.consent-dialog .btn-solid { background: #000; color: #fff; border: 1px solid #000; }
.consent-dialog .btn-solid:hover { background: #2B2B2B; }
.cookie-settings { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
@media (max-width: 899px) {
  .consent { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent .btn-ghost { grid-column: 1 / -1; order: 3; height: 36px; }
  .consent-dialog { padding: 24px; }
  .consent-dialog .consent-actions { display: grid; grid-template-columns: 1fr; }
  .foot-bottom .cookie-settings { padding: 10px 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ln > span, .fade, .fade2 { animation: none; transform: none; opacity: 1; }
  .sr, .sx, .sp, .caret, .mnav.open { animation: none; }
  .tile *, .nav a::after, .mail, .submit svg { transition: none; }
  .notice, .consent { animation: none; }
}
