/* =========================================================
   BoardStrategist — Product LP design system (v2)
   Dark arena aesthetic · #0d0d0d base · #FF8C00 accent
========================================================= */
:root {
  --orange: #ff8c00;
  --orange-soft: #ffb454;
  --orange-deep: #e07600;
  --orange-ink: #1a1206;

  --ink: #f6f6f4;
  --ink-dim: rgba(246,246,244,0.74);
  --ink-faint: rgba(246,246,244,0.50);
  --ink-ghost: rgba(246,246,244,0.26);

  --bg: #0d0d0d;
  --bg-elev: #131313;
  --card: #161616;
  --card-2: #1c1c1c;
  --court: #1a1410;

  --stroke: rgba(255,255,255,0.10);
  --stroke-strong: rgba(255,255,255,0.18);
  --stroke-accent: rgba(255,140,0,0.40);

  --font-sans: 'Inter Tight', 'Noto Sans JP', system-ui, sans-serif;
  --font-jp: 'Noto Sans JP', 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --r: 12px; --r-lg: 18px; --r-xl: 28px;
  --container: 1240px;
  --gutter: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--font-jp); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; padding: 116px 0; }

h1, h2, h3, h4 { font-family: var(--font-jp); font-weight: 800; letter-spacing: -0.01em; line-height: 1.18; text-wrap: balance; }
.display { font-size: clamp(40px, 6.2vw, 86px); line-height: 1.08; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.12; }
.h3 { font-size: clamp(24px, 2.6vw, 36px); }
.lead { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.65; color: var(--ink-dim); text-wrap: pretty; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.accent { color: var(--orange); }

/* eyebrow / scoreboard label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }

.section-head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }
.section-head .lead { max-width: 620px; margin: 0 auto; }

/* =========================================================
   Buttons
========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform 130ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn.primary {
  background: linear-gradient(180deg, #ff9d22, var(--orange));
  color: var(--orange-ink);
  box-shadow: 0 12px 30px -10px rgba(255,140,0,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(255,140,0,0.7); }
.btn.ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--stroke-strong); color: var(--ink); }
.btn.ghost:hover { background: rgba(255,255,255,0.1); }

/* App Store badge */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: 14px;
  background: #000; border: 1px solid rgba(255,255,255,0.22);
  transition: border-color 160ms ease, transform 130ms ease;
}
.appstore-badge:hover { border-color: rgba(255,255,255,0.45); transform: translateY(-2px); }
.appstore-badge svg { width: 26px; height: 26px; }
.appstore-badge .ab-t { display: flex; flex-direction: column; line-height: 1.1; }
.appstore-badge .ab-t small { font-size: 10px; color: rgba(255,255,255,0.7); letter-spacing: 0.02em; }
.appstore-badge .ab-t strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* =========================================================
   NAV
========================================================= */
nav.top {
  position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 16px 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.92), rgba(13,13,13,0.55) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
nav.top .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(140deg, var(--orange), #ff5e3a);
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: 0 6px 16px -4px rgba(255,140,0,0.6);
}
.logo .mark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.6), transparent 55%); }
.logo .mark svg { width: 17px; height: 17px; position: relative; z-index: 1; }
.logo .mark.icon { background: #000; box-shadow: 0 5px 14px -4px rgba(0,0,0,0.7); }
.logo .mark.icon::before { content: none; }
.logo .mark.icon img { width: 100%; height: 100%; object-fit: cover; }
.aio .merge .mk.icon { background: #000; }
.aio .merge .mk.icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.feat-copy .feat-note { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--ink-faint); border-left: 2px solid var(--stroke-accent); padding-left: 12px; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { padding: 9px 13px; border-radius: 999px; font-size: 13.5px; color: var(--ink-dim); transition: background 140ms, color 140ms; }
.nav-links a:hover { background: rgba(255,255,255,0.06); color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; }

/* =========================================================
   Court backdrop
========================================================= */
.court-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.court-bg svg { width: 100%; height: 100%; }
.court-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 72% 30%, rgba(255,140,0,0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(255,140,0,0.06), transparent 60%),
    linear-gradient(180deg, rgba(13,13,13,0.2), var(--bg) 88%);
}

/* =========================================================
   HERO
========================================================= */
.hero { padding: 168px 0 96px; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero .grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; margin-bottom: 26px;
  border: 1px solid var(--stroke-accent); border-radius: 999px; background: rgba(255,140,0,0.08);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-soft);
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero h1 { margin-bottom: 24px; }
.hero .sub { max-width: 540px; margin-bottom: 34px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 34px; }
.hero .trust { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--stroke); }
.hero .trust .t .v { font-family: var(--font-mono); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hero .trust .t .v .accent { color: var(--orange); }
.hero .trust .t .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }

/* =========================================================
   iPad mockup
========================================================= */
.ipad {
  position: relative; aspect-ratio: 2360 / 1640; padding: 16px; border-radius: 30px;
  background: linear-gradient(160deg, #232323, #0c0c0c);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 50px 100px -36px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.06), 0 -16px 50px -30px rgba(255,140,0,0.4);
}
.ipad::before { content: ""; position: absolute; inset: -1px; border-radius: 31px; background: linear-gradient(135deg, rgba(255,140,0,0.4), transparent 42%, rgba(255,140,0,0.18) 92%); z-index: -1; filter: blur(2px); }
.ipad::after { content: ""; position: absolute; left: 7px; top: 50%; width: 4px; height: 64px; transform: translateY(-130%); border-radius: 3px; background: rgba(255,255,255,0.05); box-shadow: 0 80px 0 rgba(255,255,255,0.05); }
.ipad .screen { position: relative; overflow: hidden; border-radius: 14px; background: #000; aspect-ratio: 2360/1640; }
.ipad .screen img, .ipad .screen image-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ipad .screen.hero-rotate img { opacity: 0; transition: opacity 900ms ease; }
.ipad .screen.hero-rotate img.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ipad .screen.hero-rotate img { transition: opacity 200ms ease; } }
.ipad .cam { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: #050505; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.12); z-index: 3; }

/* floating chips on hero device */
.fchip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; font-size: 12px;
  background: rgba(18,18,18,0.86); border: 1px solid var(--stroke-strong);
  backdrop-filter: blur(14px); box-shadow: 0 18px 40px -14px rgba(0,0,0,0.65);
}
.fchip .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 11px; background: rgba(255,140,0,0.18); color: var(--orange); }
.fchip .l1 { display: block; font-weight: 600; }
.fchip .l2 { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }
.fchip.a { top: -16px; left: -26px; }
.fchip.b { bottom: 26px; right: -24px; }
.fchip.c { bottom: -18px; left: 34px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.fchip { animation: floaty 4.5s ease-in-out infinite; }
.fchip.b { animation-delay: 1.2s; } .fchip.c { animation-delay: 2.4s; }

/* =========================================================
   ALL-IN-ONE
========================================================= */
.aio { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 40px); flex-wrap: wrap; }
.aio .src { display: flex; gap: 14px; }
.app-tile {
  width: clamp(96px, 13vw, 150px); aspect-ratio: 1; border-radius: 22px; padding: 16px;
  background: var(--card); border: 1px solid var(--stroke);
  display: flex; flex-direction: column; justify-content: space-between;
}
.app-tile .ti { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,140,0,0.12); color: var(--orange); }
.app-tile .ti svg { width: 21px; height: 21px; }
.app-tile .tn { font-size: 13px; font-weight: 700; }
.app-tile .ts { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }
.aio .op { font-size: 30px; color: var(--ink-ghost); font-weight: 300; }
.aio .merge {
  width: clamp(96px, 13vw, 150px); aspect-ratio: 1; border-radius: 22px; padding: 16px;
  background: linear-gradient(150deg, rgba(255,140,0,0.18), rgba(255,140,0,0.03));
  border: 1px solid var(--stroke-accent); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center;
  box-shadow: 0 24px 60px -24px rgba(255,140,0,0.5);
}
.aio .merge .mk { width: clamp(40px, 5vw, 52px); height: clamp(40px, 5vw, 52px); border-radius: 13px; background: linear-gradient(140deg, var(--orange), #ff5e3a); display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(255,140,0,0.6); overflow: hidden; }
.aio .merge .mk svg { width: 24px; height: 24px; }
.aio .merge .mn { font-size: clamp(12px, 1.4vw, 15px); font-weight: 800; letter-spacing: -0.01em; color: var(--orange-soft); line-height: 1.25; }
.aio .merge .ms { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-soft); margin-top: 3px; }

/* =========================================================
   FEATURE SECTIONS (alternating)
========================================================= */
.feat { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feat.flip .feat-media { order: -1; }
.feat + .feat { margin-top: 132px; }
.feat-copy .ftag { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.feat-copy .ftag .num { color: var(--ink-ghost); }
.feat-copy .badge-new { padding: 3px 9px; border-radius: 999px; background: var(--orange); color: var(--orange-ink); font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; }
.feat-copy h3 { font-size: clamp(26px, 3vw, 42px); margin-bottom: 18px; }
.feat-copy .lead { margin-bottom: 26px; }
.feat-copy ul { list-style: none; display: grid; gap: 13px; }
.feat-copy ul li { display: grid; grid-template-columns: 22px 1fr; gap: 13px; align-items: start; font-size: 15px; line-height: 1.55; color: var(--ink-dim); }
.feat-copy ul li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--orange); flex-shrink: 0; }
.feat-copy .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.feat-copy .badges span { padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--stroke-strong); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }

/* =========================================================
   REASONS (4 columns)
========================================================= */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reason { padding: 30px 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 14px; transition: transform 180ms, border-color 180ms, background 180ms; }
.reason:hover { transform: translateY(-4px); border-color: var(--stroke-accent); background: var(--card-2); }
.reason .ri { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,140,0,0.12); color: var(--orange); }
.reason .ri svg { width: 24px; height: 24px; }
.reason h4 { font-size: 18px; }
.reason p { font-size: 14px; line-height: 1.6; color: var(--ink-dim); }

/* =========================================================
   LANGUAGE BANNER
========================================================= */
.lang-banner {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: 60px 48px; text-align: center;
  background: linear-gradient(150deg, #181410, #0e0e0e); border: 1px solid var(--stroke);
}
.lang-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 120% at 50% 0%, rgba(255,140,0,0.14), transparent 60%); }
.lang-banner > * { position: relative; }
.lang-banner .flags { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.lang-banner .flags span { padding: 11px 22px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--stroke-strong); font-weight: 600; font-size: 15px; }
.lang-banner .flags span .mono { display: block; font-size: 10px; color: var(--ink-faint); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px; }

/* =========================================================
   TESTIMONIALS
========================================================= */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { padding: 30px 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 18px; }
.tcard .stars { display: flex; gap: 3px; color: var(--orange); }
.tcard .stars svg { width: 16px; height: 16px; }
.tcard blockquote { font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, var(--orange), #ff5e3a); display: grid; place-items: center; font-weight: 800; color: var(--orange-ink); font-size: 16px; }
.tcard .who .nm { font-weight: 700; font-size: 14px; }
.tcard .who .rl { font-size: 12px; color: var(--ink-faint); margin-top: 2px; }

/* =========================================================
   FINAL CTA
========================================================= */
.final-cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 88px 48px; text-align: center; background: linear-gradient(160deg, #1a1209, #0c0c0c); border: 1px solid var(--stroke-accent); }
.final-cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--stroke) 1px, transparent 1px), linear-gradient(90deg, var(--stroke) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%); opacity: 0.5; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 90% at 50% 110%, rgba(255,140,0,0.22), transparent 60%); }
.final-cta > * { position: relative; }
.final-cta h2 { margin-bottom: 18px; }
.final-cta .lead { max-width: 560px; margin: 0 auto 32px; }
.final-cta .ctas { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.final-cta .tiny { margin-top: 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* =========================================================
   FOOTER
========================================================= */
footer { border-top: 1px solid var(--stroke); padding: 64px 0 40px; margin-top: 40px; }
footer .row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
footer p.tag { margin-top: 14px; color: var(--ink-dim); font-size: 13.5px; line-height: 1.6; max-width: 320px; }
footer h5 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; font-weight: 500; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer ul a { font-size: 13.5px; color: var(--ink-dim); }
footer ul a:hover { color: var(--ink); }
footer .copy { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--stroke); font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); letter-spacing: 0.08em; }

/* =========================================================
   Scroll reveal
========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .fchip { animation: none; } html { scroll-behavior: auto; } }

/* =========================================================
   Noise overlay
========================================================= */
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1000px) {
  .hero .grid { grid-template-columns: 1fr; gap: 52px; }
  .feat, .feat.flip { grid-template-columns: 1fr; gap: 34px; }
  .feat.flip .feat-media { order: 0; }
  .feat-media { max-width: 620px; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .tgrid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  footer .row { grid-template-columns: 1fr 1fr; }
  section { padding: 84px 0; }
  .hero { padding: 140px 0 72px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .reasons { grid-template-columns: 1fr; }
  .fchip { display: none; }
  .lang-banner, .final-cta { padding: 52px 24px; }
  footer .row { grid-template-columns: 1fr; gap: 32px; }
  footer .copy { flex-direction: column; gap: 10px; }
  .nav-cta .btn.ghost { display: none; }
  .aio .op { font-size: 22px; }
}
