/* QAMPUS 公式LP — Learning, Evolved. */
:root {
  --white: #ffffff;
  --blue: #1155f5;
  --blue-600: #0d47d9;
  --navy: #091e47;
  --navy-900: #050f2a;
  --ink: #0b1b3a;
  --sub: #4a5876;
  --mute: #6b7891;
  --light: #e9f2ff;
  --light-2: #f4f8ff;
  --line: #dbe5f5;
  --cyan: #19c3f0;
  --violet: #5b45f0;
  --grad: linear-gradient(100deg, #19c3f0 0%, #1155f5 48%, #5b45f0 100%);
  --radius: 22px;
  --shadow-lg: 0 40px 80px -30px rgba(9, 30, 71, .35), 0 18px 36px -18px rgba(9, 30, 71, .25);
  --shadow-md: 0 20px 40px -20px rgba(9, 30, 71, .28);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
  --font-en: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-ja); font-size: 16px; line-height: 1.85; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main, .site-footer { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
small { font-size: .82em; color: var(--mute); }
kbd { font-family: var(--font-en); font-size: .78em; padding: .1em .45em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(96px, 12vw, 168px); }

/* ---------- buttons ---------- */
.btn {
  --bh: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--bh); padding: 0 1.5em; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--font-ja); letter-spacing: .04em; text-decoration: none; white-space: nowrap;
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn-sm { --bh: 42px; font-size: 14px; padding: 0 1.25em; }
.btn-lg { --bh: 58px; font-size: 16px; padding: 0 1.8em; }
.btn-xl { --bh: 68px; font-size: 17px; padding: 0 2.2em; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -12px rgba(17, 85, 245, .7); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad);
  opacity: 0; transition: opacity .4s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(17, 85, 245, .8); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45); }
.btn-white:hover { transform: translateY(-2px); color: var(--navy); }
.arr { width: 18px; height: 18px; flex: none; position: relative; transition: transform .35s var(--ease); }
.arr::before { content: ""; position: absolute; left: 1px; right: 3px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 2px; }
.arr::after { content: ""; position: absolute; right: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); border-radius: 1px; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.header-inner { width: min(1320px, 100% - 40px); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; gap: 28px; transition: height .4s var(--ease); }
.brand img { width: 132px; height: auto; transition: width .4s var(--ease); }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 6px; }
.gnav a, .link-login { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); transition: background-color .25s, color .25s; }
.gnav a:hover, .link-login:hover { background: var(--light); color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.site-header.is-compact { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 rgba(9, 30, 71, .08); }
.site-header.is-compact .header-inner { height: 62px; }
.site-header.is-compact .brand img { width: 116px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--light); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
/* mobile menu (full screen) */
.drawer { position: fixed; z-index: 60; inset: 0; display: flex; flex-direction: column; background: #fff; padding: 0 28px calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.drawer[hidden] { display: none; }
.drawer-top { flex: none; height: 96px; display: flex; align-items: center; justify-content: space-between; }
.drawer-brand img { width: 128px; }
.drawer-close { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .25s, background-color .25s; }
.drawer-close:hover { border-color: var(--blue); background: var(--light); }
.drawer-close span { position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; border-radius: 2px; background: var(--navy); transform: rotate(45deg); }
.drawer-close span:last-child { transform: rotate(-45deg); }
.drawer-nav { flex: 1; display: flex; flex-direction: column; padding-top: 36px; }
.drawer-nav li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; font-size: 21px; font-weight: 700; letter-spacing: .04em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .25s; }
.drawer-nav li a:hover { color: var(--blue); }
.d-arr { position: relative; flex: none; width: 18px; height: 14px; color: var(--mute); transition: transform .3s var(--ease), color .25s; }
.d-arr::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; border-radius: 2px; }
.d-arr::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.drawer-nav li a:hover .d-arr { transform: translateX(4px); color: var(--blue); }
.drawer-cta { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 26px; border-radius: 22px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .04em; text-decoration: none; box-shadow: 0 16px 32px -14px rgba(17, 85, 245, .7); }
.drawer-cta .d-arr { color: #fff; }
.drawer:not([hidden]) { animation: drawerIn .35s var(--ease); }
.drawer:not([hidden]) .drawer-nav li, .drawer:not([hidden]) .drawer-cta { animation: drawerItem .5s var(--ease) both; }
.drawer-nav li:nth-child(2) { animation-delay: .04s !important; }
.drawer-nav li:nth-child(3) { animation-delay: .08s !important; }
.drawer-nav li:nth-child(4) { animation-delay: .12s !important; }
.drawer-cta { animation-delay: .16s !important; }
@keyframes drawerIn { from { opacity: 0; } }
@keyframes drawerItem { from { opacity: 0; transform: translateY(10px); } }

/* ---------- common typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--font-en); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); padding: 9px 14px 9px 12px; border-radius: 999px; background: rgba(233, 242, 255, .9); box-shadow: inset 0 0 0 1px rgba(17, 85, 245, .14); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(17, 85, 245, .14); }
.sec-label { display: flex; align-items: center; gap: 14px; font: 600 12.5px/1 var(--font-en); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 26px; }
.sec-label span { font-weight: 800; color: var(--ink); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 14px; }
.sec-label span::after { content: ""; width: 36px; height: 1.5px; background: currentColor; opacity: .35; }
.sec-label-dark { color: #7fb2ff; }
.sec-label-dark span { color: #fff; }
.sec-title { font-size: clamp(30px, 4.6vw, 60px); line-height: 1.28; font-weight: 900; letter-spacing: -.01em; color: var(--ink); word-break: auto-phrase; }
.sec-lead { margin-top: 26px; font-size: clamp(16px, 1.35vw, 18px); color: var(--sub); line-height: 2; }
.fine { font-size: 13px; color: var(--mute); line-height: 1.8; }
.nw { display: inline-block; }
.grad-text { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--font-en); font-weight: 800; letter-spacing: -.01em; padding-right: .04em; }

/* ---------- device frames ---------- */
.browser { position: relative; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(9, 30, 71, .08); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: linear-gradient(#f8faff, #eef3fb); border-bottom: 1px solid #e3eaf5; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4dceb; }
.browser-bar i:nth-child(1) { background: #ff6b6b; } .browser-bar i:nth-child(2) { background: #ffc34d; } .browser-bar i:nth-child(3) { background: #3ddc84; }
.browser-bar span { margin-inline: auto; transform: translateX(-24px); font: 500 11.5px/1 var(--font-en); color: var(--mute); background: #fff; padding: 6px 40px; border-radius: 8px; box-shadow: 0 0 0 1px #e3eaf5; }
.browser > img, .browser .seq-frames { width: 100%; aspect-ratio: 16 / 10; }
.phone { position: relative; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #1c2c55, #0a1636); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 999px; background: #050b1f; z-index: 2; }
.phone > img, .phone .seq-frames { border-radius: 34px; overflow: hidden; aspect-ratio: 600 / 1298; width: 100%; object-fit: cover; object-position: top; }
.phone-dark { background: linear-gradient(145deg, #2a3d70, #0b1840); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .16); }
.phone-dark > img { aspect-ratio: 600 / 1211; }
.seq-frames { position: relative; display: block; overflow: hidden; }
.seq-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .7s var(--ease), transform 1.1s var(--ease); transform: scale(1.015); }
.seq-frames img.is-on { opacity: 1; transform: none; }

/* ---------- reveal ---------- */
.js .reveal, .js .reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .reveal-up { transform: translateY(60px) scale(.98); }
.js .is-in.reveal, .js .is-in.reveal-up, .js .is-in .reveal, .js .is-in .reveal-up { opacity: 1; transform: none; }
.js .reveal-line { display: block; overflow: hidden; padding-bottom: .06em; }
.js .reveal-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .reveal-line.is-in > span { transform: none; }
.js .reveal-line:nth-child(2) > span { transition-delay: .12s; }

/* ---------- floating ---------- */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatY2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
.float { animation: floatY 7s ease-in-out infinite; }
.float-slow { animation: floatY 10s ease-in-out infinite; }
.float-alt { animation: floatY2 8s ease-in-out infinite; }

/* =================== 01 HERO =================== */
.hero { position: relative; min-height: min(100svh, 980px); padding: calc(var(--header-h) + 48px) 0 96px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f5f9ff 70%, #fff 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-a { width: 640px; height: 640px; right: -120px; top: -160px; background: radial-gradient(circle, #9fd0ff, transparent 70%); }
.orb-b { width: 520px; height: 520px; left: -220px; bottom: -200px; background: radial-gradient(circle, #c9d6ff, transparent 70%); }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(17, 85, 245, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 85, 245, .06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { margin: 28px 0 0; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.2; font-weight: 900; letter-spacing: -.02em; }
.hero-title .line { white-space: nowrap; }
.hero-title .grad-text { font-size: 1.04em; }
.hero-lead { margin-top: 28px; font-size: clamp(15.5px, 1.3vw, 18px); line-height: 2; color: var(--sub); }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--sub); }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%231155F5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.hero-visual { position: relative; aspect-ratio: 1 / .86; }
.hero-q { position: absolute; right: -6%; top: -8%; width: 74%; z-index: 0; }
.hero-q img { width: 100%; mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.hero-pc { position: absolute; left: 0; top: 20%; width: 88%; z-index: 1; perspective: 1800px; }
.hero-pc .browser { transform: rotateY(-10deg) rotateX(4deg); transform-origin: left center; }
.hero-pc .browser.float-slow { animation-name: floatPc; }
@keyframes floatPc { 0%, 100% { transform: rotateY(-10deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-10deg) rotateX(4deg) translateY(-10px); } }
.hero-sp { position: absolute; right: 2%; bottom: -4%; width: 27%; z-index: 2; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 16px; font-size: 13.5px; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255, 255, 255, .8); white-space: nowrap; }
.chip-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.chip-ico.ok { background: #e6f6ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%232F8F6B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/60% no-repeat; }
.chip-ico.bar { background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18V12M12 18V7M18 18v-4' fill='none' stroke='%231155F5' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/60% no-repeat; }
.chip-a { left: -4%; bottom: 8%; }
.chip-b { right: 26%; top: 8%; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(9, 30, 71, .25); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =================== 02 ABOUT =================== */
.about { position: relative; background: #fff; padding-bottom: clamp(64px, 8vw, 120px); }
.about-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: end; }
.about-head .sec-label { grid-column: 1 / -1; }
.about-body { padding-bottom: 8px; }
.about-body p { font-size: clamp(15.5px, 1.25vw, 17px); color: var(--sub); line-height: 2.05; }
.about-body p + p { margin-top: 18px; }
.about-body .about-lead { font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; color: var(--ink); line-height: 1.9; }
.hub { position: relative; margin-top: clamp(40px, 5vw, 72px); aspect-ratio: 1200 / 600; }
.hub-screen { position: absolute; left: 50%; top: 50%; width: 52%; transform: translate(-50%, -50%); z-index: 2; }
.hub-screen::before { content: ""; position: absolute; inset: -18% -14%; z-index: -1; background: radial-gradient(closest-side, rgba(17, 85, 245, .2), transparent); filter: blur(10px); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.hub-lines path { fill: none; stroke: url(#hl); stroke-width: 1.6; stroke-dasharray: 5 7; opacity: .55; }
.js .hub-lines path { stroke-dashoffset: 400; transition: stroke-dashoffset 2.4s var(--ease); }
.js .hub.is-in .hub-lines path { stroke-dashoffset: 0; }
.hub-lines path { animation: dashFlow 18s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -480; } }
.hub-nodes li { position: absolute; z-index: 3; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 20px 14px 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md), 0 0 0 1px rgba(9, 30, 71, .06); width: max-content; transform: translate(-50%, -50%); }
.hub-nodes b { font-size: 15.5px; line-height: 1.4; }
.hub-nodes small { grid-column: 2; font-size: 12px; line-height: 1.4; }
.n-ico { grid-row: 1 / 3; width: 42px; height: 42px; border-radius: 13px; background: var(--light) center/52% no-repeat; }
.i-quiz { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231155F5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='4'/%3E%3Cpath d='M8.5 12.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E"); }
.i-exp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231155F5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4'/%3E%3Cpath d='M12 3a6 6 0 0 0-3.6 10.8c.7.6 1.1 1.3 1.1 2.2h5c0-.9.4-1.6 1.1-2.2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.i-rev { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231155F5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7L4 8.6'/%3E%3Cpath d='M4 4v4.6h4.6'/%3E%3Cpath d='M12 8v4.2l2.8 1.8'/%3E%3C/svg%3E"); }
.i-chart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231155F5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 19V13M10 19V8M15 19v-6M20 19V5'/%3E%3C/svg%3E"); }
.i-note { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231155F5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5h9l4 4V20a.5.5 0 0 1-.5.5h-12A.5.5 0 0 1 6 20z'/%3E%3Cpath d='M15 3.5V8h4M9 12h6M9 15.5h6'/%3E%3C/svg%3E"); }
.i-lib { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231155F5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3v16H5zM10 4h3v16h-3z'/%3E%3Cpath d='M15.2 4.8l2.9-.8 3.4 15.4-2.9.7z'/%3E%3C/svg%3E"); }
.hub-nodes .n1 { left: 12.5%; top: 18.75%; } .hub-nodes .n2 { left: 9.2%; top: 51.5%; } .hub-nodes .n3 { left: 12.5%; top: 84.4%; }
.hub-nodes .n4 { left: 87.5%; top: 18.75%; } .hub-nodes .n5 { left: 90.8%; top: 51.5%; } .hub-nodes .n6 { left: 87.5%; top: 84.4%; }
.js .hub-nodes li { opacity: 0; transition: opacity .8s var(--ease), translate .9s var(--ease); translate: 0 16px; }
.js .hub.is-in .hub-nodes li { opacity: 1; translate: 0 0; }
.hub-nodes .n2, .hub-nodes .n5 { transition-delay: .12s !important; } .hub-nodes .n3, .hub-nodes .n6 { transition-delay: .24s !important; }

/* =================== 03 PRACTICE =================== */
.practice { background: linear-gradient(180deg, #fff 0%, var(--light-2) 100%); }
.practice-grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature-list { margin-top: 44px; display: grid; gap: 4px; }
.feature-list li { display: grid; grid-template-columns: 52px 1fr; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.fl-no { font: 800 14px/1.9 var(--font-en); color: var(--blue); }
.feature-list h3 { font-size: 18.5px; font-weight: 700; line-height: 1.6; }
.feature-list p { margin-top: 6px; font-size: 14.5px; color: var(--sub); line-height: 1.9; }
.practice-stage { position: relative; }
.seq-steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.seq-steps span { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); transition: all .45s var(--ease); }
.seq-steps span.is-on { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(17, 85, 245, .8); }
.seq-sp { display: none; }
.kbd-note { margin-top: 22px; font-size: 13px; color: var(--mute); }

/* =================== 04 REVIEW =================== */
.review { position: relative; background: var(--light-2); }
.review-scroller { height: 300vh; position: relative; }
.review-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 40px; }
.review-sticky::before { content: ""; position: absolute; right: -10%; top: 10%; width: 60vw; height: 80%; background: radial-gradient(closest-side, rgba(17, 85, 245, .1), transparent); pointer-events: none; }
.review-grid { position: relative; display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.review-copy .sec-title { font-size: clamp(30px, 3.6vw, 52px); }
.review-copy .sec-lead { margin-top: 20px; }
.review-steps { margin-top: 34px; display: grid; gap: 6px; }
.review-steps li { position: relative; padding: 14px 0 14px 26px; opacity: .42; transition: opacity .5s var(--ease); }
.review-steps li.is-on { opacity: 1; }
.rs-bar { position: absolute; left: 0; top: 18px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rs-bar i { position: absolute; inset: 0; background: var(--grad); transform: scaleY(var(--p, 0)); transform-origin: top; }
.review-steps h3 { font-size: 19px; line-height: 1.5; display: flex; gap: 12px; align-items: baseline; }
.review-steps h3 span { font: 800 13px/1 var(--font-en); color: var(--blue); }
.review-steps p { margin-top: 6px; font-size: 14.5px; color: var(--sub); line-height: 1.9; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; opacity: 0; }
.review-steps li.is-on p { max-height: 160px; opacity: 1; }
.rs-media { display: none; }
.review-stage { position: relative; }
.review-progress { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.review-progress span { width: 28px; height: 4px; border-radius: 4px; background: var(--line); transition: all .4s var(--ease); }
.review-progress span.is-on { width: 52px; background: var(--blue); }

/* =================== 05 ANALYTICS =================== */
.analytics { position: relative; background: #fff; overflow: hidden; }
.analytics-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.analytics-copy { order: 2; }
.analytics-visual { order: 1; position: relative; padding: 0 12% 12% 0; }
.metric-tags { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.metric-tags li { font-size: 13.5px; font-weight: 700; padding: 9px 15px; border-radius: 12px; background: var(--light); color: var(--navy); }
.analytics-copy .fine { margin-top: 20px; }
.an-sp { position: absolute; right: 0; bottom: 0; width: 30%; }
.today-card { position: absolute; left: -3%; bottom: 2%; width: min(300px, 46%); padding: 20px 22px; border-radius: 20px; background: linear-gradient(150deg, #13265c, #091e47); color: #fff; box-shadow: var(--shadow-lg); }
.tc-label { font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; color: #cfe0ff; }
.tc-badge { font-size: 11px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.tc-num { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; font-family: var(--font-en); }
.tc-num b { font-size: 44px; line-height: 1; font-weight: 800; }
.tc-num span { font-size: 15px; color: #a9c4ff; }
.tc-bar { margin-top: 14px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.tc-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #19c3f0, #6aa1ff); border-radius: 6px; transition: width 1.6s var(--ease); }
.today-card.is-counted .tc-bar i { width: 100%; }
.tc-sub { margin-top: 10px; font-size: 11px; color: #7f97c9; letter-spacing: .1em; }

/* =================== 06 TOOLS =================== */
.tools { background: linear-gradient(180deg, #fff 0%, var(--light-2) 60%, #fff 100%); }
.tools-head { margin-bottom: clamp(48px, 6vw, 80px); }
.tools-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.tcard { position: relative; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px rgba(9, 30, 71, .35), 0 0 0 1px rgba(9, 30, 71, .06); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -36px rgba(9, 30, 71, .45), 0 0 0 1px rgba(17, 85, 245, .15); }
.tcard-text { padding: clamp(28px, 3.2vw, 44px); }
.tcard-kicker { font: 600 12px/1 var(--font-en); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.tcard h3 { margin-top: 14px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.45; font-weight: 900; }
.tcard p:not(.tcard-kicker):not(.fine) { margin-top: 14px; font-size: 15px; color: var(--sub); line-height: 1.95; }
.tcard .fine { margin-top: 12px; }
.tcard-note { grid-column: span 7; display: flex; flex-direction: column; background: linear-gradient(160deg, #fff 30%, var(--light) 100%); }
.tcard-note .tcard-media { margin-top: auto; padding: 0 0 0 clamp(28px, 3.2vw, 44px); }
.tcard-note .browser { border-radius: 16px 0 0 0; transform: translateY(6%); }
.tcard-sync { grid-column: span 5; background: radial-gradient(120% 90% at 100% 0%, #1d4fe0 0%, #0c2a7a 45%, #091e47 100%); color: #fff; display: flex; flex-direction: column; }
.tcard-sync h3 { color: #fff; }
.tcard-sync .tcard-kicker { color: #7fd7ff; }
.tcard-sync p:not(.tcard-kicker):not(.fine) { color: #c6d5f5; }
.tcard-sync .sync-lead { color: #fff !important; font-size: clamp(18px, 1.6vw, 21px) !important; font-weight: 700; line-height: 1.75 !important; }
.sync-visual { position: relative; margin-top: auto; height: clamp(240px, 22vw, 300px); }
.sync-pc { position: absolute; left: 8%; bottom: -18%; width: 78%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.sync-pc .browser-bar { height: 22px; }
.sync-sp { position: absolute; right: 7%; bottom: -30%; width: 26%; border-radius: 26px; padding: 6px; }
.sync-sp::before { top: 11px; height: 10px; }
.sync-sp > img { border-radius: 21px; }
.sync-link { position: absolute; left: 30%; top: 4%; width: 52%; overflow: visible; }
.sync-link path { fill: none; stroke: #7fd7ff; stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; animation: dashFlow 6s linear infinite; }
.sync-pulse { position: absolute; left: 30%; top: 4%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #7fd7ff; box-shadow: 0 0 18px 4px rgba(127, 215, 255, .8); offset-path: path("M10 60 C 60 0, 140 0, 190 60"); animation: pulseMove 3.2s var(--ease) infinite; }
@keyframes pulseMove { 0% { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.tcard-lib { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; background: linear-gradient(110deg, #fff 40%, var(--light) 100%); }
.tcard-lib .tcard-text { padding-right: 0; }
.lib-media { height: 100%; min-height: 360px; position: relative; overflow: hidden; }
.lib-media .phone { position: absolute; left: 50%; top: 40px; width: min(260px, 70%); transform: translateX(-50%) rotate(-4deg); }
.code-demo { margin-top: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); max-width: 520px; }
.code-label { width: 100%; font-size: 12px; font-weight: 700; color: var(--sub); }
.code-field { flex: 1; min-width: 180px; white-space: nowrap; overflow: hidden; height: 46px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px #c9d6ee; font: 600 16px/1 var(--font-en); letter-spacing: .14em; color: var(--ink); }
.caret { width: 2px; height: 20px; margin-left: 2px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code-btn { height: 46px; padding: 0 18px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; }

/* =================== 07 START =================== */
.start { background: #fff; }
.start-head { text-align: center; }
.start-head .sec-label { justify-content: center; }
.steps { position: relative; margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 30%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 14px); opacity: .25; }
.step { position: relative; text-align: center; }
.step:nth-child(2) { transition-delay: .15s; } .step:nth-child(3) { transition-delay: .3s; }
.step-media { position: relative; width: min(250px, 78%); margin-inline: auto; }
.step-media::before { content: ""; position: absolute; inset: 14% -22% -8%; border-radius: 40px; background: linear-gradient(180deg, var(--light), rgba(233, 242, 255, 0)); z-index: -1; }
.step-media .phone > img { aspect-ratio: 600 / 1000; }
.step-text { margin-top: 34px; }
.step-no { font: 600 13px/1 var(--font-en); letter-spacing: .16em; color: var(--blue); }
.step-no b { font-size: 26px; font-weight: 800; margin-left: 4px; color: var(--ink); letter-spacing: 0; }
.step h3 { margin-top: 12px; font-size: 21px; font-weight: 900; }
.step p { margin-top: 10px; font-size: 14.5px; color: var(--sub); line-height: 1.95; }
.start-cta { margin-top: 64px; text-align: center; }

/* =================== 08 CLASS =================== */
.class-sec { position: relative; padding-block: clamp(110px, 13vw, 180px); background: linear-gradient(180deg, #050f2a 0%, #091e47 40%, #0a1d4f 100%); color: #fff; overflow: hidden; isolation: isolate; }
.class-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.g1 { width: 720px; height: 720px; left: 50%; top: 38%; margin-left: -360px; background: radial-gradient(circle, rgba(17, 85, 245, .55), transparent 70%); }
.g2 { width: 520px; height: 520px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(25, 195, 240, .3), transparent 70%); }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 78% 14%, rgba(255,255,255,.4), transparent), radial-gradient(1.5px 1.5px at 64% 58%, rgba(255,255,255,.35), transparent), radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,.35), transparent), radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,.4), transparent); }
.class-head { text-align: center; max-width: 820px; margin-inline: auto; }
.class-head .sec-label { justify-content: center; }
.class-logo { width: 230px; margin: 0 auto 30px; }
.class-sec .sec-title { color: #fff; }
.class-sec .sec-lead { color: #b9c9ea; }
.class-stage { position: relative; margin-top: clamp(56px, 7vw, 90px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; }
.class-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; width: min(780px, 62vw); }
.cp-main { width: 38%; z-index: 2; }
.cp-side { width: 32%; opacity: .9; }
.cp-left { transform: translate(18%, 8%) rotate(-7deg); }
.cp-right { transform: translate(-18%, 8%) rotate(7deg); }
.cast { position: relative; text-align: center; }
.cast img { width: clamp(110px, 12vw, 170px); margin-inline: auto; border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 30px 60px -20px rgba(0, 0, 0, .6); }
.cast-q { justify-self: end; margin-right: -6%; margin-bottom: 18%; }
.cast-t { justify-self: start; margin-left: -6%; margin-bottom: 36%; }
.cast figcaption { margin-top: 12px; font-size: 14px; font-weight: 700; color: #cfe0ff; }
.class-features { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.class-features li { padding: 30px 28px 32px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.class-features li:nth-child(2) { transition-delay: .12s; } .class-features li:nth-child(3) { transition-delay: .24s; }
.cf-no { font: 800 14px/1 var(--font-en); background: linear-gradient(90deg, #19c3f0, #8aa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.class-features h3 { margin-top: 16px; font-size: 19px; line-height: 1.55; }
.class-features p { margin-top: 10px; font-size: 14.5px; color: #b9c9ea; line-height: 1.95; }
.class-note { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: 13px; line-height: 1.9; color: #8ea3cf; }

/* =================== 09 FINAL =================== */
.final { position: relative; padding-block: clamp(96px, 12vw, 160px); background: linear-gradient(180deg, #fff 0%, var(--light) 100%); overflow: hidden; }
.final-grid { position: relative; }
.final-q { position: absolute; right: -6%; top: 50%; width: min(620px, 52%); translate: 0 -50%; z-index: 2; pointer-events: none; }
.final-q img { width: 100%; mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); mix-blend-mode: multiply; }
.final-panel { position: relative; z-index: 1; border-radius: 40px; padding: clamp(48px, 7vw, 100px) clamp(28px, 6vw, 88px); background: radial-gradient(120% 140% at 0% 0%, #2d7bff 0%, #1155f5 35%, #0b3fc4 65%, #091e47 100%); color: #fff; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(17, 85, 245, .6); }
.final-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
.final-panel::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(25, 195, 240, .45), transparent 65%); }
.final-panel > * { position: relative; z-index: 1; max-width: 640px; }
.final-title { font-size: clamp(32px, 5vw, 66px); line-height: 1.25; font-weight: 900; letter-spacing: -.01em; word-break: auto-phrase; }
.final-lead { margin-top: 26px; font-size: clamp(15.5px, 1.35vw, 18px); line-height: 2; color: #d6e3ff; }
.final-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.link-light { color: #fff; font-size: 14px; font-weight: 500; text-underline-offset: 5px; }
.link-light:hover { color: #bfe9ff; }

/* =================== FOOTER =================== */
.site-footer { background: var(--navy-900); color: #b9c9ea; padding: 80px 0 120px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 18px; font-size: 14px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fn-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #6f86b8; margin-bottom: 14px; }
.footer-nav a { display: inline-block; padding: 6px 0; font-size: 14px; color: #dfe8fb; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .fine { color: #6f86b8; }
.copy { font: 500 13px/1.8 var(--font-en); color: #6f86b8; }

/* mobile sticky CTA */
.sticky-cta { display: none; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1180px) {
  .hub-nodes li { padding: 12px 16px 12px 12px; }
  .hub-nodes b { font-size: 14px; }
  .n-ico { width: 36px; height: 36px; }
}

@media (max-width: 1023px) {
  .gnav, .link-login { display: none; }
  .menu-btn { display: block; }
  .header-actions { margin-left: auto; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-visual { width: min(760px, 100%); margin-inline: auto; }
  .about-head { grid-template-columns: 1fr; row-gap: 28px; }
  .practice-grid, .review-grid { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
  .analytics-copy { order: 0; }
  .tcard-note, .tcard-sync { grid-column: span 12; }
  .sync-visual { height: 320px; }
  .sync-pc { width: 64%; left: 10%; }
  .sync-sp { width: 20%; right: 12%; }
  /* review: stacked */
  .review-scroller { height: auto; }
  .review-sticky { position: static; height: auto; display: block; padding: clamp(96px, 12vw, 140px) 0; overflow: visible; }
  .review-stage { display: none; }
  .review-steps { gap: 56px; margin-top: 48px; }
  .review-steps li { opacity: 1; padding-left: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: center; }
  .review-steps li > h3, .review-steps li > p { grid-column: 1; }
  .review-steps p { max-height: none; opacity: 1; }
  .rs-bar { display: none; }
  .rs-media { display: block; grid-column: 2; grid-row: 1 / span 2; width: min(280px, 100%); justify-self: center; }
  .class-stage { grid-template-columns: 1fr 1fr; }
  .class-phones { grid-column: 1 / -1; grid-row: 1; width: min(720px, 100%); margin-inline: auto; }
  .cast { grid-row: 2; margin: 32px 0 0 !important; justify-self: center !important; }
  .class-features { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .final-q { width: 46%; right: -10%; top: 0; translate: 0 -30%; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 28px); gap: 12px; }
  .brand img { width: 112px; }
  .header-actions .btn-sm { --bh: 38px; font-size: 13px; padding: 0 1em; }
  .site-header.is-compact .header-inner { height: 58px; }
  .site-header.is-compact .brand img { width: 104px; }
  .drawer { padding-inline: 20px; }
  .drawer-top { height: 84px; }
  .hero { padding: calc(var(--header-h) + 28px) 0 72px; }
  .hero-copy { text-align: left; }
  .hero-cta, .hero-points { justify-content: flex-start; }
  .eyebrow { font-size: 11.5px; }
  .hero-title { margin-top: 20px; font-size: clamp(26px, 7.6vw, 40px); line-height: 1.3; }
  .hero-lead { margin-top: 20px; font-size: 15px; }
  .hero-lead br { display: none; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn-lg { --bh: 56px; width: 100%; }
  .hero-cta .btn-ghost { display: none; }
  .hero-points { margin-top: 22px; gap: 8px 16px; }
  .hero-points li { font-size: 12.5px; }
  .hero-visual { aspect-ratio: 1 / 1.02; margin-top: -8px; }
  .hero-q { width: 92%; right: -16%; top: -4%; }
  .hero-pc { top: 12%; width: 92%; left: -2%; }
  .hero-sp { width: 40%; right: 0; bottom: 0; }
  .chip { font-size: 12px; padding: 9px 12px 9px 9px; border-radius: 13px; gap: 8px; }
  .chip-ico { width: 24px; height: 24px; border-radius: 8px; }
  .chip-a { left: 0; bottom: 10%; }
  .chip-b { right: auto; left: 30%; top: 0; }
  .scroll-cue { display: none; }
  .browser { border-radius: 12px; }
  .browser-bar { height: 24px; gap: 5px; padding: 0 10px; }
  .browser-bar i { width: 7px; height: 7px; }
  .browser-bar span { font-size: 9px; padding: 4px 18px; transform: translateX(-12px); }
  .phone { border-radius: 32px; padding: 7px; }
  .phone::before { top: 14px; height: 15px; }
  .phone > img, .phone .seq-frames { border-radius: 26px; }

  .sec-label { margin-bottom: 18px; font-size: 11.5px; }
  .sec-title { font-size: clamp(27px, 7.6vw, 34px); }
  .sec-lead { margin-top: 18px; font-size: 15px; }

  /* about: screen first, nodes as grid */
  .hub { aspect-ratio: auto; margin-top: 48px; }
  .hub-lines { display: none; }
  .hub-screen { position: relative; left: auto; top: auto; width: 100%; transform: none; }
  .hub-nodes { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hub-nodes li { position: static; transform: none; width: auto; padding: 12px; border-radius: 14px; column-gap: 10px; }
  .hub-nodes b { font-size: 14px; }
  .hub-nodes small { font-size: 11px; }
  .n-ico { width: 34px; height: 34px; border-radius: 10px; }
  .js .hub-nodes li { transition-delay: 0s !important; }

  .feature-list { margin-top: 30px; }
  .feature-list li { grid-template-columns: 40px 1fr; padding: 16px 0; }
  .feature-list h3 { font-size: 17px; }
  .practice-stage { order: -1; margin-top: 8px; }
  .practice-grid { gap: 40px; }
  .practice-copy { order: 0; }
  .practice-stage { order: 1; }
  .seq-pc { display: none; }
  .seq-sp { display: block; width: min(300px, 78%); margin-inline: auto; }
  .seq-steps { justify-content: center; }
  .seq-steps span { font-size: 12px; padding: 7px 11px; }
  .kbd-note { display: none; }

  .review-steps { gap: 48px; }
  .review-steps li { grid-template-columns: 1fr; }
  .rs-media { grid-column: 1; grid-row: auto; margin-top: 22px; width: min(270px, 74%); }

  .analytics-visual { padding: 0 18% 20% 0; margin-top: 8px; }
  .an-sp { width: 38%; }
  .today-card { left: 0; bottom: -2%; width: 54%; padding: 14px 16px; border-radius: 16px; }
  .tc-num b { font-size: 32px; }
  .tc-label { font-size: 11.5px; } .tc-badge { display: none; }
  .metric-tags { gap: 8px; margin-top: 26px; }
  .metric-tags li { font-size: 12.5px; padding: 7px 12px; }

  .tools-grid { gap: 16px; }
  .tcard { border-radius: 24px; }
  .tcard p:not(.tcard-kicker):not(.fine) { font-size: 14.5px; }
  .sync-visual { height: 230px; }
  .sync-pc { width: 76%; left: 6%; bottom: -14%; }
  .sync-sp { width: 26%; right: 6%; bottom: -24%; }
  .tcard-lib { grid-template-columns: 1fr; }
  .tcard-lib .tcard-text { padding-right: clamp(28px, 3.2vw, 44px); }
  .lib-media { min-height: 300px; }
  .lib-media .phone { width: 62%; top: 10px; }
  .code-field { font-size: 14px; min-width: 0; letter-spacing: .06em; }

  .steps { grid-template-columns: 1fr; gap: 64px; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 42% 1fr; gap: 20px; align-items: center; text-align: left; }
  .step-media { width: 100%; }
  .step-text { margin-top: 0; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14px; }
  .step p br { display: none; }
  .start-cta { margin-top: 56px; }
  .start-cta .btn { width: 100%; }

  .class-logo { width: 190px; margin-bottom: 22px; }
  .class-head { text-align: left; }
  .class-head .sec-label { justify-content: flex-start; }
  .class-phones { width: 112%; margin-left: -6%; }
  .cast img { width: 96px; }
  .class-features li { padding: 24px 22px; }
  .class-note { text-align: left; }

  .final { padding-top: 150px; }
  .final-q { width: 58%; right: -12%; top: 0; translate: 0 -62%; }
  .final-panel { padding-top: 64px; }
  .final-panel { border-radius: 28px; }
  .final-cta .btn-xl { --bh: 60px; width: 100%; font-size: 16px; }
  .final-cta { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-bottom: 130px; }

  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .92) 35%); transform: translateY(110%); transition: transform .45s var(--ease); pointer-events: none; }
  .sticky-cta .btn { --bh: 54px; pointer-events: auto; }
  .sticky-cta.is-show { transform: none; }
}

@media (max-width: 359px) {
  .hero-title { font-size: 28px; }
  .header-actions .btn-sm { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-up, .js .reveal-line > span, .js .hub-nodes li { opacity: 1 !important; transform: none !important; translate: none !important; }
  .hub-lines path { stroke-dashoffset: 0 !important; }
  .sync-pulse { display: none; }
  .hero-pc .browser { transform: rotateY(-10deg) rotateX(4deg); }
}
