/* ============================================================
   Mitsuke landing — landing.css
   Visual language of the app: asphalt at night, paper by day,
   tail-light red, neon cyan, plate yellow, Skyline blue.
   Titles Barlow Condensed bold italic, text Barlow, data JetBrains Mono.
   ============================================================ */

@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow_condensed_bold_italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("../assets/fonts/barlow_condensed_extrabold_italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/barlow_regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/barlow_medium.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow_semibold.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/jetbrains_mono_medium.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/jetbrains_mono_bold.woff2") format("woff2"); }

:root {
  /* night (default) */
  --asphalt: #0b0c10;
  --asphalt-2: #101116;
  --card: #15171d;
  --card-2: #1a1c23;
  --paper: #f2eee6;
  --paper-2: #fbfaf6;
  --ink: #14151a;

  --red: #e5202e;
  --red-deep: #c8141f;
  --red-dark: #7e0b13;
  --red-text: #ff5c66;
  --cyan: #19e3ff;
  --orange: #ff9a4d;
  --yellow: #ffd21f;
  --blue: #1b3c9e;
  --blue-deep: #0d2e6b;
  --blue-night: #081a45;

  --text: #f2eee6;
  --muted: #9aa0ad;
  --line: rgba(242, 238, 230, 0.1);
  --line-2: rgba(242, 238, 230, 0.18);

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", "PingFang SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --cut: 22px;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.005em;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7.4vw, 5.9rem); }
h2 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h3 { font-size: 1.55rem; font-weight: 700; line-height: 1.05; }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.jp { font-family: var(--font-body); font-style: normal; }

/* overline: mono, capitals, tracking, a little red tick */
.over {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 1rem;
}
.over::before { content: ""; width: 26px; height: 3px; background: currentColor; transform: skewX(-24deg); }

/* ---------- cut-corner (the app's CutCornerShape) ---------- */
.cut {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* ---------- atmosphere ---------- */
.speed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(242, 238, 230, 0.035) 0 1px, transparent 1px 38px);
  pointer-events: none;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
}
section { position: relative; }
.wm {
  position: absolute;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 0.9;
  color: currentColor;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 34px rgba(229, 32, 46, 0.38); }
.btn-red:hover { transform: translateY(-2px); background: #f02a38; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.on-paper .btn-red { box-shadow: 4px 4px 0 var(--red-dark); }
.on-paper .btn-red:hover { box-shadow: 6px 6px 0 var(--red-dark); transform: translate(-2px, -2px); }

/* store pills (not links yet: the app is still in review / closed testing) */
.stores { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.15rem 0.6rem 0.9rem;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: rgba(11, 12, 16, 0.55);
  backdrop-filter: blur(6px);
  color: var(--text);
  text-decoration: none;
  line-height: 1.1;
}
.store .ico { width: 1.8rem; height: 1.8rem; color: var(--cyan); }
.store small { display: block; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.store strong { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; font-weight: 700; }
a.store { transition: transform 0.15s ease, border-color 0.15s, background 0.15s; }
a.store:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(25, 227, 255, 0.08); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 12, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.7rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-jp { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; margin-left: -0.15rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.97rem; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { padding: 0.55rem 1.05rem; font-size: 1.1rem; color: #fff; }
.lang { font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-decoration: none; color: var(--text); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0.4rem 0.65rem; }
.lang:hover { border-color: var(--cyan); color: var(--cyan); }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--line-2); border-radius: 8px; color: var(--text); padding: 0.45rem; cursor: pointer; margin-left: auto; }

/* ---------- hero ---------- */
.hero {
  overflow: hidden;
  padding: 4.2rem 0 5.5rem;
  background:
    radial-gradient(900px 560px at 85% 30%, rgba(27, 60, 158, 0.55), transparent 70%),
    radial-gradient(520px 380px at 8% 100%, rgba(229, 32, 46, 0.2), transparent 70%),
    var(--asphalt);
}
.hero .wm { right: 1.5%; top: 2rem; font-size: 11rem; color: var(--text); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; gap: 3rem; align-items: center; }
.hero h1 .r { color: var(--red); }
.hero h1 .line { display: block; }
.lead { font-size: 1.25rem; color: #cfcbc3; max-width: 31rem; margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 2rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta .ico { color: var(--cyan); width: 1.1rem; height: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1.1rem 1.4rem; align-items: center; margin-bottom: 1.6rem; }

/* hero visual: the Skyline scene in a viewfinder + the phone + the stamp */
.hero-visual { position: relative; padding: 0 0 2.5rem 0; }
.scene {
  position: relative;
  width: 88%;
  aspect-ratio: 1100 / 989;
  --cut: 34px;
  background: var(--blue-deep) url("../assets/skyline-scene.webp") center / cover no-repeat;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  filter: drop-shadow(0 0 0 transparent);
}
.scene-tag {
  position: absolute;
  left: 7%;
  top: 7%;
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(11, 12, 16, 0.72);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}
.scene-tag i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 0.5rem; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.phone {
  position: relative;
  border-radius: 38px;
  padding: 7px;
  background: linear-gradient(160deg, #2a2d37, #121318);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.phone img { border-radius: 31px; width: 100%; height: auto; background: #101116; }
.hero-visual .phone { position: absolute; right: 0; bottom: 0; width: 33%; transform: rotate(3deg); }

.stamp {
  position: absolute;
  z-index: 3;
  left: 54%;
  top: 6%;
  width: 29%;
  min-width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: var(--red-deep);
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  transform: rotate(-8deg);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
}
.stamp::before {
  content: attr(data-tab);
  position: absolute;
  top: -15px;
  left: 18px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  transform: rotate(-3deg);
}
.stamp .of { display: block; font-size: clamp(1.1rem, 2.2vw, 1.6rem); line-height: 1; }
.stamp .n { display: block; font-size: clamp(3.4rem, 6.4vw, 5.3rem); line-height: 0.85; }
.stamp .where { display: block; font-family: var(--font-mono); font-style: normal; font-weight: 700; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 0.3rem; }
.plate {
  position: absolute;
  z-index: 3;
  left: -1%;
  bottom: 14%;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid #c9c4b8;
  border-radius: 7px;
  padding: 0.25rem 0.9rem 0.35rem;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  transform: rotate(-4deg);
}
.plate small { display: block; font-size: 0.7rem; font-weight: 600; line-height: 1.1; letter-spacing: 0.04em; }
.plate b { font-family: var(--font-mono); font-size: 1.5rem; letter-spacing: 0.12em; line-height: 1.1; }
.hero-visual .stamp, .hero-visual .plate { animation: floaty 6s ease-in-out infinite; }
.hero-visual .plate { animation-delay: -3s; }
@keyframes floaty { 50% { translate: 0 -9px; } }

/* ---------- ticker: plate yellow strip ---------- */
.ticker { background: var(--yellow); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); transform: skewY(-1deg); margin-block: -14px; position: relative; z-index: 3; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; padding: 0.75rem 0; }
.ticker span { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.7rem; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; padding-right: 2.2rem; display: inline-flex; align-items: center; gap: 2.2rem; }
.ticker span::after { content: "見つけ"; font-family: var(--font-body); font-style: normal; font-size: 1.05rem; opacity: 0.55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { padding: 5rem 0 3rem; background: var(--asphalt-2); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: var(--card); border: 1px solid var(--line); padding: 1.4rem 1.4rem 1.2rem; --cut: 18px; }
.stat b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--text); }
.stat b em { font-style: inherit; color: var(--red-text); }
.stat span { display: block; margin-top: 0.4rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* ---------- section scaffolding ---------- */
.sec { padding: 6.5rem 0; overflow: hidden; }
.sec-head { max-width: 44rem; margin-bottom: 3.2rem; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 4.5rem; align-items: center; }
.split.flip { grid-template-columns: 1.18fr 0.82fr; }
.split.flip .shot { order: 2; }
.shot { position: relative; display: flex; justify-content: center; }
.shot .phone { width: min(290px, 78vw); }
.shot .glow { position: absolute; inset: 8% -10% 8%; z-index: -1; filter: blur(70px); opacity: 0.55; }

/* paper (day theme): race programme printed on concrete */
.on-paper { background: var(--paper); color: var(--ink); --muted: #565b66; --line: rgba(20, 21, 26, 0.12); --line-2: rgba(20, 21, 26, 0.24); --red-text: #b3111b; }
.on-paper .sec-head p { color: #565b66; }
.on-paper .phone { background: linear-gradient(160deg, #3a3d48, #14151a); box-shadow: 0 30px 60px rgba(20, 21, 26, 0.28), 10px 10px 0 rgba(20, 21, 26, 0.9); }
.on-paper .wm { color: var(--ink); opacity: 0.05; }
.on-paper.grain::after { opacity: 0.06; mix-blend-mode: multiply; }
.on-paper.speed::before { background: repeating-linear-gradient(115deg, rgba(20, 21, 26, 0.04) 0 1px, transparent 1px 38px); }
.on-night { background: var(--asphalt); }
.on-night-2 { background: var(--asphalt-2); }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 4.2rem 1fr; gap: 1.1rem; background: var(--paper-2); border: 2px solid var(--ink); padding: 1.3rem 1.5rem 1.2rem 1.2rem; box-shadow: 6px 6px 0 var(--ink); --cut: 0px; }
.step b { font-family: var(--font-mono); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--red-deep); }
.step h3 { margin-bottom: 0.25em; }
.step p { margin: 0; color: #3d414c; font-size: 1.02rem; }
.step .tagrow { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.7rem; }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-mono); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.22rem 0.6rem; border-radius: 5px; border: 1.5px solid var(--ink); }
.chip.cyan { background: #00707f; border-color: #00707f; color: #fff; }
.chip .ico { width: 0.95rem; height: 0.95rem; }

/* ---------- rarity ---------- */
.rare-big { display: flex; align-items: flex-end; gap: 1.2rem; margin: 0.4rem 0 1.4rem; flex-wrap: wrap; }
.rare-num { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(4.6rem, 10vw, 7.4rem); line-height: 0.82; color: var(--orange); }
.rare-num small { font-size: 0.34em; color: var(--text); margin-right: 0.15em; }
.rare-cap { font-size: 1.15rem; max-width: 14rem; line-height: 1.25; padding-bottom: 0.4rem; }
.rare-cap b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin: 2rem 0 1.4rem; }
.lvl { background: var(--card); border: 1px solid var(--line); padding: 0.9rem 0.9rem 0.8rem; border-top: 3px solid var(--c); --cut: 12px; }
.lvl i { display: flex; gap: 3px; align-items: flex-end; height: 22px; margin-bottom: 0.6rem; }
.lvl i s { width: 7px; border-radius: 2px; background: var(--line-2); text-decoration: none; }
.lvl i s:nth-child(1) { height: 30%; } .lvl i s:nth-child(2) { height: 52%; } .lvl i s:nth-child(3) { height: 76%; } .lvl i s:nth-child(4) { height: 100%; }
.lvl[data-n="1"] i s:nth-child(-n+1), .lvl[data-n="2"] i s:nth-child(-n+2), .lvl[data-n="3"] i s:nth-child(-n+3), .lvl[data-n="4"] i s:nth-child(-n+4) { background: var(--c); }
.lvl b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.25rem; color: var(--c); line-height: 1; }
.lvl span { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lvl[data-n="1"] { --c: #9aa0ad; } .lvl[data-n="2"] { --c: var(--cyan); } .lvl[data-n="3"] { --c: var(--orange); } .lvl[data-n="4"] { --c: var(--red-text); }
.note { font-size: 0.9rem; color: var(--muted); border-left: 3px solid var(--line-2); padding-left: 0.9rem; margin: 0; }
.note a { color: var(--cyan); }

/* ---------- ticks & feature lists ---------- */
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }
.feat-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.9rem; align-items: start; }
.feat-list .fi { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 9px; --cut: 0; }
.feat-list .fi.cy { background: var(--cyan); color: var(--ink); }
.feat-list .fi.or { background: var(--orange); color: var(--ink); }
.feat-list .fi.ye { background: var(--yellow); color: var(--ink); }
.feat-list h3 { font-size: 1.4rem; margin: 0 0 0.1em; }
.feat-list p { margin: 0; color: var(--muted); font-size: 1rem; }
.on-paper .feat-list .fi { box-shadow: 3px 3px 0 var(--ink); }

/* garage trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 2rem; }
.state { background: var(--paper-2); border: 2px solid var(--ink); padding: 1rem 1rem 0.9rem; box-shadow: 4px 4px 0 var(--ink); }
.state .ico { width: 1.7rem; height: 1.7rem; margin-bottom: 0.4rem; }
.state:nth-child(1) .ico { color: var(--red-deep); } .state:nth-child(2) .ico { color: #00707f; } .state:nth-child(3) .ico { color: #a84a08; }
.state b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.7rem; line-height: 1; }
.state span { font-size: 0.9rem; color: #3d414c; line-height: 1.3; display: block; margin-top: 0.3rem; }

/* progress: streak bars, medals */
.streak { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 0.9rem 0 0.4rem; }
.streak s { height: 26px; background: var(--red); transform: skewX(-14deg); border-radius: 2px; text-decoration: none; }
.streak s.off { background: transparent; border: 1.5px solid var(--line-2); }
.streak-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); text-align: center; letter-spacing: 0.1em; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.pc { background: var(--card); border: 1px solid var(--line); padding: 1.3rem; --cut: 18px; }
.pc .over { margin-bottom: 0.6rem; font-size: 0.7rem; }
.pc .ico { width: 1.15rem; height: 1.15rem; }
.pc .big { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 3.3rem; line-height: 1; }
.pc .big small { font-size: 0.4em; color: var(--muted); font-weight: 700; }
.pc p { color: var(--muted); font-size: 0.95rem; margin: 0.4rem 0 0; }
.medals { display: flex; gap: 0.5rem; margin: 0.6rem 0 0.5rem; }
.medals i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--m); color: var(--m); background: rgba(255, 255, 255, 0.03); }
.medals i:nth-child(1) { --m: #c07a43; } .medals i:nth-child(2) { --m: #c9ced8; } .medals i:nth-child(3) { --m: var(--yellow); }
.medals .ico { width: 1.1rem; height: 1.1rem; }
.bar { height: 10px; margin-top: 0.7rem; display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.bar s { background: var(--orange); transform: skewX(-14deg); text-decoration: none; }
.bar s.off { background: var(--line-2); }

/* community tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
.tag { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.1rem; padding: 0.3rem 0.95rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper-2); }
.tag.on { background: var(--ink); color: var(--paper); }

/* ---------- share cards (Skyline blue) ---------- */
.share { background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 70%, var(--blue-night) 100%); overflow: hidden; color: #fff; }
.share::before { background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 14px, transparent 14px 44px) !important; }
.share .wm { right: 4%; top: 10%; font-size: 15rem; opacity: 0.1; }
.share .over { color: var(--yellow); }
.share p { color: #cfd8f5; }
.fuji { position: absolute; right: -4%; bottom: 0; width: min(720px, 70%); opacity: 0.16; pointer-events: none; }
.blister-stage { position: relative; display: flex; justify-content: center; padding: 1rem 0 2.5rem; }
.blister {
  position: relative;
  width: min(330px, 78vw);
  background: linear-gradient(160deg, #2a52c4, #1b3c9e 60%, #17348a);
  border-radius: 28px;
  padding: 1.4rem 1.1rem 1.1rem;
  box-shadow: 0 40px 80px rgba(2, 8, 30, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: rotate(4deg);
}
.blister::before { content: ""; position: absolute; top: 9px; left: 50%; width: 76px; height: 13px; margin-left: -38px; border-radius: 8px; background: rgba(5, 14, 50, 0.7); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); }
.blister::after { content: ""; position: absolute; inset: 0; border-radius: 28px; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 8px, transparent 8px 26px); pointer-events: none; }
.bl-top { display: flex; justify-content: space-between; align-items: baseline; margin: 0.9rem 0.2rem 0.6rem; }
.bl-top b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.5rem; letter-spacing: 0.02em; }
.bl-top b small { font-family: var(--font-body); font-style: normal; font-size: 0.62rem; font-weight: 500; margin-left: 0.3rem; opacity: 0.8; }
.bl-top span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.bl-window { position: relative; aspect-ratio: 1 / 0.96; border-radius: 20px; border: 3px solid rgba(255, 255, 255, 0.45); background: var(--blue-deep) url("../assets/skyline-scene.webp") center / cover no-repeat; box-shadow: inset 0 0 40px rgba(2, 8, 30, 0.4); }
.bl-window em { position: absolute; left: 0.7rem; top: 0.7rem; font-style: normal; font-family: var(--font-mono); font-weight: 700; font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(11, 12, 16, 0.78); padding: 0.25rem 0.5rem; border-radius: 4px; }
.blister .stamp { left: auto; right: -14%; top: auto; bottom: 22%; width: 42%; min-width: 0; border-width: 3px; transform: rotate(-8deg); animation: none; }
.blister .stamp .n { font-size: clamp(2.8rem, 6vw, 4rem); }
.blister .stamp .of { font-size: 1.2rem; }
.blister .stamp .where { font-size: 0.5rem; }
.bl-info { background: #0b0c10; border-radius: 14px; padding: 0.8rem 1rem 0.85rem; margin-top: 0.9rem; position: relative; z-index: 1; }
.bl-info small { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--muted); }
.bl-info b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 2rem; line-height: 1.05; }
.bl-info span { font-size: 0.78rem; color: #cfcbc3; }
.nets { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.net { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.1); border: 1.5px solid rgba(255, 255, 255, 0.28); padding: 0.5rem 1rem; border-radius: 999px; font-weight: 600; }
.net .ico { color: var(--yellow); }

/* ---------- privacy ---------- */
.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.priv { background: var(--card); border: 1px solid var(--line); padding: 1.5rem 1.4rem; position: relative; --cut: 20px; }
.priv::after { content: ""; position: absolute; left: 0; bottom: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), transparent 70%); opacity: 0.5; }
.priv .ico { width: 1.9rem; height: 1.9rem; color: var(--cyan); margin-bottom: 0.9rem; }
.priv h3 { font-size: 1.45rem; }
.priv p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.priv-foot { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.priv-foot a { color: var(--cyan); text-underline-offset: 4px; }

/* ---------- pro ---------- */
.pro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper-2); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.compare th, .compare td { padding: 0.8rem 1rem; text-align: center; border-top: 1.5px solid rgba(20, 21, 26, 0.14); font-size: 0.98rem; }
.compare thead th { border-top: 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.35rem; background: var(--ink); color: var(--paper); }
.compare thead th.pro { background: var(--red-deep); }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 600; }
.compare td.pro { background: rgba(200, 20, 31, 0.07); font-weight: 600; }
.compare .yes { color: #0b7a4b; display: inline-flex; }
.compare .no { color: #8d8a82; }
.compare .ico { width: 1.15rem; height: 1.15rem; stroke-width: 3; }
.price-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.6rem 0; }
.price { background: var(--ink); color: var(--paper); padding: 0.9rem 1.3rem; border-radius: 10px; min-width: 9rem; }
.price b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 2.3rem; line-height: 1; }
.price span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #aeb2bd; }
.price.alt { background: var(--red-deep); color: #fff; }
.price.alt span { color: #ffd9db; }
.fine { font-size: 0.88rem; color: #565b66; }
.never { margin-top: 1.4rem; padding: 1rem 1.2rem; border: 2px dashed var(--ink); border-radius: 10px; font-size: 0.97rem; }
.never b { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-deep); display: block; margin-bottom: 0.2rem; }

/* ---------- languages ---------- */
.langs { padding: 5rem 0; text-align: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; padding: 0; margin: 2rem auto 0; max-width: 46rem; }
.chips li { border: 1.5px solid var(--line-2); padding: 0.5rem 1.3rem; border-radius: 10px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.45rem; background: var(--card); }
.chips li.jpx { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 1.2rem; }

/* ---------- faq ---------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: 0.7rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.45rem; line-height: 1.1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform 0.2s; color: var(--red-text); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details[open] { border-color: var(--line-2); }
.faq .ans { padding: 0 1.35rem 1.2rem; color: #cfcbc3; font-size: 1.02rem; }
.faq .ans p:last-child { margin: 0; }
.faq .ans a { color: var(--cyan); }

/* ---------- final cta ---------- */
.cta { padding: 2rem 0 6rem; background: var(--asphalt); }
.cta-inner { position: relative; overflow: hidden; --cut: 44px; padding: 4.5rem 2rem; text-align: center; color: #fff; background: radial-gradient(700px 360px at 50% 0%, rgba(42, 82, 196, 0.8), transparent 70%), linear-gradient(180deg, var(--blue-deep), var(--blue-night)); }
.cta-inner::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 14px, transparent 14px 44px); }
.cta-inner > *:not(.wm) { position: relative; }
.cta-inner img.ic { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 1.6rem; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.2); transform: rotate(-4deg); }
.cta-inner p { color: #cfd8f5; max-width: 34rem; margin-inline: auto; font-size: 1.15rem; }
.cta-inner .stores { justify-content: center; margin-top: 2rem; }
.cta-inner .store { background: rgba(5, 14, 50, 0.6); }
.cta-inner .wm { right: 3%; top: 8%; font-size: 12rem; opacity: 0.1; }

/* ---------- footer ---------- */
.site-footer { background: #07080b; border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: 0.97rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.site-footer .brand-name { color: var(--text); }
.site-footer p { margin: 0.8rem 0 0; max-width: 22rem; }
.site-footer h4 { margin: 0 0 0.8rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { color: var(--text); }
.footer-bottom { padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; font-size: 0.85rem; }
.road { height: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 36px, transparent 36px 64px); opacity: 0.85; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .split.flip, .pro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .split.flip .shot { order: 0; }
  .hero { padding-top: 2.5rem; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .priv-grid, .cards3 { grid-template-columns: 1fr 1fr; }
  .scale { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .sec { padding: 5rem 0; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { gap: 0.8rem; }
  .lang { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(11, 12, 16, 0.97); border-bottom: 1px solid var(--line); padding: 0.6rem 1.25rem 1.2rem; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links .btn { margin-top: 0.9rem; justify-content: center; border-bottom: 0; padding: 0.8rem; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 2rem); }
  .priv-grid, .cards3, .trio { grid-template-columns: 1fr; }
  .stat b { font-size: 2.7rem; }
  .step { grid-template-columns: 3rem 1fr; padding: 1rem; }
  .hero .wm, .share .wm, .cta-inner .wm { display: none; }
  .ticker span { font-size: 1.35rem; }
  .compare th, .compare td { padding: 0.65rem 0.55rem; font-size: 0.88rem; }
  .brand-jp { display: none; }
  .cta-inner { padding: 3.5rem 1.2rem; --cut: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .scene { --cut: 24px; width: 100%; }
  .hero-visual { padding-bottom: 3.2rem; }
  .hero-visual .phone { width: 31%; right: -1%; bottom: 0; }
  .hero-visual .stamp { left: auto; right: 4%; top: -5%; width: 34%; }
  .plate { left: 2%; bottom: 14%; }
  .blister .stamp { right: -8%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .hero-visual .stamp, .hero-visual .plate, .scene-tag i { animation: none; }
}
