/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* vietnamese */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */


/* ============================================================
   Soka Lock — landing page styles
   Warm & earthy · peaceful · editorial
   ============================================================ */

/* ============================================================
   CINEMATIC HERO — scroll-pinned scroll-driven sequence
   ============================================================ */

.cin-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  perspective: 1500px;
}

/* Film grain */
.cin-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}

/* ---- Text layer (behind the card) ---- */
.cin-text-wrapper {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 80px);
  will-change: transform, opacity, filter;
}

.cin-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  opacity: 0;
}

.cin-tagline-1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
  opacity: 0;
  text-shadow: 0 12px 40px oklch(0.3 0.02 70 / 0.12), 0 2px 6px oklch(0.3 0.02 70 / 0.08);
}

.cin-tagline-2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--accent);
  margin: 0;
  background: linear-gradient(180deg, var(--brass) 0%, var(--brass-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  clip-path: inset(0 100% 0 0);
  filter: drop-shadow(0 10px 24px oklch(0.5 0.07 70 / 0.2));
}

/* ---- CTA layer ---- */
.cin-cta-wrapper {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 80px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.cin-cta-wrapper[aria-hidden="false"] { pointer-events: auto; }

.cin-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 18px;
  background: linear-gradient(180deg, var(--ink) 0%, oklch(0.35 0.015 65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cin-cta-body {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 40em;
  margin: 0 0 40px;
  line-height: 1.6;
}

.cin-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cin-gplay-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px 14px 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--ink) 0%, oklch(0.22 0.015 65) 100%);
  color: var(--paper);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 2px 4px rgba(0,0,0,0.3),
    0 16px 32px -6px rgba(0,0,0,0.45),
    inset 0 1px 1px rgba(255,255,255,0.12),
    inset 0 -2px 4px rgba(0,0,0,0.5);
  transition: transform 0.35s cubic-bezier(0.25,1,0.5,1), box-shadow 0.35s cubic-bezier(0.25,1,0.5,1);
  text-decoration: none;
}
.cin-gplay-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 6px 14px -2px rgba(0,0,0,0.4),
    0 28px 44px -8px rgba(0,0,0,0.55),
    inset 0 1px 1px rgba(255,255,255,0.15),
    inset 0 -2px 4px rgba(0,0,0,0.5);
}
.cin-gplay-icon {
  width: 28px;
  height: 28px;
  flex: none;
}
.cin-gplay-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.cin-gplay-txt small {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  font-family: var(--font-mono);
}
.cin-gplay-txt b {
  font-size: 20px;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.cin-trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.cin-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---- Card shell ---- */
.cin-card-wrap {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cin-card {
  position: relative;
  width: clamp(320px, 88vw, 1100px);
  height: clamp(500px, 86vh, 780px);
  border-radius: clamp(24px, 3vw, 40px);
  background: linear-gradient(145deg, #1a2a5e 0%, #0c1220 100%);
  box-shadow:
    0 50px 120px -24px rgba(0,0,0,0.85),
    0 24px 50px -18px rgba(0,0,0,0.65),
    inset 0 1px 2px rgba(255,255,255,0.18),
    inset 0 -2px 4px rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  pointer-events: auto;
  will-change: transform, width, height, border-radius;
}

.cin-card-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(700px circle at var(--mx,50%) var(--my,30%), rgba(255,255,255,0.055) 0%, transparent 40%);
  mix-blend-mode: screen;
}

/* ---- Card inner grid ---- */
.cin-card-grid {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px);
}

/* Left: text */
.cin-card-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  will-change: transform, opacity;
}
.cin-card-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.75vw, 11px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(0.78 0.07 75);
  opacity: 0.8;
}
.cin-card-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}
.cin-card-body {
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(180,200,240,0.65);
  line-height: 1.65;
  max-width: 28em;
  margin: 0;
}
.cin-card-body strong { color: rgba(220,230,255,0.9); }

/* Right: brand name */
.cin-card-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  will-change: transform, opacity;
}
.cin-brand-display {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: right;
  background: linear-gradient(180deg, #ffffff 0%, #8a9ab8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.75)) drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  margin: 0;
}

/* ---- Phone mockup ---- */
.cin-mockup-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  will-change: transform, opacity;
}

.cin-mockup {
  position: relative;
  width: clamp(180px, 18vw, 256px);
  aspect-ratio: 256 / 530;
  background: #111;
  border-radius: 3rem;
  box-shadow:
    inset 0 0 0 2px #48484a,
    inset 0 0 0 7px #000,
    0 48px 100px -16px rgba(0,0,0,0.9),
    0 18px 30px -6px rgba(0,0,0,0.7);
  transform-style: preserve-3d;
  will-change: transform;
}

.cin-hw-btn {
  position: absolute;
  background: linear-gradient(90deg, #3a3a3a 0%, #181818 100%);
  box-shadow: -2px 0 4px rgba(0,0,0,0.8), inset -1px 0 1px rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.04);
}
.cin-hw-btn--vol1 { top: 22%; left: -3px; width: 3px; height: 7%; border-radius: 2px 0 0 2px; }
.cin-hw-btn--vol2 { top: 31%; left: -3px; width: 3px; height: 14%; border-radius: 2px 0 0 2px; }
.cin-hw-btn--pwr  { top: 26%; right: -3px; width: 3px; height: 20%; border-radius: 0 2px 2px 0; transform: scaleX(-1); }

.cin-screen {
  position: absolute;
  inset: 7px;
  background: #040c18;
  border-radius: 2.5rem;
  overflow: hidden;
  color: #fff;
}

.cin-screen-glare {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255,255,255,0.07) 0%, transparent 44%);
}

.cin-island {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 100px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}
.cin-island-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.8);
  animation: cin-pulse 2.5s ease-in-out infinite;
}
@keyframes cin-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.cin-app {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 42px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cin-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cin-app-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(180,190,220,0.5);
  margin-bottom: 2px;
}
.cin-app-title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.cin-app-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(210,185,140,0.9);
}

.cin-ring-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.cin-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cin-progress-ring {
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  stroke-dasharray: 402;
  stroke-dashoffset: 402;
  stroke-linecap: round;
}
.cin-ring-center {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cin-counter {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.cin-ring-label {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200,165,110,0.5);
  margin-top: 3px;
}

.cin-widget-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.04);
}
.cin-widget-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.cin-widget-icon svg { width: 13px; height: 13px; }
.cin-widget-icon--gold {
  background: linear-gradient(135deg, rgba(201,147,90,0.22) 0%, rgba(201,147,90,0.05) 100%);
  border: 1px solid rgba(201,147,90,0.2);
  color: oklch(0.74 0.09 70);
}
.cin-widget-icon--moss {
  background: linear-gradient(135deg, rgba(86,160,110,0.2) 0%, rgba(86,160,110,0.05) 100%);
  border: 1px solid rgba(86,160,110,0.18);
  color: oklch(0.70 0.08 145);
}
.cin-widget-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.cin-widget-line { height: 5px; border-radius: 100px; background: rgba(200,210,230,0.12); }
.cin-widget-line--sm  { width: 40%; }
.cin-widget-line--md  { width: 60%; }
.cin-widget-line--lg  { width: 75%; }
.cin-widget-line--xl  { width: 90%; }

.cin-home-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 100px;
}

/* Floating glass badges */
.cin-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 20px 48px -10px rgba(0,0,0,0.75),
    inset 0 1px 1px rgba(255,255,255,0.18),
    inset 0 -1px 1px rgba(0,0,0,0.4);
  opacity: 0;
  will-change: transform, opacity;
  white-space: nowrap;
}
.cin-badge--top {
  top: clamp(-10px, -2vw, -20px);
  left: clamp(-40px, -8vw, -70px);
}
.cin-badge--bottom {
  bottom: clamp(0px, 3vw, 30px);
  right: clamp(-40px, -8vw, -70px);
}
.cin-badge-icon {
  font-size: 20px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
.cin-badge-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.cin-badge-sub {
  font-size: 10px;
  color: rgba(180,200,240,0.5);
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* Widget animation class (hidden until GSAP reveals) */
.cin-widget { opacity: 0; }

/* ---- Responsive: hide card columns on small screens ---- */
@media (max-width: 680px) {
  .cin-card-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 12px;
  }
  .cin-card-left { display: none; }
  .cin-card-right { display: none; }
  .cin-brand-display { text-align: center; }
  .cin-badge--top { left: -10px; top: -10px; }
  .cin-badge--bottom { right: -10px; bottom: 0; }
}
@media (max-width: 900px) {
  .cin-card-grid { grid-template-columns: 0.8fr auto 0.8fr; gap: 16px; }
  .cin-card-body { display: none; }
}

/* ---- Accessibility: reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .cin-tagline-1, .cin-tagline-2, .cin-eyebrow { opacity: 1; }
  .cin-tagline-2 { clip-path: none; }
  .cin-card-wrap { position: relative; height: auto; }
  .cin-card { transform: none !important; width: clamp(320px, 88vw, 1100px) !important; height: auto !important; }
}

/* ---- Tokens ---- */
:root {
  /* Warm paper neutrals */
  --paper:        oklch(0.972 0.012 83);   /* page bg */
  --paper-2:      oklch(0.945 0.016 80);   /* sunk panels */
  --paper-3:      oklch(0.915 0.020 78);   /* cards / borders bg */
  --ink:          oklch(0.285 0.012 60);   /* primary text */
  --ink-soft:     oklch(0.435 0.014 62);   /* secondary text */
  --ink-faint:    oklch(0.575 0.013 64);   /* tertiary / captions */
  --line:         oklch(0.872 0.018 75);   /* hairlines */

  /* Accents — shared chroma/lightness, varied hue */
  --brass:        oklch(0.635 0.088 73);   /* primary accent (gold/ochre) */
  --brass-deep:   oklch(0.520 0.082 66);
  --moss:         oklch(0.560 0.052 145);  /* secondary natural accent */
  --clay:         oklch(0.560 0.090 40);   /* warm tertiary */

  --accent:       var(--brass);            /* overridable by Tweaks */

  /* Dark serene (used in water hero + footer) */
  --night:        oklch(0.255 0.014 70);
  --night-2:      oklch(0.205 0.012 68);
  --on-night:     oklch(0.945 0.012 85);
  --on-night-soft:oklch(0.800 0.012 82);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "Spline Sans Mono", ui-monospace, monospace;

  /* Rhythm */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vh, 148px);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 1px 2px oklch(0.4 0.02 70 / 0.05),
                 0 18px 40px -22px oklch(0.35 0.03 70 / 0.32);
  --shadow-lift: 0 2px 4px oklch(0.4 0.02 70 / 0.06),
                 0 40px 80px -34px oklch(0.30 0.04 70 / 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

/* ---- Shared layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-head { max-width: 640px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 18px; }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 19px; }

/* ---- Enso / circle motif ---- */
.enso {
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: center;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: oklch(0.972 0.012 83 / 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line);
}
.nav {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 23px; letter-spacing: 0.01em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  position: relative; flex: none;
  display: grid; place-items: center;
}
.brand .mark::after { content:""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.brand b { font-weight: 600; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  padding: 10px 18px; border-radius: 100px; white-space: nowrap;
  background: var(--ink); color: var(--paper);
  transition: transform .2s, background .2s;
}
.nav__cta:hover { transform: translateY(-1px); background: var(--brass-deep); color: var(--paper); }

/* header adapts when over the dark water hero */
[data-hero="water"] .site-header:not(.scrolled) .brand,
[data-hero="water"] .site-header:not(.scrolled) .nav__links a { color: var(--on-night); }
[data-hero="water"] .site-header:not(.scrolled) .nav__cta { background: var(--on-night); color: var(--night); }

/* ============================================================
   Hero — shared
   ============================================================ */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__inner {
  position: relative; z-index: 2;
  display: grid; gap: clamp(36px, 5vw, 72px); align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  padding-top: clamp(132px, 17vh, 200px);
  padding-bottom: var(--section-y);
}
.hero__copy { max-width: 580px; }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 80px);
  margin-top: 22px;
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__lede { margin-top: 32px; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); max-width: 30em; }
.hero__actions { display: flex; align-items: center; gap: 18px; margin-top: 38px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 14px; color: var(--ink-faint); font-family: var(--font-mono); letter-spacing: 0.04em; }
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* backgrounds */
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; }
.hero__bg--image { background: var(--night); }
.hero__bg--image::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, oklch(0.22 0.02 65 / 0.94) 8%, oklch(0.24 0.02 68 / 0.55) 55%, oklch(0.26 0.02 70 / 0.30) 100%);
}
.hero__bg--dawn {
  background:
    radial-gradient(120% 90% at 70% 8%, oklch(0.94 0.045 70) 0%, oklch(0.95 0.03 82) 38%, var(--paper) 72%);
}
.hero__dawn-sun {
  position: absolute; top: 8%; right: 12%;
  width: clamp(220px, 30vw, 460px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid oklch(0.70 0.07 72 / 0.55);
  box-shadow: 0 0 140px 40px oklch(0.88 0.06 75 / 0.45);
}
.hero__dawn-sun::after {
  content:""; position:absolute; inset: 18%;
  border-radius: 50%;
  border: 1px solid oklch(0.72 0.06 74 / 0.4);
}

/* ---- Variant: Paper & Light (default) ---- */
[data-hero="paper"] .hero { background: var(--paper); }

/* ---- Variant: Still Water ---- */
[data-hero="water"] .hero__bg--image { opacity: 1; }
[data-hero="water"] .hero { color: var(--on-night); }
[data-hero="water"] .hero h1 { color: var(--on-night); }
[data-hero="water"] .hero h1 em { color: oklch(0.80 0.085 78); }
[data-hero="water"] .hero__lede { color: var(--on-night-soft); }
[data-hero="water"] .hero__trust { color: var(--on-night-soft); }
[data-hero="water"] .hero .btn--ghost { color: var(--on-night); border-color: oklch(0.95 0.01 85 / 0.4); }
[data-hero="water"] .hero .btn--ghost:hover { background: oklch(0.95 0.01 85 / 0.1); }

/* ---- Variant: Dawn ---- */
[data-hero="dawn"] .hero__bg--dawn { opacity: 1; }
[data-hero="dawn"] .hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
[data-hero="dawn"] .hero__copy { max-width: 720px; }
[data-hero="dawn"] .hero__lede { margin-inline: auto; }
[data-hero="dawn"] .hero__actions { justify-content: center; }
[data-hero="dawn"] .hero__trust { justify-content: center; }
[data-hero="dawn"] .hero__media { margin-top: 8px; }
[data-hero="dawn"] .eyebrow { justify-content: center; }
[data-hero="dawn"] .eyebrow::before { display: none; }

/* hide image bg unless water; dawn bg only on dawn (handled by opacity) */

/* ---- buttons ---- */
.btn { font-family: var(--font-body); font-weight: 500; font-size: 16px; cursor: pointer; border: 0; }
.btn--ghost {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 13px 20px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--ink); background: transparent;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn--ghost:hover { background: var(--paper-2); transform: translateY(-1px); }
.btn--ghost svg { width: 16px; height: 16px; }

/* Google Play badge */
.gplay {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 12px 22px 12px 18px; border-radius: 14px;
  background: var(--ink); color: var(--paper);
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-soft);
  border: 1px;
  border-color: #ffffff5e;
  border-style: solid;
  
}
.gplay:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.gplay__icon { width: 26px; height: 28px; flex: none; }
.gplay__txt { display: flex; flex-direction: column; line-height: 1.1; }
.gplay__txt small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; font-family: var(--font-mono); }
.gplay__txt b { font-size: 19px; font-weight: 500; font-family: var(--font-display); letter-spacing: 0.01em; }

/* ============================================================
   Phone mock (the interception moment)
   ============================================================ */
.hero__media { display: flex; justify-content: center; }
.phone {
  width: clamp(260px, 30vw, 322px);
  aspect-ratio: 322 / 690;
  background: var(--night);
  border-radius: 42px;
  padding: 11px;
  box-shadow: var(--shadow-lift), 0 0 0 1px oklch(0.3 0.01 70 / 0.6) inset;
  position: relative;
  flex: none;
}
.phone::before {
  content:""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; border-radius: 100px; background: var(--night-2); z-index: 3;
}
.phone__screen {
  position: relative; height: 100%; width: 100%;
  border-radius: 33px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, oklch(0.40 0.03 250) 0%, oklch(0.30 0.025 255) 40%, oklch(0.22 0.02 260) 100%);
  display: flex; flex-direction: column;
  color: var(--on-night);
}
.scr__status { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 0; font-size: 11px; font-family: var(--font-mono); opacity: 0.85; }
.scr__pull {
  margin: 18px auto 0; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  font-family: var(--font-mono); color: oklch(0.82 0.04 80); opacity: 0.9;
}
.scr__body { margin-top: auto; padding: 22px 22px 26px; }
.scr__enso { width: 52px; height: 52px; border-radius: 50%; border: 1.4px solid oklch(0.80 0.06 80 / 0.7); margin-bottom: 18px; position: relative; }
.scr__enso::after { content:""; position:absolute; right: -2px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: oklch(0.80 0.06 80 / 0.9); }
.scr__chant { font-family: var(--font-display); font-size: 26px; line-height: 1.18; letter-spacing: 0.01em; }
.scr__teach { margin-top: 12px; font-size: 13px; line-height: 1.5; color: oklch(0.86 0.012 85 / 0.86); }
.scr__attr { margin-top: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: oklch(0.78 0.04 80 / 0.8); }
.scr__cta { margin-top: 22px; display: grid; gap: 9px; }
.scr__btn { text-align: center; padding: 13px; border-radius: 13px; font-size: 13.5px; font-weight: 500; }
.scr__btn--p { background: oklch(0.80 0.07 78); color: oklch(0.25 0.03 70); }
.scr__btn--s { border: 1px solid oklch(0.9 0.01 85 / 0.28); color: oklch(0.9 0.01 85 / 0.9); }

/* ============================================================
   Image placeholders
   ============================================================ */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--paper-2) 0 14px, var(--paper-3) 14px 28px);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-faint);
}
.ph span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--paper); padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line);
}
.ph--dark { background: repeating-linear-gradient(135deg, var(--night) 0 14px, var(--night-2) 14px 28px); border-color: oklch(0.4 0.01 70 / 0.4); }
.ph--dark span { background: var(--night); color: var(--on-night-soft); border-color: oklch(0.5 0.01 70 / 0.5); }

/* ============================================================
   Features
   ============================================================ */
.features { padding-block: var(--section-y); }
.feature-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 46px);
  display: flex; flex-direction: column; gap: 16px;
  transition: background .3s;
}
.feature:hover { background: var(--paper-2); }
.feature__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); color: var(--accent); }
.feature:hover .feature__ico { background: var(--paper); }
.feature__ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 27px; }
.feature p { color: var(--ink-soft); font-size: 16.5px; }

/* ============================================================
   How it works
   ============================================================ */
.how { padding-block: var(--section-y); background: var(--paper-2); border-block: 1px solid var(--line); }
.how__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.steps { display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-size: 22px; color: var(--accent); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; flex: none; }
.step__dot { width: 42px; height: 42px; flex: none; position: relative; display: grid; place-items: center; }
/* --enso-sweep (deg) drives how far the ring is "drawn"; JS animates
   it from 0 → 312. Registered so it can be tweened smoothly. */
/* --enso-sweep is a unitless number (deg); JS animates it 0 → 312.
   Registered as <number> so GSAP can tween it and the browser can
   interpolate it smoothly; calc(… * 1deg) turns it into an angle. */
@property --enso-sweep {
  syntax: '<number>';
  inherits: false;
  initial-value: 312;
}
.step__dot .enso-ring { --enso-sweep: 312; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 135deg, var(--accent) 0deg calc(var(--enso-sweep) * 1deg), transparent calc(var(--enso-sweep) * 1deg) 360deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.5px)); transform: rotate(-8deg); }
.step__dot b { font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif; font-size: 18px; font-weight: 400; color: var(--accent); position: relative; z-index: 1; line-height: 1; }
.step h3 { font-size: 25px; margin-bottom: 7px; }
.step p { color: var(--ink-soft); font-size: 16.5px; }
.how__media { display: flex; justify-content: center; }
.how .phone { width: clamp(250px, 26vw, 300px); }

/* ============================================================
   Library
   ============================================================ */
.library { padding-block: var(--section-y); }
.lib__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.lib__grid { margin-top: clamp(38px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lib-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.lib-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.lib-card__img { aspect-ratio: 5 / 3; }
.lib-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.lib-card__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.lib-card h3 { font-size: 24px; }
.lib-card p { color: var(--ink-soft); font-size: 15.5px; }
.lib-card__meta { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--ink-faint); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-block: var(--section-y); background: var(--paper-2); border-block: 1px solid var(--line); }
.faq__layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; margin-top: 8px; }
.faq__list { display: grid; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--font-display); font-size: 23px; color: var(--ink); }
.faq-q .ico { width: 24px; height: 24px; flex: none; position: relative; }
.faq-q .ico::before, .faq-q .ico::after { content:""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--accent); }
.faq-q .ico::before { width: 15px; height: 1.5px; }
.faq-q .ico::after { width: 1.5px; height: 15px; transition: transform .3s; }
.faq-item.open .faq-q .ico::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a > div { padding-bottom: 26px; color: var(--ink-soft); font-size: 16.5px; max-width: 44em; }

/* ============================================================
   Download CTA + footer
   ============================================================ */
.cta { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.cta__inner { padding-block: clamp(80px, 12vh, 150px); text-align: center; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta__enso { width: 120px; height: 120px; border-radius: 50%; border: 1.5px solid oklch(0.7 0.07 78 / 0.55); position: absolute; top: -40px; left: 50%; transform: translateX(-50%); z-index: 1; }
.cta h2 { font-size: clamp(38px, 5.4vw, 70px); color: var(--on-night); max-width: 14em; }
.cta h2 em { font-style: italic; color: oklch(0.80 0.085 78); }
.cta p { margin-top: 22px; color: var(--on-night-soft); font-size: 19px; max-width: 34em; }
.cta .gplay { background: var(--paper); color: var(--ink); margin-top: 40px; }
.cta__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 60% at 50% 120%, oklch(0.5 0.06 78 / 0.4) 0%, transparent 60%); }

.site-footer { background: var(--night-2); color: var(--on-night-soft); }
.footer__inner { padding-block: 56px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer__brand .brand { color: var(--on-night); }
.footer__brand p { font-size: 14.5px; line-height: 1.6; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(0.7 0.04 80); margin: 0 0 4px; font-weight: 500; }
.footer__col a { font-size: 14.5px; color: var(--on-night-soft); transition: color .2s; }
.footer__col a:hover { color: var(--on-night); }
.footer__base { border-top: 1px solid oklch(0.4 0.01 70 / 0.4); }
.footer__base .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-block: 22px; font-size: 12.5px; font-family: var(--font-mono); letter-spacing: 0.04em; color: oklch(0.62 0.02 75); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
/* ============================================================
   .reveal kept as a no-op hook (content always painted).
   ============================================================ */
.reveal { opacity: 1; }

/* ============================================================
   Ink & Ensō motion — pre-hide guard.
   Elements GSAP animates IN start hidden ONLY after JS confirms
   GSAP loaded (html.gsap-ready). If GSAP/CDN fails, none of this
   applies and the page renders fully visible. No blank states.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .gsap-ready .reveal,
  .gsap-ready .hero__copy .ink-word,
  .gsap-ready .feature,
  .gsap-ready .tcard,
  .gsap-ready .lib-card,
  .gsap-ready .plan,
  .gsap-ready .screens-strip__phones > div {
    opacity: 0;
  }
}

/* Brush-wipe on the eyebrow rule: --brush (0→1) extends the line. */
@property --brush {
  syntax: '<number>';
  inherits: false;
  initial-value: 1;
}
.gsap-ready .section-head .eyebrow::before {
  width: calc(22px * var(--brush));
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  body { font-size: 17px; }
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  [data-hero="water"] .hero__media, [data-hero="paper"] .hero__media { justify-content: flex-start; }
  .how__layout { grid-template-columns: 1fr; }
  .how__media { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .lib__grid { grid-template-columns: 1fr; }
  .faq__layout { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  :root { --gutter: 22px; }
  .hero__actions { width: 100%; }
}

/* ============================================================
   Hero two-phone duo layout
   ============================================================ */
.hero__phones-duo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(480px, 62vw, 680px);
}
.hero__phone-wrap--back {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: rotate(-6deg) translateX(-10%);
  opacity: 0.82;
  z-index: 1;
}
.hero__phone-wrap--back .phone { width: clamp(200px, 22vw, 258px); }
.hero__phone-wrap--front {
  position: relative;
  z-index: 2;
  transform: rotate(3deg);
}
.hero__phone-wrap--front .phone { width: clamp(220px, 26vw, 290px); }
@media (max-width: 880px) {
  .hero__phones-duo { height: clamp(380px, 72vw, 520px); }
  .hero__phone-wrap--back { transform: rotate(-5deg) translateX(-8%); }
  .hero__phone-wrap--back .phone { width: clamp(160px, 36vw, 210px); }
  .hero__phone-wrap--front .phone { width: clamp(180px, 40vw, 240px); }
}

/* Tweak island mount — never blocks layout */
#tweaks-root { position: fixed; z-index: 90; }

/* ============================================================
   Devotional motifs — Gohonzon altar, lotus (renge), juzu beads.
   Minimalist line art, used as faint background sketches.
   ============================================================ */
.motif { position: absolute; color: var(--accent); opacity: 0.11; pointer-events: none; z-index: 0; }
.motif use { color: inherit; }
.has-motif { position: relative; overflow: hidden; }
.has-motif > .wrap { position: relative; z-index: 1; }
.cta__altar { width: 152px; height: 192px; color: oklch(0.82 0.075 78); opacity: 0.92; margin: 0 auto 32px; position: relative; z-index: 1; }
.cta__altar-wrap { position: relative; display: flex; justify-content: center; align-items: center; margin: 0 auto 32px; width: 152px; height: 192px; }
.cta__altar-wrap .cta__altar { position: relative; z-index: 2; }
/* Pulsating rings behind altar */
.cta__pulse { position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; pointer-events: none; z-index: 1; }
.cta__pulse span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid oklch(0.82 0.075 78 / 0.8); opacity: 0; animation: pulse-ring 6s ease-out infinite; }
.cta__pulse span:nth-child(2) { animation-delay: 3s; }
.cta__pulse span:nth-child(3) { animation-delay: 6s; }
@keyframes pulse-ring {
  0%   { transform: scale(0.5); opacity: 0.9; }
  60%  { opacity: 0.4; }
  100% { transform: scale(2.0); opacity: 0; }
}
.cta__mantra { color: oklch(0.75 0.06 78 / 0.65); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 44px; }
/* Hero phone pulse */
.hero__phone-wrap { position: relative; display: inline-block; }
.hero__pulse { position: absolute; top: 50%; left: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; pointer-events: none; z-index: 0; }
.hero__pulse span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid oklch(0.635 0.088 73 / 0.45); opacity: 0; animation: pulse-ring 6s ease-out infinite; }
.hero__pulse span:nth-child(2) { animation-delay: 3s; }
.hero__pulse span:nth-child(3) { animation-delay: 6s; }
.hero__phone-wrap .phone { position: relative; z-index: 1; }
/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding-block: var(--section-y); background: var(--paper-2); border-block: 1px solid var(--line); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.tcard { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 32px; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tcard p { font-size: 16px; color: var(--ink-soft); line-height: 1.75; font-style: italic; margin: 0; }

.tcard footer { display: flex; flex-direction: column; gap: 4px; }
.tcard footer strong { font-size: 14px; color: var(--ink); font-family: var(--font-display); letter-spacing: 0.04em; }
.tcard footer span { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 860px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding-block: var(--section-y); }
.pricing__head { text-align: center; margin-bottom: 48px; }
.pricing__toggle { display: inline-flex; align-items: center; gap: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 4px; margin-top: 32px; }
.pricing__toggle button { padding: 8px 22px; border-radius: 100px; border: 0; background: none; cursor: pointer; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-soft); transition: background .2s, color .2s; }
.pricing__toggle button.active { background: var(--ink); color: var(--paper); }
.pricing__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 780px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 40px 36px; position: relative; background: var(--paper); }
.plan--annual { border-color: var(--accent); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--paper); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 16px; border-radius: 100px; white-space: nowrap; }
.plan__name { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }
.plan__price { margin: 20px 0 6px; line-height: 1; }
.plan__amount { font-family: var(--font-display); font-size: clamp(42px, 6vw, 58px); font-weight: 600; color: var(--ink); }
.plan__period { font-size: 14px; color: var(--ink-soft); margin-left: 4px; }
.plan__note { font-size: 13px; color: var(--ink-faint); margin-bottom: 28px; min-height: 20px; }
.plan__save { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 100px; background: oklch(0.635 0.088 73 / 0.12); color: var(--accent); font-family: var(--font-sans, inherit); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; vertical-align: middle; white-space: nowrap; }
.plan__features { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.plan__features li { font-size: 15px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.plan__features li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.plan__cta { display: block; text-align: center; padding: 14px; border-radius: 12px; font-size: 14px; letter-spacing: 0.06em; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.plan--monthly .plan__cta { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.plan--annual .plan__cta { background: var(--ink); color: var(--paper); }
.plan__cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px oklch(0 0 0 / 0.12); }
@media (max-width: 640px) { .pricing__cards { grid-template-columns: 1fr; } }

.cta__vstamp { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); writing-mode: vertical-rl; font-family: var(--font-display); font-size: clamp(120px, 20vw, 280px); color: var(--paper); opacity: 0.1; user-select: none; pointer-events: none; }
@media (max-width: 760px) { .motif { display: none; } }
.vstamp { position: absolute; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-family: var(--font-display); font-size: clamp(60px, 9vw, 140px); color: var(--ink); opacity: 0.045; letter-spacing: 0.2em; user-select: none; pointer-events: none; }
.vstamp--l { left: clamp(8px, 3vw, 40px); }
.vstamp--r { right: clamp(8px, 3vw, 40px); }
@media (max-width: 900px) { .vstamp { display: none; } }
/* ---- Section marker: vertical kanji + romaji index ---- */
.marker { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ink-faint); }
.marker__kanji { font-family: var(--font-display); font-size: 30px; line-height: 1; writing-mode: vertical-rl; color: var(--accent); letter-spacing: 0.1em; }
.marker__rune { font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase; writing-mode: vertical-rl; color: var(--ink-faint); }
.with-marker { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .with-marker { grid-template-columns: 1fr; } .marker { flex-direction: row; gap: 16px; } .marker__kanji, .marker__rune { writing-mode: horizontal-tb; } }


/* Zen Old Mincho CJK subset - for kanji numerals */
@font-face {
  font-family: 'Zen Old Mincho';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/zen-old-mincho-1.woff2") format('woff2');
  unicode-range: U+9E8B-9E8C, U+9E8E-9E8F, U+9E91-9E92, U+9E95-9E96, U+9E98, U+9E9B, U+9E9D-9E9E, U+9EA4-9EA5, U+9EA8-9EAA, U+9EAC-9EB0, U+9EB3-9EB5, U+9EB8, U+9EBC-9EBF, U+9EC3, U+9EC6, U+9EC8, U+9ECB-9ECD, U+9ECF-9ED1, U+9ED4-9ED5, U+9ED8, U+9EDB-9EE0, U+9EE4-9EE5, U+9EE7-9EE8, U+9EEC-9EF2, U+9EF4-9EF9, U+9EFB-9EFF, U+9F02-9F03, U+9F07-9F09, U+9F0E-9F12, U+9F14-9F17, U+9F19-9F1B, U+9F1F-9F22, U+9F26, U+9F2A-9F2C, U+9F2F, U+9F31-9F32, U+9F34, U+9F37, U+9F39-9F3A, U+9F3C-9F3F, U+9F41, U+9F43-9F47, U+9F4A, U+9F4E-9F50, U+9F52-9F58, U+9F5A, U+9F5D-9F61, U+9F63, U+9F66-9F6A, U+9F6C-9F73, U+9F75-9F77, U+9F7A, U+9F7D, U+9F7F, U+9F8F-9F92, U+9F94-9F97, U+9F99, U+9F9C-9FA3, U+9FA5, U+9FB4, U+9FBC-9FC2, U+9FC4, U+9FC6, U+9FCC, U+F900-F92C;
}


/* Zen Old Mincho - kanji numeral subsets */
@font-face {
  font-family: 'Zen Old Mincho';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/zen-old-mincho-2.woff2") format('woff2');
  unicode-range: U+2B, U+D7, U+300E-300F, U+4E07, U+4E8C, U+512A, U+5149, U+518D, U+5236, U+52B9, U+52D9, U+5468, U+578B, U+57FA, U+5B8C, U+5BA2, U+5C02, U+5DE5, U+5F37, U+5F62, U+623B, U+63D0, U+652F, U+672A, U+6848, U+6D41, U+7136, U+7537, U+754C, U+76F4, U+79C1, U+7BA1, U+7D44, U+7D4C, U+7DCF, U+7DDA, U+7DE8, U+82B1, U+897F, U+8CA9, U+8CFC, U+904E, U+9664, U+982D, U+9858, U+98A8, U+9A13, U+FF13, U+FF5C;
}
@font-face {
  font-family: 'Zen Old Mincho';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/zen-old-mincho-3.woff2") format('woff2');
  unicode-range: U+26, U+5F, U+2026, U+203B, U+4E09, U+4EAC, U+4ED5, U+4FA1, U+5143, U+5199, U+5207, U+539F, U+53E3, U+53F7, U+5411, U+5473, U+5546, U+55B6, U+5929, U+597D, U+5BB9, U+5C11, U+5C4B, U+5DDD, U+5F97, U+5FC5, U+6295, U+6301, U+6307, U+671B, U+76F8, U+78BA, U+795E, U+7D30, U+7D39, U+7D9A, U+89E3, U+8A00, U+8A73, U+8A8D, U+8A9E, U+8AAD, U+8ABF, U+8CEA, U+8ECA, U+8FFD, U+904B, U+9650, U+FF11-FF12;
}
@font-face {
  font-family: 'Zen Old Mincho';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/zen-old-mincho-4.woff2") format('woff2');
  unicode-range: U+4E, U+A0, U+3000, U+300C-300D, U+4E00, U+4E0A, U+4E2D, U+4E8B, U+4EBA, U+4F1A, U+5165, U+5168, U+5185, U+51FA, U+5206, U+5229, U+524D, U+52D5, U+5408, U+554F, U+5831, U+5834, U+5927, U+5B9A, U+5E74, U+5F0F, U+60C5, U+65B0, U+65B9, U+6642, U+6700, U+672C, U+682A, U+6B63, U+6C17, U+7121, U+751F, U+7528, U+753B, U+76EE, U+793E, U+884C, U+898B, U+8A18, U+9593, U+95A2, U+FF01, U+FF08-FF09;
}
