/* SOMAI EduTech Inc. / somai.live */
:root {
  --bg: #0d1220;
  --bg-2: #111829;
  --surface: rgba(220, 230, 255, .03);
  --surface-2: rgba(220, 230, 255, .06);
  --line: rgba(220, 230, 255, .08);
  --line-2: rgba(220, 230, 255, .15);
  --text: #e8ecf4;
  --ink: #e8ecf4;
  --ink-2: #bcc5d6;
  --muted: #8a94a8;
  --accent: #7cb4ff;
  --accent-2: #a9cdff;
  --accent-soft: rgba(124, 180, 255, .12);
  --on-accent: #081226;
  --indigo: #b4a7f5;
  --indigo-soft: rgba(180, 167, 245, .12);
  --grad: linear-gradient(135deg, #9cc6ff, #5f9ef5);
  --grad-soft: rgba(124, 180, 255, .1);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --max: 1200px;
  --font-head: "Shippori Mincho B1", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-latin: "Inter", "Noto Sans JP", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(124, 180, 255, .35); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { word-break: auto-phrase; text-wrap: balance; font-family: var(--font-head); line-height: 1.35; margin: 0; letter-spacing: .02em; color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.grad-text, .hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 18, 32, .55);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(13, 18, 32, .8); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-latin); font-weight: 800; font-size: 18px; letter-spacing: .08em; flex: none; color: var(--ink); }
.logo-mark { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 6px 12px; border-radius: 8px; white-space: nowrap; transition: background .2s, color .2s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { color: var(--ink); background: var(--surface-2); }
.nav .btn { margin-left: 8px; color: var(--on-accent); background: var(--accent); }
.nav .btn:hover { color: var(--on-accent); background: var(--accent-2); }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Collapsed menu: main.js adds .nav-collapsed whenever the links don't fit (small screens, or longer translated labels) */
.nav-collapsed .menu-toggle { display: inline-flex; }
.nav-collapsed .nav {
  position: fixed; inset: 60px 0 auto 0; background: rgba(13, 18, 32, .97); flex-direction: column; align-items: stretch;
  padding: 12px 16px 24px; gap: 2px; border-bottom: 1px solid var(--line);
  transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
}
.nav-collapsed.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
.nav-collapsed .nav a { padding: 12px 14px; font-size: 16px; white-space: normal; }
.nav-collapsed .nav .btn { margin: 12px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 12px; border: 0;
  transition: background .2s, transform .2s; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-sm { padding: 7px 16px; font-size: 13.5px; border-radius: 9px; }
.btn-ghost {
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(220, 230, 255, .3); }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 128px 0; position: relative; }
.section-tight { padding: 80px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--bg); overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 500px; transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(124, 180, 255, .06), transparent 65%); pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-latin); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 20px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.section-head { max-width: 760px; margin-bottom: 64px; position: relative; }
.section-head.center { max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; margin-bottom: 20px; line-height: 1.3; }
.section-head p { word-break: auto-phrase; text-wrap: pretty; color: var(--muted); font-size: 17px; margin: 0; }
.lead { font-size: 18px; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 120px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); margin-bottom: 28px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-badge b { background: var(--grad); color: var(--on-accent); font-family: var(--font-latin); font-size: 11px; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); font-weight: 900; line-height: 1.2; margin-bottom: 28px; letter-spacing: 0; }
.hero h1 .hl { display: inline-block; padding-bottom: .06em; }
.hero .lead { max-width: 560px; margin-bottom: 40px; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-cta .btn { padding: 17px 32px; font-size: 16px; }
.hero-langs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2);
}

/* Phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap::before {
  content: ""; position: absolute; width: 380px; height: 520px; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--accent); filter: blur(90px); opacity: .1; border-radius: 50%;
}
.phone {
  width: 330px; background: linear-gradient(160deg, #26304a, #111827); border-radius: 48px; padding: 10px; position: relative;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%); background: #090d18; border-radius: 999px; z-index: 2; }
.phone-screen { background: #121a2b; border-radius: 39px; overflow: hidden; min-height: 610px; display: flex; flex-direction: column; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 56px 18px 14px; border-bottom: 1px solid var(--line); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--grad); color: var(--on-accent); font-family: var(--font-latin); font-weight: 800; font-size: 13px;
  box-shadow: 0 0 0 3px rgba(124, 180, 255, .2);
}
.phone-top .who { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink); }
.phone-top .who small { display: block; font-weight: 500; color: var(--accent); font-size: 11px; }
.phone-top .tag { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--indigo); background: var(--indigo-soft); padding: 4px 10px; border-radius: 999px; }
.chat { padding: 16px 14px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 13px; line-height: 1.6; }
.bubble .tr { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.bubble.ai { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; color: var(--ink); }
.bubble.me { background: var(--grad); color: var(--on-accent); border-bottom-right-radius: 6px; align-self: flex-end; }
.bubble.me .tr { color: rgba(8, 18, 38, .7); }
.wave { display: flex; align-items: center; gap: 3px; height: 20px; margin-bottom: 6px; }
.wave i { display: block; width: 3px; border-radius: 3px; background: var(--on-accent); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; animation-delay: -.1s; }
.wave i:nth-child(2) { height: 70%; animation-delay: -.3s; }
.wave i:nth-child(3) { height: 45%; animation-delay: -.5s; }
.wave i:nth-child(4) { height: 90%; animation-delay: -.2s; }
.wave i:nth-child(5) { height: 55%; animation-delay: -.6s; }
.wave i:nth-child(6) { height: 80%; animation-delay: -.4s; }
.wave i:nth-child(7) { height: 35%; animation-delay: -.7s; }
.wave i:nth-child(8) { height: 65%; animation-delay: -.15s; }
.wave i:nth-child(9) { height: 40%; animation-delay: -.45s; }
.wave i:nth-child(10) { height: 75%; animation-delay: -.25s; }
.wave i:nth-child(11) { height: 50%; animation-delay: -.55s; }
.wave i:nth-child(12) { height: 30%; animation-delay: -.35s; }
@keyframes wave { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.feedback {
  background: rgba(124, 180, 255, .07); border: 1px solid rgba(124, 180, 255, .25); border-radius: 16px; padding: 12px 14px; font-size: 12px; line-height: 1.6;
}
.feedback-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.feedback-head strong { font-size: 11.5px; color: var(--ink-2); font-weight: 700; }
.score { font-family: var(--font-latin); font-weight: 800; font-size: 20px; color: var(--accent); }
.score small { font-size: 11px; color: var(--muted); font-weight: 600; }
.bar { height: 6px; background: rgba(255, 255, 255, .08); border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, #5f9ef5, #a9cdff); border-radius: 6px; box-shadow: 0 0 12px rgba(124, 180, 255, .6); }
.feedback p { margin: 0; color: var(--ink-2); }
.feedback mark { background: var(--accent-soft); color: var(--accent-2); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.mic-bar { display: flex; align-items: center; justify-content: center; padding: 16px 16px 22px; border-top: 1px solid var(--line); }
.mic { width: 58px; height: 58px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; animation: pulse 2s infinite; }
.mic svg { width: 24px; height: 24px; color: var(--on-accent); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124, 180, 255, .55); } 70% { box-shadow: 0 0 0 18px rgba(124, 180, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 180, 255, 0); } }
.float-card {
  position: absolute; background: rgba(21, 28, 46, .9); border-radius: 16px; padding: 12px 16px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-2);
  font-size: 13px; display: flex; align-items: center; gap: 10px; z-index: 3;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card b { display: block; font-size: 13px; line-height: 1.3; color: var(--ink); }
.float-card span { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.float-1 { left: -40px; bottom: 34px; animation: float 6s ease-in-out infinite; }
.float-2 { right: -40px; top: -18px; animation: float 6s ease-in-out -3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); white-space: nowrap; font-size: 15px;
}
.marquee-item b { font-family: var(--font-latin); font-weight: 600; color: var(--ink); }
.marquee-item span { color: var(--muted); font-size: 13px; }
.marquee-item .lang-badge { width: 30px; height: 30px; font-size: 10.5px; border-radius: 50%; margin: 0; box-shadow: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.stat { padding: 36px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-latin); font-size: clamp(36px, 4.6vw, 54px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.stat b small { font-size: .42em; font-family: var(--font-body); margin-left: 4px; letter-spacing: 0; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step {
  background: var(--surface); border-radius: var(--radius-lg); padding: 40px 34px; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step::after {
  content: attr(data-n); position: absolute; right: 18px; top: -6px; font-family: var(--font-latin); font-weight: 800; font-size: 128px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); pointer-events: none;
}
.step-num { font-family: var(--font-latin); font-weight: 800; font-size: 12.5px; letter-spacing: .16em; margin-bottom: 14px; display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
.step .icon-box { margin-bottom: 28px; }

.icon-box {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; position: relative;
  background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(124, 180, 255, .25);
}
.icon-box svg { width: 22px; height: 22px; }
.icon-box.indigo { background: var(--indigo-soft); color: var(--indigo); border-color: rgba(180, 167, 245, .25); }
.icon-box.green { background: var(--accent-soft); color: var(--accent); border-color: rgba(124, 180, 255, .25); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-bottom: 22px; }
.split p { color: var(--muted); }
.split .lead { color: var(--ink-2); }
.check-list { display: grid; gap: 14px; margin-top: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 4px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cb4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(124, 180, 255, .3);
}
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-card { border-radius: var(--radius-lg); padding: 30px; background: var(--surface); border: 1px solid var(--line); }
.compare-card h4 { font-size: 14px; margin-bottom: 18px; color: var(--muted); letter-spacing: .06em; }
.compare-card li { font-size: 14.5px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); display: flex; gap: 10px; align-items: center; }
.compare-card li::before { content: "×"; color: #59647a; font-weight: 700; }
.compare-card li:first-child { border-top: 0; }
.compare-card.good {
  border: 1px solid transparent; color: var(--ink);
  background: linear-gradient(#151c2e, #151c2e) padding-box, var(--grad) border-box;

}
.compare-card.good h4 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compare-card.good li { color: var(--ink); }
.compare-card.good li::before { content: "✓"; color: var(--accent); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card, .bento-item, .usecase, .value, .step { --mx: 50%; --my: 50%; }
.card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.card::before, .bento-item::before, .usecase::before, .value::before, .step::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .07), transparent 45%);
}
.card:hover::before, .bento-item:hover::before, .usecase:hover::before, .value:hover::before, .step:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card h3 { font-size: 19px; margin: 22px 0 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .3s, transform .3s;
}
.bento-item:hover { border-color: var(--line-2); transform: translateY(-3px); }
.bento-item.wide { grid-column: span 2; }
.bento-item h3 { font-size: 20px; margin: 20px 0 10px; position: relative; z-index: 1; }
.bento-item p { color: var(--muted); font-size: 14.5px; margin: 0; position: relative; z-index: 1; }
.bento-item .viz { margin-top: auto; padding-top: 26px; position: relative; z-index: 1; }
.bento-item.glow::after {
  content: ""; position: absolute; width: 300px; height: 300px; right: -90px; bottom: -140px; border-radius: 50%;
  background: var(--accent); filter: blur(70px); opacity: .08; pointer-events: none;
}
.mini-scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-scores > div { background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.mini-scores > div > span { display: block; font-size: 11.5px; color: var(--muted); }
.mini-scores b { font-family: var(--font-latin); font-size: 26px; font-weight: 800; color: var(--ink); }
.mini-scores .bar { margin: 6px 0 0; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-rewrite { background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-family: var(--font-latin); font-size: 14px; }
.mini-rewrite s { color: var(--muted); text-decoration-color: rgba(124, 180, 255, .9); display: block; }
.mini-rewrite b { color: var(--accent); }
.mini-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 96px; }
.mini-week i { display: block; border-radius: 6px 6px 3px 3px; background: rgba(255, 255, 255, .08); }
.mini-week i.on { background: var(--grad); }

/* ---------- Languages ---------- */
.lang-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lang-tile {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 16px 26px; text-align: center; overflow: hidden;
  transition: transform .3s, border-color .3s, background .3s;
}
.lang-tile:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.lang-tile .hello { font-size: 21px; font-weight: 700; margin-bottom: 4px; font-family: var(--font-latin); color: var(--ink); }
.lang-tile .name { font-size: 13px; color: var(--muted); }
.lang-badge {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 16px;
  font-family: var(--font-latin); font-weight: 800; font-size: 14px; color: var(--accent-2);
}
.c-es, .c-fr, .c-ko, .c-it, .c-zh, .c-en { background: var(--accent-soft); border: 1px solid rgba(124, 180, 255, .22); }

.lang-detail {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 48px; scroll-margin-top: 100px; position: relative; overflow: hidden;
}
.lang-detail + .lang-detail { margin-top: 20px; }
.lang-city { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; border: 1px solid var(--line); }
.lang-detail .lang-badge { width: 68px; height: 68px; font-size: 21px; border-radius: 20px; margin: 0 0 22px; }
.lang-detail h3 { font-size: 30px; margin-bottom: 4px; }
.lang-detail .native { font-family: var(--font-latin); color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.lang-detail .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-detail p { color: var(--ink-2); }
.phrase {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 20px 26px; margin-bottom: 22px; position: relative; overflow: hidden;
}
.phrase::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); }
.phrase .src { font-size: 19px; font-weight: 700; font-family: var(--font-latin); margin-bottom: 2px; color: var(--ink); }
.phrase .ja { color: var(--muted); font-size: 14px; }
.lang-detail h4 { font-size: 15px; margin-bottom: 12px; }
.lang-detail ul.dots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.lang-detail ul.dots li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); }
.lang-detail ul.dots li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ---------- Use cases ---------- */
.usecase {
  background: var(--surface); border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.usecase:hover { border-color: var(--line-2); transform: translateY(-3px); }
.usecase-img { display: block; width: calc(100% + 68px); max-width: none; margin: -34px -34px 26px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-bottom: 1px solid var(--line); }
.usecase .label {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
  background: var(--grad-soft); color: var(--accent-2); border: 1px solid rgba(124, 180, 255, .3);
}
.usecase h3 { font-size: 20px; margin-bottom: 12px; }
.usecase p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 32px; padding: 80px 64px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  background: radial-gradient(90% 120% at 0% 0%, rgba(124, 180, 255, .14), transparent 60%), #151c2e;
  border: 1px solid var(--line-2);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 14px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 17px; }
.cta-band .btn-light { padding: 18px 34px; font-size: 16px; }

/* ---------- Page header ---------- */
.page-hero { padding: 120px 0 96px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; width: 760px; height: 460px; right: -160px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 180, 255, .12), transparent 70%); filter: blur(30px);
}
.page-hero .container { z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 900; margin-bottom: 20px; line-height: 1.22; }
.page-hero p { max-width: 680px; color: var(--ink-2); font-size: 17px; margin: 0; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Feature detail ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-row + .feature-row { margin-top: 140px; }
.feature-row.reverse .feature-visual { order: -1; }
.feature-row h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; margin: 22px 0 20px; }
.feature-row p { color: var(--ink-2); }
.feature-visual {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; min-height: 360px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px; overflow: hidden;
}
.feature-visual::before {
  content: ""; position: absolute; width: 360px; height: 360px; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--accent); filter: blur(100px); opacity: .07; pointer-events: none;
}
.feature-visual > * { position: relative; }
.feature-visual .phrase { margin: 0; background: rgba(13, 18, 32, .8); }
.score-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.score-item { background: rgba(13, 18, 32, .8); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.score-item span { font-size: 12.5px; color: var(--muted); display: block; }
.score-item b { font-family: var(--font-latin); font-size: 28px; font-weight: 800; color: var(--ink); }
.score-item .bar { margin: 6px 0 0; }
.rewrite { background: rgba(13, 18, 32, .8); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.rewrite .k { font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 6px; display: block; letter-spacing: .04em; }
.rewrite .before { font-family: var(--font-latin); text-decoration: line-through; text-decoration-color: rgba(124, 180, 255, .9); color: var(--muted); }
.rewrite .after { font-family: var(--font-latin); font-weight: 700; font-size: 17px; color: var(--accent); }
.rewrite .note { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
.rewrite .note b { color: var(--ink); }
.scene-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.scene { background: rgba(13, 18, 32, .8); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.scene .lvl { white-space: nowrap; flex: none; margin-left: auto; font-size: 11px; font-weight: 700; color: var(--indigo); background: var(--indigo-soft); padding: 2px 8px; border-radius: 999px; }
.progress-card { background: rgba(13, 18, 32, .8); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.progress-card .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.progress-card .row b { font-family: var(--font-latin); font-size: 30px; color: var(--ink); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; }
.week div { background: rgba(255, 255, 255, .08); border-radius: 8px 8px 4px 4px; }
.week div.on { background: var(--grad); }
.week-labels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 8px; }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px; margin: 0 auto 64px; }
.billing-toggle button { border: 0; background: transparent; padding: 10px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--muted); transition: color .2s; }
.billing-toggle button.on { background: var(--accent); color: var(--on-accent); }
.billing-toggle .save { font-size: 11px; margin-left: 6px; color: var(--accent-2); }
.billing-toggle button.on .save { color: #1d4f9c; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 42px 34px;
  display: flex; flex-direction: column; position: relative;
}
.price-card.featured {
  border: 1px solid transparent;
  background: linear-gradient(#151c2e, #151c2e) padding-box, var(--grad) border-box;

}
.price-card .badge { position: absolute; top: -14px; left: 34px; background: var(--grad); color: var(--on-accent); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .desc { font-size: 14px; color: var(--muted); margin-bottom: 26px; min-height: 48px; }
.price { font-family: var(--font-latin); font-size: 48px; font-weight: 800; line-height: 1.1; color: var(--ink); letter-spacing: -.02em; }
.price small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 4px; font-family: var(--font-body); letter-spacing: 0; }
.price-sub { font-size: 13px; color: var(--muted); min-height: 22px; margin: 8px 0 28px; }
.price-card.featured .price-sub { color: var(--accent-2); }
.price-card ul { display: grid; gap: 13px; margin-bottom: 34px; flex: 1; padding-top: 26px; border-top: 1px solid var(--line); align-content: start; }
.price-card li { font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.price-card li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }
.price-card li.off { color: #59647a; }
.price-card li.off svg { color: #59647a; }
.price-card .btn { width: 100%; }
.price-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 32px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.cmp-table thead th { background: rgba(255, 255, 255, .04); font-family: var(--font-head); font-size: 14px; color: var(--ink); }
.cmp-table td:not(:first-child), .cmp-table th:not(:first-child) { text-align: center; }
.cmp-table tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.cmp-table tr:last-child td { border-bottom: 0; }
.yes { color: var(--accent) !important; font-weight: 700; }
.no { color: #59647a !important; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > h2 { font-size: 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.faq-group > h2::before { content: ""; width: 4px; height: 22px; border-radius: 3px; background: var(--grad); }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item:hover { border-color: var(--line-2); }
.faq-item[open] { background: var(--surface-2); border-color: var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; position: relative; font-size: 16px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q."; font-family: var(--font-latin); font-weight: 800; margin-right: 12px; color: var(--accent-2); }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 400; font-size: 20px; line-height: 1; color: var(--ink-2);
  background: var(--surface-2); border: 1px solid var(--line); transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .ans { padding: 0 26px 24px 58px; color: var(--ink-2); font-size: 15px; }
.faq-item .ans p:last-child { margin: 0; }
.faq-item .ans a { color: var(--accent-2) !important; }
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: 100px; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq-nav a { padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.faq-nav a:hover { background: var(--surface-2); color: var(--ink); }

/* ---------- Company ---------- */
.mission { text-align: center; max-width: 880px; margin: 0 auto; }
.wide-img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-lg); margin-top: 64px; border: 1px solid var(--line); }
.mission .big { font-size: clamp(36px, 6vw, 72px); font-weight: 900; font-family: var(--font-head); line-height: 1.25; margin: 0 0 36px; color: var(--ink); }
.mission .big span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mission p { color: var(--ink-2); font-size: 17px; }
.value { padding: 36px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.value:hover { border-color: var(--line-2); transform: translateY(-3px); }
.value .num { font-family: var(--font-latin); font-size: 44px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.value h3 { font-size: 21px; margin: 20px 0 12px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
.info-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 24px 30px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; color: var(--ink-2); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 220px; background: rgba(255, 255, 255, .03); font-weight: 700; font-family: var(--font-head); color: var(--ink); }
.info-table td a { color: var(--accent-2) !important; }
.info-table td ul li { position: relative; padding-left: 16px; }
.info-table td ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); }

/* Founder */
.founder { display: grid; grid-template-columns: 400px 1fr; gap: 72px; align-items: start; }
.founder-photo { margin: 0; position: sticky; top: 96px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); }
.founder-photo img { width: 100%; height: auto; }
.founder-tag {
  position: absolute; top: 0; left: 20px; padding: 16px 10px; writing-mode: vertical-rl;
  font-family: var(--font-latin); font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  background: var(--bg); color: var(--accent-2); border-radius: 0 0 8px 8px;
}
.founder-name { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; margin-bottom: 32px; }
.founder-name small { display: block; font-family: var(--font-latin); font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--muted); margin-top: 6px; }
.founder-quote {
  margin: 0 0 36px; padding: 4px 0 4px 26px; border-left: 2px solid var(--accent);
  font-family: var(--font-head); font-size: clamp(19px, 2vw, 23px); font-weight: 600; line-height: 1.9; color: var(--ink);
}
.founder-message p { color: var(--ink-2); line-height: 2.05; }
.founder-sign { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.founder-sign b { display: block; font-family: var(--font-head); font-size: 22px; color: var(--ink); margin-top: 4px; letter-spacing: .1em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; }
.field { margin-bottom: 22px; }
.field label, .field .label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.req { display: inline-block; font-size: 10.5px; color: var(--on-accent); background: var(--grad); border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.opt { display: inline-block; font-size: 10.5px; color: var(--muted); background: var(--surface-2); border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field select option { background: #151c2e; }
.field input::placeholder, .field textarea::placeholder { color: #59647a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124, 180, 255, .15); }
.field textarea { min-height: 180px; resize: vertical; }
.field .err { display: none; color: var(--accent-2); font-size: 13px; margin: 6px 0 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f08a8a; }
.field.invalid .err { display: block; }
.field .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.agree input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--accent); flex: none; }
.agree a { color: var(--accent-2); text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .icon-box { margin: 0 auto 22px; width: 68px; height: 68px; border-radius: 50%; }
.form-success h3 { font-size: 26px; margin-bottom: 12px; }
.form-success p { color: var(--muted); }
.form-success .btn { margin-top: 12px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.side-card + .side-card { margin-top: 16px; }
.side-card h3 { font-size: 17px; margin-bottom: 14px; }
.side-card p { font-size: 14.5px; color: var(--ink-2); }
.side-card .mail { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.side-card .mail:first-of-type { border-top: 0; padding-top: 4px; }
.side-card .mail span { font-size: 12px; color: var(--muted); display: block; line-height: 1.4; }
.side-card .mail a { font-weight: 600; font-family: var(--font-latin); color: var(--ink); }
.side-card .mail a:hover { color: var(--accent-2); }
.side-card .icon-box { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.side-card .icon-box svg { width: 18px; height: 18px; }

/* ---------- Legal ---------- */
.legal { max-width: 880px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 64px; }
.legal h2 { font-size: 19px; margin: 48px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 15px; color: var(--ink-2); }
.legal ol { padding-left: 1.4em; margin: 0 0 1em; }
.legal ol li { margin-bottom: 6px; }
.legal ol li::marker { color: var(--accent-2); }
.legal .updated { margin-top: 48px; font-size: 13.5px; color: var(--muted); text-align: right; }
.legal .info-table { background: transparent; }
.legal .info-table th { width: 200px; }

/* ---------- Footer ---------- */
.site-footer { background: #090d18; color: var(--muted); padding: 96px 0 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; left: 50%; top: -1px; width: 60%; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(124, 180, 255, .8), rgba(124, 180, 255, .8), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; margin-bottom: 64px; }
.site-footer .logo { margin-bottom: 20px; }
.footer-about p { font-size: 14px; line-height: 1.9; max-width: 340px; }
.footer-col h4 { color: var(--ink); font-size: 13px; margin-bottom: 20px; letter-spacing: .1em; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-addr { font-size: 13.5px; line-height: 1.9; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; position: relative; z-index: 1; }
.footer-bottom a:hover { color: var(--ink); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-word {
  font-family: var(--font-latin); font-weight: 800; font-size: clamp(90px, 22vw, 300px); line-height: .8; text-align: center; letter-spacing: -.04em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: -.1em; user-select: none; pointer-events: none;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s; }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .split, .feature-row { grid-template-columns: 1fr; gap: 64px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .lang-strip { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .price-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .lang-detail { grid-template-columns: 1fr; gap: 28px; }
  .faq-layout { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { position: relative; top: 0; max-width: 360px; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 88px 0; }
  .hero { padding: 56px 0 88px; }
  .grid-3, .grid-2, .price-grid, .compare, .score-grid, .scene-list, .bento, .lang-detail ul.dots { grid-template-columns: 1fr; }
  .bento-item.wide { grid-column: auto; }
  .mini-scores { gap: 6px; }
  .mini-scores > div { padding: 10px; }
  .mini-scores b { font-size: 20px; }
  .lang-strip { grid-template-columns: 1fr 1fr; }
  .phone { width: 290px; }
  .phone-screen { min-height: 560px; }
  .phone-wrap::before { width: 260px; height: 420px; }
  .float-1 { left: -4px; bottom: 30px; }
  .float-2 { right: -4px; top: -18px; }
  .cta-band { grid-template-columns: 1fr; padding: 52px 26px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .info-table th, .info-table td { display: block; width: 100%; padding: 14px 20px; }
  .info-table th { border-bottom: 0; }
  .legal .info-table th { width: 100%; }
  .legal { padding: 36px 22px; }
  .form-card { padding: 28px 20px; }
  .lang-detail { padding: 30px 22px; }
  .lang-city { aspect-ratio: 16 / 9; }
  .wide-img { aspect-ratio: 4 / 3; margin-top: 40px; }
  .feature-visual { padding: 22px; min-height: 0; }
  .feature-row + .feature-row { margin-top: 96px; }
  .page-hero { padding: 72px 0 56px; }
  .faq-item .ans { padding: 0 20px 20px 20px; }
  .faq-item summary { padding: 18px 56px 18px 20px; }
  .stat { padding: 26px 14px; }
  .marquee::before, .marquee::after { width: 50px; }
}
