:root {
  color-scheme: dark;
  --ink: #07111f;
  --ink-soft: #0d1a2b;
  --paper: #edf5ff;
  --muted: #9fb0c7;
  --line: rgba(173, 205, 241, .17);
  --cyan: #59d8ff;
  --blue: #4c7dff;
  --violet: #9d84ff;
  --amber: #ffbd66;
  --radius: 1.3rem;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: white; color: #07111f; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 5.25rem; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; gap: 2.5rem; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: .86rem; font-weight: 800; letter-spacing: .19em; }
.brand-mark { width: 1.8rem; height: .75rem; display: inline-block; border-top: 3px solid var(--cyan); border-bottom: 3px solid var(--violet); border-radius: 50%; transform: rotate(-10deg); }
.desktop-nav { display: flex; gap: 2rem; margin-left: auto; }
.desktop-nav a, .site-footer nav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--paper); }
.language-button { border: 1px solid var(--line); background: transparent; color: var(--paper); min-height: 2.55rem; padding: 0 .9rem; border-radius: 99px; cursor: pointer; font: inherit; font-size: .88rem; }

.hero { min-height: calc(100vh - 5.25rem); display: grid; grid-template-columns: minmax(0, .88fr) minmax(25rem, 1.12fr); align-items: center; gap: clamp(2.5rem, 6vw, 7rem); padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4.5rem); overflow: hidden; }
.hero-copy { max-width: 42rem; }
.eyebrow { margin: 0 0 1.1rem; color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; max-width: 11ch; font-size: clamp(3.4rem, 7.2vw, 7.4rem); font-weight: 620; letter-spacing: -.065em; line-height: .92; }
.hero-intro { max-width: 38rem; margin: 2rem 0 0; color: #c1d0e2; font-size: clamp(1.06rem, 1.5vw, 1.28rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: 0 1.2rem; border-radius: 99px; text-decoration: none; font-size: .92rem; font-weight: 700; }
.button-primary { background: var(--paper); color: var(--ink); }
.button-primary:hover { background: var(--cyan); }
.button-ghost { border: 1px solid var(--line); color: var(--paper); }
.button-ghost:hover { border-color: var(--cyan); }
.availability { margin: 1.4rem 0 0; color: var(--muted); font-size: .84rem; }
.hero-visual { margin: 0; position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 12% -20% -18% 15%; background: rgba(56, 119, 255, .17); filter: blur(80px); border-radius: 50%; }
.hero-visual img { position: relative; width: min(58rem, 58vw); aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2rem 0 0 2rem; border: 1px solid var(--line); box-shadow: 0 2rem 7rem rgba(0,0,0,.35); }
.hero-visual figcaption { position: absolute; right: 1.2rem; bottom: 1.2rem; padding: .55rem .8rem; color: #d9e9fb; background: rgba(4, 12, 23, .72); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 99px; font-size: .78rem; }

.product-intro, .approach { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 4.5rem); }
.product-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; border-top: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(2.3rem, 4.5vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 620; }
.product-intro > p { max-width: 38rem; margin: 0; color: var(--muted); font-size: 1.06rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.product-card { min-height: 25rem; padding: clamp(1.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; gap: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s ease, transform .25s ease; }
.product-card:hover { background: rgba(255,255,255,.035); }
.product-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: -4px; }
.product-number { color: var(--muted); font-size: .78rem; letter-spacing: .15em; }
.product-status { justify-self: end; align-self: start; padding: .25rem .55rem; border: 1px solid currentColor; border-radius: 99px; color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3 { grid-column: 1 / -1; align-self: end; margin: 0; font-size: clamp(2.5rem, 5vw, 5.7rem); letter-spacing: -.06em; line-height: .9; }
.product-card p { grid-column: 1 / -1; max-width: 31rem; color: var(--muted); font-size: 1rem; }
.card-link { font-size: .86rem; font-weight: 750; }
.card-link::after { content: " ↗"; color: var(--cyan); }
.self-bank h3 { color: #f0f4f8; }
.cut h3 { color: var(--amber); }
.clear h3 { color: #76e5dc; }
.dream h3 { color: #c6a6ff; }

.approach { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); background: #0a1626; }
.principles article { display: grid; grid-template-columns: 3rem minmax(10rem, .65fr) 1fr; gap: 1.2rem; align-items: start; padding: 1.7rem 0; border-top: 1px solid var(--line); }
.principles article > span { color: var(--cyan); font-size: .75rem; letter-spacing: .12em; }
.principles h3 { margin: 0; font-size: 1.1rem; }
.principles p { margin: 0; color: var(--muted); }

.site-footer { padding: 3.5rem clamp(1.25rem, 4vw, 4.5rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; border-top: 1px solid var(--line); }
.site-footer > div p { margin: .8rem 0 0; color: var(--muted); font-size: .88rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.copyright { grid-column: 1 / -1; margin: 2rem 0 0; color: #6f8299; font-size: .75rem; }

@media (max-width: 860px) {
  .desktop-nav { display: none; }
  .language-button { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-visual img { width: calc(100% + 1.25rem); max-width: none; border-radius: 1.2rem 0 0 1.2rem; }
  .product-intro, .approach { grid-template-columns: 1fr; gap: 2rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 21rem; border-right: 0; }
  .principles article { grid-template-columns: 2rem 1fr; }
  .principles article p { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}

@media (max-width: 480px) {
  .site-header { min-height: 4.5rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.6rem); }
  .hero { padding-top: 4rem; }
  .hero-actions .button { width: 100%; }
  .product-card { min-height: 19rem; }
}

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

/* Interior pages */
.interior-main { min-height: 70vh; }
.page-hero { padding: clamp(4.5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem) clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.page-hero .back-link { display: inline-block; margin-bottom: 3rem; color: var(--muted); text-decoration: none; font-size: .88rem; }
.page-hero .back-link:hover { color: var(--paper); }
.page-hero h1 { max-width: 14ch; }
.page-hero .page-lede { max-width: 49rem; margin: 2rem 0 0; color: #c1d0e2; font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.page-meta { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2.2rem; }
.page-meta span { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .76rem; }
.page-content { max-width: 82rem; margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem); }
.content-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); }
.content-grid + .content-grid { margin-top: clamp(5rem, 10vw, 9rem); padding-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.content-grid h2 { font-size: clamp(2.1rem, 3.8vw, 3.8rem); }
.content-copy { color: var(--muted); }
.content-copy > p:first-child { margin-top: 0; color: #d6e1ef; font-size: 1.06rem; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.feature-item { min-height: 10rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.018); }
.feature-item strong { display: block; margin-bottom: .45rem; color: var(--paper); font-size: .98rem; }
.feature-item p { margin: 0; font-size: .9rem; }
.notice-panel { padding: 1.4rem; border-left: 3px solid var(--cyan); background: rgba(89,216,255,.06); color: #c8d7e8; }
.page-cta { margin-top: clamp(4rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: #0a1626; }
.page-cta h2 { max-width: 15ch; font-size: clamp(2rem, 4vw, 4rem); }
.legal { max-width: 52rem; }
.legal h1 { max-width: none; }
.legal h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.5rem, 2.5vw, 2.1rem); letter-spacing: -.025em; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { color: #d3dfed; }
.support-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.support-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; }
.support-card h2 { margin: 0 0 .7rem; font-size: 1.25rem; letter-spacing: -.02em; }
.support-card p { margin: 0; color: var(--muted); }
.accent-cut h1 { color: var(--amber); }
.accent-clear h1 { color: #76e5dc; }
.accent-dream h1 { color: #c6a6ff; }

@media (max-width: 760px) {
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-list, .support-options { grid-template-columns: 1fr; }
  .page-cta { align-items: flex-start; flex-direction: column; }
}
