/* =========================================================================
   Puzzle — Terminal variant (superset.sh-inspired developer-tool aesthetic)
   Near-black, faint grid, terminal green glow, monospace-forward.
   Single green accent · no emoji · neutral base.
   ========================================================================= */

:root {
  color-scheme: dark;

  --bg:       oklch(0.155 0.004 260);
  --bg-1:     oklch(0.135 0.004 260);
  --panel:    oklch(0.188 0.005 260);
  --panel-2:  oklch(0.225 0.006 260);
  --line:     oklch(1 0 0 / 0.08);
  --line-2:   oklch(1 0 0 / 0.15);

  --text:     oklch(0.97 0.003 260);
  --text-2:   oklch(0.72 0.006 260);
  --text-3:   oklch(0.54 0.006 260);

  --green:    oklch(0.72 0.15 162);
  --green-2:  oklch(0.79 0.15 162);
  --green-ink:oklch(0.16 0.04 165);
  --green-w:  oklch(0.72 0.15 162 / 0.12);
  --green-l:  oklch(0.72 0.15 162 / 0.30);
  --green-glow: oklch(0.72 0.15 162 / 0.25);

  --amber:    oklch(0.85 0.12 90);
  --hi:       oklch(0.9 0.11 95 / 0.09);
  --tint:     oklch(0.186 0.005 260);

  --font-sans: "Inter", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1200px;
  --r: 10px;
  --r-lg: 16px;
}

* , *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.006em;
  overflow-x: clip;
  position: relative;
}
/* faint grid background */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.5;
}
main, .hd, .ft { position: relative; z-index: 1; }
::selection { background: var(--green-w); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
@media (max-width: 640px){ .wrap { padding-inline: 20px; } }

/* ===== reveal ===== */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv.s1{transition-delay:.08s}.rv.s2{transition-delay:.16s}.rv.s3{transition-delay:.24s}.rv.s4{transition-delay:.32s}
@media (prefers-reduced-motion: reduce){ .rv{opacity:1!important;transform:none!important} }

/* staggered reveal: children of a .stagger container cascade in one-by-one */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.stagger.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .stagger > *{opacity:1!important;transform:none!important} }

/* ===== labels ===== */
.label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); display: inline-flex; align-items: center; gap: 9px;
}
.label::before { content: "›"; color: var(--green); opacity: .8; }
.disp { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }

/* ===== header ===== */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 60px; display: flex; align-items: center; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.hd.scrolled { background: color-mix(in oklch, var(--bg) 78%, transparent); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'MuseoModerno', 'Noto Sans JP', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.01em; }
.brand .mk { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(150deg, var(--green-2), oklch(0.6 0.14 162)); position: relative; box-shadow: 0 0 0 1px var(--green-l), 0 0 16px -2px var(--green-glow); }
.brand .mk::before { content:""; position:absolute; inset: 6px auto auto 6px; width: 4px; height: 4px; background: var(--bg); }
.brand .mk::after { content:""; position:absolute; inset: auto 6px 6px auto; width: 4px; height: 4px; background: var(--bg); }
.hd-nav { display: flex; gap: 2px; margin-left: 8px; }
.hd-nav a { font-size: 13.5px; color: var(--text-2); padding: 7px 11px; border-radius: 7px; transition: color .2s, background-color .2s; white-space: nowrap; }
.hd-nav a:hover { color: var(--text); background: var(--panel); }
.hd-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ghchip { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, color .2s; }
.ghchip:hover { color: var(--text); border-color: var(--line-2); }
.ghchip svg { width: 14px; height: 14px; color: var(--green); }

/* ===== mobile menu (hamburger) ===== */
.hd-burger { display: none; flex: none; width: 38px; height: 38px; position: relative; border: 1px solid var(--line); border-radius: 9px; transition: border-color .2s, background-color .2s; }
.hd-burger:hover { border-color: var(--line-2); background: var(--panel); }
.hd-burger span { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; border-radius: 1px; background: var(--text); transition: transform .24s cubic-bezier(.2,.7,.3,1); }
.hd-burger .b1 { transform: translate(-50%, calc(-50% - 3.5px)); }
.hd-burger .b2 { transform: translate(-50%, calc(-50% + 3.5px)); }
.hd-burger[aria-expanded="true"] .b1 { transform: translate(-50%, -50%) rotate(45deg); }
.hd-burger[aria-expanded="true"] .b2 { transform: translate(-50%, -50%) rotate(-45deg); }

.hd-menu {
  position: fixed; inset: 60px 0 auto 0; z-index: 59; padding: 6px 20px 10px;
  background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .26s cubic-bezier(.2,.7,.3,1), transform .26s cubic-bezier(.2,.7,.3,1), visibility 0s linear .26s;
}
.hd-menu.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.hd-menu nav { display: flex; flex-direction: column; counter-reset: mnav; }
.hd-menu nav a {
  display: flex; align-items: center; gap: 14px; counter-increment: mnav;
  font-size: 15px; font-weight: 500; padding: 14px 2px; border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.hd-menu nav a::before { content: counter(mnav, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--green); opacity: .85; }
.hd-menu nav a:hover, .hd-menu nav a:active { color: var(--green-2); }
.hd-menu nav a:last-child { border-bottom: none; }
/* links cascade in on open (no delay on close) */
.hd-menu nav a { opacity: 0; transform: translateY(-6px); transition: opacity .3s cubic-bezier(.2,.7,.3,1), transform .3s cubic-bezier(.2,.7,.3,1), color .2s; }
.hd-menu.open nav a { opacity: 1; transform: none; }
.hd-menu.open nav a:nth-child(1){transition-delay:.03s}
.hd-menu.open nav a:nth-child(2){transition-delay:.06s}
.hd-menu.open nav a:nth-child(3){transition-delay:.09s}
.hd-menu.open nav a:nth-child(4){transition-delay:.12s}
.hd-menu.open nav a:nth-child(5){transition-delay:.15s}
.hd-menu.open nav a:nth-child(6){transition-delay:.18s}

.hd-scrim {
  position: fixed; inset: 0; z-index: 58; background: oklch(0 0 0 / 0.45);
  visibility: hidden; opacity: 0;
  transition: opacity .26s cubic-bezier(.2,.7,.3,1), visibility 0s linear .26s;
}
.hd-scrim.open { visibility: visible; opacity: 1; transition-delay: 0s; }

@media (max-width: 820px){
  .hd-nav, .hd-r { display: none; }
  .hd-burger { display: block; }
}
@media (min-width: 821px){ .hd-menu, .hd-scrim { display: none; } }
@media (prefers-reduced-motion: reduce){
  .hd-burger span, .hd-menu, .hd-menu nav a, .hd-scrim { transition: none; }
}

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 9px; font-size: 14.5px; font-weight: 540; border: 1px solid transparent; transition: transform .18s, background-color .22s, border-color .22s, box-shadow .22s; }
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
/* Green download buttons — gradient matched to the logo mark */
.btn-green {
  position: relative; isolation: isolate;
  color: var(--green-ink); font-weight: 600;
  background: linear-gradient(150deg, var(--green-2), oklch(0.6 0.14 162));
  border: 1px solid oklch(0.84 0.09 162 / 0.5);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.4),
    0 8px 30px -10px var(--green-glow),
    0 1px 2px oklch(0 0 0 / 0.3);
  overflow: hidden;
}
.btn-green::before {
  content: ""; position: absolute; inset: 0 0 55% 0; z-index: -1;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.22), oklch(1 0 0 / 0));
  border-radius: inherit; pointer-events: none;
}
.btn-green::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, oklch(1 0 0 / 0.5) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.btn-green:hover::after { transform: translateX(130%); }
.btn-green:hover {
  background: linear-gradient(150deg, oklch(0.83 0.15 162), oklch(0.64 0.14 162));
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.5),
    0 16px 50px -12px var(--green-glow),
    0 2px 4px oklch(0 0 0 / 0.3);
}
.btn-green:active { transform: translateY(0); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--panel); border-color: var(--line-2); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15.5px; }

/* ===== section ===== */
.sec { padding-block: clamp(64px, 8vw, 104px); position: relative; }
/* Apple-style subtle tonal band behind alternating sections (full-bleed) */
.tint::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 100vw; background: var(--tint);
}
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.035em; margin-top: 18px; line-height: 1.04; }
.sec-head p { color: var(--text-2); font-size: clamp(16px, 1.5vw, 18px); margin-top: 18px; line-height: 1.65; text-wrap: pretty; }

/* ===== hero ===== */
.hero { padding-top: 116px; padding-bottom: 28px; text-align: center; }
.hero .badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); padding: 6px 13px 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.hero .badge b { color: var(--green); font-weight: 500; }
.hero .badge .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.12; margin-top: 20px; }
.hero h1 .g { color: var(--green); }
.hero .sub { color: var(--text-2); font-size: clamp(16px, 1.5vw, 19px); max-width: 600px; margin: 18px auto 0; line-height: 1.6; }
.hero-cta { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }

/* ===== big hero demo (layered) ===== */
.stage { margin-top: clamp(28px, 3.4vw, 48px); position: relative; }
.stage::before { content:""; position:absolute; inset: -8% 10% auto 10%; height: 380px; z-index:-1; background: radial-gradient(60% 100% at 50% 0%, var(--green-glow), transparent 70%); filter: blur(20px); }
.hero-media { position: relative; margin: 0; line-height: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 2px 8px -4px oklch(0 0 0 / 0.4), 0 10px 28px -14px oklch(0 0 0 / 0.35), 0 30px 70px -44px var(--green-glow), 0 50px 110px -64px var(--green-glow); }
.hero-media img, .hero-media video { display: block; width: 100%; height: auto; }

/* ===== copilot two-column (intro + query share one tall capture) ===== */
.copilot-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: 8px; }
@media (max-width: 900px){ .copilot-split { grid-template-columns: 1fr; gap: 36px; } }
.copilot-text { display: flex; flex-direction: column; }
.copilot-sub { margin-top: clamp(28px, 4vw, 46px); }
.copilot-media { display: flex; justify-content: center; }
@media (max-width: 900px){ .copilot-media { margin-top: 8px; } }
.copilot-media .chat-shot { position: relative; margin: 0; line-height: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 2px 8px -4px oklch(0 0 0 / 0.4), 0 30px 80px -44px var(--green-glow); }
.copilot-media .chat-shot image-slot { display: block; height: auto; background: var(--bg-1); color: var(--text-2); font-family: var(--font-mono); }
.copilot-shot-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.copilot-shot-wrap .shot-note { font-size: 12.5px; color: var(--text-3); line-height: 1; }
.copilot-text h2 { font-size: clamp(28px, 3.3vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; margin-top: 16px; text-wrap: balance; }
.copilot-text h2 .g { color: var(--green); }
/* shared capsule label for section-level kickers (DASHBOARD / AI CO-PILOT) */
.label.cap { font-weight: 600; font-size: 12.5px; letter-spacing: 0.1em; padding: 7px 15px 7px 12px; border-radius: 999px; background: var(--green-w); border: 1px solid var(--green-l); box-shadow: 0 0 0 1px var(--green-l), 0 6px 24px -10px var(--green-glow); }
.label.cap::before { display: inline-block; content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); opacity: 1; }
/* DASHBOARD section header — h2 left, lead right-bottom (fills the empty right half) */
.dash-head { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(28px, 4vw, 48px); }
@media (max-width: 900px){ .dash-head { grid-template-columns: 1fr; align-items: start; } }
.dash-head h2 { font-size: clamp(28px, 3.3vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; margin-top: 16px; text-wrap: balance; }
.dash-head h2 .g { color: var(--green); }
.dash-head p { color: var(--text-2); font-size: clamp(15px, 1.5vw, 17px); max-width: 460px; line-height: 1.62; margin: 0 0 8px; justify-self: end; }
@media (max-width: 900px){ .dash-head p { justify-self: start; margin: 0; } }
.copilot-text .copilot-sub h3 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-top: 14px; }
.copilot-text p { color: var(--text-2); font-size: clamp(15px, 1.5vw, 17px); margin-top: 16px; max-width: 460px; line-height: 1.62; }
/* light/dark theme demo */
.theme-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tcard { border-radius: 10px; padding: 13px; border: 1px solid var(--line); }
.tcard .th { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; margin-bottom: 11px; }
.tcard .th svg { width: 14px; height: 14px; }
.tcard .trow { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 12.5px; }
.tcard .trow .tn { flex: 1; }
.tcard .trow .to { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tcard .uma { width: 20px; height: 20px; font-size: 10px; }
.tdark { background: var(--bg-1); color: var(--text); }
.tdark .th { color: var(--green); }
.tdark .trow .tn { color: var(--text-2); }
.tlight { background: oklch(0.975 0.005 95); color: oklch(0.24 0.01 264); border-color: oklch(0.2 0.02 264 / 0.12); }
.tlight .th { color: oklch(0.5 0.13 158); }
.tlight .trow .tn { color: oklch(0.32 0.01 264); }
.tlight .trow .to { color: oklch(0.24 0.01 264); }

/* ===== feature showcases (alternating) ===== */
.show { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 64px); }
.show.flip { grid-template-columns: 1.15fr 1fr; }
.show.flip .show-txt { order: 2; }
@media (max-width: 900px){ .show, .show.flip { grid-template-columns: 1fr; } .show.flip .show-txt { order: 0; } }
.show-txt h3 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-top: 16px; }
.show-txt p { color: var(--text-2); font-size: 16px; margin-top: 16px; max-width: 440px; line-height: 1.62; }
.show-txt .mini, .copilot-text .mini { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.show-txt .mini .m, .copilot-text .mini .m { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.show-txt .mini .m svg, .copilot-text .mini .m svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 2px; }

/* panel mock used in showcases */
.panel { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg-1); overflow: hidden; box-shadow: 0 30px 80px -40px oklch(0 0 0 / 0.6); }

/* screenshot drop slots (feature sections) */
.shot-wrap { display: flex; justify-content: center; }
.shot-wrap .ss { position: relative; width: min(440px, 100%); }
.ss-tag { position: absolute; top: 12px; left: 12px; z-index: 3; pointer-events: none; font-family: var(--font-mono); font-size: 11px; line-height: 1; letter-spacing: 0.06em; color: var(--green); background: oklch(0.155 0.004 260 / 0.85); border: 1px solid var(--green-l); border-radius: 6px; padding: 5px 8px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
/* 画像/動画がある枠では撮影管理用チップを隠す（未ドロップの枠だけ表示） */
:has(> image-slot[src]) > .ss-tag,
:has(> img[src]) > .ss-tag { display: none; }
image-slot.shot { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 2px 8px -4px oklch(0 0 0 / 0.4), 0 30px 80px -44px var(--green-glow); background: var(--bg-1); color: var(--text-2); font-family: var(--font-mono); }
.panel-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.panel-bar .dots { display: flex; gap: 6px; } .panel-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-bar .t { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }
.panel-body { padding: 16px 18px; }

/* race table mock */
.uma { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; border: 1.5px solid oklch(1 0 0 / 0.2); }
.w1{background:#f3f4f6;color:#111;border-color:#cdd1d6} .w2{background:#23272f;color:#fff} .w3{background:#e5484d;color:#fff} .w4{background:#3b82f6;color:#fff}
.w5{background:#f5d90a;color:#1a1a1a} .w6{background:#46a758;color:#fff} .w7{background:#f76b15;color:#fff} .w8{background:#f06fb0;color:#fff}
table.rt { width: 100%; border-collapse: collapse; font-size: 13px; }
table.rt th { text-align: left; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); font-weight: 500; padding: 7px 9px; border-bottom: 1px solid var(--line); }
table.rt td { padding: 9px 9px; border-bottom: 1px solid var(--line); }
table.rt tr:last-child td { border-bottom: 0; }
table.rt .nm { font-weight: 540; }
table.rt .od { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
table.rt .od .u { color: var(--green); }
table.rt .pp { font-family: var(--font-mono); color: var(--text-3); font-size: 12px; }
table.rt tr.fav td { background: var(--hi); }
table.rt tr.fav td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.mk2 { font-family: var(--font-mono); font-weight: 700; } .mk2.a{color:var(--green)} .mk2.b{color:var(--text)} .mk2.c{color:var(--text-2)}
.memo { color: var(--text-3); font-size: 12px; }

/* odds bars */
.oddrow { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 13px; }
.oddrow .n { width: 76px; color: var(--text-2); }
.oddrow .bar { flex: 1; height: 7px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.oddrow .bar > i { display: block; height: 100%; background: var(--green); }
.oddrow .v { font-family: var(--font-mono); font-variant-numeric: tabular-nums; width: 56px; text-align: right; color: var(--text); }

/* ===== positioning ===== */
.pos { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 76px); background: radial-gradient(80% 130% at 0% 0%, var(--green-w), transparent 55%), var(--panel); }
.pos .big { font-size: clamp(30px, 5vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.pos .big .g { color: var(--green); }
.pos p { color: var(--text-2); font-size: clamp(15px, 1.5vw, 17px); margin-top: 22px; max-width: 640px; line-height: 1.7; }
.poscards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 38px; }
@media (max-width: 760px){ .poscards { grid-template-columns: 1fr; } }
.poscards .c { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: var(--bg-1); }
.poscards .c .k { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.06em; }
.poscards .c .v { font-size: 15px; margin-top: 8px; }

/* ===== get started steps ===== */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }
.steps li { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; background: var(--panel); }
.steps li .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--green); }
.steps li b { display: block; font-size: 16px; margin-top: 10px; letter-spacing: -0.01em; }
.steps li p { color: var(--text-2); font-size: 13.5px; margin-top: 8px; line-height: 1.62; }

/* ===== pricing ===== */
.price { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 820px){ .price { grid-template-columns: 1fr; } }
.price-hero { border: 1px solid var(--green-l); border-radius: var(--r-lg); padding: clamp(34px,5vw,52px); background: radial-gradient(120% 120% at 0% 0%, var(--green-w), transparent 60%), var(--panel); display: flex; flex-direction: column; }
.price-hero h3 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; margin: 0; }
.price-hero .free { font-size: clamp(60px, 11vw, 104px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price-hero .free .u { font-family: var(--font-mono); font-size: 0.32em; color: var(--text-3); margin-left: 8px; }
.price-hero .cap { color: var(--text-2); font-size: 16px; margin-top: 16px; }
.price-hero .btn { margin-top: 26px; align-self: flex-start; }
.plist { display: flex; flex-direction: column; gap: 12px; }
.plist .pi { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: var(--panel); display: flex; gap: 13px; }
.plist .pi svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.plist .pi b { font-size: 15px; }
.plist .pi p { color: var(--text-2); font-size: 13.5px; margin-top: 4px; line-height: 1.55; }
/* fee caveat highlight */
.fee-note { display: block; margin-top: 8px; font-weight: 540; color: var(--amber); }

/* ===== faq accordion ===== */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq .q { border-bottom: 1px solid var(--line); }
.faq .q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: left; font-size: clamp(16px, 1.8vw, 19px); font-weight: 500; color: var(--text); }
.faq .q button .pm { width: 22px; height: 22px; flex: none; position: relative; transition: transform .3s ease; color: var(--green); }
.faq .q button .pm::before, .faq .q button .pm::after { content:""; position:absolute; background: currentColor; border-radius:2px; }
.faq .q button .pm::before { inset: 10px 3px auto 3px; height: 2px; }
.faq .q button .pm::after { inset: 3px 10px 3px auto; width: 2px; transition: opacity .3s; }
.faq .q.open button .pm::after { opacity: 0; }
.faq .q .a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq .q .a p { color: var(--text-2); font-size: 15px; line-height: 1.7; padding: 0 4px 24px; max-width: 760px; }

/* ===== final ===== */
.final { text-align: center; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(48px, 7vw, 92px) 28px; background: radial-gradient(90% 150% at 50% 0%, var(--green-w), transparent 60%), var(--bg-1); position: relative; overflow: hidden; }
.final h2 { font-size: clamp(34px, 6vw, 68px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.final h2 .g { color: var(--green); font-family: 'MuseoModerno', 'Noto Sans JP', sans-serif; letter-spacing: 0.01em; }
.final p { color: var(--text-2); margin-top: 18px; font-size: 16px; }
.dls { margin-top: 32px; display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.dl { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 12px; border: 1px solid oklch(1 0 0 / 0.16); background: linear-gradient(180deg, oklch(1 0 0 / 0.09), oklch(1 0 0 / 0.02)); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.2), 0 10px 30px -16px oklch(0 0 0 / 0.7); transition: border-color .2s, background-color .2s, box-shadow .2s, transform .18s; }
.dl:hover { border-color: var(--green-l); background: linear-gradient(180deg, oklch(1 0 0 / 0.13), oklch(1 0 0 / 0.04)); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.26), 0 14px 38px -16px var(--green-glow); transform: translateY(-1px); }
.dl svg { width: 24px; height: 24px; }
.dl .lt { text-align: left; line-height: 1.2; } .dl .lt small { display: block; font-size: 11px; color: var(--text-3); } .dl .lt b { font-size: 14.5px; font-weight: 540; }

/* ===== footer ===== */
.ft { border-top: 1px solid var(--line); padding-block: 56px 40px; margin-top: clamp(56px,8vw,96px); }
.ft-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ft-brand { max-width: 300px; } .ft-brand p { color: var(--text-3); font-size: 13.5px; margin-top: 14px; line-height: 1.6; }
.ft-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.ft-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 500; }
.ft-col a { display: block; color: var(--text-2); font-size: 14px; padding: 5px 0; transition: color .2s; } .ft-col a:hover { color: var(--text); }
.ft-col .soon { display: flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 14px; padding: 5px 0; cursor: default; }
.ft-col .soon i { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.05em; color: var(--text-3); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.ft-note { color: var(--text-3); font-size: 12px; line-height: 1.6; max-width: 740px; margin-top: 40px; }
.ft-bot { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-3); font-size: 12.5px; }
