:root {
  --bg: #f4f1e8;
  --surface: #fff;
  --ink: #121212;
  --muted: #666;
  --accent: #2455ff;
  --accent-2: #ff4b2b;
  --line: color-mix(in srgb, var(--ink) 24%, transparent);
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
  --display: var(--sans);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button { font: inherit; }

.exp-header {
  position: fixed; z-index: 80; top: 0; left: 0; display: grid;
  grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  width: 100%; min-height: 72px; padding: 0 clamp(16px, 4vw, 60px);
  border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.exp-brand { font: 900 .82rem/1 var(--display); letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.exp-nav { display: flex; justify-content: center; gap: clamp(16px, 2.7vw, 38px); }
.exp-nav a { font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.exp-nav a:hover { color: var(--accent); }
.menu-toggle { display: none; padding: 8px 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.header-chip { padding: 8px 12px; border: 1px solid var(--line); font-size: .6rem; font-weight: 800; text-decoration: none; }

.hero { position: relative; min-height: 100svh; padding: 72px clamp(18px, 5vw, 76px) 36px; overflow: hidden; }
.hero-shell { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: clamp(28px, 6vw, 96px); align-items: center; min-height: calc(100svh - 108px); }
.hero-copy { position: relative; z-index: 2; }
.concept-label, .section-label { margin: 0; font-size: .58rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.concept-label { display: inline-flex; padding: 6px 9px; border: 1px solid currentColor; color: var(--accent); }
.hero-kicker { margin: clamp(24px, 6vh, 60px) 0 12px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 0; font: 900 clamp(3.4rem, 8vw, 8.8rem)/.9 var(--display); letter-spacing: -.055em; }
.hero-lead { max-width: 640px; margin: 28px 0; color: var(--muted); font-size: .82rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.primary-cta, .secondary-cta {
  display: inline-flex; justify-content: space-between; gap: 28px; align-items: center;
  min-width: 210px; padding: 14px 17px; border: 1px solid var(--ink);
  font-size: .66rem; font-weight: 900; text-decoration: none;
}
.primary-cta { background: var(--accent); color: var(--bg); }
.primary-cta:hover { filter: brightness(1.08); }
.secondary-cta { min-width: 0; background: transparent; }

.css-visual { position: relative; min-height: 460px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.css-visual::before, .css-visual::after { position: absolute; content: ""; }

.section { padding: clamp(82px, 11vw, 160px) clamp(18px, 6vw, 96px); border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .32fr 1fr .5fr; gap: 5vw; align-items: start; margin-bottom: clamp(48px, 8vw, 100px); }
.section h2 { margin: 0; font: 900 clamp(2.7rem, 6.5vw, 7rem)/.92 var(--display); letter-spacing: -.05em; }
.section-head > p:last-child { margin: 0; color: var(--muted); font-size: .75rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; min-height: 280px; padding: clamp(20px, 3vw, 38px); background: var(--surface); }
.card > span { color: var(--accent); font-size: .55rem; font-weight: 900; letter-spacing: .1em; }
.card h3 { margin: 58px 0 14px; font: 900 clamp(1.5rem, 3vw, 3.2rem)/1 var(--display); letter-spacing: -.035em; }
.card p { color: var(--muted); font-size: .7rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 120px); align-items: center; }
.split-copy h2 { margin: 24px 0; }
.number-list { margin: 0; padding: 0; list-style: none; }
.number-list li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 19px 0; border-top: 1px solid var(--line); }
.number-list b { color: var(--accent); font-size: .58rem; }
.number-list h3 { margin: 0 0 5px; font-size: 1rem; }
.number-list p { margin: 0; color: var(--muted); font-size: .68rem; }
.demo-feedback { max-width: 680px; margin: 24px auto 0; padding: 12px; border: 1px solid currentColor; font-size: .64rem; }
.final-cta { text-align: center; }
.final-cta h2 { max-width: 1100px; margin: 24px auto 42px; }
.final-cta .primary-cta { justify-content: center; }

.exp-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 30px clamp(18px, 4vw, 60px); border-top: 1px solid var(--line); }
.exp-footer p, .exp-footer a { margin: 0; color: var(--muted); font-size: .52rem; }

.expansion [data-reveal] { opacity: 1; transform: none; transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.8,.2,1); }
html.motion-ready .expansion [data-reveal]:not([data-visible]) { opacity: 0; transform: translateY(30px); }
.expansion [data-motion-tilt]:not([data-reveal]), .expansion [data-motion-tilt][data-visible] { transform: perspective(1000px) rotateX(var(--motion-tilt-x)) rotateY(var(--motion-tilt-y)) translateY(var(--motion-lift, 0)); }
.expansion [data-motion-tilt]:hover { --motion-lift: -5px; box-shadow: 0 22px 55px color-mix(in srgb, var(--ink) 16%, transparent); }

/* LP offer blocks are intentionally never motion hooks: the complete offer is immediately readable. */
.lp-hero { padding-bottom: 22px; }
.lp-hero .hero-shell { grid-template-columns: .78fr 1.22fr; gap: clamp(22px, 4vw, 64px); }
.lp-hero h1 { font-size: clamp(3rem, 6vw, 6.8rem); }
.offer-panel { position: relative; z-index: 4; padding: clamp(18px, 2.5vw, 34px); border: 1px solid var(--line); background: var(--surface); box-shadow: 10px 10px 0 var(--accent-2); }
.offer-panel [data-offer-product] { margin: 0; color: var(--accent); font: 900 clamp(1.25rem, 2.4vw, 2.5rem)/1.05 var(--display); }
.offer-panel [data-offer-audience] { margin: 10px 0 14px; color: var(--muted); font-size: .69rem; }
.offer-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 15px; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.offer-benefits li { min-height: 62px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .58rem; font-weight: 800; }
.offer-bottom { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.offer-price { display: flex; flex-direction: column; margin: 0; }
.offer-price strong { font: 900 clamp(1.05rem, 2vw, 1.8rem)/1 var(--display); }
.offer-price span { margin-top: 5px; color: var(--muted); font-size: .52rem; }
.offer-note { margin: 12px 0 0; color: var(--muted); font-size: .48rem; }

@media (max-width: 900px) {
  .exp-header { grid-template-columns: auto 1fr auto; }
  .header-chip { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .exp-nav {
    position: fixed; inset: 72px 0 auto; display: flex; flex-direction: column; gap: 0;
    overflow: hidden; padding: 18px; border-bottom: 1px solid var(--line); background: var(--bg);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-120%);
    transition: opacity 180ms ease, transform 260ms ease, visibility 0s linear 260ms;
  }
  .exp-nav[data-open] { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .exp-nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .hero-shell, .lp-hero .hero-shell, .split { grid-template-columns: 1fr; }
  .css-visual { min-height: 360px; }
  .section-head { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-panel { box-shadow: 6px 6px 0 var(--accent-2); }
}

@media (max-width: 560px) {
  .exp-header { min-height: 64px; padding-inline: 14px; }
  .exp-nav { inset: 64px 0 auto; }
  .hero { min-height: 100svh; padding: 82px 14px 20px; }
  .hero-shell { min-height: calc(100svh - 102px); gap: 22px; }
  .hero h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
  .hero-kicker { margin-top: 18px; }
  .hero-lead { margin: 18px 0; font-size: .72rem; }
  .css-visual { min-height: 300px; }
  .section { padding-inline: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .exp-footer { grid-template-columns: 1fr; gap: 8px; }
  .lp-hero { padding-top: 74px; }
  .lp-hero .hero-shell { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 94px); gap: 14px; }
  .lp-hero .hero-copy { width: 100%; }
  .lp-hero .concept-label { font-size: .5rem; }
  .lp-hero .hero-kicker { margin: 11px 0 6px; font-size: .56rem; }
  .lp-hero h1 { font-size: clamp(2.35rem, 11vw, 3.25rem); line-height: .94; }
  .lp-hero .hero-lead { margin: 10px 0; font-size: .61rem; }
  .offer-panel { width: 100%; padding: 13px; box-shadow: 4px 4px 0 var(--accent-2); }
  .offer-panel [data-offer-product] { font-size: 1.2rem; }
  .offer-panel [data-offer-audience] { margin: 6px 0 8px; font-size: .57rem; }
  .offer-benefits { margin-bottom: 9px; }
  .offer-benefits li { min-height: 0; padding: 5px; font-size: .49rem; line-height: 1.35; }
  .offer-bottom { grid-template-columns: 1fr; gap: 8px; }
  .offer-price { flex-direction: row; justify-content: space-between; gap: 8px; align-items: baseline; }
  .offer-price strong { font-size: 1rem; }
  .offer-price span { font-size: .45rem; text-align: right; }
  .offer-panel .primary-cta { min-width: 0; width: 100%; padding: 10px 12px; }
  .offer-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .expansion [data-reveal], html.motion-ready .expansion [data-reveal]:not([data-visible]) { opacity: 1 !important; transform: none !important; }
}
