@import url("menu.css?v=20260829-burger-center-v1");

/*
 * One Step Studio LP — Visual direction v6
 * Light, editorial SaaS design inspired by premium AI-video products.
 * Loaded after the legacy inline styles so the existing content and behavior stay intact.
 */

:root{
  --ink:#111936;
  --muted:#5d6785;
  --base:#f7f8ff;
  --card:#ffffff;
  --line:#e5e9f5;
  --indigo:#5367f2;
  --violet:#9b67ee;
  --cyan:#56b9e9;
  --peach:#ffbda9;
  --mint:#a7dfd2;
  --cta-indigo:#5668d5;
  --cta-violet:#7060c9;
  --cta-indigo-dark:#4c5ec7;
  --cta-violet-dark:#6554bb;
  --stage:#111a43;
  --stage2:#202b67;
  --on-stage:#111936;
  --on-stage-muted:#5d6785;
  --grad:linear-gradient(110deg,#5068f2 0%,#8e67ee 55%,#c56fe3 100%);
  --shadow:0 30px 90px rgba(36,48,103,.13);
  --shadow-sm:0 16px 42px rgba(36,48,103,.09);
  --radius:30px;
  --radius-sm:18px;
  --header-h:68px;
}

html{scroll-padding-top:100px}
body{
  color:var(--ink);
  background:#fbfcff;
  font-size:16px;
  line-height:1.9;
}
body::before{
  content:"";
  position:fixed;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(rgba(83,103,242,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(83,103,242,.025) 1px,transparent 1px);
  background-size:56px 56px;
}

.wrap{width:min(1200px,calc(100% - 56px))}
.narrow{width:min(920px,calc(100% - 56px))}
:root{--sec-space:96px;--sec-head-gap:48px}
section{position:relative;padding:var(--sec-space) 0}
.band{background:transparent}
.on-stage{color:var(--ink);background:transparent}
.section-head{max-width:880px;margin-bottom:var(--sec-head-gap)}
.section-head.center{max-width:900px}
.section-title{
  color:var(--ink);
  font-size:clamp(34px,4.4vw,54px);
  line-height:1.3;
  letter-spacing:-.035em;
  margin-bottom:20px;
}
.section-lead,.on-stage .section-lead{max-width:780px;color:var(--muted);font-size:16px;line-height:1.95}
.section-head.center .section-lead{margin-inline:auto}
.on-stage .section-title{color:var(--ink)}
.eyebrow,.on-stage .eyebrow{color:#5b69d7;letter-spacing:.16em}
.eyebrow::before,.on-stage .eyebrow::before{
  color:#5465db;
  background:rgba(83,103,242,.1);
  border:1px solid rgba(83,103,242,.1);
  border-radius:999px;
  padding:5px 10px;
}
.grad-text{
  background:linear-gradient(105deg,#4966e9 0%,#8064e9 50%,#b45fcf 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.fine,.on-stage .fine{color:#7b85a3}
.cta-note,.on-stage .cta-note{color:#717b98}

/* Floating navigation */
#progress{height:3px;background:transparent}
header{
  inset:14px 18px auto;
  border:1px solid rgba(220,225,241,.92);
  border-radius:999px;
  background:rgba(255,255,255,.86);
  box-shadow:0 12px 45px rgba(30,42,88,.09);
  backdrop-filter:blur(22px) saturate(1.25);
}
.header-inner{height:var(--header-h);padding:0 18px}
.brand-mark{border-radius:13px;background:var(--grad);box-shadow:0 10px 26px rgba(83,103,242,.24)}
.brand-name{letter-spacing:-.02em}
nav a{color:#616b87}
.header-cta{padding:12px 21px;font-size:16px;font-weight:900}
.header-phone{
  display:grid;
  flex:none;
  padding:5px 4px;
  color:#273354;
  line-height:1.15;
  text-align:right;
  white-space:nowrap;
}
.header-phone span{color:#727c98;font-size:8px;font-weight:700}
.header-phone b{font-family:'Outfit','Noto Sans JP',sans-serif;font-size:16px;letter-spacing:.025em}
.header-phone small{margin-top:2px;color:#8c95ae;font-size:7px}
.header-phone:hover{color:#5367e8}

.btn{box-shadow:none}
.btn-primary{background:var(--grad);box-shadow:0 14px 32px rgba(83,103,242,.23)}
.btn-primary:hover{box-shadow:0 18px 42px rgba(83,103,242,.3)}
.btn-line{
  background:linear-gradient(120deg,var(--cta-indigo),var(--cta-violet));
  background-size:180% 180%;
  font-size:16px;
  font-weight:800;
  letter-spacing:.015em;
  box-shadow:0 14px 30px rgba(66,78,164,.22);
  animation:ctaGradientFlow 3.8s ease-in-out infinite;
}
.btn-line:hover{
  background:linear-gradient(120deg,var(--cta-indigo-dark),var(--cta-violet-dark));
  background-size:180% 180%;
  box-shadow:0 17px 36px rgba(66,78,164,.28);
  transform:translateY(-3px) scale(1.015);
}
.btn-line.btn-lg{font-size:18px}
.btn-line svg{transition:transform .22s ease}
.btn-line:hover svg{transform:translateX(4px)}
@keyframes ctaGradientFlow{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}
.btn-ghost{border-color:#dfe4f2;background:rgba(255,255,255,.88)}

/* Hero */
#hero{
  min-height:850px;
  padding:164px 0 102px;
  color:var(--ink);
  background-color:#f8f9ff;
  background-image:linear-gradient(90deg,rgba(252,252,255,.98) 0%,rgba(252,252,255,.83) 43%,rgba(247,249,255,.18) 73%),url("../assets/onestep-hero-pastel-studio.webp");
  background-size:cover;
  background-position:center;
}
#hero::before{
  background:radial-gradient(520px 380px at 8% 82%,rgba(255,191,169,.2),transparent 70%);
  mask-image:none;
}
#hero::after{
  content:"";
  position:absolute;
  inset:auto 7% 52px auto;
  width:190px;
  height:190px;
  border-radius:50%;
  background:rgba(255,255,255,.28);
  filter:blur(8px);
  pointer-events:none;
}
#hero .safe-frame{display:none}
.hero-grid{grid-template-columns:.93fr 1.07fr;column-gap:62px}
.hero-kicker{color:#5f6ed9;font-size:14px}
#hero h1{
  max-width:690px;
  color:var(--ink);
  font-size:clamp(42px,5.25vw,70px);
  line-height:1.18;
  letter-spacing:-.045em;
  margin-bottom:28px;
}
.hero-lead{color:#515d7d;font-size:16px;line-height:2}
.hero-lead strong{color:var(--ink);background:linear-gradient(transparent 62%,rgba(255,199,178,.55) 62%)}
.hero-points{grid-template-columns:repeat(3,max-content)}
.hero-points li{
  color:#3d496b;
  border-color:rgba(215,221,240,.92);
  background:rgba(255,255,255,.72);
  box-shadow:0 8px 24px rgba(45,57,110,.05);
}
.hero-actions .btn-ghost{color:var(--ink);border-color:#dce2f1;background:rgba(255,255,255,.72)}
.hero-conversion .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);max-width:500px}
.hero-conversion .hero-actions>.btn{width:100%}
.phone-cta{
  display:flex;
  align-items:center;
  gap:13px;
  min-height:72px;
  padding:12px 18px;
  border:1px solid #d9dff1;
  border-radius:18px;
  color:#202c50;
  background:rgba(255,255,255,.88);
  box-shadow:0 12px 32px rgba(35,49,104,.09);
  text-align:left;
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
.phone-cta:hover{transform:translateY(-2px);border-color:#9caaed;box-shadow:0 17px 38px rgba(35,49,104,.14)}
.phone-cta>svg{width:27px;height:27px;flex:none;fill:none;stroke:#596ce8;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.phone-cta>span{display:grid;line-height:1.25}
.phone-cta small{color:#616d8d;font-size:9px;font-weight:700}
.phone-cta b{margin:3px 0 1px;font-family:'Outfit','Noto Sans JP',sans-serif;font-size:23px;letter-spacing:.035em}
.phone-cta em{color:#8a94ad;font-size:8px;font-style:normal}
.phone-cta-hero{margin-top:0}
.hero-note,.hero-proof{color:#697493}
.hero-proof .line{background:#cbd2e4}

.studio-window{
  padding:12px;
  border:1px solid rgba(213,220,240,.9);
  border-radius:30px;
  background:rgba(255,255,255,.76);
  box-shadow:0 35px 100px rgba(40,55,115,.2),inset 0 1px 0 #fff;
  backdrop-filter:blur(18px) saturate(1.2);
}
.studio-window::before{inset:-48px;background:radial-gradient(circle,rgba(105,127,241,.17),transparent 64%)}
.studio-top{color:#73809d}
.studio-status{color:#283453}
.studio-status i{background:#38c98a}
.hero-video{border-color:#dce2f0;background:#111936;box-shadow:0 16px 46px rgba(27,38,82,.2)}
.hero-samples{gap:9px}
.hero-sample{
  color:#66708d;
  border-color:#e1e6f2;
  background:rgba(255,255,255,.9);
}
.hero-sample:hover{border-color:#c9d2ef;background:#fff}
.hero-sample[aria-pressed="true"]{color:#24304e;border-color:#9eacf4;background:#eef1ff;box-shadow:inset 0 0 0 1px #fff}
.hero-sample-copy small{color:#808aa6}
.studio-pipeline{color:#4e5a7c;border-color:#e3e7f1;background:rgba(255,255,255,.58);border-radius:0 0 18px 18px}

/* Results / proof */
#results{
  overflow:hidden;
  background:radial-gradient(650px 430px at 4% 12%,rgba(143,185,255,.23),transparent 70%),linear-gradient(180deg,#f4f7ff 0%,#eef3ff 100%);
}
#results::after,#capabilities::after,#benefit-ai-suite::after{
  content:"";
  position:absolute;
  z-index:0;
  width:360px;
  height:360px;
  border-radius:50%;
  pointer-events:none;
  filter:blur(4px);
}
#results::after{right:-190px;top:34%;background:rgba(189,166,242,.14)}
#results .wrap,#capabilities .wrap,#benefit-ai-suite .wrap{position:relative;z-index:1}
.video-grid{gap:22px}
.video-card{
  border-color:#e0e5f1;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  transition:transform .25s,box-shadow .25s;
}
.video-card:hover{transform:translateY(-6px);box-shadow:0 24px 60px rgba(43,55,108,.14)}
.video-meta{padding:18px 20px}
.video-meta b{color:var(--ink);font-size:14px}
.video-meta span{color:#77819d}
.ab-block{margin-top:72px;padding-top:58px;border-color:#dce3f2}
.ab-block-head h3{color:var(--ink);font-size:30px}
.ab-block-head p{color:var(--muted)}
.ab-grid{gap:24px;max-width:980px}
.ab-card,.merit-video{
  border-color:#dde3f0;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.ab-label,.merit-label{color:#2a3657}

/* Data-driven planning to video */
#analytics-to-video{
  overflow:hidden;
  background:
    radial-gradient(620px 420px at 8% 12%,rgba(109,135,242,.18),transparent 72%),
    radial-gradient(560px 400px at 92% 88%,rgba(213,126,209,.16),transparent 72%),
    linear-gradient(145deg,#f7f9ff,#f5f1ff 54%,#fff7f3);
}
#analytics-to-video::before{
  content:"";
  position:absolute;
  right:-140px;
  top:90px;
  width:360px;
  height:360px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:43% 57% 55% 45% / 47% 42% 58% 53%;
  background:linear-gradient(145deg,rgba(255,255,255,.38),rgba(111,130,231,.10),rgba(224,132,204,.11));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92);
  transform:rotate(12deg);
  pointer-events:none;
}
#analytics-to-video .wrap{position:relative;z-index:1}
.ai-suite-title{max-width:1120px;margin-inline:auto;line-height:1.28;letter-spacing:-.045em}
.ai-suite-title-lead{position:relative;display:inline-block;color:#f5f7ff;font-size:.94em}
.ai-suite-title-lead::after{content:"";position:absolute;left:4%;right:4%;bottom:-7px;height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,#58b6ff 22%,#8f79f6 72%,transparent);opacity:.72}
.ai-suite-title-detail{display:inline-block;margin-top:15px;color:#dfe6fb;font-size:.88em;line-height:1.42}
.ai-suite-title-detail em,.ai-suite-hypothesis{font-style:normal;font-weight:900;background:linear-gradient(105deg,#54baff,#6f84ff 46%,#bd5de1);-webkit-background-clip:text;background-clip:text;color:transparent}
.ai-suite-title-detail em{white-space:nowrap}
.ai-suite-title-detail em b{font-size:1.2em;font-weight:900;line-height:1}
.ai-suite-balance-break{display:block}
.analytics-journey{
  padding:34px;
  border:1px solid rgba(210,217,240,.92);
  border-radius:36px;
  background:rgba(255,255,255,.78);
  box-shadow:0 32px 90px rgba(48,58,116,.13),inset 0 1px 0 #fff;
  backdrop-filter:blur(22px) saturate(1.18);
}
.analytics-sources{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:stretch}
.analytics-source{
  padding:28px;
  border:1px solid #e0e5f2;
  border-radius:25px;
  background:#fff;
  box-shadow:0 16px 40px rgba(39,51,105,.07);
}
.analytics-source-own{background:linear-gradient(145deg,#fff,#eef3ff)}
.analytics-source-competitor{background:linear-gradient(145deg,#fff,#faf0ff)}
.analytics-label{display:block;color:#6573dc;font-family:'Outfit','Noto Sans JP',sans-serif;font-size:10px;font-weight:800;letter-spacing:.14em}
.analytics-source h3,.analytics-hypothesis h3{margin:8px 0 10px;color:var(--ink);font-size:22px}
.analytics-source p,.analytics-hypothesis p{color:var(--muted);font-size:13px;line-height:1.85}
.analytics-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.analytics-tags span{padding:6px 10px;border:1px solid rgba(205,213,237,.9);border-radius:999px;color:#53607f;background:rgba(255,255,255,.78);font-size:9px;font-weight:700}
.analytics-plus{align-self:center;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#fff;background:var(--grad);box-shadow:0 12px 28px rgba(83,103,242,.24);font-size:24px;font-weight:700}
.analytics-hypothesis{
  position:relative;
  max-width:760px;
  margin:24px auto;
  padding:25px 32px;
  border:1px solid rgba(116,130,236,.28);
  border-radius:24px;
  background:linear-gradient(125deg,#edf1ff,#f7f1ff 56%,#fff1ec);
  text-align:center;
}
.analytics-hypothesis::before,.analytics-hypothesis::after{content:"";position:absolute;left:50%;width:1px;height:24px;background:linear-gradient(#aab5ec,#d7dcef)}
.analytics-hypothesis::before{bottom:100%}.analytics-hypothesis::after{top:100%}
.analytics-outputs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:24px}
.analytics-outputs li{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;min-height:94px;padding:16px;border:1px solid #e0e5f1;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(38,50,104,.06)}
.analytics-outputs b{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;color:#fff;background:linear-gradient(135deg,#5b6dde,#8261cf);font-family:'Outfit',sans-serif;font-size:10px}
.analytics-outputs span{color:#293657;font-size:13px;font-weight:900;line-height:1.45}
.analytics-outputs small{display:block;margin-top:3px;color:#7b85a1;font-size:8px;font-weight:600;line-height:1.45}
.analytics-entry{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:980px;margin:24px auto 0}
.analytics-entry article{padding:22px 24px;border:1px solid #e0e5f1;border-radius:22px;background:rgba(255,255,255,.74);box-shadow:0 12px 32px rgba(38,50,104,.05)}
.analytics-entry article:first-child{border-color:#cfd7f6}.analytics-entry article:last-child{border-color:#ead9f0}
.analytics-entry span{display:block;color:#6875d8;font-size:10px;font-weight:800}.analytics-entry b{display:block;margin:4px 0 7px;font-size:16px}.analytics-entry p{color:var(--muted);font-size:11px;line-height:1.75}
.analytics-cta,.suite-cta{margin-top:32px;text-align:center}
.analytics-cta .btn,.suite-cta .btn{width:min(100%,760px);min-height:76px;justify-content:center;text-align:center;line-height:1.45}
.analytics-cta p,.suite-cta p{max-width:760px;margin:11px auto 0;color:#747f9d;font-size:10px;line-height:1.75}
.suite-cta p{font-size:12px;font-weight:700}
.cta-bundle-copy{line-height:1.45;text-align:center}
#hero .hero-video-cta>.btn{font-size:16px}
#demo .line-panel .btn{padding-inline:18px;font-size:15px;line-height:1.45;text-align:center}
#final .final-contact-row>.btn{max-width:520px;font-size:16px;line-height:1.45;text-align:center}

/* Interactive trial */
#free-trial{
  background:radial-gradient(560px 420px at 90% 10%,rgba(255,202,180,.32),transparent 72%),linear-gradient(135deg,#fffaf7 0%,#fff6f1 48%,#f8f5ff 100%);
}
#free-trial::before{right:auto;left:-220px;top:30%;background:rgba(167,210,255,.18)}
.trial-shell{
  gap:38px;
  padding:20px;
  border-color:rgba(218,222,237,.95);
  border-radius:36px;
  background:rgba(255,255,255,.82);
  box-shadow:0 36px 110px rgba(67,58,98,.12);
}
.trial-builder{padding:36px 28px 30px}
.trial-tag{color:#5b67d7;border-color:#dbe0f5;background:#f5f6ff}
.trial-builder h3{letter-spacing:-.03em}
.template-body,.script-wrap textarea,.trial-field input{border-color:#e0e5f1;box-shadow:0 8px 24px rgba(36,48,103,.04)}
.trial-preview{min-height:590px;border-radius:28px;box-shadow:0 28px 75px rgba(24,34,80,.22)}

/* Problem and before/after */
#problem{background:#fff}
.pain-grid{gap:22px}
.pain-card{
  padding:34px;
  border:0;
  border-radius:28px;
  box-shadow:none;
}
.pain-card:nth-child(1){background:linear-gradient(145deg,#fff2ec,#fff9f6)}
.pain-card:nth-child(2){background:linear-gradient(145deg,#eef4ff,#f8faff)}
.pain-card:nth-child(3){background:linear-gradient(145deg,#f3efff,#fbf9ff)}
.pain-card::before{inset:0 0 auto;width:auto;height:5px;background:var(--grad)}
.pain-index{color:#5e6cdc}
.pain-card p{font-size:14px}
.pain-conclusion{
  padding:28px 32px;
  color:var(--ink);
  background:linear-gradient(110deg,#eef1ff,#f8f2ff);
  border:1px solid #e1e4f2;
  border-radius:24px;
}
.pain-conclusion p{color:var(--muted)}

#transformation{
  background:radial-gradient(560px 400px at 88% 16%,rgba(176,213,255,.28),transparent 70%),radial-gradient(520px 360px at 10% 88%,rgba(237,189,219,.18),transparent 72%),#f6f4ff;
}
.transformation-stage{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(400px,.92fr);
  align-items:stretch;
  gap:20px;
  width:min(100%,1160px);
  margin:0 auto;
}
.transformation-summary{
  position:relative;
  overflow:hidden;
  min-width:0;
  padding:28px;
  color:var(--ink);
  border:1px solid rgba(116,130,236,.3);
  border-radius:30px;
  background:linear-gradient(145deg,#edf3ff,#f4efff 58%,#fff);
  box-shadow:0 28px 72px rgba(35,48,109,.13),inset 0 1px 0 rgba(255,255,255,.8);
}
.transformation-summary::before{
  content:"";
  position:absolute;
  top:0;
  left:32px;
  right:32px;
  height:6px;
  border-radius:0 0 999px 999px;
  background:linear-gradient(90deg,#566df0,#a75bdc);
}
.transformation-summary-tag{
  display:inline-flex;
  margin-bottom:12px;
  padding:7px 14px;
  color:#5a66ca;
  border:1px solid rgba(103,117,220,.16);
  border-radius:999px;
  background:rgba(255,255,255,.84);
  box-shadow:0 7px 18px rgba(69,82,165,.08);
  font-size:12px;
  font-weight:800;
  letter-spacing:.1em;
}
.transformation-summary h3{margin:0 0 16px;font-size:clamp(25px,2.5vw,32px);line-height:1.35;letter-spacing:-.035em}
.transformation-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.transformation-actions li{
  position:relative;
  display:flex;
  min-height:94px;
  padding:16px;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:11px;
  color:#33405f;
  border:1px solid rgba(191,201,235,.74);
  border-radius:18px;
  background:rgba(255,255,255,.86);
  box-shadow:0 12px 28px rgba(49,65,135,.07);
}
.transformation-actions li:not(:last-child)::after{content:"→";position:absolute;z-index:2;top:50%;right:-12px;color:#7b68e8;font-size:20px;font-weight:900;transform:translate(50%,-50%)}
.transformation-actions i{display:grid;width:34px;height:34px;place-items:center;color:#fff;border-radius:11px;background:linear-gradient(135deg,#586ff0,#a95add);box-shadow:0 8px 18px rgba(87,100,223,.25);font-size:14px;font-style:normal;font-weight:900}
.transformation-actions b{font-size:14px;line-height:1.55}
.transformation-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.transformation-metrics div{display:grid;min-height:84px;padding:12px;place-content:center;text-align:center;border:1px solid rgba(216,222,241,.88);border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(44,57,112,.08)}
.transformation-metrics b{color:#4c61db;font-size:clamp(23px,2.4vw,30px);line-height:1.15}
.transformation-metrics small{margin-top:9px;color:#6f7996;font-size:11px}
.transformation-video-panel{
  position:relative;
  display:flex;
  overflow:hidden;
  width:100%;
  margin:0;
  padding:12px;
  flex-direction:column;
  border:1px solid rgba(119,136,238,.28);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(13,23,54,.98),rgba(23,24,65,.98));
  box-shadow:0 30px 80px rgba(25,35,90,.2),inset 0 1px 0 rgba(255,255,255,.08);
}
.transformation-video-panel::before{
  content:"";
  position:absolute;
  inset:auto -12% -70% 36%;
  height:110%;
  background:radial-gradient(circle,rgba(151,80,220,.28),transparent 66%);
  pointer-events:none;
}
.transformation-video-copy{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:10px;
  padding:2px 3px 11px;
  color:#fff;
}
.transformation-video-copy span{flex:none;padding:6px 9px;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#b9c8ff;font-size:9px;font-weight:800;letter-spacing:.08em}
.transformation-video-copy strong{font-size:clamp(13px,1.4vw,17px);font-weight:900}
.transformation-video-shell{position:relative;z-index:2;overflow:hidden;min-height:0;flex:1;aspect-ratio:auto;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#060b1d;box-shadow:0 18px 44px rgba(0,0,0,.35)}
.transformation-video{display:block;width:100%;height:100%;object-fit:cover}
.transformation-audio-toggle{top:11px;left:11px;padding:9px 11px;font-size:9px}

/* Capabilities as bright image-led feature cards */
#capabilities{
  overflow:hidden;
  background:
    radial-gradient(720px 520px at 8% 20%,rgba(49,118,232,.22),transparent 72%),
    radial-gradient(680px 520px at 92% 72%,rgba(168,80,219,.2),transparent 72%),
    linear-gradient(145deg,#07112e 0%,#0d1941 52%,#151342 100%);
}
#capabilities::after{left:-210px;bottom:0;background:rgba(73,197,235,.14)}
#capabilities .wrap{
  position:relative;
  padding:64px 28px 28px;
  border:1px solid rgba(173,196,255,.22);
  border-radius:48px;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px),
    radial-gradient(620px 420px at 12% 0%,rgba(61,177,232,.18),transparent 70%),
    linear-gradient(145deg,rgba(13,28,70,.96),rgba(23,20,69,.96));
  background-size:34px 34px,34px 34px,auto,auto;
  box-shadow:0 34px 90px rgba(1,7,28,.34),inset 0 1px 0 rgba(255,255,255,.1);
}
#capabilities .wrap{padding-top:44px}
#capabilities .section-title{color:#f7f9ff;text-shadow:0 8px 36px rgba(1,6,28,.28)}
#capabilities .eyebrow{color:#d7ddff;border-color:rgba(180,194,255,.26);background:rgba(130,151,238,.12)}
#capabilities .formats-title .grad-text{
  background:linear-gradient(90deg,#3fd7ff,#7a8cff 52%,#da78f1);
  -webkit-background-clip:text;
  background-clip:text;
}
.formats-title .grad-text{white-space:nowrap}
.formats-mobile-break{display:none}
.style-grid{gap:16px}
.style-grid-six{grid-template-columns:repeat(3,minmax(0,1fr))}
.style-grid-five{grid-template-columns:repeat(6,minmax(0,1fr))}
.style-grid-five .style-card{grid-column:span 2}
.style-grid-five .style-card:nth-last-child(-n+2){grid-column:span 3}
.style-card{
  display:flex;
  flex-direction:column;
  min-height:0;
  padding:30px;
  border:1px solid rgba(255,255,255,.96);
  border-radius:32px;
  background:#fff;
  box-shadow:0 14px 36px rgba(36,108,136,.07);
  transition:transform .25s,box-shadow .25s;
}
.style-card:hover{transform:translateY(-7px);box-shadow:0 28px 64px rgba(36,108,136,.14)}
.style-visual{
  height:290px;
  margin:-30px -30px 30px;
  border-radius:31px 31px 24px 24px;
  background:linear-gradient(145deg,#15c2eb,#28b6ef 52%,#7786f2);
}
.style-card:nth-child(2) .style-visual{background:linear-gradient(145deg,#68dbe7,#769cf3 55%,#e690eb)}
.style-card:nth-child(3) .style-visual{background:linear-gradient(145deg,#38d16a,#51caa9 52%,#4bb9ed)}
.style-card:nth-child(4) .style-visual{background:linear-gradient(145deg,#16bde8,#39a8ef 55%,#7b77ee)}
.style-card:nth-child(5) .style-visual{background:linear-gradient(145deg,#ef8ceb,#cf87f0 50%,#55c7ee)}
.style-card:nth-child(6) .style-visual{background:linear-gradient(145deg,#68dce8,#5ab8f2 52%,#9d76ed)}
.style-visual::before{background-image:linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);background-size:32px 32px}
.style-card .style-no{margin-bottom:11px;color:#06abe0}
.style-card h3{margin-bottom:12px;color:#0e1425;font-size:23px;line-height:1.45}
.style-card p{color:#555e70;font-size:13px;line-height:1.75}
.style-card .for{
  margin-top:auto;
  padding-top:16px;
  border-top:0;
  color:#05afe5;
  font-size:12px;
  line-height:1.65;
}
.style-card .for::after{content:"  →"}
.style-grid-six .style-card{padding:24px;border-radius:28px}
.style-grid-six .style-visual{height:230px;margin:-24px -24px 24px;border-radius:27px 27px 20px 20px}
.style-grid-six .style-card h3{font-size:20px}
.style-grid-six .style-card p{font-size:12px;line-height:1.75}
.style-grid-six .style-card .for{font-size:10.5px}
.visual-presenter{right:22px;width:120px;height:174px;background:linear-gradient(180deg,#9faef6,#657ae5)}
.visual-presenter::before{background:#f5f7ff}
.visual-slide,.visual-chart{border-color:rgba(74,91,168,.14);background:rgba(255,255,255,.72);box-shadow:0 18px 35px rgba(46,60,119,.1)}
.visual-comic i{border-color:rgba(100,82,158,.1);background:linear-gradient(145deg,rgba(181,136,233,.5),rgba(103,126,228,.24))}
.visual-materials{position:absolute;inset:22px;display:grid;grid-template-columns:1.25fr .75fr;grid-template-rows:1fr 1fr;gap:9px}
.visual-materials i{border:1px solid rgba(97,111,174,.14);border-radius:13px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(215,224,255,.7));box-shadow:0 12px 28px rgba(46,60,119,.09)}
.visual-materials i:first-child{grid-row:1/3;background:linear-gradient(145deg,rgba(115,135,231,.76),rgba(231,205,244,.68))}
.visual-materials i:nth-child(2){background:linear-gradient(145deg,#fff,#ffe4d7)}
.visual-materials i:nth-child(3){background:linear-gradient(145deg,#fff,#dcecff)}
.visual-variety{position:absolute;inset:22px;display:grid;grid-template-columns:1fr 1fr;gap:9px}
.visual-variety i{position:relative;display:grid;place-items:center;border:1px solid rgba(102,91,171,.13);border-radius:14px;background:rgba(255,255,255,.8);box-shadow:0 10px 24px rgba(61,50,120,.08)}
.visual-variety i::after{color:#5967c8;font-family:'Outfit','Noto Sans JP',sans-serif;font-size:11px;font-style:normal;font-weight:800;letter-spacing:.06em}
.visual-variety i:nth-child(1)::after{content:'TALK'}
.visual-variety i:nth-child(2)::after{content:'RANKING'}
.visual-variety i:nth-child(3)::after{content:'QUIZ'}
.visual-variety i:nth-child(4)::after{content:'VLOG'}
.visual-slot-note{
  position:absolute;
  z-index:4;
  left:16px;
  bottom:16px;
  max-width:210px;
  padding:11px 13px;
  border:1px solid rgba(255,255,255,.92);
  border-radius:14px;
  color:#273354;
  background:rgba(255,255,255,.86);
  box-shadow:0 10px 28px rgba(35,47,101,.12);
  backdrop-filter:blur(12px);
}
.visual-slot-note span{display:block;color:#6471d9;font-family:'Outfit',sans-serif;font-size:9px;font-weight:700;letter-spacing:.13em}
.visual-slot-note b{display:block;font-size:12px;line-height:1.5}
.visual-slot-note small{display:block;color:#76809b;font-size:8px;line-height:1.55}
.expand-card{border-color:#e4e8f2;border-radius:20px;background:#f7f8fc}

/* Workflow */
#workflow{
  color:var(--ink);
  background:radial-gradient(700px 420px at 82% 78%,rgba(131,200,239,.25),transparent 66%),radial-gradient(580px 380px at 18% 8%,rgba(176,153,238,.22),transparent 64%),#eff7ff;
}
#workflow::before{background-image:linear-gradient(rgba(75,99,179,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(75,99,179,.035) 1px,transparent 1px)}
.workflow-showcase{
  display:grid;
  grid-template-columns:minmax(0,1.34fr) minmax(360px,.66fr);
  gap:20px;
  align-items:stretch;
}
.workflow-steps{
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:repeat(4,minmax(0,1fr));
  gap:11px;
  margin:0;
}
.workflow-step{
  --workflow-accent:#7868ee;
  position:relative;
  min-height:0;
  padding:18px 24px;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:18px;
  overflow:visible;
  border-color:rgba(215,222,239,.95);
  border-radius:19px;
  background:rgba(255,255,255,.86);
  box-shadow:0 13px 30px rgba(39,54,105,.075);
  transition:transform .38s ease,border-color .38s ease,background .38s ease,box-shadow .38s ease;
}
.workflow-step:nth-child(2){--workflow-accent:#a65ed9}
.workflow-step:nth-child(3){--workflow-accent:#6281ef}
.workflow-step:nth-child(4){--workflow-accent:#45a5e4}
.workflow-step::before{
  content:"";
  position:absolute;
  top:14px;
  bottom:14px;
  left:0;
  width:4px;
  border-radius:0 999px 999px 0;
  background:linear-gradient(180deg,#5d6ff0,#9c59df);
}
.workflow-step::after{
  content:"";
  position:absolute;
  z-index:3;
  top:auto;
  right:50%;
  bottom:-8px;
  width:8px;
  height:8px;
  border-right:2px solid rgba(91,106,210,.55);
  border-bottom:2px solid rgba(91,106,210,.55);
  transform:translateX(50%) rotate(45deg);
}
.workflow-step:last-child::after{display:none}
.workflow-step:nth-child(2)::before{background:linear-gradient(180deg,#7767ed,#b05bd3)}
.workflow-step:nth-child(3)::before{background:linear-gradient(180deg,#4f87e9,#7868e9)}
.workflow-step:nth-child(4)::before{background:linear-gradient(180deg,#3ca9d8,#5f7ee7)}
.workflow-step:first-child{border-color:#c2caf7;background:linear-gradient(145deg,#f0f2ff,#fff)}
.workflow-step .no{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  flex:0 0 48px;
  margin:0;
  border:1px solid rgba(102,116,218,.13);
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,#6475f1,#a05cdd);
  box-shadow:0 9px 22px rgba(93,105,213,.2);
  font-size:14px;
  font-weight:800;
  transition:transform .38s ease,filter .38s ease,box-shadow .38s ease;
}
.workflow-step:nth-child(3) .no{background:linear-gradient(135deg,#528ae8,#7869e9)}
.workflow-step:nth-child(4) .no{background:linear-gradient(135deg,#3ca8d8,#5f7ee7)}
.workflow-step:first-child .no{color:#fff;background:linear-gradient(135deg,#6475f1,#a05cdd)}
.workflow-step h3{max-width:none;margin:0;color:var(--ink);font-size:19px;line-height:1.45;letter-spacing:-.02em}
.workflow-step.is-active{
  transform:translateX(-6px);
  border-color:color-mix(in srgb,var(--workflow-accent) 68%,#fff);
  background:linear-gradient(115deg,color-mix(in srgb,var(--workflow-accent) 17%,#fff),#fff 72%);
  box-shadow:0 20px 52px color-mix(in srgb,var(--workflow-accent) 24%,transparent),inset 0 1px 0 rgba(255,255,255,.8);
}
.workflow-step.is-active::before{width:7px;box-shadow:0 0 20px color-mix(in srgb,var(--workflow-accent) 72%,transparent)}
.workflow-step.is-active .no{transform:scale(1.1);filter:brightness(1.16) saturate(1.14);box-shadow:0 12px 30px color-mix(in srgb,var(--workflow-accent) 44%,transparent)}
.workflow-media{
  width:100%;
  max-width:none;
  padding:10px;
  border-color:rgba(255,255,255,.95);
  border-radius:24px;
  background:linear-gradient(120deg,#ffece5,#e1ecff 52%,#e8e0ff);
  box-shadow:0 38px 96px rgba(43,65,117,.16);
}
.workflow-media .video-lite{border-radius:17px}

@media(max-width:900px){
  .workflow-showcase{grid-template-columns:1fr;gap:18px}
  .workflow-media{width:min(820px,100%);margin-inline:auto}
  .workflow-steps{grid-template-columns:1fr 1fr;grid-template-rows:none}
  .workflow-step::after{display:none}
}

@media(max-width:560px){
  .workflow-showcase{gap:15px}
  .workflow-media{padding:8px;border-radius:20px}
  .workflow-media .video-lite{border-radius:14px}
  .workflow-steps{grid-template-columns:1fr;gap:9px}
  .workflow-step{min-height:64px;padding:11px 15px 11px 17px}
}

/* Still image to talking video — independent section */
#image-animation{
  position:relative;
  overflow:hidden;
  padding-top:58px;
  color:#fff;
  background:
    radial-gradient(660px 420px at 12% 12%,rgba(93,116,240,.34),transparent 70%),
    radial-gradient(620px 440px at 88% 86%,rgba(185,89,218,.27),transparent 72%),
    linear-gradient(145deg,#09102f,#111b49 56%,#1f245c);
}
#results.proof-stage{padding-bottom:52px}
#image-animation::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:48px 48px;
}
#image-animation .wrap{position:relative;z-index:1}
#image-animation .section-title{color:#fff;text-shadow:0 10px 36px rgba(31,47,138,.3)}
#image-animation .eyebrow{color:#c8d0ff}
#image-animation .eyebrow::before{color:#eef0ff;border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.08)}
#image-animation .generation-examples{max-width:1180px;gap:32px}
#image-animation .generation-flow{grid-template-columns:minmax(0,.92fr) 82px minmax(0,1.1fr);gap:18px;padding-top:26px}
#image-animation .generation-card{
  border-color:rgba(151,166,255,.23);
  border-radius:24px;
  background:rgba(12,18,53,.78);
  box-shadow:0 28px 68px rgba(0,0,0,.48),0 0 44px rgba(79,107,239,.13);
}
#image-animation .generation-card.result{
  z-index:2;
  border-color:rgba(167,179,255,.4);
  box-shadow:0 34px 78px rgba(0,0,0,.55),0 0 58px rgba(104,94,245,.22);
}
#image-animation .generation-card.source .generation-source,
#image-animation .generation-card.source .generation-placeholder{border-radius:23px}
#image-animation .generation-arrow span{width:62px;height:62px;font-size:30px;box-shadow:0 16px 36px rgba(79,107,239,.4)}
#image-animation .generation-placeholder{color:#d6dcfb;background:linear-gradient(145deg,#111a48,#202a64)}
.style-source-preview{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  overflow:hidden;
  padding:26px;
  background:linear-gradient(145deg,#dbe7f4,#b9cde1 52%,#8ea8c2)!important;
}
.style-source-preview::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,rgba(255,255,255,.42),transparent 48%),linear-gradient(rgba(52,78,116,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(52,78,116,.08) 1px,transparent 1px);
  background-size:auto,32px 32px,32px 32px;
}
.style-source-preview b{position:relative;z-index:2;max-width:190px;color:#17213c;font-size:14px;line-height:1.55;text-align:left}
.style-source-person{
  position:absolute;
  right:11%;
  bottom:-18%;
  width:150px;
  height:190px;
  border-radius:70px 70px 26px 26px;
  background:linear-gradient(180deg,#768da9,#314b70);
  box-shadow:0 24px 50px rgba(38,58,88,.25);
}
.style-source-person::before{
  content:"";
  position:absolute;
  top:-48px;
  left:39px;
  width:72px;
  height:72px;
  border-radius:50%;
  background:linear-gradient(145deg,#f3d5c7,#cfa79a);
  box-shadow:0 0 0 9px rgba(48,63,92,.72);
}
.style-result-preview{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:20px!important;
  background:linear-gradient(145deg,#161f54,#262d70)!important;
}
.style-result-preview>span{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
  min-width:0;
  overflow:hidden;
  padding:20px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:18px;
  text-align:left;
  box-shadow:0 16px 32px rgba(0,0,0,.2);
}
.style-result-preview>span::before{
  content:"";
  position:absolute;
  inset:16% 20% 28%;
  border-radius:48% 52% 44% 56%;
  background:rgba(255,255,255,.5);
  box-shadow:0 0 0 12px rgba(255,255,255,.12);
}
.style-result-preview .illustration-style{background:linear-gradient(145deg,#65d1e6,#6d8ee8 55%,#a977dd)}
.style-result-preview .comic-style{background:linear-gradient(145deg,#ffe06e,#f59a77 52%,#d65ec5)}
.style-result-preview small,.style-result-preview b{position:relative;z-index:2}
.style-result-preview small{margin-bottom:4px;color:rgba(255,255,255,.76);font-family:'Outfit',sans-serif;font-size:8px;font-weight:700;letter-spacing:.12em}
.style-result-preview b{color:#fff;font-size:17px;line-height:1.35}

/* Engine / credibility */
#engine{
  background:radial-gradient(600px 500px at 10% 40%,rgba(167,213,231,.18),transparent 70%),linear-gradient(180deg,#f8f6ff,#f2effc);
}
.engine-intro{gap:62px}
.engine-number{
  min-height:380px;
  border-color:rgba(192,199,232,.72);
  border-radius:36px;
  background:radial-gradient(circle at 50% 40%,rgba(159,132,235,.28),transparent 52%),linear-gradient(145deg,#fff,#edf1ff);
  box-shadow:var(--shadow);
}
.engine-number::before,.engine-number::after{border-color:rgba(100,120,218,.18)}
.engine-number b{color:#5366df;font-size:108px}
.engine-number span{color:#5f6a8b}
.engine-copy p{color:var(--muted)}
.engine-copy .decision{color:#303c5f;background:rgba(255,255,255,.66)}
.engine-points{gap:20px}
.engine-card{
  padding:30px;
  border-color:#e0e4f1;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.engine-card span{color:#6572df}
.engine-card h3{color:var(--ink);font-size:19px}
.engine-card p{color:var(--muted);font-size:13px}
.compare-wrap{border:1px solid #dfe4ef;border-radius:24px;background:#fff;box-shadow:var(--shadow-sm)}
.compare-table{border:0;border-radius:24px;background:#fff}
.compare-table th,.compare-table td{border-color:#e7eaf2}
.compare-table th{color:#253152;background:#f6f7fb}
.compare-table th:nth-child(2){color:#fff;background:var(--grad)}
.compare-table td{color:#65708d}
.compare-table td:first-child{color:#293555}
.compare-table td:nth-child(2){color:#293a72;background:#f1f3ff}

/* Benefits */
#benefit-sns{
  background:radial-gradient(520px 360px at 90% 8%,rgba(164,222,210,.26),transparent 72%),linear-gradient(145deg,#f1fbf9,#f1f6ff);
}
#benefit-sns .sns-section-lead{max-width:none;margin-top:16px;color:#4f5d7f;font-size:16px;font-weight:700}
#benefit-sns .merit-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:26px;border:1px solid #dfe6ef;border-radius:32px;background:rgba(255,255,255,.76);box-shadow:var(--shadow-sm);align-items:stretch}
.merit-step{display:flex;min-width:0;flex-direction:column;padding:22px;border-color:#e1e6f1;border-radius:24px;background:#fff;box-shadow:0 14px 34px rgba(35,47,101,.06)}
.merit-step h3{min-height:50px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;line-height:1.55}
.merit-frame{border-color:#dfe5f1;background:linear-gradient(145deg,#f0f3ff,#f8edff);color:#5361aa}
.merit-frame-row .merit-frame{background:linear-gradient(145deg,#edf8ff,#eff3ff)}
.merit-frame-row{margin-top:auto;gap:10px}
.merit-media-slot{position:relative;overflow:hidden;border:1px dashed rgba(104,123,203,.46);border-radius:18px;background:#f2f4ff;isolation:isolate}
.merit-media-slot::before{content:"";position:absolute;z-index:0;inset:0;background-image:linear-gradient(rgba(80,102,185,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(80,102,185,.055) 1px,transparent 1px);background-size:24px 24px}
.merit-media-slot-wide{width:100%;aspect-ratio:16/9;margin-top:auto}
.merit-media-slot-vertical{width:100%;aspect-ratio:9/16}
.merit-media-placeholder{position:absolute;z-index:1;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;text-align:center}
.merit-media-placeholder::before{content:"＋";display:grid;place-items:center;width:40px;height:40px;margin-bottom:10px;border:1px solid rgba(255,255,255,.9);border-radius:13px;color:#fff;background:linear-gradient(135deg,#5c73ef,#a45cdc);box-shadow:0 10px 24px rgba(86,98,211,.22);font-family:'Outfit',sans-serif;font-size:20px;font-weight:600}
.merit-media-placeholder span{margin-bottom:7px;padding:4px 8px;border:1px solid rgba(255,255,255,.88);border-radius:999px;color:#6270b8;background:rgba(255,255,255,.76);font-family:'Outfit',sans-serif;font-size:7px;font-weight:700;letter-spacing:.1em}
.merit-media-placeholder b{color:#35436f;font-size:13px;line-height:1.35}
.merit-media-placeholder small{margin-top:4px;color:#7783aa;font-family:'Noto Sans JP',sans-serif;font-size:8px;letter-spacing:0}
.merit-media-slot-script{background:linear-gradient(145deg,#edf1ff,#f7edff)}
.merit-media-slot-youtube{background:linear-gradient(145deg,#fff0f1,#f3edff 58%,#edf3ff)}
.merit-media-slot-shorts{background:linear-gradient(155deg,#eaf7ff,#eef0ff)}
.merit-media-slot-tiktok{background:linear-gradient(155deg,#e9faf6,#edf1ff)}
.merit-media-slot-reels{background:linear-gradient(155deg,#fff0f6,#f2edff)}
.merit-media-slot-vertical .merit-media-placeholder{padding:8px}
.merit-media-slot-vertical .merit-media-placeholder::before{width:34px;height:34px;margin-bottom:8px;border-radius:11px;font-size:17px}
.merit-media-slot-vertical .merit-media-placeholder span{padding:3px 6px;font-size:6px}
.merit-media-slot-vertical .merit-media-placeholder b{font-size:11px}
.merit-media-slot-vertical .merit-media-placeholder small{font-size:7px}
.merit-platforms{align-items:center;gap:14px;margin:24px 0 26px}
.merit-platforms .merit-platform{display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(210,219,235,.95);background:rgba(255,255,255,.9);box-shadow:0 10px 28px rgba(48,65,118,.08)}
.merit-platforms .merit-platform-icon{width:58px;height:58px;padding:10px;border-radius:18px}
.merit-platforms .platform-logo{display:block;width:100%;height:100%;filter:drop-shadow(0 3px 5px rgba(25,35,70,.12))}
.merit-platforms .merit-platform-ad{min-height:58px;padding:0 22px;border-radius:18px;color:#445174;font-size:13px;font-weight:800;letter-spacing:.02em}

#benefit-templates{
  overflow:hidden;
  background:radial-gradient(520px 360px at 8% 12%,rgba(255,191,169,.27),transparent 72%),linear-gradient(145deg,#fff8f3,#fbf7ff);
}
.video-gallery{display:grid;gap:20px;margin-top:42px;padding:30px;border:1px solid rgba(255,255,255,.9);border-radius:34px;background:rgba(255,255,255,.48);box-shadow:0 28px 80px rgba(77,57,99,.1);backdrop-filter:blur(14px)}
.video-gallery-row{display:grid;gap:18px}
.video-gallery-row-featured{grid-template-columns:repeat(3,minmax(0,1fr))}
.video-gallery-row-standard{grid-template-columns:repeat(4,minmax(0,1fr))}
.video-gallery-row-shorts{grid-template-columns:repeat(5,minmax(0,1fr))}
.video-gallery-slot{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.95);border-radius:22px;background:linear-gradient(135deg,#b7c9ff,#d6bbff 48%,#ffd2db);box-shadow:0 16px 38px rgba(45,48,100,.16);isolation:isolate}
.video-gallery-slot-wide{aspect-ratio:16/9}
.video-gallery-slot-short{aspect-ratio:9/16;border-radius:24px}
.video-gallery-slot::before{content:"";position:absolute;z-index:-1;inset:-28%;background:radial-gradient(circle at 26% 28%,rgba(255,255,255,.72),transparent 28%),radial-gradient(circle at 76% 72%,rgba(79,107,239,.26),transparent 32%),linear-gradient(120deg,rgba(255,255,255,.06),rgba(255,255,255,.46));animation:video-slot-ambient 8s ease-in-out infinite alternate}
.video-gallery-slot::after{content:"";position:absolute;left:50%;top:50%;width:48px;height:48px;border:1px solid rgba(255,255,255,.86);border-radius:50%;background:rgba(16,23,59,.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5.5v13L19 12z'/%3E%3C/svg%3E") center/18px no-repeat;box-shadow:0 10px 26px rgba(16,23,59,.22);backdrop-filter:blur(8px);transform:translate(-50%,-50%)}
.video-gallery-slot:nth-child(2n){background:linear-gradient(135deg,#bfece4,#c8d9ff 52%,#eed1ff)}
.video-gallery-slot:nth-child(3n){background:linear-gradient(135deg,#ffe0c5,#ffcbd9 50%,#d6d8ff)}
.video-gallery-slot:nth-child(4n){background:linear-gradient(135deg,#c5e9ff,#bcdcff 52%,#e9cfff)}
.video-gallery-slot:nth-child(5n){background:linear-gradient(135deg,#d8f3e8,#bdd8ff 52%,#ffd5e6)}
.video-gallery-slot:hover::before{transform:scale(1.08) rotate(2deg)}
.video-gallery-slot.is-video-filled::before,.video-gallery-slot.is-video-filled::after{display:none}
.video-gallery-slot iframe{position:absolute;z-index:2;inset:0;width:100%;height:100%;border:0;pointer-events:none}
.video-gallery-slot-short iframe{left:50%;width:316%;max-width:none;transform:translateX(-50%)}
@keyframes video-slot-ambient{0%{transform:translate3d(-2%,-1%,0) scale(1)}100%{transform:translate3d(3%,2%,0) scale(1.08)}}
@media(max-width:820px){
  #benefit-sns .merit-flow{grid-template-columns:1fr}
  .video-gallery{gap:15px;padding:20px;border-radius:26px}
  .video-gallery-row{gap:14px}
  .video-gallery-row-featured,.video-gallery-row-standard{grid-template-columns:repeat(2,minmax(0,1fr))}
  .video-gallery-row-shorts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){
  .video-gallery{margin-top:30px;padding:15px}
  .video-gallery-row{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding-bottom:3px;scrollbar-width:none}
  .video-gallery-row::-webkit-scrollbar{display:none}
  .video-gallery-slot{scroll-snap-align:start;flex:0 0 76vw;border-radius:18px}
  .video-gallery-slot-short{flex-basis:42vw;border-radius:20px}
}

#benefit-ai-suite{overflow:hidden;background:#fff}
#benefit-ai-suite::after{right:-210px;top:16%;background:rgba(139,103,238,.13)}
.merit-suite-flow{padding:22px;border:1px solid #e0e5f1;border-radius:999px;background:#f5f6ff;box-shadow:0 12px 34px rgba(38,50,104,.06)}
.merit-suite{gap:22px}
.merit-card{border-color:#e0e5f1;border-radius:26px;background:#fff;box-shadow:var(--shadow-sm)}
.merit-suite .merit-card:nth-child(1){background:linear-gradient(155deg,#fff,#f4f7ff)}
.merit-suite .merit-card:nth-child(2){background:linear-gradient(155deg,#fff,#faf3ff)}
.merit-suite .merit-card:nth-child(3){background:linear-gradient(155deg,#fff,#f1faf8)}

#multilingual{background:linear-gradient(145deg,#f6f4ff,#eef7ff)}
.language-panel{
  gap:56px;
  padding:44px;
  border-color:rgba(255,255,255,.95);
  border-radius:36px;
  background:rgba(255,255,255,.78);
  box-shadow:0 34px 90px rgba(42,55,108,.12);
}
.language-visual{padding:18px 18px 66px;border-radius:28px;background:linear-gradient(145deg,#dce8ff,#e7ddff 55%,#fde5de)}
.language-chips span{color:#52617f;border-color:rgba(255,255,255,.88);background:rgba(255,255,255,.7)}

/* Explore hub */
#details-hub{background:linear-gradient(180deg,#fff,#f4f7ff)}
.details-grid{gap:22px}
.details-card{
  min-height:290px;
  padding:30px;
  border-color:#e0e5f1;
  border-radius:28px;
  background:#fff;
  box-shadow:0 18px 48px rgba(35,47,101,.07);
  transition:transform .25s,box-shadow .25s,border-color .25s;
}
.details-card:nth-child(1),.details-card:nth-child(6){background:linear-gradient(145deg,#fff,#f1f4ff)}
.details-card:nth-child(2),.details-card:nth-child(4){background:linear-gradient(145deg,#fff,#fff4ef)}
.details-card:nth-child(3),.details-card:nth-child(5){background:linear-gradient(145deg,#fff,#f0faf7)}
.details-card:hover{transform:translateY(-7px);border-color:#bbc4f2;box-shadow:0 28px 70px rgba(35,47,101,.12)}

/* Partner recruitment */
#partner-recruitment{padding:var(--sec-space) 0;background:linear-gradient(145deg,#f4f7ff,#fff4ef)}
.partner-recruitment-panel{display:grid;grid-template-columns:1.04fr .96fr;gap:48px;align-items:center;padding:49px;border:1px solid rgba(210,216,240,.9);border-radius:36px;background:rgba(255,255,255,.84);box-shadow:0 32px 90px rgba(52,61,111,.13)}
.partner-recruitment-copy h2{margin:14px 0 17px;font-size:clamp(34px,4vw,50px)}
.partner-recruitment-copy>p{color:var(--muted);font-size:13px}
.partner-recruitment-badges{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 26px}.partner-recruitment-badges span{padding:7px 11px;border:1px solid #dfe4f2;border-radius:999px;color:#53607e;background:#fff;font-size:9px;font-weight:700}.partner-recruitment-badges span::before{content:"✓";margin-right:6px;color:#42bfa7}
.partner-recruitment-routes{display:grid;gap:11px}.partner-recruitment-routes article{padding:20px 22px;border:1px solid #e0e4f0;border-radius:19px;background:#fff;box-shadow:0 12px 32px rgba(35,47,101,.06)}.partner-recruitment-routes article:nth-child(2){background:linear-gradient(145deg,#fff,#f1f4ff)}.partner-recruitment-routes article:nth-child(3){background:linear-gradient(145deg,#fff,#fff1eb)}.partner-recruitment-routes small{display:block;color:#6b78dd;font-family:'Outfit',sans-serif;font-size:8px;font-weight:700;letter-spacing:.12em}.partner-recruitment-routes b{display:block;margin:4px 0;font-size:17px}.partner-recruitment-routes p{color:var(--muted);font-size:10px}

/* Cost / pricing */
#cost{background:radial-gradient(560px 380px at 92% 8%,rgba(255,199,180,.22),transparent 70%),#fffaf7}
.cost-cards{gap:22px}
.cost-card{padding:30px;border-color:#e4e4ec;border-radius:24px;box-shadow:0 16px 42px rgba(65,55,80,.06)}
.cost-card.featured{color:var(--ink);border:1px solid #bdc7f3;background:linear-gradient(145deg,#edf1ff,#f8f4ff)}
.cost-card.featured span,.cost-card.featured p{color:var(--muted)}
.fixed-example{border-color:#dddff0;border-radius:22px;background:linear-gradient(110deg,#eef2ff,#faf0ff)}
.calc{padding:42px;border-color:#e4e3eb;border-radius:32px;box-shadow:0 30px 90px rgba(68,56,79,.1)}
.calc-box{border-color:#e2e5ef;border-radius:20px;background:#f6f7fb}
.calc-box.primary{background:var(--grad)}
.calc-box.primary b{color:#fff;background:none;-webkit-background-clip:initial;background-clip:initial;filter:none}
.calc-box.primary span,.calc-box.primary small{color:rgba(255,255,255,.78)}

#plans{background:#fff}
.program-grid{gap:18px}
.program-step{padding:26px;border-color:#e1e5f0;border-radius:22px;background:#f8f9fd}
.standard-plan{padding:44px;border-color:#8796ef;border-radius:34px;background:linear-gradient(145deg,#fff,#f4f6ff);box-shadow:0 34px 90px rgba(80,99,218,.14)}
.standard-list li{border-color:#e0e5f1;border-radius:16px;background:rgba(255,255,255,.78)}
.other-plans{gap:22px}
.plan-card{padding:32px;border-color:#e0e5f1;border-radius:26px;box-shadow:var(--shadow-sm)}
.plan-card:nth-child(2){background:linear-gradient(155deg,#fff,#f7f3ff)}
.plan-card:nth-child(3){background:linear-gradient(155deg,#fff,#f1f7ff)}

/* Consultation, FAQ, final CTA */
#demo{background:linear-gradient(145deg,#eff9f6,#f4f6ff)}
.demo-list li{border-color:#e0e5ef;border-radius:18px;background:rgba(255,255,255,.8)}
.demo-flow span{border-color:#dfe4ef;background:#fff}
.line-panel{padding:44px;border-radius:32px;background:linear-gradient(145deg,#303f9a,#6b5add 55%,#9c61d7);box-shadow:0 30px 85px rgba(78,75,175,.28)}
.line-panel p{color:#dfe3ff}
.demo-grid{grid-template-columns:minmax(0,.82fr) minmax(420px,1.18fr);gap:56px}
.demo-copy .section-head{margin-bottom:26px}
.demo-copy .section-lead{max-width:620px}
.demo-inclusions{display:flex;flex-wrap:wrap;gap:10px}
.demo-inclusions span{display:inline-flex;align-items:center;min-height:42px;padding:10px 15px;border:1px solid rgba(130,154,226,.24);border-radius:999px;color:#edf2ff;background:rgba(15,24,50,.78);box-shadow:inset 0 1px 0 rgba(255,255,255,.04);font-size:12px;font-weight:800}
.demo-inclusions span::before{content:"✓";display:grid;width:20px;height:20px;margin-right:8px;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#5f7df1,#b35ce2);font-size:10px}
.demo-free-note{display:flex;align-items:center;gap:8px;margin-top:18px;color:#aeb8da;font-size:12px;font-weight:700}
.demo-free-note .check{display:grid;width:20px;height:20px;place-items:center;border-radius:50%;color:#fff;background:#16c568;font-size:11px}
.line-panel.demo-video-panel{padding:10px;border-radius:32px;background:linear-gradient(145deg,rgba(32,49,100,.98),rgba(43,29,92,.98));box-shadow:0 34px 90px rgba(0,0,0,.34),0 0 0 1px rgba(132,157,235,.2)}
.line-panel.demo-video-panel::before{display:none}
.demo-video-shell{position:relative;overflow:hidden;aspect-ratio:1;border-radius:24px;background:#080d21}
.demo-sample-video{display:block;width:100%;height:100%;object-fit:cover;background:#080d21}
.demo-sample-audio-toggle{top:14px;left:14px}
.demo-video-cta{display:grid;grid-template-columns:1fr auto;gap:10px 18px;align-items:center;padding:22px 20px 17px}
.demo-video-cta .mini{margin:0 0 5px}
.demo-video-cta h3{margin:0;font-size:21px;line-height:1.35}
.demo-video-cta .btn{width:auto;min-width:225px}
.demo-phone-link{grid-column:1/-1;justify-self:end;color:#c9d2f4;font-size:10px;font-weight:800;letter-spacing:.04em}
.demo-phone-link:hover{color:#fff}
.panel-phone-link{display:grid;margin-top:13px;padding:14px 16px;border:1px solid rgba(255,255,255,.22);border-radius:17px;color:#fff;background:rgba(14,22,65,.24);text-align:center;transition:background .18s,border-color .18s}
.panel-phone-link:hover{color:#fff;background:rgba(14,22,65,.38);border-color:rgba(255,255,255,.42)}
.panel-phone-link span{color:#e5e8ff;font-size:9px;font-weight:700}.panel-phone-link b{margin:3px 0;font-family:'Outfit','Noto Sans JP',sans-serif;font-size:25px;letter-spacing:.04em}.panel-phone-link em{color:#c5ccef;font-size:8px;font-style:normal}

#faq{background:#fff}
.faq-list{gap:14px}
.faq-list details{border-color:#e1e5ef;border-radius:20px;box-shadow:0 12px 34px rgba(35,47,101,.05)}
.faq-list summary{padding:23px 26px}
.faq-answer{padding:0 26px 24px 55px}

#final{
  padding:132px 0;
  background:radial-gradient(580px 400px at 15% 20%,rgba(105,183,234,.23),transparent 70%),radial-gradient(620px 420px at 85% 80%,rgba(197,111,227,.28),transparent 70%),linear-gradient(135deg,#17265b,#263b8e 55%,#5d46b0);
}
#final::before{opacity:.45}
#final .safe-frame{opacity:.25}
#final h2{letter-spacing:-.04em}
#final .final-lead{color:#d5dcf7}
#final .final-sub{color:#bec8ea}
#final .eyebrow{color:#dfe4ff}
#final .eyebrow::before{color:#fff;border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.1)}
.final-contact-row{display:flex;align-items:stretch;justify-content:center;gap:13px;flex-wrap:wrap}
.final-contact-row>.btn{min-width:340px}
.phone-cta-final{min-width:350px;color:#fff;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.1);box-shadow:none;backdrop-filter:blur(10px)}
.phone-cta-final:hover{border-color:rgba(255,255,255,.48);box-shadow:none}.phone-cta-final>svg{stroke:#fff}.phone-cta-final small{color:#e5e8ff}.phone-cta-final em{color:#bcc6e9}
.final-phone-number-ring{display:inline-block;transform-origin:50% 55%;animation:final-phone-number-ring 4.8s ease-in-out infinite;will-change:transform,text-shadow}
@keyframes final-phone-number-ring{0%,70%,88%,100%{transform:translateX(0) rotate(0) scale(1);text-shadow:0 0 0 rgba(96,168,255,0)}73%{transform:translateX(-2px) rotate(-1.2deg) scale(1.012)}76%{transform:translateX(3px) rotate(1.35deg) scale(1.018);text-shadow:0 0 18px rgba(96,168,255,.48)}79%{transform:translateX(-3px) rotate(-1.15deg) scale(1.015)}82%{transform:translateX(2px) rotate(.8deg) scale(1.01)}85%{transform:translateX(-1px) rotate(-.35deg) scale(1.005)}}

#legal{background:#f5f6fa}
footer{background:#111936}
.footer-phone{color:#d8def8!important;font-family:'Outfit','Noto Sans JP',sans-serif;font-size:13px!important;font-weight:700}.footer-phone small{color:#7f89b2;font-size:8px}
#mobile-cta{padding:0;border:1px solid rgba(213,220,240,.95);border-radius:18px;background:#fff;box-shadow:0 16px 45px rgba(28,42,101,.22);overflow:hidden}
.mobile-contact-bar>a{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:58px;padding:8px 11px;text-align:left}
.mobile-contact-bar svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mobile-contact-bar span{display:grid;line-height:1.16}.mobile-contact-bar small{font-size:8px}.mobile-contact-bar b{font-size:13px}
.mobile-phone{flex:1.15;color:#243052;background:#fff}.mobile-phone b{font-family:'Outfit','Noto Sans JP',sans-serif;font-size:14px;letter-spacing:.02em}.mobile-phone small{color:#747e9b}
.mobile-line{flex:.85;color:#fff;background:linear-gradient(120deg,var(--cta-indigo),var(--cta-violet));background-size:180% 180%;animation:ctaGradientFlow 3.8s ease-in-out infinite}.mobile-line:hover{background:linear-gradient(120deg,var(--cta-indigo-dark),var(--cta-violet-dark));background-size:180% 180%}

@media(max-width:1020px){
  .header-phone{display:none}
  .hero-grid{column-gap:38px}
  .hero-points{grid-template-columns:1fr}
  .trial-shell{gap:20px}
  .style-visual{height:230px}
  .style-grid-five{grid-template-columns:repeat(2,minmax(0,1fr))}
  .style-grid-five .style-card,.style-grid-five .style-card:nth-last-child(-n+2){grid-column:auto}
  .style-grid-five .style-card:last-child{grid-column:1/-1}
  .language-panel{gap:30px;padding:34px}
  .partner-recruitment-panel{grid-template-columns:1fr}
  .analytics-outputs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .analytics-outputs li:nth-last-child(-n+2){grid-column:span 1}
}

@media(max-width:820px){
  :root{--header-h:64px}
  .wrap,.narrow{width:min(100% - 34px,720px)}
  header{inset:8px 9px auto;border-radius:24px}
  .header-inner{padding:0 10px}
  nav{inset:80px 9px auto;border:1px solid #e1e5ef;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 20px 50px rgba(25,36,79,.12)}
  #hero{min-height:auto;padding:132px 0 82px;background-position:60% center}
  #hero::after{display:none}
  .hero-grid{grid-template-columns:1fr;gap:44px}
  .hero-copy,.hero-conversion,.studio-window{grid-column:1}
  .hero-copy{grid-row:1}.hero-conversion{grid-row:2}.studio-window{grid-row:3}
  #hero h1{font-size:clamp(42px,10vw,62px)}
  .hero-points{grid-template-columns:repeat(3,1fr)}
  .section-title{font-size:clamp(32px,7.8vw,46px)}
  .video-grid{grid-template-columns:1fr 1fr}
  .video-grid .video-card:last-child{grid-column:1/-1}
  .merit-marquee{grid-template-columns:repeat(2,minmax(0,1fr))}
  .engine-number{min-height:310px}
  .engine-number b{font-size:88px}
  .workflow-step{min-height:102px}
  .workflow-step::after{display:none}
  .transformation-stage{grid-template-columns:1fr;gap:20px}
  .transformation-summary{padding:30px}
  .transformation-video-panel{width:min(100%,620px);justify-self:center}
  .transformation-video-shell{flex:none;aspect-ratio:16/9}
  #image-animation .generation-flow{grid-template-columns:1fr;gap:14px;padding-top:22px}
  #image-animation .generation-arrow{padding:6px 0}
  #image-animation .generation-arrow span{transform:rotate(90deg)}
  #capabilities .wrap{padding:56px 18px 18px;border-radius:38px}
  .style-grid-six{grid-template-columns:1fr}
  .style-card{min-height:0}
  .analytics-sources{grid-template-columns:1fr}
  .analytics-plus{margin:auto}
  .analytics-hypothesis::before{height:92px;bottom:100%}
  .analytics-outputs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .analytics-outputs li:last-child{grid-column:1/-1}
  .analytics-entry{grid-template-columns:1fr}
  .style-grid-five{grid-template-columns:1fr}
  .style-grid-five .style-card,.style-grid-five .style-card:nth-last-child(-n+2),.style-grid-five .style-card:last-child{grid-column:auto}
}

@media(max-width:560px){
  .formats-mobile-break{display:block}
  body{font-size:15px}
  .wrap,.narrow{width:min(100% - 28px,720px)}
  .section-title{font-size:32px;line-height:1.34}
  .section-lead{font-size:14px}
  .ai-suite-title{font-size:29px;line-height:1.34;letter-spacing:-.035em}
  .ai-suite-title-lead{font-size:.9em}
  .ai-suite-title-detail{margin-top:12px;font-size:.78em;line-height:1.55}
  .ai-suite-title-lead::after{bottom:-5px;height:2px}
  .transformation-summary{padding:24px 18px;border-radius:24px}
  .transformation-summary::before{left:22px;right:22px}
  .transformation-summary-tag{margin-bottom:13px;font-size:10px}
  .transformation-summary h3{margin-bottom:18px;font-size:27px}
  .transformation-actions{grid-template-columns:1fr;gap:9px}
  .transformation-actions li{min-height:70px;padding:14px 15px;flex-direction:row;align-items:center;gap:12px}
  .transformation-actions li::after{display:none}
  .transformation-actions i{width:34px;height:34px;flex:none}
  .transformation-actions b{font-size:13px}
  .transformation-metrics{gap:9px}
  .transformation-metrics div{min-height:88px;padding:13px 8px}
  .transformation-metrics b{font-size:24px}
  .transformation-metrics small{font-size:9px}
  .transformation-video-panel{padding:9px;border-radius:22px}
  .transformation-video-copy{gap:9px;padding:6px 5px 10px}
  .transformation-video-copy span{font-size:9px}
  .transformation-video-copy strong{font-size:14px;line-height:1.5}
  .transformation-video-shell{border-radius:16px}
  .brand-name{font-size:14px}
  .brand-name small{font-size:8px}
  #hero{padding:120px 0 72px;background-position:62% center}
  #hero h1{font-size:42px;line-height:1.2}
  .hero-lead{font-size:14px}
  .hero-points{grid-template-columns:1fr}
  .studio-window{padding:8px;border-radius:22px}
  .hero-samples{grid-template-columns:1fr 1fr 1fr}
  .hero-sample{grid-template-columns:1fr;padding:5px}
  .hero-sample-copy small{display:none}
  .hero-sample-copy b{text-align:center;font-size:8px}
  .video-grid,.ab-grid{grid-template-columns:1fr}
  .video-grid .video-card:last-child{grid-column:auto}
  .trial-shell{padding:8px;border-radius:26px}
  .trial-builder{padding:24px 14px}
  .pain-card,.flow-card,.style-card,.engine-card,.plan-card{padding:26px}
  .style-visual{height:230px;margin:-26px -26px 25px}
  #capabilities .wrap{width:min(100% - 18px,720px);padding:44px 10px 10px;border-radius:30px}
  #capabilities .section-head{padding-inline:10px}
  .style-grid-six{gap:10px}
  .style-grid-six .style-card{padding:23px;border-radius:24px}
  .style-grid-six .style-visual{height:210px;margin:-23px -23px 23px;border-radius:23px 23px 19px 19px}
  .visual-slot-note{max-width:190px}
  .workflow-media{padding:9px;border-radius:24px}
  .workflow-media .video-lite{border-radius:18px}
  .workflow-steps{gap:14px}
  .workflow-step{min-height:92px;padding:16px 16px 16px 18px;display:grid;grid-template-columns:36px 1fr;align-items:center;gap:13px}
  .workflow-step::before{top:15px;bottom:15px;left:0;right:auto;width:4px;height:auto;border-radius:0 999px 999px 0}
  .workflow-step h3{max-width:none;margin:0;font-size:16px}
  .engine-number{min-height:270px;border-radius:28px}
  .engine-number b{font-size:74px}
  .merit-flow{padding:18px;border-radius:24px}
  .analytics-journey{padding:16px;border-radius:26px}
  .analytics-source{padding:22px;border-radius:21px}
  .analytics-source h3,.analytics-hypothesis h3{font-size:19px}
  .analytics-hypothesis{padding:22px 18px}
  .analytics-outputs{grid-template-columns:1fr}
  .analytics-outputs li,.analytics-outputs li:last-child{grid-column:auto;min-height:78px}
  .analytics-entry article{padding:19px}
  .analytics-cta .btn,.suite-cta .btn{min-height:72px;padding:15px 18px;font-size:15px}
  .merit-marquee{grid-template-columns:1fr}
  .language-panel{padding:16px;border-radius:26px}
  .details-card{min-height:260px;padding:26px}
  .partner-recruitment-panel{padding:28px 21px;border-radius:27px}.partner-recruitment-copy .btn{width:100%}.partner-recruitment-badges{display:grid;grid-template-columns:1fr 1fr}
  .calc{padding:25px 18px;border-radius:25px}
  .standard-plan{padding:26px 20px;border-radius:28px}
  .line-panel{padding:32px 24px;border-radius:26px}
  .line-panel.demo-video-panel{padding:8px;border-radius:25px}
  .demo-video-shell{border-radius:19px}
  .demo-video-cta{grid-template-columns:1fr;padding:18px 13px 13px;text-align:center}
  .demo-video-cta .btn{width:100%;min-width:0}
  .demo-phone-link{justify-self:center}
  .phone-cta{padding:12px 14px}.phone-cta b{font-size:21px}.phone-cta small{font-size:8px}
  .final-contact-row{display:grid}.final-contact-row>.btn,.phone-cta-final{min-width:0;width:100%}
  #final{padding:104px 0}
}

@media(prefers-reduced-motion:reduce){
  .video-card,.style-card,.details-card{transition:none}
  .video-gallery-slot::before{animation:none}
  .btn-line,.mobile-line{animation:none}
  .final-phone-number-ring{animation:none}
}


/* Hero v7 — full-width video-led composition */
#hero{
  min-height:1360px;
  padding:148px 0 94px;
  overflow:hidden;
  background-color:#f7f8ff;
  background-image:
    linear-gradient(110deg,rgba(248,250,255,.98) 0%,rgba(248,250,255,.83) 51%,rgba(245,238,255,.34) 100%),
    url("../assets/onestep-hero-pastel-studio.webp");
  background-size:cover;
  background-position:center top;
}
#hero::before{
  inset:0;
  background:
    radial-gradient(420px 310px at 80% 17%,rgba(248,121,181,.20),transparent 72%),
    radial-gradient(520px 380px at 12% 72%,rgba(99,126,242,.16),transparent 74%);
  mask-image:none;
}
#hero::after{
  right:6%;
  top:124px;
  bottom:auto;
  width:176px;
  height:176px;
  border:1px solid rgba(255,255,255,.72);
  background:linear-gradient(145deg,rgba(98,116,241,.22),rgba(240,131,184,.22));
  box-shadow:0 24px 70px rgba(83,103,242,.12),inset 0 1px 0 rgba(255,255,255,.86);
  filter:none;
}
#hero .hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
}
#hero .hero-copy{
  position:relative;
  z-index:2;
  grid-column:1;
  grid-row:1;
  max-width:1230px;
}
#hero .hero-copy::after{
  content:"台本  →  本編  →  SHORTS";
  position:absolute;
  right:-390px;
  top:186px;
  padding:12px 19px;
  border:1px solid rgba(210,217,241,.88);
  border-radius:999px;
  color:#435176;
  background:rgba(255,255,255,.78);
  box-shadow:0 12px 32px rgba(39,55,110,.09);
  font-family:'Outfit','Noto Sans JP',sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  white-space:nowrap;
  backdrop-filter:blur(12px);
}
#hero .hero-kicker{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  margin-bottom:24px;
  padding:8px 17px;
  border:1px solid rgba(154,167,222,.42);
  border-radius:999px;
  color:#4d60d4;
  background:rgba(255,255,255,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  font-size:13px;
  font-weight:800;
  letter-spacing:.035em;
  backdrop-filter:blur(10px);
}
#hero h1{
  max-width:1240px;
  margin:0 0 30px;
  color:#10182f;
  font-size:clamp(60px,7.1vw,102px);
  line-height:1.08;
  letter-spacing:-.055em;
}
.hero-heading-line{display:block}
.hero-highlight{
  display:inline-block;
  margin-left:.03em;
  padding:.01em .13em .08em;
  border-radius:.16em;
  color:#4e61d8;
  background:linear-gradient(135deg,rgba(230,235,255,.96),rgba(238,224,255,.84));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
#hero .hero-lead{
  max-width:900px;
  margin:0;
  color:#44506d;
  font-size:17px;
  line-height:1.95;
}
#hero .hero-lead strong{
  color:#18213e;
  background:linear-gradient(transparent 62%,rgba(255,191,169,.56) 62%);
}
#hero .hero-conversion{
  z-index:2;
  grid-column:1;
  grid-row:2;
  margin-top:30px;
}
#hero .hero-points{
  display:grid;
  grid-template-columns:repeat(3,max-content);
  gap:10px;
  margin-bottom:18px;
}
#hero .hero-points li{
  min-height:42px;
  padding:10px 15px;
  color:#34405f;
  border-color:rgba(213,220,239,.9);
  background:rgba(255,255,255,.70);
  box-shadow:0 8px 22px rgba(48,61,112,.055);
  backdrop-filter:blur(10px);
}
#hero .hero-video-cta{
  position:relative;
  z-index:2;
  grid-column:1;
  grid-row:4;
  justify-self:center;
  justify-content:center;
  display:grid;
  grid-template-columns:minmax(0,500px) minmax(0,500px);
  gap:14px;
  width:100%;
  max-width:1014px;
  margin-top:28px;
}
#hero .hero-video-cta>.btn{width:100%;min-height:72px}
#hero .phone-cta-hero{min-height:72px;margin:0}
#hero .studio-window{
  position:relative;
  z-index:2;
  grid-column:1;
  grid-row:3;
  width:100%;
  margin-top:58px;
  padding:14px;
  border:1px solid rgba(205,214,238,.95);
  border-radius:38px;
  background:rgba(255,255,255,.86);
  box-shadow:0 38px 110px rgba(39,53,108,.23),inset 0 1px 0 #fff;
  backdrop-filter:blur(20px) saturate(1.15);
}
#hero .studio-window::before{
  inset:-52px 4% auto;
  height:220px;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(104,126,242,.19),transparent 68%);
  filter:blur(24px);
}
#hero .studio-window::after{
  content:"30秒でサービス全体を体験";
  position:absolute;
  z-index:3;
  right:36px;
  top:78px;
  padding:11px 17px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  color:#fff;
  background:rgba(10,18,47,.70);
  box-shadow:0 12px 30px rgba(6,11,34,.18);
  font-size:12px;
  font-weight:800;
  letter-spacing:.025em;
  backdrop-filter:blur(10px);
  pointer-events:none;
}
#hero .studio-top{
  min-height:43px;
  padding:0 12px 10px;
  color:#7b86a4;
  font-size:10px;
  font-weight:800;
  letter-spacing:.075em;
}
#hero .studio-status{color:#2b3654;font-size:11px}
#hero .studio-status i{background:#3ac889;box-shadow:0 0 0 5px rgba(58,200,137,.13)}
#hero .hero-video{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border:1px solid rgba(25,36,75,.13);
  border-radius:28px;
  background:#0d1736;
  box-shadow:0 18px 58px rgba(24,35,80,.20);
}
#hero .hero-loop-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#0d1736;
}
#hero .studio-pipeline{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  gap:16px;
  padding:10px 18px 0;
  color:#4f5b79;
  border:0;
  background:transparent;
  font-size:10px;
  font-weight:800;
  letter-spacing:.02em;
}
#hero .studio-pipeline i{
  width:76px;
  height:1px;
  background:linear-gradient(90deg,#cdd4e8,#9eaae2);
}
@media(max-width:1180px){
  #hero{min-height:1280px}
  #hero .hero-copy::after{display:none}
  #hero h1{font-size:clamp(58px,7.5vw,86px)}
  #hero .hero-video-cta{grid-template-columns:minmax(0,500px) minmax(0,430px)}
}
@media(max-width:820px){
  #hero{
    min-height:auto;
    padding:120px 0 76px;
    background-position:58% top;
  }
  #hero .hero-grid{gap:0}
  #hero .hero-copy,#hero .hero-conversion,#hero .studio-window,#hero .hero-video-cta{grid-column:1;grid-row:auto}
  #hero .hero-copy{order:1}
  #hero .hero-conversion{order:2}
  #hero .studio-window{order:3}
  #hero .hero-video-cta{order:4}
  #hero h1{font-size:clamp(48px,10vw,68px);line-height:1.12}
  #hero .hero-lead{max-width:680px;font-size:15px}
  #hero .hero-points{grid-template-columns:repeat(3,1fr)}
  #hero .hero-video-cta{grid-template-columns:1fr;max-width:560px;margin-top:24px}
  #hero .studio-window{margin-top:44px;padding:10px;border-radius:28px}
  #hero .studio-window::after{right:24px;top:65px}
  #hero .hero-video{border-radius:21px}
  #hero .studio-pipeline{gap:9px}
  #hero .studio-pipeline i{width:34px}
}
@media(max-width:560px){
  #hero{padding:108px 0 64px}
  #hero::after{display:none}
  #hero .hero-kicker{min-height:36px;margin-bottom:18px;padding:7px 13px;font-size:11px}
  #hero h1{font-size:42px;line-height:1.16;letter-spacing:-.047em}
  .hero-heading-line:first-child{white-space:nowrap;font-size:.82em}
  #hero .hero-lead{font-size:14px;line-height:1.85}
  #hero .hero-points{grid-template-columns:1fr;gap:7px}
  #hero .hero-points li{min-height:38px}
  #hero .studio-window{width:calc(100% + 8px);margin-left:-4px;margin-top:36px;padding:7px;border-radius:22px}
  #hero .studio-top{min-height:36px;padding:0 7px 7px}
  #hero .studio-top>span:last-child{display:none}
  #hero .studio-status{font-size:9px}
  #hero .studio-window::after{display:none}
  #hero .hero-video{border-radius:16px}
  #hero .studio-pipeline{justify-content:space-between;min-height:42px;gap:4px;padding:7px 5px 0;font-size:8px}
  #hero .studio-pipeline i{width:12px}
}
@media(prefers-reduced-motion:reduce){
  #hero .studio-window::before{display:none}
  #hero .hero-loop-video{object-position:center}
}

/* Hero v8 — value-led product composition */
header{
  inset:14px max(18px,calc((100% - 1460px)/2)) auto;
  border-radius:20px;
  background:rgba(255,255,255,.90);
  box-shadow:0 14px 48px rgba(24,36,82,.10),inset 0 1px 0 rgba(255,255,255,.9);
}
.header-inner{height:70px;padding:0 16px}
.brand-mark{width:40px;height:40px;border-radius:12px}
.brand-name{font-size:16px}
.brand-name small{color:#77819b;font-size:9px;letter-spacing:.035em}
.header-cta{min-height:50px;padding:12px 20px}

#hero{
  min-height:880px;
  padding:146px 0 92px;
  background-color:#f7f9ff;
  background-image:
    radial-gradient(680px 500px at 88% 13%,rgba(209,191,255,.44),transparent 70%),
    radial-gradient(620px 460px at 9% 82%,rgba(190,230,255,.42),transparent 72%),
    linear-gradient(rgba(83,103,242,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(83,103,242,.035) 1px,transparent 1px),
    linear-gradient(135deg,#fbfcff 0%,#f5f7ff 50%,#faf6ff 100%);
  background-size:auto,auto,64px 64px,64px 64px,auto;
  background-position:center;
}
#hero::before{
  inset:-16% auto auto 42%;
  width:540px;
  height:540px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.86),rgba(255,255,255,0) 68%);
  mask-image:none;
}
#hero::after{
  right:-120px;
  top:190px;
  width:360px;
  height:360px;
  border:0;
  border-radius:50%;
  background:linear-gradient(145deg,rgba(93,113,239,.18),rgba(201,105,220,.14));
  box-shadow:none;
  filter:blur(2px);
}
#hero .hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,.96fr) minmax(500px,1.04fr);
  align-items:center;
  gap:56px;
}
#hero .hero-copy{
  grid-column:1;
  grid-row:1;
  max-width:620px;
}
#hero .hero-copy::after{display:none}
#hero .hero-kicker{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px 12px;
  min-height:auto;
  margin:0 0 24px;
  padding:0;
  border:0;
  border-radius:0;
  color:#53618a;
  background:transparent;
  box-shadow:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:.015em;
  backdrop-filter:none;
}
#hero .hero-kicker span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 11px;
  border:1px solid rgba(91,105,217,.2);
  border-radius:999px;
  color:#5365dc;
  background:rgba(255,255,255,.75);
  font-family:'Outfit','Noto Sans JP',sans-serif;
  font-size:9px;
  letter-spacing:.14em;
  box-shadow:0 7px 20px rgba(66,82,151,.06);
}
#hero h1{
  max-width:650px;
  margin:0 0 26px;
  color:#0e1733;
  font-size:clamp(54px,5.45vw,78px);
  line-height:1.12;
  letter-spacing:-.055em;
}
#hero .hero-heading-line{display:block}
#hero .hero-heading-line:first-child{font-size:.73em;letter-spacing:-.04em}
#hero .hero-highlight{
  display:inline-block;
  margin:0 .05em;
  padding:0;
  color:transparent;
  background:linear-gradient(100deg,#4d67ea 0%,#8b63e6 60%,#bd61cd 100%);
  -webkit-background-clip:text;
  background-clip:text;
  box-shadow:none;
}
#hero .hero-lead{
  max-width:590px;
  margin:0 0 25px;
  color:#4d5875;
  font-size:15px;
  line-height:1.95;
}
#hero .hero-lead strong{
  color:#16213f;
  background:linear-gradient(transparent 66%,rgba(178,191,255,.58) 66%);
}
#hero .hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 28px;
}
#hero .hero-points li{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:34px;
  padding:7px 10px;
  border:1px solid rgba(210,217,238,.86);
  border-radius:10px;
  color:#3d4968;
  background:rgba(255,255,255,.72);
  box-shadow:0 8px 24px rgba(46,59,112,.045);
  font-size:10px;
  font-weight:700;
  backdrop-filter:blur(8px);
}
#hero .hero-points i{
  display:grid;
  place-items:center;
  width:16px;
  height:16px;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(135deg,#5d73ee,#a66be6);
  font-size:8px;
  font-style:normal;
}
#hero .hero-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
}
#hero .hero-actions>.btn{
  min-height:58px;
  padding:15px 23px;
  border-radius:16px;
  font-size:14px;
  box-shadow:0 18px 38px rgba(74,84,180,.24);
}
#hero .hero-secondary-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#3f4c6d;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
#hero .hero-secondary-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
#hero .hero-secondary-link:hover{color:#596ce0}
#hero .hero-metrics{
  display:flex;
  gap:32px;
  margin-top:27px;
  padding-top:22px;
  border-top:1px solid rgba(193,202,227,.68);
}
#hero .hero-metrics div{display:grid;gap:1px}
#hero .hero-metrics strong{
  color:#17213f;
  font-family:'Outfit','Zen Kaku Gothic New',sans-serif;
  font-size:20px;
  line-height:1.3;
}
#hero .hero-metrics span{color:#77819b;font-size:9px;font-weight:700}

#hero .hero-product{
  position:relative;
  grid-column:2;
  grid-row:1;
  min-width:0;
}
#hero .hero-product::before{
  content:"";
  position:absolute;
  inset:8% -7% -5% 12%;
  z-index:-1;
  border-radius:44px;
  background:linear-gradient(135deg,rgba(88,105,235,.22),rgba(194,99,211,.18));
  filter:blur(38px);
}
#hero .product-shell{
  position:relative;
  overflow:hidden;
  padding:15px;
  border:1px solid rgba(255,255,255,.32);
  border-radius:31px;
  background:
    radial-gradient(440px 260px at 95% 0%,rgba(145,94,228,.32),transparent 72%),
    linear-gradient(145deg,#121b42 0%,#172252 58%,#11193d 100%);
  box-shadow:0 38px 90px rgba(24,34,83,.26),inset 0 1px 0 rgba(255,255,255,.13);
}
#hero .product-shell::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:36px 36px;
}
#hero .product-topbar{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 7px 11px;
  color:#cbd3f5;
  font-family:'Outfit','Noto Sans JP',sans-serif;
  font-size:9px;
  letter-spacing:.13em;
}
#hero .product-topbar>strong{margin-left:12px}
#hero .product-dots{display:flex;gap:5px}
#hero .product-dots i{width:6px;height:6px;border-radius:50%;background:#6271a5}
#hero .product-dots i:first-child{background:#ef8aa8}
#hero .product-dots i:nth-child(2){background:#f2c878}
#hero .product-dots i:last-child{background:#66d5ad}
#hero .product-live{display:flex;align-items:center;gap:6px;margin-left:auto;color:#aeb8e5;font-size:8px}
#hero .product-live i{width:7px;height:7px;border-radius:50%;background:#50d29d;box-shadow:0 0 0 5px rgba(80,210,157,.12)}
#hero .product-workspace{
  position:relative;
  z-index:1;
  padding:18px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  background:rgba(247,249,255,.96);
  box-shadow:inset 0 1px 0 #fff;
}
#hero .script-panel{
  padding:16px;
  border:1px solid #e3e7f3;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 30px rgba(37,49,99,.06);
}
#hero .product-label{display:flex;align-items:center;gap:7px;color:#6c7694;font-family:'Outfit',sans-serif;font-size:8px;font-weight:700;letter-spacing:.13em}
#hero .product-label span{display:grid;place-items:center;width:21px;height:21px;border-radius:7px;color:#fff;background:linear-gradient(135deg,#5d72ea,#a66be4);font-size:8px;letter-spacing:0}
#hero .script-title{display:flex;align-items:center;gap:11px;margin:13px 0 12px}
#hero .script-title svg{width:28px;height:28px;padding:6px;border-radius:9px;fill:none;stroke:#6170d7;stroke-width:1.6;background:#eef1ff}
#hero .script-title span{display:grid;line-height:1.35}
#hero .script-title small{color:#7b859f;font-size:8px;font-weight:700}
#hero .script-title b{color:#1b2542;font-size:12px}
#hero .script-lines{display:grid;gap:6px;padding:10px 11px;border-radius:10px;background:#f6f7fc}
#hero .script-lines i{height:4px;border-radius:999px;background:#dbe0ec}
#hero .script-lines i:nth-child(2){width:88%}
#hero .script-lines i:nth-child(3){width:95%}
#hero .script-lines i:nth-child(4){width:61%}
#hero .script-status{display:flex;align-items:center;margin-top:11px;color:#55705f;font-size:8px;font-weight:700}
#hero .script-status span{display:flex;align-items:center;gap:6px}
#hero .script-status span i{width:7px;height:7px;border-radius:50%;background:#44c88f}
#hero .script-status b{margin-left:auto;padding:3px 7px;border-radius:999px;color:#397b5e;background:#e8f8f0;font-family:'Outfit',sans-serif;font-size:7px;letter-spacing:.08em}
#hero .generation-flow{display:flex;align-items:center;justify-content:center;gap:8px;min-height:45px;color:#7c86a0;font-size:7px;font-weight:800}
#hero .generation-flow i{width:38px;height:1px;background:linear-gradient(90deg,#d7dcea,#9aa8e8)}
#hero .generation-flow b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#5b71ec,#a56ae4);box-shadow:0 8px 18px rgba(90,104,217,.2);font-size:10px}
#hero .output-panel{padding:15px;border:1px solid #dfe4f0;border-radius:16px;background:linear-gradient(145deg,#fff,#f6f7ff)}
#hero .output-head{display:flex;align-items:center;margin-bottom:12px}
#hero .output-head>b{margin-left:auto;color:#63709a;font-family:'Outfit',sans-serif;font-size:8px;letter-spacing:.04em}
#hero .output-grid{display:grid;grid-template-columns:minmax(0,1.45fr) .72fr .72fr;grid-template-rows:118px 53px;gap:8px}
#hero .output-main{grid-row:1/3;padding:8px;border:1px solid #dfe4ef;border-radius:12px;background:#fff}
#hero .output-visual{position:relative;overflow:hidden;height:116px;border-radius:8px;background:linear-gradient(135deg,#243464 0%,#536fe6 54%,#d485c8 100%)}
#hero .output-visual::before{content:"";position:absolute;inset:auto -8% -45% 24%;height:120px;border-radius:50%;background:rgba(255,255,255,.18)}
#hero .visual-person{position:absolute;right:17%;bottom:-9px;width:48px;height:85px;border-radius:28px 28px 12px 12px;background:linear-gradient(#f6d4c4 0 25%,#1d2a58 26%);box-shadow:0 8px 25px rgba(15,25,62,.28)}
#hero .visual-caption{position:absolute;z-index:2;left:9px;top:10px;max-width:105px;color:#fff;font-size:8px;font-weight:900;line-height:1.45}
#hero .visual-caption-line{position:absolute;z-index:2;left:9px;bottom:11px;width:58%;height:8px;border-radius:3px;background:rgba(255,255,255,.82)}
#hero .output-main>span{display:flex;align-items:center;margin-top:7px;line-height:1.3}
#hero .output-main>span b{color:#25304e;font-size:9px}
#hero .output-main>span small{margin-left:auto;color:#7d87a2;font-family:'Outfit',sans-serif;font-size:7px}
#hero .output-short{display:grid;grid-template-columns:1fr auto;align-items:end;padding:7px;border:1px solid #dfe4ef;border-radius:11px;background:#fff;line-height:1.2}
#hero .output-short>div{position:relative;grid-column:1/3;overflow:hidden;height:74px;margin-bottom:5px;border-radius:7px;background:linear-gradient(160deg,#dff0ff,#788cef)}
#hero .output-short-b>div{background:linear-gradient(160deg,#f4dffc,#b276df)}
#hero .output-short>div i{position:absolute;left:50%;bottom:-18px;width:44px;height:67px;border-radius:24px 24px 9px 9px;background:linear-gradient(#f5d8c7 0 24%,#25345f 25%);transform:translateX(-50%)}
#hero .output-short>div span{position:absolute;z-index:2;left:5px;top:6px;padding:3px 4px;border-radius:4px;color:#fff;background:rgba(15,25,59,.55);font-family:'Outfit',sans-serif;font-size:5px;letter-spacing:.08em}
#hero .output-short>b{color:#27314e;font-size:7px;white-space:nowrap}
#hero .output-short>small{color:#7f89a4;font-family:'Outfit',sans-serif;font-size:6px}
#hero .output-language{grid-column:2/4;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #dfe4ef;border-radius:11px;background:#fff;line-height:1.25}
#hero .output-language>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:#fff;background:linear-gradient(135deg,#536bea,#a969df);font-size:11px;font-weight:900}
#hero .output-language div{display:grid}
#hero .output-language b{color:#27314e;font-size:8px}
#hero .output-language small{color:#7d87a1;font-size:6px}
#hero .output-language>i{margin-left:auto;color:#6170d8;font-size:13px;font-style:normal}
#hero .product-footer{position:relative;z-index:1;display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 8px 0;color:#abb6df;font-size:7px;font-weight:700}
#hero .product-footer i{width:3px;height:3px;border-radius:50%;background:#6573a5}
#hero .product-footer strong{margin-left:auto;color:#e1e5fa;font-size:7px;letter-spacing:.02em}

@media(max-width:1180px){
  #hero{min-height:auto;padding-top:138px}
  #hero .hero-grid{grid-template-columns:minmax(0,.92fr) minmax(440px,1.08fr);gap:38px}
  #hero h1{font-size:clamp(51px,5.65vw,67px)}
  #hero .hero-lead{font-size:14px}
  #hero .hero-points li{font-size:9px}
  #hero .product-workspace{padding:15px}
}
@media(max-width:900px){
  #hero{padding:128px 0 78px}
  #hero .hero-grid{grid-template-columns:1fr;gap:46px}
  #hero .hero-copy{grid-column:1;grid-row:1;max-width:720px}
  #hero .hero-product{grid-column:1;grid-row:2;width:min(650px,100%);margin-inline:auto}
  #hero h1{max-width:720px;font-size:clamp(54px,8.5vw,76px)}
  #hero .hero-lead{max-width:670px;font-size:15px}
  #hero .hero-points{display:flex;grid-template-columns:none}
}
@media(max-width:620px){
  header{inset:8px 9px auto;border-radius:16px}
  .header-inner{height:62px;padding:0 10px}
  .brand-mark{width:36px;height:36px}
  .brand-name{font-size:14px}
  .brand-name small{font-size:8px}
  #hero{padding:102px 0 60px;background-size:auto,auto,44px 44px,44px 44px,auto}
  #hero::after{display:none}
  #hero .hero-grid{gap:35px}
  #hero .hero-kicker{margin-bottom:19px;font-size:10px}
  #hero .hero-kicker span{font-size:7px}
  #hero h1{font-size:42px;line-height:1.14;letter-spacing:-.048em}
  #hero .hero-heading-line:first-child{font-size:.72em;white-space:normal}
  #hero .hero-lead{margin-bottom:21px;font-size:13px;line-height:1.85}
  #hero .hero-points{display:grid;grid-template-columns:1fr;gap:6px;margin-bottom:22px}
  #hero .hero-points li{min-height:34px;font-size:10px}
  #hero .hero-actions{align-items:stretch;flex-direction:column;gap:12px}
  #hero .hero-actions>.btn{width:100%;min-height:56px}
  #hero .hero-secondary-link{justify-content:center;min-height:34px}
  #hero .hero-metrics{gap:24px;margin-top:22px;padding-top:18px}
  #hero .hero-metrics strong{font-size:18px}
  #hero .product-shell{padding:9px;border-radius:22px}
  #hero .product-topbar{min-height:34px;padding:0 4px 7px}
  #hero .product-workspace{padding:10px;border-radius:16px}
  #hero .script-panel{padding:12px}
  #hero .script-title b{font-size:10px}
  #hero .output-panel{padding:10px}
  #hero .output-grid{grid-template-columns:1.25fr .78fr .78fr;grid-template-rows:104px 49px;gap:5px}
  #hero .output-main{padding:6px}
  #hero .output-visual{height:102px}
  #hero .output-short{padding:5px}
  #hero .output-short>div{height:64px}
  #hero .output-language{gap:5px;padding:6px}
  #hero .output-language>span{width:24px;height:24px}
  #hero .generation-flow{min-height:39px}
  #hero .product-footer{gap:5px;font-size:6px}
  #hero .product-footer strong{display:none}
}

/* Reference videos: approved YouTube set only */
.reference-gallery{
  display:grid;
  gap:22px;
  margin-top:42px;
  padding:clamp(20px,3vw,36px);
  border:1px solid rgba(255,255,255,.94);
  border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(247,245,255,.72));
  box-shadow:0 30px 82px rgba(60,53,106,.12);
  backdrop-filter:blur(16px);
}
.reference-gallery-head{display:flex;align-items:end;justify-content:space-between;gap:24px}
.reference-gallery-head>div{display:grid;gap:5px}
.reference-gallery-head span{color:#7866e9;font-family:'Outfit',sans-serif;font-size:10px;font-weight:800;letter-spacing:.2em}
.reference-gallery-head h3{margin:0;color:#121b3d;font-size:clamp(24px,2.3vw,34px);line-height:1.2}
.reference-gallery-head p{max-width:540px;margin:0;color:#65708c;font-size:13px;line-height:1.8;text-align:right}
.reference-shorts-head{margin-top:22px;padding-top:30px;border-top:1px solid rgba(123,112,181,.16)}
.reference-wide-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.reference-wide-grid>.reference-video-card{grid-column:span 2}
.reference-short-grid{display:grid;grid-template-columns:repeat(2,minmax(210px,270px));justify-content:center;gap:22px}
.reference-video-card{
  position:relative;
  display:block;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(205,211,232,.92);
  border-radius:22px;
  color:#182040;
  background:#fff;
  box-shadow:0 14px 35px rgba(40,46,92,.1);
  text-decoration:none;
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}
.reference-video-card:hover{transform:translateY(-4px);border-color:rgba(117,101,232,.45);box-shadow:0 22px 48px rgba(54,52,112,.18)}
.reference-video-card:focus-visible{outline:3px solid rgba(108,91,230,.42);outline-offset:4px}
.reference-video-media{position:relative;display:block;overflow:hidden;aspect-ratio:16/9;background:#11172e;isolation:isolate}
.reference-video-card.is-short .reference-video-media{aspect-ratio:9/16}
.reference-video-media::after{content:"";position:absolute;z-index:2;inset:auto 0 0;height:38%;background:linear-gradient(transparent,rgba(7,11,30,.46));pointer-events:none}
.reference-video-media img,.reference-video-media video{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover}
.reference-video-media img{z-index:0;transition:transform .5s ease,filter .3s ease}
.reference-video-media video{z-index:1;pointer-events:none}
.reference-video-media video{opacity:0;transition:opacity .35s ease}
.reference-video-card:hover .reference-video-media img{transform:scale(1.025)}
.reference-video-card.is-previewing .reference-video-media video{opacity:1}
.reference-preview-badge{position:absolute;z-index:3;left:12px;bottom:11px;padding:6px 9px;border:1px solid rgba(255,255,255,.42);border-radius:999px;color:#fff;background:rgba(12,17,43,.66);backdrop-filter:blur(8px);font-family:'Outfit',sans-serif;font-size:8px;font-weight:800;letter-spacing:.1em;pointer-events:none}
.reference-gallery .reference-preview-badge{display:none}
.reference-video-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:66px;padding:14px 16px}
.reference-gallery .reference-video-meta{align-items:center;min-height:0;padding:11px 16px 12px}
.reference-video-meta b{font-size:13px;line-height:1.45;letter-spacing:.02em}
.reference-video-meta small{color:#6b63d7;font-size:10px;font-weight:800;white-space:nowrap}
.reference-video-card.is-short{border-radius:26px}
.reference-video-card.is-short .reference-video-meta{padding:15px 16px}
.reference-gallery .reference-video-card.is-short .reference-video-meta{padding:12px 16px}
.reference-thumbnails-head{margin-top:22px;padding-top:30px;border-top:1px solid rgba(123,112,181,.16)}
.reference-thumbnail-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
.reference-thumbnail-card{
  grid-column:span 4;
  min-width:0;
  overflow:hidden;
  margin:0;
  border:1px solid rgba(205,211,232,.92);
  border-radius:22px;
  color:#182040;
  background:#fff;
  box-shadow:0 14px 35px rgba(40,46,92,.1);
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}
.reference-thumbnail-card:last-child{grid-column:span 4}
.reference-thumbnail-card:hover{transform:translateY(-4px);border-color:rgba(117,101,232,.45);box-shadow:0 22px 48px rgba(54,52,112,.18)}
.reference-thumbnail-media{position:relative;display:block;overflow:hidden;aspect-ratio:16/9;background:#11172e}
.reference-thumbnail-media::after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.18);pointer-events:none}
.reference-thumbnail-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1),filter .35s ease}
.reference-thumbnail-card:hover .reference-thumbnail-media img{transform:scale(1.035);filter:saturate(1.04)}
.reference-thumbnail-card figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
.reference-thumbnail-card figcaption b{font-family:'Outfit','Zen Kaku Gothic New',sans-serif;font-size:12px;letter-spacing:.07em}
.reference-thumbnail-card figcaption small{color:#6b63d7;font-size:10px;font-weight:800;white-space:nowrap}

/* One script -> long form -> short form */
.sns-showcase-flow{display:grid;grid-template-columns:minmax(0,1.45fr) 82px minmax(260px,.55fr);gap:18px;align-items:stretch;margin:38px 0 28px;padding:26px;border:1px solid #dfe6ef;border-radius:32px;background:rgba(255,255,255,.78);box-shadow:var(--shadow-sm);backdrop-filter:blur(12px)}
.sns-showcase-step{display:flex;min-width:0;flex-direction:column;padding:26px;border:1px solid #e0e5f1;border-radius:26px;background:#fff;box-shadow:0 16px 38px rgba(35,47,101,.07)}
.sns-showcase-wide{background:linear-gradient(145deg,#fff,#f7f5ff)}
.sns-showcase-short{background:linear-gradient(145deg,#fff,#f2f8ff)}
.sns-showcase-head{display:flex;align-items:center;gap:15px;margin-bottom:22px;text-align:left}
.sns-showcase-head>span{display:grid;place-items:center;min-width:68px;height:34px;padding:0 12px;border-radius:999px;color:#fff;background:var(--grad);box-shadow:0 9px 22px rgba(91,88,216,.24);font-family:'Outfit',sans-serif;font-size:10px;font-weight:900;letter-spacing:.13em}
.sns-showcase-head>div{min-width:0}
.sns-showcase-head small{display:block;margin-bottom:3px;color:#7769df;font-family:'Outfit',sans-serif;font-size:8px;font-weight:800;letter-spacing:.13em}
.sns-showcase-head h3{margin:0;color:#111a3b;font-size:clamp(17px,1.65vw,23px);line-height:1.4}
.sns-showcase-video{width:100%;margin-block:auto;border-color:rgba(190,199,227,.95);box-shadow:0 18px 44px rgba(41,48,104,.14)}
.sns-showcase-short .sns-showcase-video{width:min(260px,100%);margin-inline:auto}
.sns-showcase-video .reference-video-meta{background:#fff}
.sns-showcase-connector{display:grid;align-content:center;justify-items:center;gap:7px;color:#667293;text-align:center}
.sns-showcase-connector span{font-size:9px;font-weight:800;letter-spacing:.06em}
.sns-showcase-connector b{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;color:#fff;background:var(--grad);box-shadow:0 14px 32px rgba(91,88,216,.28);font-size:27px;line-height:1}

@media(max-width:900px){
  .sns-showcase-flow{grid-template-columns:1fr;padding:20px}
  .sns-showcase-connector{grid-template-columns:auto auto auto;align-items:center;justify-content:center}
  .sns-showcase-connector b{width:46px;height:46px;transform:rotate(90deg);font-size:22px}
  .sns-showcase-short .sns-showcase-video{width:min(300px,100%)}
  .reference-wide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reference-wide-grid>.reference-video-card,
  .reference-wide-grid>.reference-video-card:nth-last-child(2),
  .reference-wide-grid>.reference-video-card:last-child{grid-column:auto}
  .reference-thumbnail-card{grid-column:span 6}
  .reference-thumbnail-card:last-child{grid-column:4/span 6}
  .reference-gallery-head{align-items:start;flex-direction:column;gap:8px}
  .reference-gallery-head p{text-align:left}
}
@media(max-width:560px){
  #results.proof-stage{padding-bottom:34px}
  #image-animation{padding-top:44px}
  .sns-showcase-flow{gap:14px;margin-top:28px;padding:12px;border-radius:24px}
  .sns-showcase-step{padding:17px;border-radius:20px}
  .sns-showcase-head{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:16px}
  .sns-showcase-head>span{min-width:62px;height:30px}
  .sns-showcase-short .sns-showcase-video{width:min(250px,100%)}
  .reference-gallery{gap:17px;margin-top:30px;padding:15px;border-radius:25px}
  .reference-wide-grid{grid-template-columns:1fr;gap:14px}
  .reference-short-grid{grid-template-columns:1fr;gap:16px;width:min(260px,100%);margin-inline:auto}
  .reference-video-card{border-radius:18px}
  .reference-gallery-head p{font-size:12px}
  .reference-shorts-head{margin-top:10px;padding-top:23px}
  .reference-thumbnails-head{margin-top:10px;padding-top:23px}
  .reference-thumbnail-grid{display:flex;gap:14px;overflow-x:auto;padding:0 1px 5px;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none}
  .reference-thumbnail-grid::-webkit-scrollbar{display:none}
  .reference-thumbnail-card,.reference-thumbnail-card:last-child{flex:0 0 74vw;scroll-snap-align:start;border-radius:18px}
  .reference-thumbnail-card figcaption{padding:12px 14px}
}

/* Hero headline — editorial infrastructure direction */
#hero{
  min-height:820px;
  overflow:hidden;
  background-color:#f8fbff;
  background-image:radial-gradient(620px 420px at 82% 38%,rgba(82,165,236,.14),transparent 72%),linear-gradient(rgba(67,115,195,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(67,115,195,.055) 1px,transparent 1px);
  background-size:auto,52px 52px,52px 52px;
  background-position:center,center,center;
}
#hero::before{background:radial-gradient(520px 360px at 6% 78%,rgba(98,123,245,.1),transparent 72%);mask-image:none}
#hero::after{display:none}
#hero .hero-kicker{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 14px;
  margin:0 0 25px;
  color:#52617d;
  font-family:'Outfit','Noto Sans JP',sans-serif;
}
#hero .hero-kicker::before{content:"";width:34px;height:2px;background:#2875ec}
#hero .hero-kicker span{
  display:inline;
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  color:#2467e8;
  background:transparent;
  box-shadow:none;
  font-size:10px;
  font-weight:900;
  letter-spacing:.19em;
}
#hero .hero-kicker em{color:#63718b;font-family:'Noto Sans JP',sans-serif;font-size:10px;font-style:normal;font-weight:800;letter-spacing:.04em}
#hero h1{
  max-width:660px;
  margin:0 0 28px;
  color:#07152c;
  font-size:clamp(58px,5.35vw,78px);
  font-weight:900;
  line-height:1.08;
  letter-spacing:-.06em;
}
#hero .hero-heading-line:first-child{font-size:1em;letter-spacing:-.06em}
#hero .hero-heading-line:last-child{white-space:nowrap}
#hero .hero-highlight{
  display:inline;
  margin:0 .02em 0 0;
  color:transparent;
  background:linear-gradient(100deg,#276cf0 0%,#1b8de3 50%,#19b3ca 100%);
  -webkit-background-clip:text;
  background-clip:text;
}
#hero .hero-lead{max-width:610px;color:#465573;font-size:15px;line-height:1.9}
#hero .hero-lead strong{color:#156fdc;background:linear-gradient(transparent 68%,rgba(64,173,228,.2) 68%)}

@media(max-width:900px){
  #hero{min-height:auto;background-size:auto,46px 46px,46px 46px}
  #hero .hero-copy{max-width:760px}
  #hero h1{max-width:760px;font-size:clamp(56px,9vw,76px)}
}
@media(max-width:620px){
  #hero{background-size:auto,38px 38px,38px 38px}
  #hero .hero-kicker{gap:6px 10px;margin-bottom:18px}
  #hero .hero-kicker::before{width:24px}
  #hero .hero-kicker span{font-size:8px;letter-spacing:.14em}
  #hero .hero-kicker em{font-size:9px}
  #hero h1{font-size:clamp(42px,12.7vw,56px);line-height:1.1}
  #hero .hero-heading-line:last-child{white-space:normal}
}

/* Hero -> proof: immediate showcase transition */
#hero{padding-bottom:22px}
#results.proof-stage{padding-top:32px}
#results.proof-stage .section-head.center{margin-bottom:26px}
#results.proof-stage .section-title{margin-bottom:0}
@media(max-width:900px){
  #hero{padding-bottom:18px}
  #results.proof-stage{padding-top:28px}
  #results.proof-stage .section-head.center{margin-bottom:22px}
}
@media(max-width:620px){
  #hero{padding-bottom:14px}
  #results.proof-stage{padding-top:24px}
  #results.proof-stage .section-head.center{margin-bottom:18px}
}

/* Hero — clean 16:9 YouTube preview */
#hero .product-shell[hidden]{display:none!important}
#hero .hero-product{align-self:center}
#hero .hero-youtube-preview{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border:0;
  border-radius:24px;
  background:transparent;
  box-shadow:0 24px 65px rgba(31,43,94,.2);
}
#hero .hero-youtube-preview .reference-video-media{aspect-ratio:16/9}
#hero .hero-head-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#0d1736;
  transform:scale(1.001);
  transition:transform .72s cubic-bezier(.2,.72,.2,1),filter .55s ease;
}
#hero .hero-youtube-preview:hover .hero-head-video{
  transform:scale(1.032);
  filter:saturate(1.055) contrast(1.025);
}
#hero .hero-audio-toggle{
  position:absolute;
  z-index:4;
  left:14px;
  top:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:9px 14px;
  color:#fff;
  border:1px solid rgba(255,255,255,.62);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(20,29,67,.88),rgba(72,57,131,.88));
  box-shadow:0 9px 28px rgba(4,9,28,.3),0 0 0 3px rgba(123,105,242,.1);
  backdrop-filter:blur(12px) saturate(1.18);
  cursor:pointer;
  font:800 11px/1 'Zen Kaku Gothic New',sans-serif;
  letter-spacing:.035em;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
#hero .hero-audio-toggle::after{
  content:"";
  position:absolute;
  inset:-5px;
  border:1px solid rgba(139,118,245,.5);
  border-radius:inherit;
  pointer-events:none;
  animation:heroAudioAttention 2.8s ease-out infinite;
}
@keyframes heroAudioAttention{
  0%,58%,100%{transform:scale(1);opacity:0}
  68%{opacity:.55}
  88%{transform:scale(1.08);opacity:0}
}
#hero .hero-audio-toggle:hover{transform:translateY(-2px);background:rgba(8,15,40,.9)}
#hero .hero-audio-toggle:focus-visible{outline:3px solid rgba(132,109,242,.45);outline-offset:3px}
#hero .hero-audio-toggle.is-on{border-color:rgba(255,255,255,.7);background:linear-gradient(135deg,rgba(77,102,238,.94),rgba(167,82,218,.94))}
#hero .hero-audio-toggle.is-on::after{animation:none;opacity:0}
#hero .hero-audio-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:620px){#hero .hero-youtube-preview{border-radius:18px}}
@media(max-width:620px){#hero .hero-audio-toggle{left:10px;top:10px;min-height:36px;padding:8px 12px;font-size:10px}}
@media(prefers-reduced-motion:reduce){
  #hero .hero-head-video{transition:none}
  #hero .hero-youtube-preview:hover .hero-head-video{transform:none}
  #hero .hero-audio-toggle::after{animation:none;opacity:0}
}

/* Explore hub — visual cards */
#details-hub .details-card{
  display:flex;
  min-height:0;
  flex-direction:column;
  overflow:hidden;
  padding:16px 18px 18px;
}
#details-hub .details-visual{
  position:relative;
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  flex:0 0 auto;
  overflow:hidden;
  margin:0 0 15px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:20px;
  background:#dfe6f7;
  box-shadow:0 14px 30px rgba(36,49,101,.11);
}
#details-hub .details-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(7,16,43,.03) 28%,rgba(7,16,43,.72) 100%);
}
#details-hub .details-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .35s ease;
}
#details-hub .details-visual-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .35s ease;
}
#details-hub .details-card:hover .details-visual img{transform:scale(1.07)}
#details-hub .details-card:hover .details-visual-video{transform:scale(1.07)}
#details-hub .details-visual-icon{
  position:absolute;
  z-index:2;
  top:12px;
  left:12px;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:12px;
  color:#fff;
  background:rgba(18,28,65,.55);
  box-shadow:0 8px 18px rgba(10,17,46,.2);
  backdrop-filter:blur(9px);
  transition:transform .35s ease,background .35s ease;
}
#details-hub .details-card:hover .details-visual-icon{transform:translateY(-2px) rotate(-3deg);background:rgba(91,88,216,.82)}
#details-hub .details-visual-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#details-hub .details-card-gallery .details-visual-icon svg{fill:currentColor;stroke:none}
#details-hub .details-visual-icon.is-text{font-family:'Outfit',sans-serif;font-size:18px;font-weight:900}
#details-hub .details-visual-copy{
  position:absolute;
  z-index:2;
  left:14px;
  bottom:12px;
  color:#fff;
  font-family:'Outfit',sans-serif;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  text-shadow:0 2px 12px rgba(7,16,43,.5);
}
#details-hub .details-card-sns .details-visual img{object-position:center 28%}
#details-hub .details-card-support .details-visual img{object-position:center 45%}
#details-hub .details-card .details-no{margin-bottom:9px}
#details-hub .details-card h3{margin-bottom:8px;font-size:20px}
#details-hub .details-card p{margin-bottom:15px;padding-bottom:0}
#details-hub .details-card b{
  position:static;
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:46px;
  margin-top:auto;
  padding:11px 14px;
  border:1px solid rgba(128,156,255,.26);
  border-radius:13px;
  color:#eef3ff;
  background:linear-gradient(135deg,rgba(72,100,214,.2),rgba(137,82,210,.16));
  font-size:15px;
  line-height:1.35;
  transition:border-color .25s,background .25s,transform .25s;
}
#details-hub .details-card b::after{
  content:"→";
  margin-left:12px;
  font-family:'Outfit',sans-serif;
  font-size:18px;
  line-height:1;
  transition:transform .25s;
}
#details-hub .details-card:hover b,
#details-hub .details-card:focus-visible b{
  border-color:rgba(139,169,255,.55);
  background:linear-gradient(135deg,rgba(78,110,236,.32),rgba(153,83,222,.26));
}
#details-hub .details-card:hover b::after,
#details-hub .details-card:focus-visible b::after{transform:translateX(4px)}
#details-hub .details-card:focus-visible{
  outline:3px solid rgba(117,154,255,.72);
  outline-offset:4px;
}

@media(max-width:820px){
  #details-hub .details-card{min-height:0}
  #details-hub .details-visual{height:auto}
}
@media(max-width:560px){
  #details-hub .details-card{min-height:0;padding:14px 14px 16px}
  #details-hub .details-visual{height:auto;margin-bottom:14px;border-radius:17px}
  #details-hub .details-card b{min-height:48px;padding:12px 13px;font-size:15px}
}

/* Capabilities — generated image thumbnails */
#capabilities .style-grid-six .style-visual{
  height:auto;
  aspect-ratio:16/9;
  background:#eaf1fb;
}
#capabilities .style-visual::before{display:none}
#capabilities .style-visual-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .35s ease;
}
#capabilities .style-card:hover .style-visual-image{transform:scale(1.045);filter:saturate(1.04)}
#capabilities .visual-slot-note{left:14px;bottom:14px;max-width:205px}

@media(max-width:560px){
  #capabilities .style-grid-six .style-visual{height:auto;aspect-ratio:16/9}
  #capabilities .visual-slot-note{left:12px;bottom:12px;max-width:190px;padding:10px 12px}
}

/* Hero 10-minute edition — reference-led conversion hero */
#hero.hero-10min{
  min-height:0;
  overflow:hidden;
  padding:132px 0 58px;
  background-color:#eef6ff;
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.95) 38%,rgba(246,250,255,.8) 69%,rgba(235,245,255,.62) 100%),
    linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(238,246,255,.08) 54%,#eef6ff 69%,#eef6ff 100%),
    url("../assets/hero/onestep-hero-10min-bg-v1.jpg");
  background-repeat:no-repeat;
  background-size:max(100%,1480px) auto,max(100%,1480px) 1050px,max(100%,1480px) auto;
  background-position:center top,center top,center top;
}
#hero.hero-10min::before{
  inset:0;
  width:100%;
  height:880px;
  border-radius:0;
  background:
    radial-gradient(480px 350px at 51% 42%,rgba(71,142,255,.12),transparent 72%),
    linear-gradient(180deg,transparent 65%,rgba(238,246,255,.96) 100%);
}
#hero.hero-10min::after{display:none}
#hero.hero-10min .hero-grid{
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(400px,.82fr);
  column-gap:48px;
  row-gap:0;
  align-items:center;
}
#hero.hero-10min .hero-copy{
  position:relative;
  z-index:2;
  grid-column:1;
  grid-row:1;
  width:min(100%,620px);
  max-width:none;
  min-height:0;
  padding:0;
}
#hero.hero-10min .hero-kicker-10min{
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 18px;
  padding:0;
  border:0;
  color:#23345d;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
#hero.hero-10min .hero-kicker-10min::before{
  content:"";
  display:block;
  width:34px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#2968ff,#46c8e9);
}
#hero.hero-10min .hero-kicker-10min span{
  min-height:0;
  padding:0;
  border:0;
  color:#2561ec;
  background:transparent;
  box-shadow:none;
  font-size:10px;
  letter-spacing:.17em;
}
#hero.hero-10min .hero-kicker-10min em{
  color:#4f5f7d;
  font-size:10px;
  font-style:normal;
  font-weight:800;
  letter-spacing:.045em;
}
#hero.hero-10min .hero-10min-title{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  max-width:none;
  margin:0;
  color:#08152f;
  font-family:'Zen Kaku Gothic New','Noto Sans JP',sans-serif;
  line-height:.92;
  letter-spacing:-.075em;
  text-shadow:0 2px 0 rgba(255,255,255,.88),0 14px 36px rgba(25,62,135,.08);
}
#hero.hero-10min .hero-10min-intro{
  font-size:clamp(54px,5vw,76px);
  font-weight:900;
}
#hero.hero-10min .hero-10min-time{
  display:flex;
  align-items:flex-end;
  margin:-2px 0 -7px -8px;
  color:#1267f5;
  font-style:normal;
  line-height:.9;
  white-space:nowrap;
}
#hero.hero-10min .hero-10min-time strong{
  color:#176df6;
  background:none;
  -webkit-text-fill-color:#176df6;
  font-family:'Outfit','Zen Kaku Gothic New',sans-serif;
  font-size:clamp(112px,10.4vw,158px);
  font-weight:800;
  letter-spacing:-.105em;
}
#hero.hero-10min .hero-10min-time em{
  margin:0 4px 14px 8px;
  color:#1768e9;
  font-size:clamp(49px,4.4vw,66px);
  font-style:normal;
  font-weight:900;
  letter-spacing:-.1em;
}
#hero.hero-10min .hero-10min-time b{
  margin:0 0 15px;
  color:#0b1732;
  font-size:clamp(42px,3.8vw,57px);
  font-weight:900;
  letter-spacing:-.12em;
}
#hero.hero-10min .hero-10min-finish{
  color:#08152f;
  font-size:clamp(68px,6.4vw,96px);
  font-weight:900;
}
#hero.hero-10min .hero-no-need{
  display:flex;
  align-items:center;
  gap:10px;
  margin:25px 0 19px;
}
#hero.hero-10min .hero-no-need li{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:8px 13px;
  border:1px solid rgba(94,123,190,.2);
  border-radius:10px;
  color:#1e315a;
  background:rgba(255,255,255,.86);
  box-shadow:0 8px 24px rgba(40,78,151,.08),inset 0 1px 0 #fff;
  font-size:11px;
  font-weight:900;
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
#hero.hero-10min .hero-no-need i{
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  border:1px solid rgba(59,110,230,.24);
  border-radius:50%;
  color:#356fe7;
  font-size:10px;
  font-style:normal;
}
#hero.hero-10min .hero-sales-copy{
  margin:0;
  color:#101c38;
  font-size:clamp(20px,1.9vw,28px);
  font-weight:900;
  letter-spacing:-.04em;
}
#hero.hero-10min .hero-sales-copy span{color:#1c65eb}
#hero.hero-10min .hero-resource-copy{
  margin:5px 0 16px;
  color:#243553;
  font-size:15px;
  font-weight:700;
}
#hero.hero-10min .hero-ribbon-copy{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  margin:0 0 9px;
  padding:6px 34px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(90deg,#584be0,#1f74f4 74%,#28a8f2);
  box-shadow:0 10px 24px rgba(45,91,220,.2);
  font-size:11px;
  font-weight:800;
  letter-spacing:.025em;
}
#hero.hero-10min .hero-system-title{
  margin:0;
  color:#205ee2;
  font-size:clamp(24px,2.15vw,32px);
  font-weight:900;
  letter-spacing:.07em;
}
#hero.hero-10min .hero-side{
  position:relative;
  z-index:3;
  grid-column:2;
  grid-row:1;
  align-self:center;
  display:grid;
  gap:18px;
  width:100%;
}
#hero.hero-10min .hero-product{
  position:relative;
  z-index:3;
  grid-column:auto;
  grid-row:auto;
  align-self:auto;
  width:min(100%,470px);
  margin:0 auto;
}
#hero.hero-10min .hero-product::before{
  inset:7% 2% -8%;
  border-radius:45px;
  background:linear-gradient(135deg,rgba(58,109,238,.24),rgba(136,92,233,.17));
  filter:blur(42px);
}
#hero.hero-10min .hero-youtube-preview{
  border:1px solid rgba(255,255,255,.94);
  border-radius:24px;
  background:#0b1430;
  box-shadow:0 28px 70px rgba(33,61,132,.22),0 0 0 7px rgba(255,255,255,.5);
}
#hero.hero-10min .hero-10min-actions{
  position:relative;
  z-index:4;
  grid-column:auto;
  grid-row:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  width:min(100%,470px);
  margin:0 auto;
}
#hero.hero-10min .hero-app-cta,
#hero.hero-10min .hero-document-cta{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:15px;
  min-height:76px;
  padding:13px 17px;
  border:2px solid rgba(255,255,255,.92);
  border-radius:21px;
  color:#fff;
  box-shadow:0 22px 48px rgba(24,73,170,.22),inset 0 1px 0 rgba(255,255,255,.36);
  transition:transform .25s ease,box-shadow .25s ease,filter .25s ease;
}
#hero.hero-10min .hero-app-cta{background:linear-gradient(135deg,#645cff,#8f4ce8)}
#hero.hero-10min .hero-document-cta{background:linear-gradient(135deg,#2f80ff,#254ae6)}
#hero.hero-10min .hero-app-cta:hover,
#hero.hero-10min .hero-document-cta:hover{
  color:#fff;
  transform:translateY(-4px);
  filter:saturate(1.06);
  box-shadow:0 28px 58px rgba(24,73,170,.29),inset 0 1px 0 rgba(255,255,255,.4);
}
#hero.hero-10min .hero-cta-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:14px;
  color:inherit;
  background:rgba(255,255,255,.16);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
#hero.hero-10min .hero-line-icon{
  border-radius:50%;
  background:#fff;
  color:#08bc52;
  font-family:'Outfit',sans-serif;
  font-size:12px;
  font-weight:900;
}
#hero.hero-10min .hero-app-icon svg,
#hero.hero-10min .hero-document-icon svg{
  width:27px;
  height:27px;
}
#hero.hero-10min .hero-app-icon svg{
  fill:currentColor;
  stroke:none;
}
#hero.hero-10min .hero-document-icon svg{
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#hero.hero-10min .hero-10min-actions b{
  font-size:20px;
  line-height:1.35;
  letter-spacing:.015em;
}
#hero.hero-10min .hero-10min-actions>a>i{
  font-family:'Outfit',sans-serif;
  font-size:38px;
  font-style:normal;
  font-weight:300;
  line-height:1;
}

@media(max-width:980px){
  #hero.hero-10min{
    padding-top:118px;
    background-image:
      linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 44%,rgba(240,248,255,.44) 72%),
      linear-gradient(180deg,rgba(255,255,255,0) 0%,#eef6ff 65%,#eef6ff 100%),
      url("../assets/hero/onestep-hero-10min-bg-v1-md.jpg");
    background-size:1320px auto,1320px 1000px,1320px auto;
    background-position:58% top,center top,58% top;
  }
  #hero.hero-10min .hero-grid{grid-template-columns:minmax(0,1fr) minmax(350px,.76fr);column-gap:30px}
  #hero.hero-10min .hero-copy{min-height:0}
  #hero.hero-10min .hero-side{width:min(100%,420px)}
  #hero.hero-10min .hero-product{width:100%}
}

@media(max-width:840px){
  #hero.hero-10min .hero-grid{grid-template-columns:1fr;gap:0}
  #hero.hero-10min .hero-copy{grid-column:1;grid-row:1;width:min(100%,620px)}
  #hero.hero-10min .hero-side{grid-column:1;grid-row:2;width:min(100%,520px);margin:28px auto 0}
  #hero.hero-10min .hero-product{width:100%;margin:0}
  #hero.hero-10min .hero-10min-actions{width:100%;margin:0}
}

@media(max-width:680px){
  #hero.hero-10min{
    padding:102px 0 56px;
    background-image:
      linear-gradient(180deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.89) 37%,rgba(238,246,255,.92) 59%,#eef6ff 72%),
      url("../assets/hero/onestep-hero-10min-bg-v1-sm.jpg");
    background-size:100% 890px,1120px auto;
    background-position:center top,64% top;
  }
  #hero.hero-10min::before{height:780px;opacity:.65}
  #hero.hero-10min .hero-copy{width:100%;min-height:0;padding:0 0 25px}
  #hero.hero-10min .hero-kicker-10min{gap:7px;margin-bottom:16px}
  #hero.hero-10min .hero-kicker-10min::before{width:23px}
  #hero.hero-10min .hero-kicker-10min span{font-size:8px}
  #hero.hero-10min .hero-kicker-10min em{font-size:8px}
  #hero.hero-10min .hero-10min-intro{font-size:48px}
  #hero.hero-10min .hero-10min-time{margin:1px 0 -3px -4px}
  #hero.hero-10min .hero-10min-time strong{font-size:102px}
  #hero.hero-10min .hero-10min-time em{margin:0 3px 9px 8px;font-size:42px}
  #hero.hero-10min .hero-10min-time b{margin-bottom:10px;font-size:37px}
  #hero.hero-10min .hero-10min-finish{font-size:61px}
  #hero.hero-10min .hero-no-need{gap:6px;margin:21px 0 17px}
  #hero.hero-10min .hero-no-need li{gap:5px;min-height:34px;padding:7px 9px;font-size:9px}
  #hero.hero-10min .hero-no-need i{width:17px;height:17px;font-size:8px}
  #hero.hero-10min .hero-sales-copy{font-size:19px}
  #hero.hero-10min .hero-resource-copy{font-size:12px}
  #hero.hero-10min .hero-ribbon-copy{max-width:100%;padding:6px 18px;font-size:9px}
  #hero.hero-10min .hero-system-title{font-size:21px;letter-spacing:.045em}
  #hero.hero-10min .hero-product{margin-top:0}
  #hero.hero-10min .hero-youtube-preview{border-radius:18px;box-shadow:0 22px 50px rgba(33,61,132,.22),0 0 0 5px rgba(255,255,255,.5)}
  #hero.hero-10min .hero-10min-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:34px}
  #hero.hero-10min .hero-app-cta,
  #hero.hero-10min .hero-document-cta{gap:9px;min-height:72px;padding:11px 12px;border-radius:18px}
  #hero.hero-10min .hero-cta-icon{width:38px;height:38px;border-radius:12px}
  #hero.hero-10min .hero-line-icon{border-radius:50%;font-size:9px}
  #hero.hero-10min .hero-document-icon svg{width:22px;height:22px}
  #hero.hero-10min .hero-10min-actions b{font-size:13px}
  #hero.hero-10min .hero-10min-actions>a>i{font-size:28px}
}

@media(max-width:390px){
  #hero.hero-10min .hero-10min-intro{font-size:43px}
  #hero.hero-10min .hero-10min-time strong{font-size:90px}
  #hero.hero-10min .hero-10min-time em{font-size:37px}
  #hero.hero-10min .hero-10min-time b{font-size:32px}
  #hero.hero-10min .hero-10min-finish{font-size:55px}
  #hero.hero-10min .hero-sales-copy{font-size:17px}
  #hero.hero-10min .hero-10min-actions b{font-size:14px}
}

/* Hero cinematic wall — reference videos as the background */
#hero.hero-10min{
  isolation:isolate;
  z-index:1;
  overflow:visible;
  color:#fff;
  background:#050914;
}
#hero.hero-10min::before{
  z-index:0;
  height:100%;
  opacity:1;
  background:
    linear-gradient(90deg,rgba(3,7,18,.97) 0%,rgba(3,7,18,.92) 31%,rgba(3,7,18,.72) 58%,rgba(3,7,18,.46) 100%),
    linear-gradient(180deg,rgba(3,7,18,.48) 0%,transparent 27%,rgba(3,7,18,.18) 63%,#050914 100%);
}
#hero.hero-10min .hero-cinema-wall{
  position:absolute;
  z-index:-1;
  inset:0 0 -250px;
  overflow:hidden;
  background:#050914;
  pointer-events:none;
}
#hero.hero-10min .hero-cinema-track{
  position:absolute;
  left:-18vw;
  top:50%;
  width:136vw;
  height:auto;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  grid-template-rows:repeat(5,auto);
  gap:10px;
  transform:translateY(-50%) perspective(1350px) rotateX(5.8deg) rotateY(-6.4deg) rotateZ(3.2deg) scale(.88) translate3d(5%,5%,0);
  transform-origin:center;
  animation:heroCinemaDrift 10s linear infinite alternate;
  filter:brightness(1.07);
  will-change:transform,opacity;
}
#hero.hero-10min .hero-cinema-tile{
  position:relative;
  min-width:0;
  aspect-ratio:16/9;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  background:#111827;
  box-shadow:0 22px 48px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.13);
}
#hero.hero-10min .hero-cinema-tile:nth-child(n+8):nth-child(-n+14){transform:translateX(2.5%)}
#hero.hero-10min .hero-cinema-tile:nth-child(n+15):nth-child(-n+21){transform:translateX(-1.5%)}
#hero.hero-10min .hero-cinema-tile:nth-child(n+22):nth-child(-n+28){transform:translateX(1.8%)}
#hero.hero-10min .hero-cinema-tile:nth-child(n+29){transform:translateX(-2.2%)}
#hero.hero-10min .hero-cinema-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.92) contrast(1.07) brightness(.72);
  transform:scale(1.015);
}
#hero.hero-10min .hero-cinema-tile.is-short .hero-cinema-video{
  object-fit:contain;
  transform:none;
  background:linear-gradient(135deg,#0a1024,#171334);
}
#hero.hero-10min .hero-cinema-tile.is-thumbnail img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.96) contrast(1.06) brightness(.76);
  transform:scale(1.012);
}
#hero.hero-10min .hero-cinema-tile.is-thumbnail{
  border-color:rgba(142,178,255,.31);
  box-shadow:0 22px 48px rgba(0,0,0,.44),0 0 0 1px rgba(117,157,255,.08),inset 0 1px 0 rgba(255,255,255,.16);
}
#hero.hero-10min .hero-cinema-tile::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(145deg,rgba(79,105,238,.08),rgba(9,13,32,.05) 50%,rgba(150,72,194,.12));
}
@keyframes heroCinemaDrift{
  from{transform:translateY(-50%) perspective(1350px) rotateX(5.8deg) rotateY(-6.4deg) rotateZ(3.2deg) scale(.88) translate3d(5%,5%,0)}
  to{transform:translateY(-50%) perspective(1350px) rotateX(5.8deg) rotateY(-6.4deg) rotateZ(3.2deg) scale(.88) translate3d(-5%,-5%,0)}
}
#hero.hero-10min .hero-grid{z-index:2}
#hero.hero-10min .hero-kicker-10min{color:#d6def5}
#hero.hero-10min .hero-kicker-10min span{color:#7ba9ff}
#hero.hero-10min .hero-kicker-10min em{color:#c3cee9}
#hero.hero-10min .hero-10min-title{
  color:#fff;
  line-height:.96;
  letter-spacing:-.06em;
  text-shadow:0 3px 22px rgba(0,0,0,.48);
}
#hero.hero-10min .hero-10min-intro{font-size:clamp(52px,4.55vw,68px);letter-spacing:-.055em}
#hero.hero-10min .hero-10min-time{margin:2px 0 -2px 0;align-items:baseline;line-height:.9}
#hero.hero-10min .hero-10min-time strong{font-size:clamp(104px,8.7vw,132px);letter-spacing:-.075em}
#hero.hero-10min .hero-10min-time em{margin:0 8px 0 7px;font-size:clamp(43px,3.9vw,58px);letter-spacing:-.08em}
#hero.hero-10min .hero-10min-time b{margin:0;font-size:clamp(38px,3.35vw,50px);letter-spacing:-.08em}
#hero.hero-10min .hero-10min-finish{font-size:clamp(62px,5.45vw,82px);letter-spacing:-.06em}
#hero.hero-10min .hero-10min-time b,
#hero.hero-10min .hero-10min-finish{color:#fff}
#hero.hero-10min .hero-10min-time strong,
#hero.hero-10min .hero-10min-time em{
  color:#4e9cff;
  -webkit-text-fill-color:#4e9cff;
  text-shadow:0 8px 34px rgba(43,121,255,.28);
}
#hero.hero-10min .hero-10min-intro{
  font-size:clamp(48px,4.15vw,62px);
}
#hero.hero-10min .hero-10min-complete{
  display:flex;
  align-items:baseline;
  flex-wrap:nowrap;
  margin-top:14px;
  white-space:nowrap;
  line-height:.86;
}
#hero.hero-10min .hero-10min-complete strong{
  color:#4e9cff;
  -webkit-text-fill-color:#4e9cff;
  font-size:clamp(82px,7.45vw,108px);
  letter-spacing:-.075em;
  text-shadow:0 8px 34px rgba(43,121,255,.28);
}
#hero.hero-10min .hero-10min-complete em{
  margin:0 7px 0 8px;
  color:#4e9cff;
  -webkit-text-fill-color:#4e9cff;
  font-size:clamp(36px,3.2vw,46px);
  font-style:normal;
  font-weight:900;
  letter-spacing:-.08em;
  text-shadow:0 8px 34px rgba(43,121,255,.22);
}
#hero.hero-10min .hero-10min-complete b{
  color:#fff;
  font-size:clamp(50px,4.5vw,66px);
  letter-spacing:-.075em;
}
#hero.hero-10min .hero-coverage-copy{
  margin:36px 0 0;
  color:#f5f7ff;
  font-size:clamp(16px,1.45vw,20px);
  font-weight:900;
  letter-spacing:-.035em;
  line-height:1.48;
  text-shadow:0 3px 18px rgba(0,0,0,.42);
}
#hero.hero-10min .hero-coverage-copy span{color:#70adff}
#hero.hero-10min .hero-price-copy{
  margin:22px 0 0;
  color:#fff;
  font-size:clamp(18px,1.65vw,23px);
  font-weight:900;
  letter-spacing:-.035em;
  text-shadow:0 3px 18px rgba(0,0,0,.42);
}
#hero.hero-10min .hero-price-copy strong{color:#7bb3ff}
#hero.hero-10min .hero-brand-logo{
  display:none;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.64);
  background:rgba(255,255,255,.91);
  box-shadow:0 16px 38px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.86);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
#hero.hero-10min .hero-brand-logo img{width:100%;height:auto}
html[data-hero-logo="price"] #hero.hero-10min .hero-brand-logo-price,
html[data-hero-logo="kicker"] #hero.hero-10min .hero-brand-logo-kicker{display:flex}
#hero.hero-10min .hero-brand-logo-price{
  width:min(310px,72%);
  margin-top:26px;
  padding:11px 17px;
  border-radius:18px;
}
#hero.hero-10min .hero-brand-logo-kicker{
  width:min(250px,64%);
  margin:17px 0 24px;
  padding:9px 14px;
  border-radius:16px;
}
#hero.hero-10min .hero-no-need li{
  color:#f2f6ff;
  border-color:rgba(255,255,255,.22);
  background:rgba(10,17,40,.62);
  box-shadow:0 13px 34px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.1);
}
#hero.hero-10min .hero-no-need i{color:#83b0ff;border-color:rgba(125,171,255,.5)}
#hero.hero-10min .hero-sales-copy{color:#fff}
#hero.hero-10min .hero-sales-copy span{color:#68a9ff}
#hero.hero-10min .hero-resource-copy{color:#d5dff3}
#hero.hero-10min .hero-ribbon-copy{
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(90deg,rgba(91,73,224,.9),rgba(31,116,244,.9) 74%,rgba(40,168,242,.88));
  box-shadow:0 12px 34px rgba(7,14,38,.35);
}
#hero.hero-10min .hero-system-title{color:#7bb3ff;text-shadow:0 8px 28px rgba(29,101,226,.24)}
#hero.hero-10min .hero-youtube-preview{
  border-color:rgba(255,255,255,.38);
  box-shadow:0 30px 84px rgba(0,0,0,.48),0 0 0 7px rgba(255,255,255,.11);
}

@media(max-width:980px){
  #hero.hero-10min{background:#050914}
  #hero.hero-10min .hero-cinema-track{left:-27vw;width:154vw;gap:9px}
}
@media(max-width:840px){
  #hero.hero-10min::before{
    background:
      linear-gradient(180deg,rgba(3,7,18,.91) 0%,rgba(3,7,18,.8) 47%,rgba(3,7,18,.67) 72%,#050914 100%),
      linear-gradient(90deg,rgba(3,7,18,.78),rgba(3,7,18,.43));
  }
  #hero.hero-10min .hero-cinema-track{left:-54vw;width:208vw;opacity:.84}
}
@media(max-width:680px){
  #hero.hero-10min{background:#050914}
  #hero.hero-10min .hero-cinema-track{
    left:-112vw;
    width:324vw;
    gap:8px;
    opacity:.8;
  }
  #hero.hero-10min .hero-cinema-tile{border-radius:12px}
  #hero.hero-10min .hero-copy{padding-bottom:16px}
  #hero.hero-10min .hero-10min-intro{font-size:45px}
  #hero.hero-10min .hero-10min-time{margin-left:0}
  #hero.hero-10min .hero-10min-time strong{font-size:88px}
  #hero.hero-10min .hero-10min-time em{margin-inline:4px 6px;font-size:36px}
  #hero.hero-10min .hero-10min-time b{font-size:32px}
  #hero.hero-10min .hero-10min-finish{font-size:55px}
  #hero.hero-10min .hero-10min-intro{font-size:43px}
  #hero.hero-10min .hero-10min-complete{margin-top:12px}
  #hero.hero-10min .hero-10min-complete strong{font-size:72px}
  #hero.hero-10min .hero-10min-complete em{margin-inline:5px 6px;font-size:29px}
  #hero.hero-10min .hero-10min-complete b{font-size:46px}
  #hero.hero-10min .hero-coverage-copy{margin-top:28px;font-size:14px;line-height:1.55}
  #hero.hero-10min .hero-price-copy{margin-top:18px;font-size:17px}
  #hero.hero-10min .hero-brand-logo-price{width:min(280px,80%);margin-top:22px}
  #hero.hero-10min .hero-brand-logo-kicker{width:min(230px,72%);margin:14px 0 20px}
}
@media(prefers-reduced-motion:reduce){
  #hero.hero-10min .hero-cinema-track{animation:none}
}

/* Midnight AI theme — dark, image-first LP direction */
body.theme-midnight-ai{
  --ink:#f4f7ff;
  --muted:#a9b5d2;
  --base:#050815;
  --card:#0d1530;
  --line:rgba(147,166,222,.2);
  --on-stage:#f4f7ff;
  --on-stage-muted:#a9b5d2;
  --shadow:0 30px 90px rgba(0,0,0,.32);
  --shadow-sm:0 18px 48px rgba(0,0,0,.24);
  color:#f4f7ff;
  background:
    radial-gradient(1200px 760px at 12% -8%,rgba(53,96,222,.22),transparent 70%),
    radial-gradient(980px 720px at 94% 30%,rgba(133,67,218,.18),transparent 72%),
    #040713;
}
body.theme-midnight-ai::before{
  z-index:-2;
  opacity:.7;
  background:
    linear-gradient(rgba(116,149,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(116,149,255,.035) 1px,transparent 1px);
  background-size:56px 56px;
}
body.theme-midnight-ai::after{
  content:"";
  position:fixed;
  z-index:-1;
  inset:-24%;
  pointer-events:none;
  background:
    radial-gradient(circle at 22% 28%,rgba(45,143,255,.14),transparent 28%),
    radial-gradient(circle at 78% 58%,rgba(174,73,239,.13),transparent 31%),
    radial-gradient(circle at 52% 84%,rgba(35,213,222,.08),transparent 24%);
  filter:blur(18px) saturate(1.2);
  animation:midnightBodyGlow 22s ease-in-out infinite alternate;
}

body.theme-midnight-ai section{isolation:isolate}
body.theme-midnight-ai main>section:not(#hero){
  overflow:hidden;
  color:#f4f7ff;
  background:#060a18;
}
body.theme-midnight-ai main>section:nth-of-type(even):not(#hero){background:#090e21}
body.theme-midnight-ai main>section:not(#hero)::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:-18%;
  width:auto;
  height:auto;
  border:0;
  border-radius:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 26%,rgba(53,120,255,.18),transparent 26%),
    radial-gradient(circle at 82% 72%,rgba(167,75,235,.14),transparent 27%),
    linear-gradient(rgba(112,145,238,.038) 1px,transparent 1px),
    linear-gradient(90deg,rgba(112,145,238,.038) 1px,transparent 1px);
  background-size:auto,auto,48px 48px,48px 48px;
  box-shadow:none;
  filter:saturate(1.16);
  opacity:.82;
  transform:translate3d(-1%,0,0) scale(1.03);
  animation:midnightSectionDrift 18s ease-in-out infinite alternate;
}
body.theme-midnight-ai main>section:nth-of-type(3n+2)::before{
  animation-direction:alternate-reverse;
  animation-duration:22s;
}
body.theme-midnight-ai main>section:nth-of-type(3n)::before{
  animation-delay:-8s;
  animation-duration:26s;
}
body.theme-midnight-ai main>section:not(#hero)::after{
  content:"";
  position:absolute;
  z-index:0;
  inset:auto -12% -260px auto;
  width:560px;
  height:560px;
  border:1px solid rgba(104,132,232,.08);
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(circle,rgba(73,87,212,.12),transparent 66%);
  filter:blur(3px);
}
body.theme-midnight-ai main>section:not(#hero)>*{position:relative;z-index:1}

body.theme-midnight-ai #results,
body.theme-midnight-ai #workflow,
body.theme-midnight-ai #benefit-sns,
body.theme-midnight-ai #analytics-to-video,
body.theme-midnight-ai #engine,
body.theme-midnight-ai #cost,
body.theme-midnight-ai #faq{background:#050916}
body.theme-midnight-ai #image-animation,
body.theme-midnight-ai #capabilities,
body.theme-midnight-ai #transformation,
body.theme-midnight-ai #benefit-ai-suite,
body.theme-midnight-ai #benefit-templates,
body.theme-midnight-ai #free-trial,
body.theme-midnight-ai #details-hub,
body.theme-midnight-ai #plans,
body.theme-midnight-ai #demo,
body.theme-midnight-ai #final{background:linear-gradient(180deg,#0a1024 0%,#060917 100%)}

body.theme-midnight-ai header{
  border-color:rgba(152,173,238,.22);
  background:rgba(5,9,23,.84);
  box-shadow:0 16px 54px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter:blur(24px) saturate(1.28);
}
body.theme-midnight-ai .brand-name{color:#f6f8ff}
body.theme-midnight-ai .brand-name small{color:#8fa0c7}
body.theme-midnight-ai:not(.company-page):not(.sanctuary-page) .brand{
  border:1px solid rgba(255,255,255,.18);
  border-radius:13px;
  background-color:rgba(255,255,255,.94);
  background-position:center;
  background-size:calc(100% - 16px) auto;
  box-shadow:0 9px 24px rgba(0,0,0,.18);
}
body.theme-midnight-ai nav a,
body.theme-midnight-ai .nav-trigger{color:#b8c3df}
body.theme-midnight-ai nav a:hover,
body.theme-midnight-ai .nav-trigger:hover{color:#fff}
body.theme-midnight-ai .header-phone{color:#eef3ff}
body.theme-midnight-ai .header-phone span,
body.theme-midnight-ai .header-phone small{color:#8f9bbb}
body.theme-midnight-ai .nav-dropdown{
  border-color:rgba(143,162,222,.22);
  background:rgba(7,12,29,.96);
  box-shadow:0 28px 70px rgba(0,0,0,.38);
}
body.theme-midnight-ai .menu-card{border-color:rgba(140,160,218,.15);background:rgba(255,255,255,.035)}
body.theme-midnight-ai .menu-card b{color:#f1f5ff}
body.theme-midnight-ai .menu-card small{color:#8f9dbd}
body.theme-midnight-ai #menu-button{color:#f4f7ff;border-color:rgba(153,172,232,.24);background:rgba(255,255,255,.05)}

body.theme-midnight-ai main :is(.section-title,.on-stage .section-title,.section-head h2,.ab-block-head h3,.reference-gallery-head h3){color:#f5f7ff!important}
body.theme-midnight-ai main :is(.section-lead,.on-stage .section-lead,.section-head p,.ab-block-head p,.reference-gallery-head p,.fine,.on-stage .fine,.cta-note,.on-stage .cta-note){color:#a6b2cf!important}
body.theme-midnight-ai main .eyebrow,
body.theme-midnight-ai main .on-stage .eyebrow{color:#93b5ff}
body.theme-midnight-ai main .eyebrow::before,
body.theme-midnight-ai main .on-stage .eyebrow::before{color:#dfe8ff;border-color:rgba(137,164,245,.24);background:rgba(95,124,226,.12)}
body.theme-midnight-ai .grad-text{
  background:linear-gradient(105deg,#5fb5ff 0%,#7b8cff 45%,#d66ff2 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

body.theme-midnight-ai main [class*="-card"]{
  color:#f2f5ff;
  border-color:rgba(144,164,224,.2);
  background:linear-gradient(145deg,rgba(17,27,57,.94),rgba(9,16,37,.94));
  box-shadow:0 18px 52px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.045);
}
body.theme-midnight-ai main [class*="-card"]:hover{
  border-color:rgba(111,157,255,.46);
  box-shadow:0 26px 70px rgba(0,0,0,.34),0 0 34px rgba(70,111,238,.09);
}
body.theme-midnight-ai main [class*="-card"] :is(h3,h4,b,strong){color:#f4f7ff}
body.theme-midnight-ai main [class*="-card"] :is(p,small,span:not(.step):not(.style-no)){color:#9eabc9}
body.theme-midnight-ai main [class*="-card"] .for,
body.theme-midnight-ai main [class*="-card"] a{color:#67cfff}
body.theme-midnight-ai .style-card h3,
body.theme-midnight-ai .flow-card h3,
body.theme-midnight-ai .engine-card h3,
body.theme-midnight-ai .details-card h3,
body.theme-midnight-ai .merit-card h3{color:#f4f7ff}
body.theme-midnight-ai .style-card p,
body.theme-midnight-ai .engine-card p,
body.theme-midnight-ai .details-card p,
body.theme-midnight-ai .merit-card p{color:#a2aec9}

body.theme-midnight-ai #capabilities .wrap{
  border-color:rgba(122,160,255,.2);
  background:
    linear-gradient(rgba(125,158,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(125,158,255,.045) 1px,transparent 1px),
    radial-gradient(620px 420px at 12% 0%,rgba(48,163,230,.17),transparent 70%),
    linear-gradient(145deg,rgba(10,20,48,.96),rgba(18,13,54,.96));
  background-size:34px 34px,34px 34px,auto,auto;
  box-shadow:0 38px 110px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.07);
}
body.theme-midnight-ai #capabilities .style-card{background:linear-gradient(155deg,rgba(20,31,63,.98),rgba(8,15,34,.98))}

body.theme-midnight-ai :is(.reference-gallery,.sns-showcase-flow,.analytics-journey,.trial-shell,.language-panel,.standard-plan,.calc,.compare-wrap,.line-panel){
  color:#f3f6ff;
  border-color:rgba(143,164,226,.2);
  background:linear-gradient(145deg,rgba(14,23,49,.88),rgba(8,14,33,.92));
  box-shadow:0 34px 100px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter:blur(18px) saturate(1.15);
}
body.theme-midnight-ai :is(.merit-suite-flow,#benefit-sns .merit-flow,.analytics-hypothesis,.fixed-example,.program-step,.step-pack-card,.demo-list li,.demo-flow span){
  color:#edf2ff;
  border-color:rgba(139,161,224,.18);
  background:rgba(15,24,50,.78);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
body.theme-midnight-ai :is(.analytics-source,.analytics-outputs li,.analytics-entry article,.merit-step,.generation-card,.flow-card,.engine-card,.merit-card,.details-card,.cost-card,.plan-card,.faq-list details,.compare-table){
  color:#f3f6ff;
  border-color:rgba(143,164,226,.19);
  background:linear-gradient(145deg,rgba(17,27,57,.95),rgba(9,16,36,.95));
  box-shadow:0 18px 52px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.04);
}
body.theme-midnight-ai :is(.analytics-source,.analytics-hypothesis,.analytics-entry article,.engine-copy,.merit-step,.generation-card,.flow-card,.cost-card,.plan-card,.faq-list details) :is(p,small,span){color:#9faccc}
body.theme-midnight-ai :is(.analytics-source,.analytics-hypothesis,.analytics-entry article,.merit-step,.generation-card,.flow-card,.cost-card,.plan-card) :is(h3,b,strong){color:#f5f7ff}
body.theme-midnight-ai .analytics-tags span{color:#aebcda;border-color:rgba(142,163,224,.18);background:rgba(255,255,255,.045)}
body.theme-midnight-ai .analytics-outputs span{color:#eef3ff}
body.theme-midnight-ai .analytics-outputs small{color:#93a0c1}
body.theme-midnight-ai .engine-number{border-color:rgba(135,157,223,.2);background:radial-gradient(circle at 50% 40%,rgba(126,89,224,.28),transparent 52%),linear-gradient(145deg,#111b3d,#080f25)}
body.theme-midnight-ai .engine-number span,
body.theme-midnight-ai .engine-copy p{color:#a5b1cd}
body.theme-midnight-ai .engine-copy .decision{color:#dfe7ff;background:rgba(255,255,255,.05)}
body.theme-midnight-ai .compare-table th{color:#dfe7ff;background:#101a38}
body.theme-midnight-ai .compare-table td{color:#9facc9;border-color:rgba(143,164,226,.13)}
body.theme-midnight-ai .compare-table td:first-child{color:#dce5fb}
body.theme-midnight-ai .compare-table td:nth-child(2){color:#cdd9ff;background:rgba(87,104,219,.12)}

body.theme-midnight-ai .reference-video-card,
body.theme-midnight-ai .reference-thumbnail-card{overflow:hidden;background:#0c142d}
body.theme-midnight-ai .reference-video-meta,
body.theme-midnight-ai .reference-thumbnail-card figcaption{background:linear-gradient(180deg,#101a38,#0a122a)}
body.theme-midnight-ai .reference-video-meta b,
body.theme-midnight-ai .reference-thumbnail-card figcaption b{color:#f2f5ff}
body.theme-midnight-ai .reference-video-meta small,
body.theme-midnight-ai .reference-thumbnail-card figcaption small{color:#7da7ff}
body.theme-midnight-ai .reference-thumbnails-head,
body.theme-midnight-ai .reference-shorts-head{border-color:rgba(141,161,222,.17)}

body.theme-midnight-ai .faq-list summary{color:#eff3ff}
body.theme-midnight-ai .faq-answer{color:#9facc8}
body.theme-midnight-ai .faq-list details[open]{border-color:rgba(105,149,255,.42);background:linear-gradient(145deg,rgba(18,31,67,.98),rgba(11,18,41,.98))}
body.theme-midnight-ai .btn-ghost{color:#e8eeff;border-color:rgba(151,172,234,.24);background:rgba(255,255,255,.055)}
body.theme-midnight-ai .phone-cta{color:#eef3ff;border-color:rgba(145,166,226,.22);background:rgba(13,22,47,.86);box-shadow:0 16px 44px rgba(0,0,0,.25)}
body.theme-midnight-ai .phone-cta small,
body.theme-midnight-ai .phone-cta em{color:#93a1c1}

body.theme-midnight-ai #final{
  background:
    radial-gradient(620px 440px at 14% 20%,rgba(50,150,240,.2),transparent 70%),
    radial-gradient(680px 460px at 86% 78%,rgba(190,75,232,.22),transparent 72%),
    linear-gradient(135deg,#0a1432,#151d4b 55%,#35205e);
}
body.theme-midnight-ai #legal,
body.theme-midnight-ai footer{background:#030611}
body.theme-midnight-ai #legal{color:#8d9ab8}
body.theme-midnight-ai #mobile-cta{border-color:rgba(137,158,219,.22);background:#091027;box-shadow:0 18px 50px rgba(0,0,0,.38)}
body.theme-midnight-ai .mobile-phone{color:#eef3ff;background:#0d1733}
body.theme-midnight-ai .mobile-phone small{color:#8f9dbc}

body.theme-midnight-ai :is(#results,#image-animation,#capabilities,#workflow,#transformation,#benefit-sns,#benefit-ai-suite,#analytics-to-video,#benefit-templates,#engine,#free-trial,#details-hub,#cost,#plans,#demo,#faq,#final)::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:-18%;
  width:auto;
  height:auto;
  border:0;
  border-radius:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 26%,rgba(53,120,255,.18),transparent 26%),
    radial-gradient(circle at 82% 72%,rgba(167,75,235,.14),transparent 27%),
    linear-gradient(rgba(112,145,238,.038) 1px,transparent 1px),
    linear-gradient(90deg,rgba(112,145,238,.038) 1px,transparent 1px);
  background-size:auto,auto,48px 48px,48px 48px;
  box-shadow:none;
  filter:saturate(1.16);
  opacity:.82;
  transform:translate3d(-1%,0,0) scale(1.03);
  animation:midnightSectionDrift 18s ease-in-out infinite alternate;
}
body.theme-midnight-ai #image-animation .generation-card,
body.theme-midnight-ai #image-animation .generation-card.result,
body.theme-midnight-ai #details-hub .details-card,
body.theme-midnight-ai #benefit-ai-suite .merit-card,
body.theme-midnight-ai #plans .plan-card,
body.theme-midnight-ai #cost .cost-card{
  color:#f3f6ff;
  border-color:rgba(143,164,226,.19)!important;
  background:linear-gradient(145deg,rgba(17,27,57,.96),rgba(9,16,36,.96))!important;
  box-shadow:0 18px 52px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
body.theme-midnight-ai #benefit-sns .sns-section-lead{color:#aebbd6}
body.theme-midnight-ai .flow-card:not(.after) .flow-list li,
body.theme-midnight-ai .standard-list li,
body.theme-midnight-ai .calc-box,
body.theme-midnight-ai .template-body,
body.theme-midnight-ai .trial-field input,
body.theme-midnight-ai .script-wrap textarea{
  color:#dce5fb;
  border-color:rgba(140,161,222,.17);
  background:rgba(9,17,39,.82);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
body.theme-midnight-ai main :is(input,textarea,select){
  color:#eef3ff;
  border-color:rgba(143,164,226,.22);
  background:#0a132c;
}
body.theme-midnight-ai main :is(input,textarea,select)::placeholder{color:#71809f}
body.theme-midnight-ai main :is(input,textarea,select):focus{border-color:#6d96ff;box-shadow:0 0 0 3px rgba(77,126,255,.14)}

.generation-loop-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#080d21;
}
.generation-character-result,.generation-3d-result{position:relative}
.generation-character-audio-toggle{
  position:absolute;
  z-index:5;
  top:14px;
  left:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:999px;
  color:#fff;
  background:rgba(15,21,54,.78);
  box-shadow:0 12px 30px rgba(0,0,0,.34),0 0 0 4px rgba(115,104,244,.1);
  font:800 11px/1 'Noto Sans JP',sans-serif;
  letter-spacing:.025em;
  cursor:pointer;
  backdrop-filter:blur(12px) saturate(1.15);
  -webkit-backdrop-filter:blur(12px) saturate(1.15);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.generation-character-audio-toggle:hover{transform:translateY(-1px)}
.generation-character-audio-toggle:focus-visible{outline:2px solid #fff;outline-offset:3px}
.generation-character-audio-toggle svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.generation-character-audio-toggle.is-on{
  background:linear-gradient(135deg,rgba(88,96,239,.96),rgba(160,81,220,.96));
  box-shadow:0 13px 34px rgba(82,79,222,.42),0 0 0 4px rgba(148,109,244,.16);
}
.workflow-video-shell{
  position:relative;
  z-index:1;
  overflow:hidden;
  aspect-ratio:16/9;
  border-radius:18px;
  background:#080d21;
  box-shadow:0 16px 50px rgba(21,30,80,.28);
}
.workflow-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.workflow-duration-badge{
  position:absolute;
  z-index:4;
  top:14px;
  right:14px;
  display:inline-flex;
  min-height:31px;
  padding:7px 11px;
  align-items:center;
  justify-content:center;
  color:#e7edff;
  border:1px solid rgba(165,181,255,.34);
  border-radius:999px;
  background:rgba(8,15,40,.78);
  box-shadow:0 9px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.07);
  font-family:'Noto Sans JP',sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  line-height:1;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  pointer-events:none;
}
.workflow-audio-toggle{top:14px;left:14px}
@media(max-width:560px){
  .generation-character-audio-toggle{top:10px;left:10px;min-height:36px;padding:0 12px;font-size:10px}
  .workflow-duration-badge{top:10px;right:10px;min-height:27px;padding:6px 8px;font-size:8px}
}
.generation-sample-eight .generation-sample-video{
  position:absolute;
  z-index:1;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#080d21;
}
.generation-sample-eight .generation-sample-audio-toggle{z-index:5}
.generation-sample-eight .video-play{
  transition:opacity .2s ease,transform .2s ease;
}
.generation-sample-eight.is-audio-on .video-play{
  opacity:0;
  transform:translate(-50%,-50%) scale(.82);
}

@keyframes midnightBodyGlow{
  0%{transform:translate3d(-2%,-1%,0) scale(1)}
  100%{transform:translate3d(3%,2%,0) scale(1.06)}
}
@keyframes midnightSectionDrift{
  0%{background-position:10% 14%,88% 78%,0 0,0 0;transform:translate3d(-1%,0,0) scale(1.03)}
  100%{background-position:20% 24%,74% 62%,48px 24px,24px 48px;transform:translate3d(1.5%,-1%,0) scale(1.07)}
}
@media(max-width:840px){
  body.theme-midnight-ai header{background:rgba(5,9,23,.94)}
  body.theme-midnight-ai .site-menu{background:rgba(7,12,29,.98)}
  body.theme-midnight-ai main>section:not(#hero)::before{opacity:.62;animation-duration:24s}
}
@media(prefers-reduced-motion:reduce){
  body.theme-midnight-ai::after,
  body.theme-midnight-ai main>section:not(#hero)::before{animation:none}
  .workflow-step,.workflow-step .no{transition:none}
}

/* Unified hero stage: headline and generated-video gallery share one moving wall */
.hero-showcase-stage{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#f4f7ff;
  background:#050914;
}
.hero-showcase-stage > #hero.hero-10min{
  position:static;
  z-index:auto;
  overflow:visible;
  background:transparent;
}
.hero-showcase-stage #hero.hero-10min .hero-cinema-wall{
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#050914;
}
.hero-showcase-stage #hero.hero-10min::before{
  z-index:1;
  inset:0;
  width:auto;
  height:100%;
  background:
    linear-gradient(90deg,rgba(3,7,18,.97) 0%,rgba(3,7,18,.91) 31%,rgba(3,7,18,.72) 58%,rgba(3,7,18,.52) 100%),
    linear-gradient(180deg,rgba(3,7,18,.5) 0%,rgba(3,7,18,.27) 47%,rgba(3,7,18,.54) 100%);
}
.hero-showcase-stage #hero.hero-10min .hero-cinema-track{
  left:-15vw;
  top:46%;
  width:130vw;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:none;
  gap:11px;
  opacity:.96;
}
.hero-showcase-stage > #hero.hero-10min .hero-grid,
.hero-showcase-stage > #results.proof-stage{
  position:relative;
  z-index:2;
}
.hero-showcase-stage > #results.proof-stage{
  margin-top:-1px;
  border-top:0!important;
  box-shadow:none!important;
}

@media(min-width:981px){
  .hero-showcase-stage > #hero.hero-10min .hero-grid{
    width:min(920px,calc(100% - 72px));
    grid-template-columns:minmax(0,430px) minmax(420px,466px);
    column-gap:24px;
    align-items:center;
    margin-inline:auto;
  }
  .hero-showcase-stage > #hero.hero-10min .hero-copy{
    justify-self:end;
    align-self:center;
    width:100%;
  }
  .hero-showcase-stage > #hero.hero-10min .hero-side{
    justify-self:start;
    align-self:center;
    width:100%;
  }
}

@media(max-width:980px){
  .hero-showcase-stage #hero.hero-10min .hero-cinema-track{
    left:-24vw;
    width:148vw;
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:840px){
  .hero-showcase-stage #hero.hero-10min::before{
    background:
      linear-gradient(180deg,rgba(3,7,18,.88) 0%,rgba(3,7,18,.64) 48%,rgba(3,7,18,.7) 100%),
      linear-gradient(90deg,rgba(3,7,18,.78),rgba(3,7,18,.5));
  }
  .hero-showcase-stage #hero.hero-10min .hero-cinema-track{
    left:-56vw;
    top:45%;
    width:214vw;
    grid-template-columns:repeat(4,minmax(0,1fr));
    opacity:.86;
  }
}
@media(max-width:680px){
  .hero-showcase-stage #hero.hero-10min .hero-cinema-track{
    left:-104vw;
    top:44%;
    width:304vw;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    opacity:.82;
  }
}

/* Mobile parity — preserve the desktop hierarchy without horizontal overflow */
@media(max-width:840px){
  html{scroll-padding-top:78px}
  body.theme-midnight-ai{overflow-x:hidden;padding-bottom:82px}
  body.theme-midnight-ai .wrap,
  body.theme-midnight-ai .narrow{width:min(100% - 28px,720px)}
  :root{--sec-space:72px;--sec-head-gap:34px}
  body.theme-midnight-ai main>section{padding-block:var(--sec-space)}
  body.theme-midnight-ai .section-head{margin-bottom:var(--sec-head-gap)}
  body.theme-midnight-ai .section-title{font-size:clamp(28px,7.7vw,42px);line-height:1.28;letter-spacing:-.045em}
  body.theme-midnight-ai .section-lead{font-size:13px;line-height:1.8}

  body.theme-midnight-ai header{inset:6px 7px auto;border-radius:18px}
  body.theme-midnight-ai .header-inner{height:62px;padding-inline:10px}
  body.theme-midnight-ai:not(.company-page):not(.sanctuary-page) .brand{
    width:188px;
    min-width:0;
    height:42px;
    background-size:calc(100% - 14px) auto;
  }
  body.theme-midnight-ai .header-cta,
  body.theme-midnight-ai .header-phone{display:none}
  body.theme-midnight-ai #menu-button{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px}
  body.theme-midnight-ai nav{inset:74px 7px auto;border-color:rgba(143,162,222,.24);background:rgba(7,12,29,.98)}

  .hero-showcase-stage > #hero.hero-10min{padding:98px 0 34px}
  .hero-showcase-stage > #hero.hero-10min .hero-grid{
    width:min(100% - 28px,620px);
    grid-template-columns:1fr;
    gap:22px;
    margin-inline:auto;
  }
  .hero-showcase-stage > #hero.hero-10min .hero-copy,
  .hero-showcase-stage > #hero.hero-10min .hero-side{
    width:100%;
    max-width:560px;
    margin-inline:auto;
  }
  .hero-showcase-stage > #hero.hero-10min .hero-copy{padding:0;text-align:center}
  #hero.hero-10min .hero-kicker-10min{justify-content:center;margin-bottom:14px}
  #hero.hero-10min .hero-10min-title{align-items:center;letter-spacing:-.055em}
  #hero.hero-10min .hero-10min-intro{font-size:clamp(35px,10vw,48px)}
  #hero.hero-10min .hero-10min-complete{justify-content:center;margin-top:7px}
  #hero.hero-10min .hero-10min-complete strong{font-size:clamp(68px,21vw,92px)}
  #hero.hero-10min .hero-10min-complete em{font-size:clamp(27px,8.4vw,36px)}
  #hero.hero-10min .hero-10min-complete b{font-size:clamp(39px,11.5vw,51px)}
  #hero.hero-10min .hero-coverage-copy{margin-top:24px;font-size:13px;line-height:1.65}
  #hero.hero-10min .hero-price-copy{margin-top:13px;font-size:16px}
  #hero.hero-10min .hero-side{gap:13px;margin-top:2px}
  #hero.hero-10min .hero-product,
  #hero.hero-10min .hero-10min-actions{width:100%;max-width:560px}
  #hero.hero-10min .hero-youtube-preview{border-radius:18px;box-shadow:0 22px 54px rgba(0,0,0,.42),0 0 0 4px rgba(255,255,255,.1)}
  #hero.hero-10min .hero-10min-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
  #hero.hero-10min .hero-app-cta,
  #hero.hero-10min .hero-document-cta{min-height:66px;padding:10px 12px;border-radius:17px;gap:9px}
  #hero.hero-10min .hero-cta-icon{width:38px;height:38px;border-radius:11px}
  #hero.hero-10min .hero-10min-actions b{font-size:14px}
  #hero.hero-10min .hero-10min-actions>a>i{font-size:27px}

  .hero-showcase-stage #hero.hero-10min::before{
    background:
      linear-gradient(180deg,rgba(3,7,18,.91) 0%,rgba(3,7,18,.76) 45%,rgba(3,7,18,.79) 100%),
      linear-gradient(90deg,rgba(3,7,18,.6),rgba(3,7,18,.47));
  }
  .hero-showcase-stage #hero.hero-10min .hero-cinema-track{
    left:-40vw;
    top:43%;
    width:180vw;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:7px;
    opacity:.84;
  }

  .hero-showcase-stage > #results.proof-stage{padding:34px 0 54px}
  #results.proof-stage .section-head.center{margin-bottom:20px}
  #results.proof-stage .section-title{font-size:clamp(26px,7.2vw,38px)}
  #results .proof-video-grid{gap:8px}
  #results .proof-video-band{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #results .proof-video-column{gap:8px;min-width:0}
  #results .proof-video-card{border-radius:13px}
  #results .proof-video-label{top:8px;left:8px;padding:5px 8px;font-size:7px}

  #image-animation .generation-examples{gap:22px}
  #image-animation .generation-flow{grid-template-columns:1fr;gap:12px;padding-top:10px}
  #image-animation .generation-arrow{padding:0}
  #image-animation .generation-arrow span{width:46px;height:46px;transform:rotate(90deg);font-size:22px}
  #image-animation .generation-card{min-width:0;border-radius:22px}

  #capabilities .wrap{width:min(100% - 16px,720px);padding:44px 12px 14px;border-radius:28px}
  #capabilities .section-head{padding-inline:8px;margin-bottom:28px}
  #capabilities .style-grid-six{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:0 2px 8px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  #capabilities .style-grid-six::-webkit-scrollbar{display:none}
  #capabilities .style-grid-six .style-card{
    flex:0 0 min(82vw,360px);
    min-height:0;
    padding:18px;
    scroll-snap-align:center;
    border-radius:22px;
  }
  #capabilities .style-grid-six .style-visual{margin:-18px -18px 18px;border-radius:21px 21px 16px 16px}
  #capabilities .style-grid-six .style-card h3{font-size:18px}

  #workflow .workflow-showcase{grid-template-columns:1fr;gap:18px}
  #workflow .workflow-media{width:100%;margin:0;padding:8px;border-radius:21px}
  #workflow .workflow-steps{grid-template-columns:1fr 1fr;gap:9px;margin:0}
  #workflow .workflow-step{min-height:78px;padding:12px 11px 12px 14px;grid-template-columns:32px 1fr;gap:10px;border-radius:16px}
  #workflow .workflow-step h3{font-size:13px}
  #workflow .workflow-step .no{width:31px;height:31px;border-radius:10px}

  .transform-grid{grid-template-columns:1fr;gap:14px}
  .transform-arrow{margin:auto;transform:rotate(90deg)}
  .engine-intro,.hearing-shell,.standard-plan,.demo-grid{grid-template-columns:1fr;gap:24px}
  .compare-wrap{overflow-x:auto;overscroll-behavior-inline:contain}
  .compare-table{min-width:720px}

  .details-grid,
  .cost-cards,
  .program-grid,
  .other-plans,
  .engine-points,
  .merit-suite{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:2px 1px 10px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  .details-grid::-webkit-scrollbar,
  .cost-cards::-webkit-scrollbar,
  .program-grid::-webkit-scrollbar,
  .other-plans::-webkit-scrollbar,
  .engine-points::-webkit-scrollbar,
  .merit-suite::-webkit-scrollbar{display:none}
  .details-grid>.details-card,
  .cost-cards>.cost-card,
  .program-grid>.program-step,
  .other-plans>.plan-card,
  .engine-points>.engine-card,
  .merit-suite>.merit-card{
    flex:0 0 min(82vw,360px);
    scroll-snap-align:center;
  }
  #details-hub .details-card{min-height:0}

  .calc-inputs{grid-template-columns:1fr}
  .calc-results{grid-template-columns:1fr 1fr}
  .step-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:1fr 1fr;gap:24px}
  #mobile-cta{display:block}
}

@media(max-width:560px){
  :root{--sec-space:60px;--sec-head-gap:30px}
  body.theme-midnight-ai main>section{padding-block:var(--sec-space)}
  body.theme-midnight-ai .section-title{font-size:clamp(27px,8.5vw,34px)}
  body.theme-midnight-ai:not(.company-page):not(.sanctuary-page) .brand{width:172px;height:40px}

  .hero-showcase-stage > #hero.hero-10min{padding:88px 0 28px}
  .hero-showcase-stage > #hero.hero-10min .hero-grid{width:min(100% - 22px,520px);gap:18px}
  #hero.hero-10min .hero-kicker-10min{gap:6px;margin-bottom:12px}
  #hero.hero-10min .hero-kicker-10min::before{width:18px}
  #hero.hero-10min .hero-kicker-10min span{font-size:7px;letter-spacing:.12em}
  #hero.hero-10min .hero-kicker-10min em{font-size:8px}
  #hero.hero-10min .hero-10min-intro{font-size:clamp(33px,9.8vw,42px)}
  #hero.hero-10min .hero-10min-complete strong{font-size:clamp(64px,19.5vw,82px)}
  #hero.hero-10min .hero-10min-complete em{margin-inline:4px;font-size:clamp(25px,7.7vw,32px)}
  #hero.hero-10min .hero-10min-complete b{font-size:clamp(37px,10.8vw,46px)}
  #hero.hero-10min .hero-coverage-copy{margin-top:20px;font-size:12px}
  #hero.hero-10min .hero-price-copy{font-size:15px}
  #hero.hero-10min .hero-audio-toggle{min-height:34px;padding:7px 11px}
  #hero.hero-10min .hero-app-cta,
  #hero.hero-10min .hero-document-cta{min-height:60px;padding:8px 9px;border-radius:15px}
  #hero.hero-10min .hero-cta-icon{width:34px;height:34px}
  #hero.hero-10min .hero-10min-actions b{font-size:14px}

  .hero-showcase-stage #hero.hero-10min .hero-cinema-track{
    left:-67vw;
    top:42%;
    width:234vw;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
    opacity:.76;
  }

  #results .proof-video-band{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  #results .proof-video-band + .proof-video-band{margin-top:7px}
  #results .proof-video-column{gap:7px}

  #workflow .workflow-steps{grid-template-columns:1fr 1fr!important;gap:8px}
  #workflow .workflow-step{display:grid;min-height:76px;padding:11px;grid-template-columns:29px 1fr;gap:8px}
  #workflow .workflow-step h3{font-size:12px}
  #workflow .workflow-step .no{width:29px;height:29px}

  .calc-results{grid-template-columns:1fr 1fr!important;gap:8px}
  .calc-box{min-width:0;padding:15px 10px}
  .calc-box b{font-size:clamp(18px,5.5vw,25px)}
  .footer-grid{grid-template-columns:1fr;gap:20px}
  .faq-list summary{padding:18px 17px;font-size:14px}
}

@media(max-width:370px){
  body.theme-midnight-ai:not(.company-page):not(.sanctuary-page) .brand{width:155px}
  #hero.hero-10min .hero-10min-complete strong{font-size:61px}
  #hero.hero-10min .hero-10min-complete em{font-size:24px}
  #hero.hero-10min .hero-10min-complete b{font-size:34px}
  #hero.hero-10min .hero-10min-actions b{font-size:13px}
  #workflow .workflow-steps{grid-template-columns:1fr!important}
}

/* Dark surface contrast corrections — keep every information panel legible */
body.theme-midnight-ai #workflow .workflow-media{
  border-color:rgba(137,158,225,.24);
  background:linear-gradient(145deg,rgba(25,35,70,.96),rgba(12,19,43,.96));
  box-shadow:0 24px 70px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.06);
}
body.theme-midnight-ai #workflow .workflow-step,
body.theme-midnight-ai #workflow .workflow-step:first-child{
  color:#f4f7ff;
  border-color:rgba(136,158,226,.25);
  background:linear-gradient(145deg,rgba(23,34,68,.97),rgba(11,18,41,.97));
  box-shadow:0 15px 36px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.045);
}
body.theme-midnight-ai #workflow .workflow-step:first-child{
  border-color:rgba(115,139,255,.46);
  background:linear-gradient(145deg,rgba(37,48,96,.98),rgba(20,26,62,.98));
}
body.theme-midnight-ai #workflow .workflow-step.is-active{
  border-color:color-mix(in srgb,var(--workflow-accent) 78%,#b9c8ff);
  background:linear-gradient(112deg,color-mix(in srgb,var(--workflow-accent) 34%,rgba(25,35,76,.98)),rgba(10,17,40,.98) 78%);
  box-shadow:0 22px 56px color-mix(in srgb,var(--workflow-accent) 28%,transparent),0 0 0 1px color-mix(in srgb,var(--workflow-accent) 34%,transparent),inset 0 1px 0 rgba(255,255,255,.1);
}
body.theme-midnight-ai #workflow .workflow-step h3{color:#f5f7ff!important}
body.theme-midnight-ai #workflow .workflow-step::after{
  border-color:rgba(116,147,255,.72);
}

body.theme-midnight-ai #transformation .transformation-summary{
  color:#f3f6ff;
  border-color:rgba(119,139,245,.34);
  background:linear-gradient(145deg,rgba(24,34,72,.98),rgba(15,20,52,.98))!important;
  box-shadow:0 28px 72px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.06);
}
body.theme-midnight-ai #transformation .transformation-summary-tag{
  color:#b9c9ff;
  border:1px solid rgba(142,162,229,.18);
  background:rgba(9,16,38,.82);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
body.theme-midnight-ai #transformation .transformation-actions li{
  color:#eef3ff;
  border-color:rgba(139,160,226,.22);
  background:linear-gradient(145deg,rgba(20,31,64,.96),rgba(10,18,42,.96));
  box-shadow:0 12px 30px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.04);
}
body.theme-midnight-ai #transformation .transformation-metrics div{
  color:#f3f6ff;
  border-color:rgba(138,160,226,.23);
  background:linear-gradient(145deg,rgba(19,30,62,.98),rgba(9,17,40,.98));
  box-shadow:0 14px 34px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.04);
}
body.theme-midnight-ai #transformation .transformation-metrics b{
  color:#83a6ff!important;
  text-shadow:0 0 24px rgba(99,126,255,.18);
}
body.theme-midnight-ai #transformation .transformation-metrics small{color:#9faccc!important}

body.theme-midnight-ai #benefit-ai-suite .merit-suite-flow{
  border-color:rgba(139,161,224,.22);
  background:linear-gradient(145deg,rgba(14,24,51,.92),rgba(8,14,33,.94));
}
body.theme-midnight-ai #benefit-ai-suite .merit-suite-flow span{
  color:#eaf0ff;
  border-color:rgba(141,163,229,.23);
  background:linear-gradient(145deg,rgba(24,35,70,.98),rgba(12,20,46,.98));
  box-shadow:0 10px 26px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.045);
}
body.theme-midnight-ai #benefit-ai-suite .merit-suite-flow span.core{
  color:#fff;
  border-color:rgba(111,135,255,.54);
  background:linear-gradient(125deg,#365fdd,#7b52db 58%,#b94dd4);
  box-shadow:0 12px 34px rgba(75,88,218,.3),inset 0 1px 0 rgba(255,255,255,.14);
}
body.theme-midnight-ai #benefit-ai-suite .merit-suite-flow i{color:#a986ff}

body.theme-midnight-ai #plans .step-packs{
  color:#f3f6ff;
  border-color:rgba(139,161,224,.24);
  background:
    radial-gradient(420px 260px at 100% 0%,rgba(137,78,224,.14),transparent 72%),
    linear-gradient(145deg,rgba(16,26,55,.97),rgba(8,15,35,.98));
  box-shadow:0 28px 84px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.05);
}
body.theme-midnight-ai #plans .step-packs::before{
  background:radial-gradient(circle,rgba(115,83,231,.16),transparent 68%);
}
body.theme-midnight-ai #plans .step-packs-head h3{color:#f5f7ff}
body.theme-midnight-ai #plans .step-packs-head p{color:#a7b3cf}
body.theme-midnight-ai #plans .step-pack-card,
body.theme-midnight-ai #plans .step-pack-card.featured{
  color:#f2f5ff;
  border-color:rgba(139,161,225,.22);
  background:linear-gradient(145deg,rgba(26,38,75,.98),rgba(14,23,51,.98));
  box-shadow:0 16px 38px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.045);
}
body.theme-midnight-ai #plans .step-pack-card.featured{
  border-color:rgba(115,139,255,.62);
  background:linear-gradient(145deg,rgba(37,49,94,.99),rgba(21,27,66,.99));
  box-shadow:0 20px 48px rgba(45,58,170,.25),inset 0 1px 0 rgba(255,255,255,.07);
}
body.theme-midnight-ai #plans .step-pack-name{color:#9eacd0!important}
body.theme-midnight-ai #plans .step-pack-price,
body.theme-midnight-ai #plans .step-pack-price b{color:#f7f9ff!important}
body.theme-midnight-ai #plans .step-pack-price span,
body.theme-midnight-ai #plans .step-pack-meta{color:#9eabc9!important}
body.theme-midnight-ai #plans .step-pack-points{
  color:#e8eeff;
  border:1px solid rgba(126,151,232,.16);
  background:rgba(107,127,218,.15);
}
body.theme-midnight-ai #plans .step-pack-points b{color:#f5f7ff}
body.theme-midnight-ai #plans .step-pack-saving{
  color:#b8c8ff!important;
  border:1px solid rgba(132,154,224,.16);
  background:rgba(86,108,191,.16);
}
body.theme-midnight-ai #plans .step-pack-card.featured .step-pack-saving{
  color:#fff!important;
  border:0;
  background:linear-gradient(100deg,#5b70ef,#bb55d8);
}
body.theme-midnight-ai #plans .step-packs-footer{
  color:#96a4c3;
  border-color:rgba(139,161,224,.16);
}
body.theme-midnight-ai #plans .step-packs-footer strong{color:#dfe7fb}

/* Hero typography artwork — transparent source supplied 2026-08-21 */
#hero.hero-10min .hero-copy.hero-copy-artwork{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:390px;
  padding:0;
}
#hero.hero-10min .hero-copy-art{
  display:block;
  width:min(100%,445px);
  height:auto;
  max-width:none;
  object-fit:contain;
  filter:drop-shadow(0 18px 42px rgba(0,0,0,.34));
}
@media(min-width:981px){
  .hero-showcase-stage > #hero.hero-10min .hero-grid{
    width:min(1300px,calc(100% - 72px));
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:40px;
  }
  .hero-showcase-stage > #hero.hero-10min .hero-copy.hero-copy-artwork{
    justify-self:end;
    min-height:500px;
  }
  #hero.hero-10min .hero-copy-art{
    width:min(100%,580px);
  }
  #hero.hero-10min .hero-product,
  #hero.hero-10min .hero-10min-actions{
    width:min(100%,610px);
  }
}
@media(max-width:980px){
  #hero.hero-10min .hero-copy.hero-copy-artwork{
    min-height:0;
  }
  #hero.hero-10min .hero-copy-art{
    width:min(100%,500px);
  }
}
@media(max-width:840px){
  .hero-showcase-stage > #hero.hero-10min .hero-copy.hero-copy-artwork{
    max-width:520px;
    padding:0;
  }
  #hero.hero-10min .hero-copy-art{
    width:min(100%,480px);
  }
}
@media(max-width:560px){
  #hero.hero-10min .hero-copy-art{
    width:min(100%,430px);
  }
}

/* Hero document CTA — stronger label hierarchy */
#hero.hero-10min .hero-document-cta b{
  font-size:24px;
  font-weight:900;
  letter-spacing:.025em;
}
@media(max-width:840px){
  #hero.hero-10min .hero-document-cta b{font-size:16px}
}
@media(max-width:560px){
  #hero.hero-10min .hero-document-cta b{font-size:15px}
}
@media(max-width:370px){
  #hero.hero-10min .hero-document-cta b{font-size:14px}
}

/* Hero scale refinement — larger, balanced desktop first view */
@media(min-width:981px){
  .hero-showcase-stage > #hero.hero-10min{
    padding:144px 0 76px;
  }
  .hero-showcase-stage > #hero.hero-10min .hero-grid{
    width:min(1480px,calc(100% - 56px));
    grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);
    column-gap:46px;
  }
  .hero-showcase-stage > #hero.hero-10min .hero-copy.hero-copy-artwork{
    min-height:550px;
  }
  #hero.hero-10min .hero-copy-art{
    width:min(100%,640px);
  }
  .hero-showcase-stage > #hero.hero-10min .hero-side{
    gap:21px;
  }
  #hero.hero-10min .hero-product,
  #hero.hero-10min .hero-10min-actions{
    width:min(100%,680px);
  }
  #hero.hero-10min .hero-youtube-preview{
    border-radius:27px;
    box-shadow:0 34px 92px rgba(0,0,0,.5),0 0 0 8px rgba(255,255,255,.12);
  }
  #hero.hero-10min .hero-audio-toggle{
    min-height:43px;
    padding:10px 15px;
    font-size:12px;
  }
  #hero.hero-10min .hero-10min-actions{
    gap:17px;
  }
  #hero.hero-10min .hero-app-cta,
  #hero.hero-10min .hero-document-cta{
    gap:16px;
    min-height:88px;
    padding:15px 19px;
    border-radius:23px;
  }
  #hero.hero-10min .hero-cta-icon{
    width:50px;
    height:50px;
    border-radius:15px;
  }
  #hero.hero-10min .hero-app-icon svg,
  #hero.hero-10min .hero-document-icon svg{
    width:29px;
    height:29px;
  }
  #hero.hero-10min .hero-10min-actions b,
  #hero.hero-10min .hero-document-cta b{
    font-size:23px;
  }
  #hero.hero-10min .hero-10min-actions>a>i{
    font-size:41px;
  }
}

/* Engine feature film — 10-second silent loop supplied 2026-08-22 */
.engine-number.engine-media{
  position:relative;
  display:block;
  min-height:380px;
  overflow:hidden;
  isolation:isolate;
  border-color:rgba(131,157,235,.34);
  background:#080f25;
  box-shadow:0 28px 76px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.08);
}
.engine-number.engine-media::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  width:auto;
  height:auto;
  border:0;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(4,9,24,.03) 24%,rgba(4,9,24,.2) 58%,rgba(4,9,24,.88) 100%);
  pointer-events:none;
}
.engine-number.engine-media::after{
  content:"";
  position:absolute;
  z-index:3;
  inset:0;
  width:auto;
  height:auto;
  border:1px solid rgba(255,255,255,.1);
  border-radius:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 -1px 0 rgba(93,119,224,.12);
  pointer-events:none;
}
.engine-media-video{
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(1.04) contrast(1.03) brightness(.9);
}
.engine-media-label{
  position:absolute;
  z-index:2;
  left:24px;
  bottom:24px;
  display:flex;
  align-items:center;
  gap:14px;
  max-width:calc(100% - 48px);
  padding:13px 17px 13px 15px;
  border:1px solid rgba(184,200,255,.22);
  border-radius:19px;
  background:linear-gradient(135deg,rgba(8,16,39,.78),rgba(20,20,55,.66));
  box-shadow:0 16px 38px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(16px) saturate(1.25);
  -webkit-backdrop-filter:blur(16px) saturate(1.25);
  text-align:left;
}
.engine-number.engine-media .engine-media-label b{
  flex:0 0 auto;
  color:#eef2ff;
  font-size:54px;
  line-height:.9;
  letter-spacing:-.04em;
  text-shadow:0 8px 24px rgba(16,27,77,.45);
}
.engine-number.engine-media .engine-media-label span{
  margin:0;
  max-width:none;
  color:#dfe6ff;
  font-size:12px;
  line-height:1.5;
  white-space:nowrap;
  text-shadow:0 3px 12px rgba(0,0,0,.42);
}
@media(max-width:820px){
  .engine-number.engine-media{min-height:310px}
}
@media(max-width:560px){
  .engine-number.engine-media{min-height:270px;border-radius:28px}
  .engine-media-label{left:16px;bottom:16px;gap:11px;max-width:calc(100% - 32px);padding:11px 14px;border-radius:16px}
  .engine-number.engine-media .engine-media-label b{font-size:43px}
  .engine-number.engine-media .engine-media-label span{max-width:none;font-size:11px}
}

/* Monthly plans — approved pricing supplied 2026-08-24 */
#plans .monthly-plans{
  position:relative;
  overflow:hidden;
  margin:0;
  padding:42px;
  border:1px solid rgba(139,161,224,.24);
  border-radius:34px;
  color:#f4f7ff;
  background:
    radial-gradient(520px 300px at 96% 0%,rgba(95,189,242,.12),transparent 72%),
    radial-gradient(460px 300px at 0% 100%,rgba(124,84,232,.15),transparent 74%),
    linear-gradient(145deg,rgba(16,26,55,.98),rgba(8,15,35,.99));
  box-shadow:0 30px 90px rgba(0,0,0,.33),inset 0 1px 0 rgba(255,255,255,.055);
}
#plans .monthly-plans::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(123,151,235,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(123,151,235,.045) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:linear-gradient(180deg,#000,transparent 82%);
}
#plans .monthly-plans>*{position:relative}
#plans .monthly-plans-head{max-width:820px;margin-bottom:30px}
#plans .monthly-plans-kicker{
  display:inline-flex;
  margin-bottom:12px;
  padding:6px 10px;
  border:1px solid rgba(124,158,255,.26);
  border-radius:999px;
  color:#9bb8ff;
  background:rgba(78,105,210,.12);
  font-family:'Outfit',sans-serif;
  font-size:9px;
  font-weight:800;
  letter-spacing:.15em;
}
#plans .monthly-plans-head h2{color:#f5f7ff;font-size:clamp(32px,4vw,48px);font-weight:900;line-height:1.26;letter-spacing:-.045em}
#plans .monthly-plans-head h2 span{background:linear-gradient(100deg,#6fb7ff,#7d8cff 48%,#d77af1);-webkit-background-clip:text;background-clip:text;color:transparent}
#plans .monthly-plans-head>p{margin-top:14px;color:#a9b5d0;font-size:13px;line-height:1.8}
#plans .monthly-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#plans .monthly-plan-card{
  --monthly-accent:#8a96b7;
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:30px 28px 27px;
  border:1px solid rgba(139,161,225,.22);
  border-radius:23px;
  color:#f4f7ff;
  background:linear-gradient(145deg,rgba(26,38,75,.98),rgba(14,23,51,.98));
  box-shadow:0 16px 38px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.045);
}
#plans .monthly-plan-card::before{content:"";position:absolute;inset:0 0 auto;height:6px;background:var(--monthly-accent)}
#plans .monthly-plan-creator{--monthly-accent:#4d8eff;border-color:rgba(91,137,255,.46);background:linear-gradient(145deg,rgba(31,49,96,.99),rgba(16,27,61,.99))}
#plans .monthly-plan-pro{--monthly-accent:#61c9ec}
#plans .monthly-plan-card h3{margin:3px 0 20px;color:#f4f7ff;font-size:23px;font-weight:900}
#plans .monthly-plan-price{display:flex;align-items:flex-end;gap:8px;margin-bottom:22px;color:#f7f9ff}
#plans .monthly-plan-price b{font-family:'Outfit','Noto Sans JP',sans-serif;font-size:40px;font-weight:700;line-height:1;letter-spacing:-.045em}
#plans .monthly-plan-price span{padding-bottom:4px;color:#a3afca;font-size:13px}
#plans .monthly-plan-initial{margin-bottom:22px;color:#75a7ff;font-size:17px;font-weight:900}
#plans .monthly-plan-initial b{color:inherit;font-size:21px}
#plans .monthly-plan-pro .monthly-plan-initial{color:#71d5ee}
#plans .monthly-plan-schedule{display:grid;gap:11px;padding-top:18px;border-top:1px solid rgba(139,161,225,.16)}
#plans .monthly-plan-schedule p{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9facc8;font-size:11px}
#plans .monthly-plan-schedule b{color:#e9efff;font-size:13px}
#plans .monthly-plan-features{
  margin-top:22px;
  padding:17px 16px 16px;
  border:1px solid color-mix(in srgb,var(--monthly-accent) 24%,transparent);
  border-radius:15px;
  background:color-mix(in srgb,var(--monthly-accent) 8%,rgba(7,14,35,.72));
}
#plans .monthly-plan-feature-label{display:block;margin-bottom:12px;color:var(--monthly-accent);font-size:10px;font-weight:900;letter-spacing:.1em}
#plans .monthly-plan-features ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}
#plans .monthly-plan-features li{position:relative;padding-left:20px;color:#cbd4e9;font-size:10.5px;font-weight:600;line-height:1.62}
#plans .monthly-plan-features li::before{content:"✓";position:absolute;left:0;top:.05em;color:var(--monthly-accent);font-size:11px;font-weight:900}
#plans .monthly-plan-features li b{color:#fff;font-size:12px}
#plans .monthly-plan-signup{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  margin-top:24px;
  padding:14px 18px;
  border:1px solid color-mix(in srgb,var(--monthly-accent) 68%,transparent);
  border-radius:13px;
  color:#f8faff;
  background:linear-gradient(120deg,color-mix(in srgb,var(--monthly-accent) 76%,#293569),color-mix(in srgb,var(--monthly-accent) 36%,#161f48));
  box-shadow:0 12px 28px color-mix(in srgb,var(--monthly-accent) 20%,transparent);
  font-size:13px;
  font-weight:900;
  text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
#plans .monthly-plan-signup::after{content:"→";font-family:'Outfit',sans-serif;font-size:17px;line-height:1;transition:transform .2s ease}
#plans .monthly-plan-signup:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 15px 34px color-mix(in srgb,var(--monthly-accent) 27%,transparent)}
#plans .monthly-plan-signup:hover::after{transform:translateX(4px)}
#plans .monthly-plan-signup:focus-visible{outline:3px solid rgba(117,167,255,.55);outline-offset:3px}
#plans .monthly-plans-footer{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:18px;padding:17px 20px;border:1px solid rgba(121,162,226,.18);border-radius:17px;background:rgba(73,132,192,.12)}
#plans .monthly-plans-footer>strong{color:#75a7ff;font-size:12px}
#plans .monthly-plans-limits{display:flex;gap:18px;flex:1;flex-wrap:wrap;color:#cfd8ed;font-size:11px}
#plans .monthly-plans-limits span{white-space:nowrap}
#plans .monthly-plans-limits b{color:#f3f6ff}
#plans .monthly-plans-footer small{margin-left:auto;color:#8f9bb8;font-size:9px}
#plans .step-note + .section-head{margin-top:104px}
@media(max-width:900px){
  #plans .monthly-plans{padding:32px}
  #plans .monthly-plan-card{padding:26px 22px 24px}
  #plans .monthly-plan-price b{font-size:33px}
}
@media(max-width:760px){
  #plans .monthly-plans{padding:24px;border-radius:27px}
  #plans .monthly-plan-grid{grid-template-columns:1fr}
  #plans .monthly-plan-card{padding:27px 24px 24px}
  #plans .monthly-plan-price b{font-size:38px}
  #plans .monthly-plans-footer{align-items:flex-start;flex-direction:column;gap:12px}
  #plans .monthly-plans-limits{display:grid;grid-template-columns:1fr;gap:8px}
  #plans .monthly-plans-footer small{margin-left:0}
  #plans .step-note + .section-head{margin-top:72px}
}
@media(max-width:480px){
  #plans .monthly-plans{padding:20px 16px}
  #plans .monthly-plans-head h2{font-size:30px}
  #plans .monthly-plan-card{padding:25px 20px 22px}
}

/* Mobile design polish — retain the desktop visual language without creating an endless page */
@media(max-width:840px){
  body.theme-midnight-ai main{overflow:clip}
  body.theme-midnight-ai .section-head{max-width:680px;margin-inline:auto;margin-bottom:30px}
  body.theme-midnight-ai .section-head.center{text-align:center}
  body.theme-midnight-ai :is(.section-title,.section-lead,.section-head h2,.section-head p){text-wrap:balance}
  body.theme-midnight-ai :is(a,button,summary,input,select,textarea){-webkit-tap-highlight-color:transparent}
  body.theme-midnight-ai :is(.btn,.header-cta,.monthly-plan-signup){min-height:48px}
  body.theme-midnight-ai :is(input,select,textarea){font-size:16px}
  body.theme-midnight-ai :is(video,img){max-width:100%}

  /* Large visual examples become swipeable stages, keeping each image/video legible. */
  #image-animation .generation-examples{
    display:flex;
    gap:14px;
    overflow-x:auto;
    margin-inline:-14px;
    padding:2px 14px 14px;
    scroll-padding-inline:14px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  #image-animation .generation-examples::-webkit-scrollbar{display:none}
  #image-animation .generation-flow{
    flex:0 0 min(84vw,470px);
    min-width:0;
    align-content:start;
    scroll-snap-align:center;
  }
  #image-animation .generation-card :is(img,video){width:100%;height:100%;object-fit:cover}
  #image-animation .generation-label{font-size:12px}

  /* Keep the two-output SNS story visually side-by-side through a deliberate swipe rail. */
  #benefit-sns .sns-showcase-flow{
    display:flex;
    align-items:stretch;
    gap:12px;
    overflow-x:auto;
    margin-inline:-14px;
    padding:14px;
    scroll-padding-inline:14px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  #benefit-sns .sns-showcase-flow::-webkit-scrollbar{display:none}
  #benefit-sns .sns-showcase-step{flex:0 0 min(82vw,430px);scroll-snap-align:center}
  #benefit-sns .sns-showcase-short{flex-basis:min(70vw,320px)}
  #benefit-sns .sns-showcase-connector{
    flex:0 0 48px;
    grid-template-columns:1fr;
    align-content:center;
  }
  #benefit-sns .sns-showcase-connector b{transform:none}

  /* Data-to-video information stays complete, but no longer stacks into a very long column. */
  #analytics-to-video .analytics-sources,
  #analytics-to-video .analytics-outputs,
  #analytics-to-video .analytics-entry{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding-bottom:10px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  #analytics-to-video :is(.analytics-sources,.analytics-outputs,.analytics-entry)::-webkit-scrollbar{display:none}
  #analytics-to-video .analytics-source{flex:0 0 min(80vw,380px);scroll-snap-align:center}
  #analytics-to-video .analytics-plus{flex:0 0 44px;margin:auto 0}
  #analytics-to-video .analytics-outputs li,
  #analytics-to-video .analytics-outputs li:last-child{
    flex:0 0 min(68vw,290px);
    grid-column:auto;
    min-height:92px;
    scroll-snap-align:start;
  }
  #analytics-to-video .analytics-entry article{flex:0 0 min(80vw,380px);scroll-snap-align:center}
  #analytics-to-video .analytics-hypothesis::before{height:24px}

  /* The 17 industry samples remain large enough to judge while avoiding 17 full screen rows. */
  #benefit-templates .reference-wide-grid,
  #benefit-templates .reference-short-grid{
    display:flex;
    justify-content:flex-start;
    gap:13px;
    width:auto;
    overflow-x:auto;
    margin-inline:-1px;
    padding:1px 1px 12px;
    scroll-padding-inline:1px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  #benefit-templates :is(.reference-wide-grid,.reference-short-grid)::-webkit-scrollbar{display:none}
  #benefit-templates .reference-wide-grid>.reference-video-card{
    flex:0 0 min(78vw,370px);
    grid-column:auto;
    scroll-snap-align:start;
  }
  #benefit-templates .reference-short-grid>.reference-video-card{
    flex:0 0 min(62vw,270px);
    scroll-snap-align:start;
  }
  #benefit-templates .reference-video-meta{min-height:52px}

  /* Pricing uses the same card size as desktop, presented as readable swipeable comparisons. */
  #plans :is(.monthly-plan-grid,.step-pack-grid,.plans-grid){
    display:flex!important;
    gap:13px;
    overflow-x:auto;
    padding:2px 1px 14px;
    scroll-padding-inline:1px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  #plans :is(.monthly-plan-grid,.step-pack-grid,.plans-grid)::-webkit-scrollbar{display:none}
  #plans .monthly-plan-card{flex:0 0 min(82vw,360px);scroll-snap-align:center}
  #plans .step-pack-card{flex:0 0 min(72vw,300px);scroll-snap-align:start}
  #plans .plans-grid>.plan-card{flex:0 0 min(84vw,380px);scroll-snap-align:center}
  #plans .plan-card .btn{margin-top:auto}

  /* Shared rails and controls. */
  body.theme-midnight-ai :is(
    #capabilities .style-grid-six,
    #benefit-ai-suite .merit-suite,
    #details-hub .details-grid,
    #cost .cost-cards,
    #plans .program-grid,
    #engine .engine-points
  ){
    -webkit-overflow-scrolling:touch;
    scroll-padding-inline:1px;
  }
  body.theme-midnight-ai :is(.hero-audio-toggle,.generation-character-audio-toggle){min-height:42px}
  #hero.hero-10min .hero-audio-toggle{min-height:42px;padding-block:9px}
  #demo .demo-phone-link{display:inline-flex;align-items:center;min-height:42px;padding:9px 11px}
  body.theme-midnight-ai .compare-wrap{border-radius:20px}
  body.theme-midnight-ai .compare-table{font-size:12px}
  body.theme-midnight-ai #mobile-cta{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}

@media(max-width:560px){
  body.theme-midnight-ai{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  body.theme-midnight-ai .wrap,
  body.theme-midnight-ai .narrow{width:min(100% - 24px,520px)}
  body.theme-midnight-ai .section-head{margin-bottom:var(--sec-head-gap)}
  body.theme-midnight-ai .section-title{font-size:clamp(27px,8.1vw,34px);line-height:1.25}
  body.theme-midnight-ai .section-lead{font-size:12.5px;line-height:1.78}

  body.theme-midnight-ai header{inset:6px 6px auto}
  body.theme-midnight-ai .header-inner{height:60px;padding-inline:8px}
  body.theme-midnight-ai:not(.company-page):not(.sanctuary-page) .brand{width:168px;height:39px}
  body.theme-midnight-ai nav{inset:72px 6px auto;border-radius:18px}

  .hero-showcase-stage > #hero.hero-10min{padding:82px 0 24px}
  .hero-showcase-stage > #hero.hero-10min .hero-grid{width:min(100% - 20px,520px)}
  #hero.hero-10min .hero-product{border-radius:18px}
  #hero.hero-10min .hero-youtube-preview{border-radius:16px}
  #hero.hero-10min .hero-10min-actions{gap:8px}
  #hero.hero-10min .hero-app-cta,
  #hero.hero-10min .hero-document-cta{min-height:64px}

  #results.proof-stage .section-title{font-size:clamp(26px,7.8vw,32px);line-height:1.22}
  #results .proof-video-column{width:100%;min-width:0}
  #results .proof-video-short{width:100%!important;margin-inline:0}
  #results .proof-video-card{width:100%;min-width:0}
  #image-animation .generation-flow{flex-basis:86vw}
  #image-animation .generation-arrow span{width:42px;height:42px}

  #workflow .workflow-media{padding:7px}
  #workflow .workflow-step{min-height:82px}
  #workflow .workflow-step h3{font-size:12.5px;line-height:1.45}

  #transformation .transformation-stage{gap:12px}
  #transformation .transformation-summary{padding:23px 16px}
  #transformation .transformation-summary h3{font-size:25px}
  #transformation .transformation-video-panel{padding:12px;border-radius:22px}

  #benefit-sns .sns-showcase-flow{margin-inline:-12px;padding-inline:12px}
  #benefit-sns .sns-showcase-step{flex-basis:84vw}
  #benefit-sns .sns-showcase-short{flex-basis:72vw}

  #benefit-ai-suite .merit-suite-flow{gap:7px;padding:14px 12px;font-size:9px}
  #benefit-ai-suite .merit-suite-flow i{font-size:14px}
  #benefit-ai-suite .merit-card{flex-basis:84vw}

  #analytics-to-video .analytics-journey{padding:14px}
  #analytics-to-video .analytics-source{flex-basis:82vw;padding:20px}
  #analytics-to-video .analytics-outputs li,
  #analytics-to-video .analytics-outputs li:last-child{flex-basis:72vw}
  #analytics-to-video .analytics-entry article{flex-basis:82vw}
  #analytics-to-video .analytics-cta .btn{min-height:64px;font-size:14px}

  #benefit-templates .reference-gallery{padding:14px}
  #benefit-templates .reference-wide-grid>.reference-video-card{flex-basis:82vw}
  #benefit-templates .reference-short-grid>.reference-video-card{flex-basis:66vw}
  #benefit-templates .reference-thumbnail-card,
  #benefit-templates .reference-thumbnail-card:last-child{flex-basis:78vw}

  #engine .engine-intro{gap:18px}
  #engine .engine-copy{padding:22px 18px}
  #details-hub .details-grid>.details-card{flex-basis:84vw}
  #cost .cost-cards>.cost-card{flex-basis:78vw}
  #cost .calc{padding:20px 14px;border-radius:24px}
  #cost .calc-results{gap:7px}
  #cost .calc-box{min-height:118px;padding:14px 8px}

  #plans .monthly-plans{padding:20px 14px}
  #plans .monthly-plan-card{flex-basis:84vw;padding:24px 19px 22px}
  #plans .step-pack-card{flex-basis:76vw}
  #plans .plans-grid>.plan-card{flex-basis:86vw;padding:24px 20px}
  #plans .program-grid>.program-step{flex-basis:78vw}
  #plans .monthly-plans-footer{padding:15px 16px}

  #demo .demo-grid{gap:16px}
  #demo .demo-video-shell{border-radius:22px}
  #faq .faq-list summary{min-height:60px}
  #final .btn{width:100%}
  body.theme-midnight-ai footer li>a{display:inline-flex;align-items:center;min-height:40px;padding-block:6px}
  body.theme-midnight-ai footer .pending-links a{display:inline-flex;align-items:center;min-height:40px}
}

@media(max-width:380px){
  body.theme-midnight-ai .wrap,
  body.theme-midnight-ai .narrow{width:min(100% - 20px,520px)}
  body.theme-midnight-ai:not(.company-page):not(.sanctuary-page) .brand{width:156px}
  #hero.hero-10min .hero-10min-actions b{font-size:12.5px}
  #workflow .workflow-steps{grid-template-columns:1fr 1fr!important}
  #workflow .workflow-step{min-height:86px;padding:10px 8px}
  #workflow .workflow-step h3{font-size:11.5px}
  #plans .monthly-plan-price b{font-size:34px}
}

/* Smartphone composition -------------------------------------------------
   Keep every sample large enough to judge while preserving the two-part
   editorial collage used on desktop. The column wrappers become transparent
   to the grid so no empty cells are left beside portrait movies. */
@media(max-width:600px){
  html,
  body.theme-midnight-ai{width:100%;max-width:100%;overflow-x:hidden}
  body.theme-midnight-ai main>section{scroll-margin-top:76px}
  body.theme-midnight-ai :is(.section-title,.section-lead,h1,h2,h3,p,a,button){overflow-wrap:anywhere}
  body.theme-midnight-ai :is(.btn,.hero-app-cta,.hero-document-cta){white-space:normal}

  /* Keep the conversion bar useful without hiding an entire row of content. */
  body.theme-midnight-ai #mobile-cta{
    display:flex!important;
    left:8px;
    right:8px;
    bottom:max(8px,env(safe-area-inset-bottom));
    padding:0!important;
    border-radius:16px;
  }
  body.theme-midnight-ai #mobile-cta>a{min-height:56px;padding:7px 9px}
  body.theme-midnight-ai #mobile-cta small{font-size:7px}
  body.theme-midnight-ai #mobile-cta b{font-size:12px}
  body.theme-midnight-ai #mobile-cta .mobile-phone b{font-size:13px}

  #results.proof-stage{overflow:hidden;padding-bottom:52px}
  #results.proof-stage .section-head.center{width:min(100% - 12px,520px);margin-bottom:22px}
  #results .proof-video-grid{
    width:calc(100vw - 24px);
    margin-left:calc(50% - (50vw - 12px));
    gap:0;
  }
  #results .proof-video-column{display:contents!important}
  #results .proof-video-band{
    display:grid!important;
    width:100%;
    align-items:stretch;
    gap:7px!important;
  }
  #results .proof-video-card{
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    aspect-ratio:auto!important;
    border-radius:12px;
    box-shadow:0 12px 28px rgba(0,0,0,.26);
  }
  #results .proof-video-card :is(img,video){width:100%;height:100%;object-fit:cover}

  #results .proof-video-band-top{
    grid-template-columns:minmax(0,2fr) minmax(0,3fr)!important;
    grid-template-rows:repeat(3,clamp(90px,24vw,118px));
  }
  #results .proof-video-band-top .proof-sample-11{grid-column:1;grid-row:1 / span 2}
  #results .proof-video-band-top .proof-sample-8{grid-column:2;grid-row:1}
  #results .proof-video-band-top .proof-sample-10{grid-column:2;grid-row:2}
  #results .proof-video-band-top .proof-sample-3{grid-column:1;grid-row:3}
  #results .proof-video-band-top .proof-sample-5{grid-column:2;grid-row:3}

  #results .proof-video-band-bottom{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(4,clamp(86px,23vw,112px));
    margin-top:18px!important;
    padding-top:11px;
    border-top:8px solid rgba(235,239,255,.94);
  }
  #results .proof-video-band-bottom .proof-sample-9{grid-column:1;grid-row:1}
  #results .proof-video-band-bottom .proof-sample-6{grid-column:1;grid-row:2}
  #results .proof-video-band-bottom .proof-sample-12{grid-column:2;grid-row:1 / span 2}
  #results .proof-video-band-bottom .proof-sample-1{grid-column:1;grid-row:3}
  #results .proof-video-band-bottom .proof-sample-4{grid-column:2;grid-row:3}
  #results .proof-video-band-bottom .proof-sample-7{grid-column:1;grid-row:4}
  #results .proof-video-band-bottom .proof-sample-2{grid-column:2;grid-row:4}
}

@media(hover:none) and (pointer:coarse){
  body.theme-midnight-ai :is(.reference-video-card,.reference-thumbnail-card,.details-card,.plan-card,.monthly-plan-card):hover{transform:none}
}

/* Mobile proof cinema ----------------------------------------------------
   Preserve the desktop collage and every source aspect ratio. On phones the
   two desktop bands gently pan from left to right instead of squeezing the
   footage into narrow grid cells. */
@media(max-width:600px){
  #results.proof-stage{
    overflow:hidden;
    padding-bottom:46px;
  }
  #results.proof-stage .section-head.center{
    width:min(100% - 24px,520px);
    margin-bottom:18px;
  }
  #results .proof-video-grid{
    display:grid;
    width:100vw;
    margin-left:calc(50% - 50vw);
    gap:10px;
    overflow:hidden;
    padding:4px 0 10px;
    border-block:1px solid rgba(151,166,255,.12);
    background:
      linear-gradient(90deg,rgba(3,6,23,.92),transparent 8%,transparent 92%,rgba(3,6,23,.92)),
      rgba(4,8,28,.2);
    touch-action:pan-y;
    overscroll-behavior-inline:contain;
    cursor:grab;
    user-select:none;
    -webkit-user-select:none;
    -webkit-touch-callout:none;
  }
  #results .proof-video-grid.is-proof-dragging{cursor:grabbing}
  #results .proof-video-grid:is(.is-proof-dragging,.is-proof-springing) .proof-video-band{
    animation:none!important;
  }
  #results .proof-video-band{
    --proof-mobile-width:820px;
    display:grid!important;
    width:var(--proof-mobile-width)!important;
    max-width:none!important;
    margin:0!important;
    gap:8px!important;
    align-items:stretch;
    will-change:transform;
    animation:proof-mobile-pan 30s cubic-bezier(.45,.05,.55,.95) infinite alternate;
  }
  #results .proof-video-band-bottom{
    padding-top:0;
    border-top:0;
    animation-delay:-5s;
  }
  #results .proof-video-band-top{
    grid-template-columns:.5625fr 1.7778fr .85fr 1.7778fr!important;
    grid-template-rows:none!important;
  }
  #results .proof-video-band-bottom{
    grid-template-columns:1fr .649fr 1fr 1fr!important;
    grid-template-rows:none!important;
  }
  #results .proof-video-column{
    display:grid!important;
    width:auto!important;
    min-width:0;
    align-content:center;
    gap:8px!important;
  }
  #results .proof-video-short{
    width:auto!important;
    margin:0!important;
  }
  #results .proof-video-card,
  #results .proof-video-band :is(.proof-sample-1,.proof-sample-2,.proof-sample-3,.proof-sample-4,.proof-sample-5,.proof-sample-6,.proof-sample-7,.proof-sample-8,.proof-sample-9,.proof-sample-10,.proof-sample-11,.proof-sample-12){
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
    height:auto!important;
    min-width:0;
    aspect-ratio:16/9!important;
    border-radius:12px;
    box-shadow:0 12px 28px rgba(0,0,0,.3);
  }
  #results .proof-video-short .proof-video-card{
    aspect-ratio:9/16!important;
  }
  #results .proof-video-card :is(img,video){
    width:100%;
    height:100%;
    object-fit:contain;
    background:#050816;
  }
}

@keyframes proof-mobile-pan{
  0%,7%{transform:translate3d(0,0,0)}
  93%,100%{transform:translate3d(calc(100vw - var(--proof-mobile-width)),0,0)}
}

.proof-mobile-guide{display:none}

@media(max-width:600px){
  #results .proof-mobile-guide{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:7px;
    width:calc(100% - 24px);
    margin:10px auto 0;
    color:rgba(236,241,255,.84);
    font-family:'Noto Sans JP',sans-serif;
    font-size:10px;
    font-weight:700;
    letter-spacing:.02em;
    line-height:1;
  }
  #results .proof-guide-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:29px;
    padding:6px 10px;
    border:1px solid rgba(152,171,255,.22);
    border-radius:999px;
    background:linear-gradient(135deg,rgba(20,30,67,.82),rgba(12,18,47,.72));
    box-shadow:0 8px 20px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
  }
  #results .proof-swipe-cue{
    position:relative;
    display:block;
    width:27px;
    height:20px;
    flex:0 0 auto;
    border-radius:8px;
    color:#dce5ff;
    background:linear-gradient(145deg,rgba(116,143,255,.18),rgba(98,81,213,.1));
    box-shadow:inset 0 0 0 1px rgba(153,178,255,.13);
  }
  #results .proof-swipe-arrow{
    position:absolute;
    top:50%;
    left:50%;
    color:#77c8ff;
    font-family:'Outfit',sans-serif;
    font-size:16px;
    font-weight:800;
    line-height:1;
    transform:translate(-50%,-52%);
  }
  #results .proof-youtube-cue{
    position:relative;
    width:20px;
    height:14px;
    flex:0 0 auto;
    border-radius:5px;
    background:linear-gradient(135deg,#ff4b67,#e92749);
    box-shadow:0 4px 10px rgba(233,39,73,.24);
  }
  #results .proof-youtube-cue::after{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:0;
    height:0;
    border-top:3.5px solid transparent;
    border-bottom:3.5px solid transparent;
    border-left:5px solid #fff;
    transform:translate(-38%,-50%);
  }
  #results .proof-launch-cue{
    margin-left:-2px;
    color:#aebeff;
    font-family:'Outfit',sans-serif;
    font-size:12px;
    line-height:1;
  }
}

@media(max-width:600px) and (prefers-reduced-motion:reduce){
  #results .proof-video-grid{overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
  #results .proof-video-grid::-webkit-scrollbar{display:none}
  #results .proof-video-band{animation:none;will-change:auto;scroll-snap-align:start}
}

/* Mobile six-format catalogue -------------------------------------------
   Desktop keeps the detailed editorial cards. Phones use a compact 3 x 2
   visual index so all six formats can be compared without swiping. */
@media(max-width:600px){
  #capabilities{
    padding-block:46px!important;
  }
  #capabilities .wrap{
    width:calc(100% - 12px)!important;
    padding:20px 4px 5px!important;
    border-radius:19px;
  }
  #capabilities .section-head{
    margin-bottom:14px!important;
    padding-inline:8px!important;
  }
  #capabilities .section-head .eyebrow{
    display:none;
  }
  #capabilities .formats-title{
    font-size:clamp(21px,6.15vw,25px)!important;
    line-height:1.34!important;
    letter-spacing:-.045em;
  }
  #capabilities .formats-mobile-break{
    display:none!important;
  }
  #capabilities .style-grid-six{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:4px!important;
    overflow:visible!important;
    padding:0!important;
    scroll-snap-type:none!important;
  }
  #capabilities .style-grid-six .style-card{
    display:block;
    min-width:0;
    min-height:0;
    padding:0 0 5px!important;
    overflow:hidden;
    border:1px solid rgba(173,196,255,.25);
    border-radius:8px!important;
    background:rgba(7,14,36,.94);
    box-shadow:0 8px 18px rgba(0,0,0,.18);
    scroll-snap-align:none;
  }
  #capabilities .style-grid-six .style-visual{
    width:100%;
    height:auto!important;
    margin:0!important;
    aspect-ratio:16/9!important;
    border-radius:7px 7px 4px 4px!important;
    background:#071027;
  }
  #capabilities .style-grid-six .style-visual-image{
    object-fit:contain;
    background:#071027;
    transform:none!important;
  }
  #capabilities .style-grid-six .style-card h3{
    display:flex;
    align-items:center;
    min-height:31px;
    margin:0;
    padding:5px 6px 1px;
    color:#f7f9ff;
    font-size:clamp(8px,2.25vw,10px)!important;
    line-height:1.35;
    letter-spacing:-.02em;
    text-align:left;
  }
  #capabilities .style-grid-six .style-card :is(p,.for){
    display:none!important;
  }
}

/* Mobile transformation story ------------------------------------------
   Phones show the decision-making essentials first, followed by the full-
   width walkthrough video. Desktop retains the detailed three-step cards. */
@media(max-width:600px){
  #transformation{
    padding-block:48px!important;
  }
  #transformation .wrap{
    width:calc(100% - 14px)!important;
  }
  #transformation .section-head{
    width:calc(100% - 14px);
    margin:0 auto 20px!important;
  }
  #transformation .section-title{
    font-size:clamp(27px,8vw,32px)!important;
    line-height:1.25!important;
    letter-spacing:-.05em;
  }
  #transformation .transformation-stage{
    display:flex!important;
    width:100%;
    gap:7px!important;
    flex-direction:column;
    overflow:hidden;
    padding:0;
    border:1px solid rgba(127,148,238,.28);
    border-radius:20px;
    background:rgba(7,13,35,.86);
    box-shadow:0 22px 54px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.04);
  }
  #transformation .transformation-summary{
    padding:14px 8px 8px!important;
    border:0!important;
    border-radius:0!important;
    background:linear-gradient(145deg,rgba(22,32,70,.98),rgba(12,18,49,.98))!important;
    box-shadow:none!important;
  }
  #transformation .transformation-summary::before,
  #transformation .transformation-summary-tag,
  #transformation .transformation-actions{
    display:none!important;
  }
  #transformation .transformation-summary h3{
    margin:0 4px 8px!important;
    padding:0 5px 12px;
    border-bottom:1px solid rgba(168,184,255,.18);
    color:#f5f7ff;
    font-size:clamp(20px,5.8vw,23px)!important;
    line-height:1.32;
    letter-spacing:-.04em;
  }
  #transformation .transformation-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px!important;
    margin:0!important;
  }
  #transformation .transformation-metrics div{
    min-height:76px!important;
    padding:10px 5px!important;
    border-color:rgba(135,157,232,.24)!important;
    border-radius:14px!important;
    background:linear-gradient(145deg,rgba(15,27,59,.98),rgba(7,15,37,.98))!important;
    box-shadow:0 10px 24px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.035)!important;
  }
  #transformation .transformation-metrics b{
    font-size:clamp(20px,5.8vw,24px)!important;
    letter-spacing:-.04em;
  }
  #transformation .transformation-metrics small{
    margin-top:6px!important;
    font-size:8px!important;
    line-height:1.4;
  }
  #transformation .transformation-video-panel{
    width:100%!important;
    margin:0!important;
    padding:7px!important;
    border:0!important;
    border-top:0!important;
    border-radius:0!important;
    background:linear-gradient(145deg,rgba(12,21,49,.99),rgba(17,18,53,.99));
    box-shadow:none!important;
  }
  #transformation .transformation-video-copy{
    gap:7px!important;
    padding:2px 3px 7px!important;
  }
  #transformation .transformation-video-copy span{
    padding:5px 7px;
    font-size:8px!important;
  }
  #transformation .transformation-video-copy strong{
    font-size:12px!important;
    line-height:1.35!important;
  }
  #transformation .transformation-video-shell{
    flex:none!important;
    width:100%;
    aspect-ratio:16/9!important;
    border-radius:13px!important;
    box-shadow:0 14px 32px rgba(0,0,0,.3);
  }
  #transformation .transformation-video{
    object-fit:cover;
  }
  #transformation .transformation-audio-toggle{
    top:9px;
    left:9px;
    min-height:36px!important;
    padding:7px 9px!important;
    font-size:8px!important;
  }
}

/* Mobile image-to-video scale ------------------------------------------
   Keep the desktop presentation untouched. Each mobile before/after example
   is 65% of its previous rail width, with controls scaled to match. */
@media(max-width:600px){
  #image-animation .generation-examples{
    gap:12px;
    padding-inline:14px;
    scroll-padding-inline:14px;
  }
  #image-animation .generation-flow{
    flex:0 0 min(56vw,305px)!important;
    width:min(56vw,305px);
    gap:8px!important;
    padding-top:6px!important;
    scroll-snap-align:center;
  }
  #image-animation .generation-card{
    border-radius:16px!important;
  }
  #image-animation .generation-card.source .generation-source,
  #image-animation .generation-card.source .generation-placeholder{
    border-radius:15px;
  }
  #image-animation .generation-label{
    top:8px;
    left:8px;
    padding:6px 8px;
    font-size:9px!important;
  }
  #image-animation .generation-arrow{
    padding:1px 0!important;
  }
  #image-animation .generation-arrow span{
    width:34px!important;
    height:34px!important;
    font-size:17px!important;
  }
  #image-animation .generation-character-audio-toggle{
    top:8px;
    left:8px;
    min-height:34px!important;
    padding:6px 8px!important;
    font-size:8px!important;
  }
  #image-animation .generation-character-audio-toggle svg{
    width:14px;
    height:14px;
  }
}

/* Desktop image-to-video presentation ----------------------------------
   Mirror the mobile reading order: source image above, generated video below.
   Three balanced columns keep all examples visible without stretching media. */
@media(min-width:841px){
  #image-animation .generation-examples{
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:start;
    gap:22px;
  }
  #image-animation .generation-flow{
    width:100%;
    margin-inline:0;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    padding-top:18px;
    align-content:start;
  }
  #image-animation .generation-arrow{
    min-height:38px;
    padding:0;
  }
  #image-animation .generation-arrow span{
    width:38px;
    height:38px;
    font-size:19px;
    transform:rotate(90deg);
  }
  #image-animation .generation-card{
    border-radius:20px;
  }
  #image-animation .generation-label{
    padding:8px 12px;
    font-size:10px;
  }
  #image-animation .generation-character-audio-toggle{
    min-height:38px;
    padding:8px 10px;
    font-size:8px;
  }
}

/* Proof collage: fluid desktop-to-mobile bridge -------------------------
   Preserve the editorial four-column geometry between desktop and phone.
   Every landscape and portrait sample keeps its source aspect ratio while
   the complete collage scales continuously with the browser width. */
@media(min-width:601px) and (max-width:960px){
  #results.proof-stage{
    overflow:hidden;
  }
  #results .proof-video-grid{
    width:calc(100vw - clamp(24px,4vw,40px));
    margin-left:calc(50% - 50vw + clamp(12px,2vw,20px));
    gap:clamp(6px,1vw,10px);
  }
  #results .proof-video-band{
    display:grid!important;
    width:100%!important;
    margin:0!important;
    align-items:stretch!important;
    gap:clamp(6px,1vw,10px)!important;
  }
  #results .proof-video-band-top{
    grid-template-columns:.5625fr 1.7778fr .85fr 1.7778fr!important;
  }
  #results .proof-video-band-bottom{
    grid-template-columns:1fr .649fr 1fr 1fr!important;
  }
  #results .proof-video-column{
    display:grid!important;
    width:auto!important;
    min-width:0;
    align-content:center;
    gap:clamp(6px,1vw,10px)!important;
  }
  #results .proof-video-short{
    width:auto!important;
    margin:0!important;
  }
  #results .proof-video-card{
    width:100%!important;
    height:auto!important;
    min-width:0;
    min-height:0;
    aspect-ratio:16/9!important;
    border-radius:clamp(9px,1.5vw,14px);
  }
  #results .proof-video-short .proof-video-card{
    aspect-ratio:9/16!important;
  }
  #results .proof-video-card :is(img,video){
    width:100%;
    height:100%;
    object-fit:cover;
  }
}

/* Transformation desktop balance ---------------------------------------
   Keep the walkthrough at its native 16:9 ratio and compact the summary so
   both cards share a clean, parallel top and bottom edge. */
@media(min-width:901px){
  #transformation .transformation-stage{
    grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);
    align-items:stretch;
    gap:18px;
  }
  #transformation .transformation-summary{
    padding:20px 22px;
  }
  #transformation .transformation-summary-tag{
    margin-bottom:8px;
    padding:6px 12px;
    font-size:10px;
  }
  #transformation .transformation-summary h3{
    margin-bottom:12px;
    font-size:clamp(23px,2.25vw,28px);
    line-height:1.3;
  }
  #transformation .transformation-actions{
    gap:10px;
  }
  #transformation .transformation-actions li{
    min-height:82px;
    padding:12px;
    gap:8px;
  }
  #transformation .transformation-actions i{
    width:31px;
    height:31px;
    border-radius:10px;
    font-size:12px;
  }
  #transformation .transformation-actions b{
    font-size:12px;
    line-height:1.45;
  }
  #transformation .transformation-metrics{
    gap:10px;
    margin-top:12px;
  }
  #transformation .transformation-metrics div{
    min-height:72px;
    padding:9px 10px;
  }
  #transformation .transformation-metrics b{
    font-size:clamp(21px,2.15vw,27px);
  }
  #transformation .transformation-metrics small{
    margin-top:6px;
    font-size:9px;
  }
  #transformation .transformation-video-panel{
    height:100%;
    padding:11px;
  }
  #transformation .transformation-video-copy{
    padding-bottom:9px;
  }
  #transformation .transformation-video-shell{
    flex:none;
    width:100%;
    aspect-ratio:16/9;
  }
  #transformation .transformation-video{
    width:100%;
    height:100%;
    object-fit:cover;
  }
}

/* Shared CTA attention cue ----------------------------------------------
   Applied only to the explicitly selected conversion buttons. The motion is
   a brief pulse near the end of each cycle, keeping reading comfortable. */
.cta-attention-jiggle{
  transform-origin:50% 55%;
  animation:cta-attention-jiggle 5.2s ease-in-out infinite;
  will-change:transform;
}
.btn-line.cta-attention-jiggle{
  animation:
    ctaGradientFlow 3.8s ease-in-out infinite,
    cta-attention-jiggle 5.2s ease-in-out infinite;
}
@keyframes cta-attention-jiggle{
  0%,72%,90%,100%{transform:translateX(0) rotate(0) scale(1)}
  75%{transform:translateX(-2px) rotate(-.5deg) scale(1.006)}
  78%{transform:translateX(3px) rotate(.6deg) scale(1.012)}
  81%{transform:translateX(-3px) rotate(-.48deg) scale(1.01)}
  84%{transform:translateX(2px) rotate(.32deg) scale(1.006)}
  87%{transform:translateX(-1px) rotate(-.14deg) scale(1.003)}
}
@media(prefers-reduced-motion:reduce){
  .cta-attention-jiggle,
  .btn-line.cta-attention-jiggle{
    animation:none!important;
    will-change:auto;
  }
}

/* Mobile page ending ----------------------------------------------------
   The floating contact bar is suppressed over the legal/footer area, so the
   former full-bar body spacer is no longer needed at the end of the page.
   Keep the footer readable while removing repeated line and link padding. */
@media(max-width:840px){
  body.theme-midnight-ai{padding-bottom:0}
}
@media(max-width:600px){
  body.theme-midnight-ai #legal{padding:22px 0}
  body.theme-midnight-ai #legal p{margin:0;font-size:9px;line-height:1.65}
  body.theme-midnight-ai footer{
    padding:26px 0 calc(16px + env(safe-area-inset-bottom));
  }
  body.theme-midnight-ai .footer-grid{
    gap:10px;
    margin-bottom:13px;
  }
  body.theme-midnight-ai .footer-brand p{
    margin-top:7px;
    line-height:1.48;
  }
  body.theme-midnight-ai footer h4{
    margin:0 0 3px;
    line-height:1.45;
  }
  body.theme-midnight-ai footer ul{gap:0}
  body.theme-midnight-ai footer li{line-height:1.45}
  body.theme-midnight-ai footer li>a,
  body.theme-midnight-ai footer .pending-links a{
    min-height:0;
    padding-block:2px;
    line-height:1.45;
  }
  body.theme-midnight-ai footer .pending-links{
    gap:3px 10px;
    margin-top:4px;
    line-height:1.45;
  }
  body.theme-midnight-ai .footer-bottom{
    gap:3px;
    padding-top:10px;
    line-height:1.45;
  }

  /* Mobile footer density: the shared mobile touch rule gives every link a
     40px box.  In this footer it reads as blank lines, so keep the text and
     sections compact while retaining comfortable horizontal hit areas. */
  body.theme-midnight-ai footer .footer-grid{
    row-gap:11px!important;
  }
  body.theme-midnight-ai footer .footer-grid>div{
    min-width:0;
    margin:0!important;
  }
  body.theme-midnight-ai footer .footer-brand p{
    margin:6px 0 0!important;
    line-height:1.48!important;
  }
  body.theme-midnight-ai footer .footer-grid h4{
    margin:0 0 4px!important;
  }
  body.theme-midnight-ai footer .footer-grid ul{
    display:block!important;
    margin:0!important;
    padding:0!important;
  }
  body.theme-midnight-ai footer .footer-grid li,
  body.theme-midnight-ai footer .footer-grid li+li{
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    line-height:1.48!important;
  }
  body.theme-midnight-ai footer .footer-grid li>a{
    display:block!important;
    min-height:0!important;
    margin:0!important;
    padding:2px 0!important;
    line-height:1.48!important;
  }
  body.theme-midnight-ai footer .pending-links{
    margin-top:3px!important;
  }
  body.theme-midnight-ai footer .pending-links a{
    display:inline!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    line-height:1.48!important;
  }
}

/* Final conversion focus -------------------------------------------------
   Keep the two closing actions visually paired: the sample CTA receives the
   same short attention cue as the phone number, while a restrained blue-violet
   glow makes the whole contact row read as the final conversion destination. */
body.theme-midnight-ai #final .final-contact-row>:is(.btn,.phone-cta-final){
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-color:rgba(184,205,255,.62);
  box-shadow:
    0 0 0 1px rgba(135,162,255,.2),
    0 0 28px rgba(91,116,255,.28),
    0 16px 42px rgba(12,21,66,.34),
    inset 0 1px 0 rgba(255,255,255,.24);
}
body.theme-midnight-ai #final .final-contact-row>:is(.btn,.phone-cta-final)::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  opacity:.2;
  background:
    linear-gradient(112deg,transparent 15%,rgba(255,255,255,.22) 46%,transparent 75%),
    radial-gradient(circle at 50% 48%,rgba(119,179,255,.3),transparent 68%);
  animation:final-cta-shared-glow 3.4s ease-in-out infinite alternate;
  will-change:opacity;
}
body.theme-midnight-ai #final .final-contact-row>:is(.btn,.phone-cta-final)>*{
  position:relative;
  z-index:1;
}
body.theme-midnight-ai #final .final-contact-row>.btn{
  transform-origin:50% 55%;
  background:linear-gradient(105deg,#665be9 0%,#8061eb 50%,#4d8df2 100%);
  animation:final-sample-cta-jiggle 4.8s ease-in-out infinite;
  will-change:transform;
}
body.theme-midnight-ai #final .final-headline-jiggle{
  display:inline-block;
  transform-origin:50% 55%;
  animation:final-sample-cta-jiggle 4.8s ease-in-out infinite;
  will-change:transform;
}
body.theme-midnight-ai #final .phone-cta-final{
  background:linear-gradient(145deg,rgba(25,42,91,.96),rgba(11,22,54,.98));
  box-shadow:
    0 0 0 1px rgba(129,165,255,.22),
    0 0 28px rgba(70,141,255,.28),
    0 16px 42px rgba(9,17,49,.38),
    inset 0 1px 0 rgba(255,255,255,.18);
}
body.theme-midnight-ai #final .phone-cta-final::before{
  animation-delay:.35s;
}
body.theme-midnight-ai #final .final-contact-row>:is(.btn,.phone-cta-final):hover{
  border-color:rgba(220,231,255,.88);
  box-shadow:
    0 0 0 1px rgba(181,205,255,.32),
    0 0 38px rgba(103,144,255,.4),
    0 18px 46px rgba(12,21,66,.4),
    inset 0 1px 0 rgba(255,255,255,.28);
}
@keyframes final-sample-cta-jiggle{
  0%,70%,88%,100%{transform:translateX(0) rotate(0) scale(1)}
  73%{transform:translateX(-2px) rotate(-.55deg) scale(1.006)}
  76%{transform:translateX(3px) rotate(.65deg) scale(1.012)}
  79%{transform:translateX(-3px) rotate(-.5deg) scale(1.01)}
  82%{transform:translateX(2px) rotate(.35deg) scale(1.006)}
  85%{transform:translateX(-1px) rotate(-.15deg) scale(1.003)}
}
@keyframes final-cta-shared-glow{
  0%{opacity:.16}
  100%{opacity:.48}
}
@media(prefers-reduced-motion:reduce){
  body.theme-midnight-ai #final .final-headline-jiggle,
  body.theme-midnight-ai #final .final-contact-row>.btn,
  body.theme-midnight-ai #final .final-contact-row>:is(.btn,.phone-cta-final)::before{
    animation:none!important;
    will-change:auto;
  }
}

/* Final free-sample appeal — lead the eye to video, then conversion -------- */
body.theme-midnight-ai #demo .demo-video-panel{
  position:relative;
  isolation:isolate;
  border:1px solid rgba(129,155,255,.54)!important;
  background:linear-gradient(155deg,rgba(18,31,68,.98),rgba(9,15,39,.99))!important;
  box-shadow:
    0 0 0 1px rgba(103,129,246,.18),
    0 0 38px rgba(84,104,232,.26),
    0 28px 72px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.12)!important;
}
body.theme-midnight-ai #demo .demo-video-panel::before{
  content:"";
  display:block;
  position:absolute;
  z-index:0;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  opacity:.55;
  background:
    radial-gradient(75% 48% at 50% 0%,rgba(103,194,255,.25),transparent 68%),
    radial-gradient(64% 44% at 96% 72%,rgba(179,91,241,.20),transparent 72%);
  will-change:opacity;
  animation:demoPanelAmbientGlow 5.6s ease-in-out infinite alternate;
}
body.theme-midnight-ai #demo .demo-video-panel>*{
  position:relative;
  z-index:1;
}
body.theme-midnight-ai #demo .demo-video-shell{
  isolation:isolate;
  box-shadow:
    0 0 0 1px rgba(201,222,255,.62),
    0 0 22px rgba(99,184,255,.38),
    0 0 48px rgba(128,88,239,.28);
}
body.theme-midnight-ai #demo .demo-video-shell::after{
  content:"";
  position:absolute;
  z-index:4;
  inset:0;
  border:2px solid rgba(180,219,255,.88);
  border-radius:inherit;
  pointer-events:none;
  opacity:.62;
  background:linear-gradient(120deg,rgba(111,207,255,.14),transparent 26%,transparent 72%,rgba(190,103,246,.16));
  box-shadow:
    inset 0 0 24px rgba(122,201,255,.18),
    inset 0 0 0 1px rgba(184,127,255,.18);
  mix-blend-mode:screen;
  will-change:opacity;
  animation:demoVideoFrameGlow 3.8s ease-in-out infinite alternate;
}
body.theme-midnight-ai #demo .demo-video-cta .btn{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  box-shadow:
    0 0 0 1px rgba(190,210,255,.36),
    0 0 24px rgba(103,112,244,.30);
}
body.theme-midnight-ai #demo .demo-video-cta .btn::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  opacity:.26;
  background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.48),transparent 68%);
  will-change:opacity;
  animation:demoCtaBreathingGlow 3.8s ease-in-out infinite alternate;
}
@keyframes demoPanelAmbientGlow{
  0%{opacity:.42}
  100%{opacity:.68}
}
@keyframes demoVideoFrameGlow{
  0%{opacity:.48}
  100%{opacity:1}
}
@keyframes demoCtaBreathingGlow{
  0%{opacity:.16}
  100%{opacity:.42}
}
@media(prefers-reduced-motion:reduce){
  body.theme-midnight-ai #demo .demo-video-panel::before,
  body.theme-midnight-ai #demo .demo-video-shell::after,
  body.theme-midnight-ai #demo .demo-video-cta .btn::before{
    animation:none!important;
    will-change:auto;
  }
}

/* Cost: lead directly to the calculator on phones --------------------- */
@media(max-width:600px){
  #cost .section-head .section-lead,
  #cost .cost-cards,
  #cost .cost-cards + .fine,
  #cost .fixed-example{
    display:none!important;
  }
  #cost .section-head{
    margin-bottom:18px!important;
  }
}

/* Free demo: one cohesive decision panel ------------------------------ */
body.theme-midnight-ai #demo{
  padding-block:88px;
}
body.theme-midnight-ai #demo .demo-grid{
  grid-template-columns:minmax(0,1fr) minmax(340px,420px)!important;
  gap:clamp(34px,5vw,68px)!important;
  align-items:center;
  width:min(100% - 40px,1120px);
  padding:clamp(32px,5vw,62px);
  border:1px solid rgba(125,150,235,.22);
  border-radius:40px;
  background:
    radial-gradient(520px 300px at 96% 4%,rgba(145,88,233,.19),transparent 72%),
    linear-gradient(135deg,rgba(10,19,48,.96),rgba(10,14,38,.9));
  box-shadow:0 36px 100px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.04);
}
body.theme-midnight-ai #demo .demo-copy{
  min-width:0;
  padding:8px 0;
}
body.theme-midnight-ai #demo .demo-copy .section-head{
  margin-bottom:18px;
}
body.theme-midnight-ai #demo .demo-copy .section-title{
  max-width:620px;
  margin-top:15px;
  font-size:clamp(36px,4.3vw,54px);
  line-height:1.26;
}
body.theme-midnight-ai #demo .demo-copy .section-lead{
  max-width:600px;
  font-size:13px;
  line-height:1.9;
}
body.theme-midnight-ai #demo .demo-inclusions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
body.theme-midnight-ai #demo .demo-inclusions span{
  justify-content:center;
  min-height:46px;
  padding:9px 10px;
  border-radius:14px;
  font-size:10px;
  text-align:center;
}
body.theme-midnight-ai #demo .demo-inclusions span::before{
  flex:0 0 auto;
  margin-right:6px;
}
body.theme-midnight-ai #demo .demo-free-note{
  margin-top:14px;
}
body.theme-midnight-ai #demo .demo-video-panel{
  width:100%!important;
  max-width:420px;
  min-width:0!important;
  margin:0!important;
  justify-self:end;
  padding:8px;
  border-radius:30px;
}
body.theme-midnight-ai #demo .demo-video-shell{
  width:100%;
  aspect-ratio:1;
  border-radius:23px;
}
body.theme-midnight-ai #demo .demo-video-cta{
  grid-template-columns:1fr;
  gap:13px;
  padding:18px 14px 12px;
  text-align:left;
}
body.theme-midnight-ai #demo .demo-video-cta h3{
  margin-top:3px;
  font-size:18px;
}
body.theme-midnight-ai #demo .demo-video-cta .btn{
  width:100%;
  min-width:0;
  min-height:58px;
  justify-content:center;
  font-size:13px;
}
body.theme-midnight-ai #demo .demo-phone-link{
  justify-self:center;
}
@media(max-width:900px){
  body.theme-midnight-ai #demo{
    padding-block:56px;
  }
  body.theme-midnight-ai #demo .demo-grid{
    grid-template-columns:1fr!important;
    gap:26px!important;
    width:min(100% - 18px,620px);
    padding:28px 22px;
    border-radius:32px;
  }
  body.theme-midnight-ai #demo .demo-copy{
    padding:0;
    text-align:center;
  }
  body.theme-midnight-ai #demo .demo-copy .section-head{
    text-align:center;
  }
  body.theme-midnight-ai #demo .demo-copy .eyebrow{
    justify-content:center;
  }
  body.theme-midnight-ai #demo .demo-copy .section-title,
  body.theme-midnight-ai #demo .demo-copy .section-lead{
    margin-inline:auto;
  }
  body.theme-midnight-ai #demo .demo-inclusions{
    max-width:480px;
    margin-inline:auto;
  }
  body.theme-midnight-ai #demo .demo-free-note{
    justify-content:center;
  }
  body.theme-midnight-ai #demo .demo-video-panel{
    max-width:390px;
    justify-self:center;
  }
}
@media(max-width:560px){
  body.theme-midnight-ai #demo .demo-grid{
    padding:22px 14px;
    border-radius:26px;
  }
  body.theme-midnight-ai #demo .demo-copy .section-title{
    font-size:clamp(27px,8.2vw,34px);
  }
  body.theme-midnight-ai #demo .demo-copy .section-lead{
    font-size:11.5px;
    line-height:1.75;
  }
  body.theme-midnight-ai #demo .demo-inclusions{
    gap:6px;
  }
  body.theme-midnight-ai #demo .demo-inclusions span{
    min-height:40px;
    padding:7px 5px;
    font-size:8px;
  }
  body.theme-midnight-ai #demo .demo-inclusions span::before{
    width:17px;
    height:17px;
    margin-right:4px;
    font-size:8px;
  }
  body.theme-midnight-ai #demo .demo-video-panel{
    max-width:330px;
  }
  body.theme-midnight-ai #demo .demo-video-cta{
    padding:15px 10px 10px;
    text-align:center;
  }
  body.theme-midnight-ai #demo .demo-video-cta h3{
    font-size:16px;
  }
  body.theme-midnight-ai #demo .demo-video-cta .btn{
    min-height:54px;
    font-size:11.5px;
  }
}

/* Explore hub: six cards at a glance on phones ------------------------ */
@media(max-width:600px){
  #details-hub{
    padding-block:44px!important;
  }
  #details-hub .wrap{
    width:min(100% - 18px,520px)!important;
  }
  #details-hub .section-head{
    margin-bottom:16px!important;
  }
  #details-hub .section-head .section-lead,
  #details-hub .details-card p{
    display:none!important;
  }
  #details-hub .section-title{
    font-size:clamp(24px,7.2vw,31px)!important;
    line-height:1.25!important;
  }
  #details-hub .details-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  #details-hub .details-grid>.details-card{
    display:flex!important;
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    flex:none!important;
    padding:6px 6px 7px!important;
    overflow:hidden;
    border-radius:13px!important;
    scroll-snap-align:none!important;
    box-shadow:0 8px 22px rgba(4,10,31,.2)!important;
  }
  #details-hub .details-visual{
    width:100%;
    aspect-ratio:16/9;
    margin:0 0 7px!important;
    border-radius:9px!important;
    box-shadow:none!important;
  }
  #details-hub .details-visual-icon{
    top:5px;
    left:5px;
    width:20px;
    height:20px;
    border-radius:7px;
  }
  #details-hub .details-visual-icon svg{
    width:10px;
    height:10px;
  }
  #details-hub .details-visual-icon.is-text{
    font-size:10px;
  }
  #details-hub .details-visual-copy{
    left:6px;
    bottom:5px;
    font-size:5.5px;
    letter-spacing:.08em;
  }
  #details-hub .details-card .details-no{
    margin-bottom:4px;
    font-size:5.5px;
    line-height:1.25;
    letter-spacing:.08em;
  }
  #details-hub .details-card h3{
    min-height:2.7em;
    margin:0 0 6px!important;
    font-size:clamp(9px,2.55vw,11.5px)!important;
    line-height:1.35;
    overflow-wrap:anywhere;
  }
  #details-hub .details-card b{
    min-height:29px!important;
    margin-top:auto!important;
    padding:5px 6px!important;
    border-radius:8px!important;
    font-size:clamp(6.3px,1.75vw,8px)!important;
    line-height:1.25;
  }
  #details-hub .details-card b::after{
    margin-left:3px;
    font-size:10px;
  }
}

/* One script / every SNS: mobile side-by-side comparison ----------------
   Keep desktop untouched. On phones, the 16:9 and 9:16 examples share one
   compact stage. A 3:1 column ratio lets both native formats finish at the
   same visual height without introducing the white mockup frames. */
@media(max-width:700px){
  #benefit-sns .sns-section-lead{
    display:none!important;
  }
  #benefit-sns .section-head{
    margin-bottom:10px!important;
  }
  #benefit-sns .sns-showcase-flow{
    display:grid!important;
    grid-template-columns:minmax(0,3fr) 22px minmax(72px,1fr)!important;
    align-items:stretch!important;
    gap:4px!important;
    width:100%!important;
    height:clamp(206px,54vw,286px);
    margin:12px 0 10px!important;
    padding:6px!important;
    overflow:visible!important;
    border:1px solid rgba(105,130,215,.24)!important;
    border-radius:16px!important;
    background:rgba(7,14,35,.42)!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }
  #benefit-sns .sns-showcase-step{
    display:grid!important;
    grid-template-rows:32px minmax(0,1fr);
    min-width:0!important;
    height:100%!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  #benefit-sns .sns-showcase-wide{
    grid-column:1;
  }
  #benefit-sns .sns-showcase-short{
    grid-column:3;
  }
  #benefit-sns .sns-showcase-head{
    min-width:0;
    height:32px;
    gap:5px!important;
    margin:0!important;
    padding:0 2px 5px;
  }
  #benefit-sns .sns-showcase-head>span{
    min-width:35px!important;
    width:auto;
    height:19px!important;
    padding-inline:6px!important;
    font-size:5.5px!important;
    letter-spacing:.08em;
  }
  #benefit-sns .sns-showcase-head h3{
    overflow:hidden;
    margin:0;
    font-size:clamp(7.5px,2.45vw,11px)!important;
    line-height:1.2!important;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
  #benefit-sns .sns-showcase-video,
  #benefit-sns .sns-showcase-short .sns-showcase-video{
    display:grid!important;
    grid-template-rows:minmax(0,1fr) 34px;
    align-self:stretch;
    width:100%!important;
    height:100%!important;
    min-height:0;
    margin:0!important;
    overflow:hidden;
    border-color:rgba(111,138,224,.34);
    border-radius:11px!important;
    box-shadow:0 8px 20px rgba(2,7,23,.24)!important;
  }
  #benefit-sns .sns-showcase-video .reference-video-media,
  #benefit-sns .sns-showcase-video.is-short .reference-video-media{
    min-height:0;
    aspect-ratio:auto!important;
  }
  #benefit-sns .sns-showcase-video .reference-video-meta{
    align-items:center;
    min-height:34px!important;
    gap:4px;
    padding:6px 7px!important;
    background:linear-gradient(180deg,#101a38,#0a122a);
  }
  #benefit-sns .sns-showcase-video .reference-video-meta b{
    overflow:hidden;
    color:#f2f5ff;
    font-size:clamp(6.5px,2vw,9px);
    line-height:1.15;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
  #benefit-sns .sns-showcase-video .reference-video-meta small{
    color:#9eb6ef;
    font-size:clamp(5px,1.4vw,7px);
  }
  #benefit-sns .sns-showcase-short .reference-video-meta small{
    display:none;
  }
  #benefit-sns .sns-showcase-short .reference-video-meta{
    justify-content:flex-start;
  }
  #benefit-sns .reference-preview-badge{
    left:5px;
    bottom:5px;
    padding:3px 4px;
    font-size:4.5px;
  }
  #benefit-sns .sns-showcase-connector{
    display:grid!important;
    grid-column:2;
    place-items:center;
    width:22px!important;
    height:100%;
    min-width:0;
    align-self:stretch!important;
  }
  #benefit-sns .sns-showcase-connector b{
    width:22px!important;
    height:22px!important;
    font-size:11px!important;
    box-shadow:0 7px 16px rgba(91,88,216,.24);
  }
}

/* AI suite: concise mobile reading order -------------------------------
   Desktop keeps the full sales copy. Phones retain the headline, pipeline,
   and three AI names while removing the requested explanatory paragraphs. */
@media(max-width:700px){
  #benefit-ai-suite{
    padding-block:46px!important;
  }
  #benefit-ai-suite .section-head{
    margin-bottom:14px!important;
  }
  #benefit-ai-suite .section-head .section-lead,
  #benefit-ai-suite .merit-card p,
  #benefit-ai-suite .merit-card ul{
    display:none!important;
  }
  #benefit-ai-suite .ai-suite-title{
    font-size:clamp(25px,7.5vw,32px)!important;
    line-height:1.32!important;
  }
  #benefit-ai-suite .merit-suite-flow{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    gap:6px!important;
    margin:14px -12px 16px!important;
    padding:8px 12px!important;
    overflow-x:auto;
    border-radius:0!important;
    border-inline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
    overscroll-behavior-inline:contain;
  }
  #benefit-ai-suite .merit-suite-flow::-webkit-scrollbar{
    display:none;
  }
  #benefit-ai-suite .merit-suite-flow span{
    flex:0 0 auto;
    min-height:31px;
    padding:7px 10px!important;
    border-radius:10px!important;
    font-size:8px;
    line-height:1.25;
    white-space:nowrap;
    scroll-snap-align:start;
  }
  #benefit-ai-suite .merit-suite-flow i{
    flex:0 0 auto;
    align-self:center;
    font-size:12px!important;
  }
  #benefit-ai-suite .merit-suite{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%;
    padding:0!important;
    overflow:visible!important;
  }
  #benefit-ai-suite .merit-suite>.merit-card{
    display:grid!important;
    grid-template-columns:54px minmax(0,1fr) 18px;
    align-items:center;
    width:100%!important;
    min-height:66px;
    padding:10px 12px!important;
    border-radius:16px!important;
    box-shadow:0 10px 26px rgba(0,0,0,.16)!important;
  }
  #benefit-ai-suite .merit-suite>.merit-card::after{
    content:"›";
    grid-column:3;
    color:#8faaff;
    font-size:22px;
    font-weight:500;
    line-height:1;
    text-align:right;
  }
  #benefit-ai-suite .merit-card .step{
    display:grid;
    grid-column:1;
    grid-row:1;
    place-items:center;
    width:43px;
    height:27px;
    border:1px solid rgba(146,168,235,.28);
    border-radius:9px;
    color:#eef3ff;
    background:linear-gradient(135deg,rgba(84,108,229,.88),rgba(169,75,215,.88));
    font-size:7px;
    letter-spacing:.08em;
  }
  #benefit-ai-suite .merit-card h3{
    grid-column:2;
    grid-row:1;
    min-width:0;
    margin:0!important;
    font-size:clamp(13px,3.7vw,16px)!important;
    line-height:1.35;
  }
}

/* AI suite: five-second guided glow ----------------------------------- */
#benefit-ai-suite .merit-suite>.merit-card{
  --ai-suite-glow:#6878f3;
  transition:transform .5s ease,border-color .5s ease,background .5s ease,box-shadow .5s ease,filter .5s ease;
}
#benefit-ai-suite .merit-suite>.merit-card:nth-child(2){--ai-suite-glow:#a45ee0}
#benefit-ai-suite .merit-suite>.merit-card:nth-child(3){--ai-suite-glow:#4e9ee9}
#benefit-ai-suite .merit-card .step{
  transition:transform .5s ease,filter .5s ease,box-shadow .5s ease,border-color .5s ease;
}
body.theme-midnight-ai #benefit-ai-suite .merit-suite>.merit-card.is-active{
  z-index:2;
  transform:translateY(-6px);
  border-color:color-mix(in srgb,var(--ai-suite-glow) 78%,#dbe5ff)!important;
  background:
    radial-gradient(240px 150px at 18% 8%,color-mix(in srgb,var(--ai-suite-glow) 28%,transparent),transparent 72%),
    linear-gradient(145deg,color-mix(in srgb,var(--ai-suite-glow) 24%,rgba(24,35,74,.99)),rgba(8,15,36,.99) 78%)!important;
  box-shadow:
    0 24px 58px color-mix(in srgb,var(--ai-suite-glow) 31%,transparent),
    0 0 0 1px color-mix(in srgb,var(--ai-suite-glow) 38%,transparent),
    inset 0 1px 0 rgba(255,255,255,.13)!important;
  filter:brightness(1.08) saturate(1.08);
}
body.theme-midnight-ai #benefit-ai-suite .merit-card.is-active .step{
  transform:scale(1.09);
  border-color:color-mix(in srgb,var(--ai-suite-glow) 70%,#fff);
  filter:brightness(1.16) saturate(1.16);
  box-shadow:0 10px 28px color-mix(in srgb,var(--ai-suite-glow) 52%,transparent);
}
@media(max-width:700px){
  body.theme-midnight-ai #benefit-ai-suite .merit-suite>.merit-card.is-active{
    transform:translateX(3px);
  }
}
@media(prefers-reduced-motion:reduce){
  #benefit-ai-suite .merit-suite>.merit-card,
  #benefit-ai-suite .merit-card .step{
    transition:none!important;
  }
}

/* Short-form examples: 60% mobile scale ------------------------------- */
@media(max-width:600px){
  #benefit-templates .reference-short-grid{
    display:flex!important;
    width:100%!important;
    justify-content:center!important;
    gap:10px!important;
    margin:0!important;
    padding:2px 0 8px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  #benefit-templates .reference-short-grid>.reference-video-card{
    flex:0 0 min(40vw,162px)!important;
    width:min(40vw,162px)!important;
    border-radius:16px;
    scroll-snap-align:none;
  }
  #benefit-templates .reference-short-grid .reference-video-meta{
    min-height:42px;
    gap:5px;
    padding:8px 9px!important;
  }
  #benefit-templates .reference-short-grid .reference-video-meta b{
    font-size:clamp(8px,2.3vw,10px);
    line-height:1.3;
  }
  #benefit-templates .reference-short-grid .reference-video-meta small{
    font-size:5.5px;
  }
}

/* Engine: concise mobile composition ---------------------------------- */
@media(max-width:600px){
  #engine{
    padding-block:48px!important;
  }
  #engine .engine-intro{
    display:flex!important;
    flex-direction:column;
    gap:15px!important;
    margin-bottom:18px;
  }
  #engine .engine-number.engine-media{
    order:2;
    width:100%;
    min-height:0!important;
    aspect-ratio:16/9;
    border-radius:20px!important;
  }
  #engine .engine-media-label{
    left:12px;
    bottom:12px;
    gap:8px;
    max-width:calc(100% - 24px);
    padding:8px 10px;
    border-radius:13px;
  }
  #engine .engine-number.engine-media .engine-media-label b{
    font-size:32px;
  }
  #engine .engine-number.engine-media .engine-media-label span{
    font-size:8.5px;
    line-height:1.35;
  }
  #engine .engine-copy{
    order:1;
    padding:2px 4px 0!important;
    text-align:center;
  }
  #engine .engine-copy .eyebrow{
    justify-content:center;
  }
  #engine .engine-copy .section-title{
    margin:9px auto 0;
    font-size:clamp(27px,8.2vw,34px)!important;
    line-height:1.3!important;
  }
  #engine .engine-copy>p,
  #engine .engine-card p{
    display:none!important;
  }
  #engine .engine-points{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%;
    margin:0 0 24px;
    padding:0!important;
    overflow:visible!important;
  }
  #engine .engine-points>.engine-card{
    display:grid;
    grid-template-columns:66px minmax(0,1fr) 16px;
    align-items:center;
    width:100%!important;
    min-height:62px;
    padding:10px 12px!important;
    border-radius:15px!important;
    box-shadow:0 10px 25px rgba(0,0,0,.16)!important;
  }
  #engine .engine-points>.engine-card::after{
    content:"›";
    grid-column:3;
    color:#8da8ff;
    font-size:21px;
    line-height:1;
    text-align:right;
  }
  #engine .engine-card span{
    grid-column:1;
    margin:0;
    font-size:7px;
    letter-spacing:.1em;
  }
  #engine .engine-card h3{
    grid-column:2;
    margin:0!important;
    font-size:clamp(14px,4vw,17px)!important;
    line-height:1.35;
  }
}

/* Engine points: three-second guided glow ----------------------------- */
#engine .engine-points>.engine-card{
  --engine-point-glow:#6878f3;
  position:relative;
  transition:transform .5s ease,border-color .5s ease,background .5s ease,box-shadow .5s ease,filter .5s ease;
}
#engine .engine-points>.engine-card:nth-child(2){--engine-point-glow:#a45ee0}
#engine .engine-points>.engine-card:nth-child(3){--engine-point-glow:#4e9ee9}
#engine .engine-card>span{
  transition:transform .5s ease,color .5s ease,filter .5s ease,text-shadow .5s ease;
}
body.theme-midnight-ai #engine .engine-points>.engine-card.is-active{
  z-index:2;
  transform:translateY(-6px);
  border-color:color-mix(in srgb,var(--engine-point-glow) 78%,#dbe5ff)!important;
  background:
    radial-gradient(240px 150px at 18% 8%,color-mix(in srgb,var(--engine-point-glow) 28%,transparent),transparent 72%),
    linear-gradient(145deg,color-mix(in srgb,var(--engine-point-glow) 24%,rgba(24,35,74,.99)),rgba(8,15,36,.99) 78%)!important;
  box-shadow:
    0 24px 58px color-mix(in srgb,var(--engine-point-glow) 31%,transparent),
    0 0 0 1px color-mix(in srgb,var(--engine-point-glow) 38%,transparent),
    inset 0 1px 0 rgba(255,255,255,.13)!important;
  filter:brightness(1.08) saturate(1.08);
}
body.theme-midnight-ai #engine .engine-points>.engine-card.is-active>span{
  color:#fff!important;
  transform:scale(1.08);
  filter:brightness(1.18) saturate(1.16);
  text-shadow:0 0 18px color-mix(in srgb,var(--engine-point-glow) 82%,transparent);
}
@media(max-width:700px){
  body.theme-midnight-ai #engine .engine-points>.engine-card.is-active{
    transform:translateX(3px);
  }
}
@media(prefers-reduced-motion:reduce){
  #engine .engine-points>.engine-card,
  #engine .engine-card>span{
    transition:none!important;
  }
}

/* Engine comparison: gently highlight the One Step Studio column ------ */
body.theme-midnight-ai #engine .compare-table th:nth-child(2){
  color:#fff!important;
  font-size:1.06em;
  font-weight:900;
  letter-spacing:.015em;
  background:
    linear-gradient(115deg,rgba(255,255,255,.18),rgba(255,255,255,0) 32%),
    linear-gradient(135deg,#536fee 0%,#7567e8 52%,#a05cdd 100%)!important;
  box-shadow:
    inset 1px 0 rgba(196,211,255,.4),
    inset 0 1px rgba(255,255,255,.24),
    0 0 24px rgba(104,120,243,.18);
  text-shadow:0 0 14px rgba(255,255,255,.24);
}
body.theme-midnight-ai #engine .compare-table td:nth-child(2){
  color:#f5f7ff!important;
  font-size:1.08em;
  font-weight:800;
  line-height:1.65;
  letter-spacing:.008em;
  background:
    linear-gradient(112deg,rgba(255,255,255,.075),rgba(255,255,255,0) 34%),
    radial-gradient(150px 70px at 12% 15%,rgba(126,139,255,.22),transparent 72%),
    linear-gradient(145deg,rgba(42,57,111,.94),rgba(23,33,73,.98))!important;
  box-shadow:
    inset 1px 0 rgba(160,181,255,.25),
    inset 0 1px rgba(255,255,255,.065),
    inset 0 -1px rgba(111,133,224,.12),
    0 0 18px rgba(92,111,225,.07);
  text-shadow:0 0 12px rgba(150,168,255,.17);
}

/* Calculator: illuminate the One Step result and monthly volume ------- */
#cost .calc-box.onestep-month{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
#cost .calc-box.onestep-month::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg,rgba(255,255,255,.12),transparent 31%),
    radial-gradient(180px 90px at 12% 8%,rgba(119,142,255,.22),transparent 70%);
}
#cost .calc-box.onestep-month>*{
  position:relative;
  z-index:1;
}
body.theme-midnight-ai #cost .calc-box.onestep-month{
  border-color:rgba(126,151,255,.78)!important;
  background:linear-gradient(145deg,rgba(41,57,114,.98),rgba(18,29,67,.99))!important;
  box-shadow:
    0 0 0 1px rgba(126,151,255,.3),
    0 0 30px rgba(89,111,235,.28),
    0 18px 44px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.15)!important;
}
body.theme-midnight-ai #cost .calc-box.onestep-month span{
  color:#dce5ff!important;
  font-weight:900;
  text-shadow:0 0 12px rgba(157,177,255,.3);
}
body.theme-midnight-ai #cost .calc-box.onestep-month b{
  color:#fff;
  text-shadow:0 0 18px rgba(141,162,255,.26);
}
body.theme-midnight-ai #cost .calc-box.onestep-month small{
  color:#b7c5eb;
}

/* Cost comparison: match the illuminated One Step monthly result ---------- */
#cost .cost-card.featured{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
#cost .cost-card.featured::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg,rgba(255,255,255,.12),transparent 31%),
    radial-gradient(220px 110px at 12% 8%,rgba(119,142,255,.24),transparent 70%);
}
#cost .cost-card.featured>*{
  position:relative;
  z-index:1;
}
body.theme-midnight-ai #cost .cost-card.featured{
  border-color:rgba(126,151,255,.78)!important;
  background:linear-gradient(145deg,rgba(41,57,114,.98),rgba(18,29,67,.99))!important;
  box-shadow:
    0 0 0 1px rgba(126,151,255,.3),
    0 0 30px rgba(89,111,235,.28),
    0 18px 44px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.15)!important;
}
body.theme-midnight-ai #cost .cost-card.featured span{
  color:#dce5ff!important;
  font-weight:900;
  text-shadow:0 0 12px rgba(157,177,255,.3);
}
body.theme-midnight-ai #cost .cost-card.featured b{
  color:#fff;
  text-shadow:0 0 18px rgba(141,162,255,.34);
}
body.theme-midnight-ai #cost .cost-card.featured p{
  color:#b7c5eb;
}
#cost #video-count-label{
  display:inline-block;
  min-width:1.55ch;
  margin-inline:.08em;
  color:#a9bcff!important;
  font-size:36px!important;
  font-weight:900;
  line-height:.8;
  vertical-align:-.08em;
  letter-spacing:-.04em;
  filter:brightness(1.14) saturate(1.12);
  text-shadow:
    0 0 8px rgba(137,158,255,.74),
    0 0 22px rgba(104,123,243,.48);
}

/* Workflow — water rises once, then leaves a calm illuminated surface ----- */
body.theme-midnight-ai #workflow::after{
  content:"";
  position:absolute;
  z-index:0;
  inset:-10% -4% -12%;
  width:auto;
  height:auto;
  border:0;
  border-radius:0;
  pointer-events:none;
  opacity:.78;
  clip-path:polygon(
    0 7%,7% 5%,14% 8%,21% 4%,28% 7%,35% 3%,42% 6%,
    50% 2%,58% 5%,66% 1%,74% 4%,82% 2%,90% 6%,100% 3%,
    100% 100%,0 100%
  );
  background:
    radial-gradient(ellipse at 16% 15%,rgba(205,244,255,.18) 0 2%,transparent 24%),
    radial-gradient(ellipse at 72% 28%,rgba(171,220,255,.13) 0 2%,transparent 25%),
    repeating-radial-gradient(ellipse at 38% 18%,rgba(185,235,255,.08) 0 1px,transparent 2px 28px),
    linear-gradient(180deg,rgba(76,176,230,.28) 0%,rgba(45,116,196,.44) 38%,rgba(48,65,157,.58) 70%,rgba(51,38,125,.68) 100%);
  background-size:145% 110%,155% 120%,170% 125%,100% 100%;
  background-position:0 0,100% 0,0 0,0 0;
  box-shadow:inset 0 32px 58px rgba(177,235,255,.14);
  filter:drop-shadow(0 -10px 22px rgba(111,220,255,.30)) saturate(1.18);
  transform:translate3d(0,112%,0);
  will-change:transform;
  animation:none;
}
body.theme-midnight-ai #workflow.is-wave-filled::after{
  animation:
    workflowWaterFill 9s cubic-bezier(.18,.76,.2,1) forwards,
    workflowWaterShimmer 12s ease-in-out 9s infinite alternate;
}
body.theme-midnight-ai #workflow.is-wave-settled::after{
  will-change:opacity;
}
@keyframes workflowWaterFill{
  0%{transform:translate3d(0,112%,0)}
  100%{transform:translate3d(0,-7%,0)}
}
@keyframes workflowWaterShimmer{
  0%{opacity:.72}
  100%{opacity:.82}
}
@media(max-width:600px){
  body.theme-midnight-ai #workflow::after{
    opacity:.72;
    background-size:175% 110%,185% 120%,190% 125%,100% 100%;
  }
}
@media(prefers-reduced-motion:reduce){
  body.theme-midnight-ai #workflow.is-wave-filled::after{
    transform:translate3d(0,-7%,0);
    will-change:auto;
    animation:none!important;
  }
}

/* Implementation program — one light-filled step every three seconds ------ */
body.theme-midnight-ai #plans .program-step{
  isolation:isolate;
}
body.theme-midnight-ai #plans .program-step::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:1px;
  border-radius:inherit;
  pointer-events:none;
  opacity:0;
  transform:scaleX(0);
  transform-origin:left center;
  background:
    linear-gradient(100deg,rgba(73,159,244,.16),rgba(112,96,241,.32) 54%,rgba(190,91,226,.24)),
    radial-gradient(circle at 14% 50%,rgba(183,229,255,.30),transparent 48%);
  box-shadow:
    inset 0 0 0 1px rgba(151,183,255,.42),
    inset 0 0 28px rgba(101,132,255,.22),
    0 0 26px rgba(102,109,240,.25);
  will-change:transform,opacity;
  animation:programStepSequentialFill 12s linear infinite;
}
body.theme-midnight-ai #plans .program-step:nth-child(2)::before{animation-delay:3s}
body.theme-midnight-ai #plans .program-step:nth-child(3)::before{animation-delay:6s}
body.theme-midnight-ai #plans .program-step:nth-child(4)::before{animation-delay:9s}
body.theme-midnight-ai #plans .program-step>*{
  position:relative;
  z-index:1;
}
@keyframes programStepSequentialFill{
  0%{opacity:.18;transform:scaleX(0)}
  20%{opacity:1;transform:scaleX(1)}
  24.5%{opacity:1;transform:scaleX(1)}
  25%,100%{opacity:0;transform:scaleX(1)}
}
@media(prefers-reduced-motion:reduce){
  body.theme-midnight-ai #plans .program-step::before{
    animation:none!important;
    will-change:auto;
  }
  body.theme-midnight-ai #plans .program-step:first-child::before{
    opacity:.72;
    transform:none;
  }
}

/* Mobile industry gallery — three rows across six swipeable columns --------
   Desktop remains untouched. Phones show all seventeen industry samples as
   one compact editorial rail, without light frames or stretched thumbnails. */
.reference-mobile-guide{display:none}
@media(max-width:600px){
  #benefit-templates .reference-gallery{
    gap:15px;
    margin-top:26px;
    padding:0;
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
  }
  #benefit-templates .reference-gallery-head{
    gap:6px;
    padding-inline:2px;
  }
  #benefit-templates .reference-gallery-head h3{font-size:21px}
  #benefit-templates .reference-gallery-head p{font-size:10.5px;line-height:1.65}
  #benefit-templates .reference-wide-grid{
    display:grid!important;
    grid-template-rows:repeat(3,minmax(0,auto));
    grid-auto-flow:column;
    grid-auto-columns:min(55vw,220px);
    align-items:start;
    justify-content:start;
    gap:8px;
    width:auto;
    overflow-x:auto;
    margin-inline:-12px;
    padding:3px 12px 9px;
    scroll-padding-inline:12px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  #benefit-templates .reference-wide-grid.is-hinting{scroll-snap-type:none}
  #benefit-templates .reference-wide-grid::-webkit-scrollbar{display:none}
  #benefit-templates .reference-wide-grid>.reference-video-card{
    display:block;
    width:100%;
    min-width:0;
    overflow:hidden;
    border:0!important;
    border-radius:12px;
    background:#0a122a;
    box-shadow:0 8px 18px rgba(0,0,0,.24);
    scroll-snap-align:start;
  }
  #benefit-templates .reference-wide-grid .reference-video-media{
    width:100%;
    aspect-ratio:16/9;
    border-radius:0;
  }
  #benefit-templates .reference-wide-grid .reference-video-media::after{height:26%}
  #benefit-templates .reference-wide-grid .reference-video-meta{
    display:flex;
    min-height:34px;
    padding:7px 8px;
    align-items:center;
    gap:5px;
    border:0;
  }
  #benefit-templates .reference-wide-grid .reference-video-meta b{
    min-width:0;
    overflow:hidden;
    font-size:8.5px;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #benefit-templates .reference-wide-grid .reference-video-meta small{
    margin-left:auto;
    font-size:6px;
    line-height:1;
    white-space:nowrap;
  }
  #benefit-templates .reference-mobile-guide{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:7px;
    margin:0 auto 2px;
    color:rgba(236,241,255,.84);
    font-size:9.5px;
    font-weight:700;
    line-height:1;
  }
  #benefit-templates .reference-guide-chip{
    display:inline-flex;
    min-height:29px;
    padding:6px 10px;
    align-items:center;
    justify-content:center;
    gap:6px;
    border:1px solid rgba(152,171,255,.2);
    border-radius:999px;
    background:linear-gradient(135deg,rgba(20,30,67,.82),rgba(12,18,47,.72));
    box-shadow:0 8px 20px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.045);
  }
  #benefit-templates .reference-swipe-cue{
    display:grid;
    place-items:center;
    width:27px;
    height:19px;
    flex:none;
    border-radius:8px;
    color:#77c8ff;
    background:linear-gradient(145deg,rgba(116,143,255,.18),rgba(98,81,213,.1));
    box-shadow:inset 0 0 0 1px rgba(153,178,255,.13);
    font-family:'Outfit',sans-serif;
    font-size:15px;
    font-weight:800;
  }
  #benefit-templates .reference-youtube-cue{
    position:relative;
    width:20px;
    height:14px;
    flex:none;
    border-radius:5px;
    background:linear-gradient(135deg,#ff4b67,#e92749);
    box-shadow:0 4px 10px rgba(233,39,73,.24);
  }
  #benefit-templates .reference-youtube-cue::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:0;
    height:0;
    border-top:3.5px solid transparent;
    border-bottom:3.5px solid transparent;
    border-left:5px solid #fff;
    transform:translate(-38%,-50%);
  }
  #benefit-templates .reference-launch-cue{
    margin-left:-2px;
    color:#aebeff;
    font-family:'Outfit',sans-serif;
    font-size:12px;
  }
}

/* Mobile thumbnail gallery — three rows across five swipeable columns ----- */
@media(max-width:600px){
  #benefit-templates .reference-thumbnails-head{
    margin-top:16px;
    padding-top:22px;
  }
  #benefit-templates .reference-thumbnail-grid{
    display:grid!important;
    grid-template-rows:repeat(3,minmax(0,auto));
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:min(55vw,220px);
    align-items:start;
    justify-content:start;
    gap:8px;
    width:auto;
    overflow-x:auto;
    margin-inline:-12px;
    padding:3px 12px 9px;
    scroll-padding-inline:12px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  #benefit-templates .reference-thumbnail-grid.is-hinting{scroll-snap-type:none}
  #benefit-templates .reference-thumbnail-grid::-webkit-scrollbar{display:none}
  #benefit-templates .reference-thumbnail-card,
  #benefit-templates .reference-thumbnail-card:last-child{
    display:block;
    width:100%;
    min-width:0;
    overflow:hidden;
    margin:0;
    grid-column:auto;
    border:0!important;
    border-radius:12px;
    background:#0a122a;
    box-shadow:0 8px 18px rgba(0,0,0,.24);
    scroll-snap-align:start;
  }
  #benefit-templates .reference-thumbnail-media{
    width:100%;
    aspect-ratio:16/9;
    border-radius:0;
  }
  #benefit-templates .reference-thumbnail-media::after{display:none}
  #benefit-templates .reference-thumbnail-card figcaption{
    display:flex;
    min-height:34px;
    padding:7px 8px;
    align-items:center;
    gap:5px;
    border:0;
  }
  #benefit-templates .reference-thumbnail-card figcaption b{
    font-size:7px;
    line-height:1;
    white-space:nowrap;
  }
  #benefit-templates .reference-thumbnail-card figcaption small{
    min-width:0;
    margin-left:auto;
    overflow:hidden;
    font-size:7px;
    line-height:1.2;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #benefit-templates .reference-thumbnail-mobile-guide{margin-top:0}
}

/* Header social shortcuts — always visible beside the studio logo */
body.theme-midnight-ai .header-socials{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:6px;
  margin-left:-12px;
}
body.theme-midnight-ai .header-social{
  display:grid;
  place-items:center;
  flex:0 0 32px;
  width:32px;
  height:32px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:10px;
  color:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
body.theme-midnight-ai .header-social:hover{
  color:#fff;
  transform:translateY(-2px);
  filter:brightness(1.06);
  box-shadow:0 11px 24px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.22);
}
body.theme-midnight-ai .header-social:focus-visible{
  outline:3px solid rgba(114,166,255,.48);
  outline-offset:2px;
}
body.theme-midnight-ai .header-social-line{background:#06c755}
body.theme-midnight-ai .header-social-line span{
  position:relative;
  display:grid;
  place-items:center;
  width:24px;
  height:18px;
  border-radius:50%;
  color:#06c755;
  background:#fff;
  font-family:Arial,sans-serif;
  font-size:5.8px;
  font-weight:900;
  letter-spacing:-.04em;
}
body.theme-midnight-ai .header-social-line span::after{
  content:"";
  position:absolute;
  right:3px;
  bottom:-2px;
  width:6px;
  height:5px;
  background:#fff;
  clip-path:polygon(0 0,100% 0,0 100%);
  transform:rotate(-12deg);
}
body.theme-midnight-ai .header-social-x{background:#171717}
body.theme-midnight-ai .header-social-x span{
  font-family:'Outfit',Arial,sans-serif;
  font-size:16px;
  font-weight:500;
  line-height:1;
}
@media(max-width:1020px) and (min-width:841px){
  body.theme-midnight-ai .header-inner{gap:14px}
  body.theme-midnight-ai .header-socials{margin-left:-7px}
  body.theme-midnight-ai .header-social{flex-basis:30px;width:30px;height:30px;border-radius:9px}
}
@media(max-width:840px){
  body.theme-midnight-ai .header-inner{gap:7px}
  body.theme-midnight-ai .header-socials{gap:5px;margin-left:0}
  body.theme-midnight-ai .header-social{flex-basis:30px;width:30px;height:30px;border-radius:9px}
  body.theme-midnight-ai .header-social-line span{font-size:5.5px}
  body.theme-midnight-ai .header-social-x span{font-size:15px}
}
@media(max-width:380px){
  body.theme-midnight-ai .header-inner{gap:5px}
  body.theme-midnight-ai .header-socials{gap:4px}
  body.theme-midnight-ai .header-social{flex-basis:27px;width:27px;height:27px;border-radius:8px}
  body.theme-midnight-ai .header-social-line span{width:21px;height:16px;font-size:5px}
  body.theme-midnight-ai .header-social-x span{font-size:14px}
}

/* Transformation: 5-card guided glow ----------------------------------
   Each card receives a restrained ten-second highlight. Five staggered
   phases create one continuous 50-second story without flashing. */
@keyframes transformationSequenceGlow{
  0%,20%,100%{
    outline-color:transparent;
    filter:brightness(1) saturate(1) drop-shadow(0 0 0 rgba(117,111,255,0));
    transform:translateY(0) scale(1);
  }
  2%,18%{
    outline-color:rgba(146,139,255,.78);
    filter:brightness(1.13) saturate(1.08) drop-shadow(0 0 11px rgba(116,103,255,.62));
    transform:translateY(-1px) scale(1.012);
  }
}

@media(min-width:901px){
  #transformation .transformation-actions li,
  #transformation .transformation-metrics div{
    outline:1px solid transparent;
    outline-offset:-1px;
    will-change:filter,transform,outline-color;
    animation:transformationSequenceGlow 50s ease-in-out infinite;
  }
  #transformation .transformation-actions li:nth-child(1){animation-delay:0s}
  #transformation .transformation-actions li:nth-child(2){animation-delay:10s}
  #transformation .transformation-actions li:nth-child(3){animation-delay:20s}
  #transformation .transformation-metrics div:nth-child(1){animation-delay:30s}
  #transformation .transformation-metrics div:nth-child(2){animation-delay:40s}
}

@media(prefers-reduced-motion:reduce){
  #transformation .transformation-actions li,
  #transformation .transformation-metrics div{
    animation:none!important;
    will-change:auto;
  }
}

/* SNS long/short alignment ---------------------------------------------
   With format labels removed, both concise titles occupy one shared header
   line. This keeps the media start edge perfectly level while preserving the
   native 16:9 and 9:16 presentation of each video. */
#benefit-sns .sns-showcase-head>div{
  display:flex;
  min-height:28px;
  align-items:center;
}
#benefit-sns .sns-showcase-head h3{
  width:100%;
}

@media(max-width:900px){
  #benefit-sns .sns-showcase-head>div{
    min-height:25px;
  }
}

/* Transformation: vertical three-step sequence -------------------------
   The compact left column now uses its available height as a clear top-to-
   bottom process, removing the large empty bands beside the feature video. */
@media(min-width:901px){
  #transformation .transformation-actions{
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }
  #transformation .transformation-actions li{
    min-height:58px;
    padding:9px 11px;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
  }
  #transformation .transformation-actions li:not(:last-child)::after{
    content:"↓";
    top:auto;
    right:auto;
    bottom:-8px;
    left:50%;
    font-size:13px;
    line-height:1;
    transform:translate(-50%,50%);
  }
  #transformation .transformation-actions i{
    flex:0 0 27px;
  }
  #transformation .transformation-actions b{
    font-size:11px;
    line-height:1.4;
  }
}

/* One script / every SNS: compact presentation --------------------------
   Reduce the complete story to roughly 70% of its former footprint and let
   landscape/portrait cards use their natural heights instead of stretching. */
#benefit-sns .sns-title-line{
  display:block;
}
#benefit-sns .sns-showcase-video{
  margin-block:0;
}

@media(min-width:901px){
  #benefit-sns{
    padding-block:66px;
  }
  #benefit-sns .section-head{
    margin-bottom:18px;
  }
  #benefit-sns .section-title{
    font-size:clamp(30px,3.4vw,42px);
    line-height:1.22;
  }
  #benefit-sns .sns-section-lead{
    margin-top:10px;
    font-size:13px;
  }
  #benefit-sns .sns-showcase-flow{
    width:min(100%,820px);
    grid-template-columns:minmax(0,1.45fr) 54px minmax(185px,.55fr);
    align-items:start;
    gap:12px;
    margin:22px auto 16px;
    padding:18px;
    border-radius:24px;
  }
  #benefit-sns .sns-showcase-step{
    padding:18px;
    border-radius:20px;
  }
  #benefit-sns .sns-showcase-head{
    gap:10px;
    margin-bottom:14px;
  }
  #benefit-sns .sns-showcase-head>span{
    min-width:56px;
    height:28px;
    padding-inline:9px;
    font-size:8px;
  }
  #benefit-sns .sns-showcase-head h3{
    font-size:clamp(14px,1.45vw,18px);
  }
  #benefit-sns .sns-showcase-short .sns-showcase-video{
    width:min(180px,100%);
  }
  #benefit-sns .sns-showcase-connector{
    align-self:center;
  }
  #benefit-sns .sns-showcase-connector b{
    width:42px;
    height:42px;
    font-size:20px;
  }
  #benefit-sns .merit-price{
    margin-top:8px;
    font-size:11px;
  }
  #benefit-sns .merit-price b{
    font-size:21px;
  }
}

@media(max-width:900px){
  #benefit-sns{
    padding-block:46px!important;
  }
  #benefit-sns .section-head{
    margin-bottom:16px!important;
  }
  #benefit-sns .section-title{
    font-size:clamp(25px,7.5vw,32px)!important;
    line-height:1.22!important;
  }
  #benefit-sns .sns-section-lead{
    margin-top:8px;
    font-size:11px;
    line-height:1.65;
  }
  #benefit-sns .sns-showcase-flow{
    display:flex;
    width:auto;
    align-items:flex-start;
    gap:8px;
    overflow-x:auto;
    margin:16px -10px 12px!important;
    padding:9px 10px 12px!important;
    scroll-padding-inline:10px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    border-radius:18px;
  }
  #benefit-sns .sns-showcase-flow::-webkit-scrollbar{
    display:none;
  }
  #benefit-sns .sns-showcase-step{
    flex:0 0 min(58vw,300px)!important;
    padding:12px!important;
    border-radius:16px!important;
    scroll-snap-align:center;
  }
  #benefit-sns .sns-showcase-short{
    flex-basis:min(49vw,224px)!important;
  }
  #benefit-sns .sns-showcase-head{
    gap:7px;
    margin-bottom:10px;
  }
  #benefit-sns .sns-showcase-head>span{
    min-width:50px;
    height:25px;
    padding-inline:7px;
    font-size:7px;
  }
  #benefit-sns .sns-showcase-head small{
    font-size:7px;
  }
  #benefit-sns .sns-showcase-head h3{
    font-size:clamp(12px,3.25vw,15px);
    line-height:1.35;
  }
  #benefit-sns .sns-showcase-short .sns-showcase-video{
    width:100%;
  }
  #benefit-sns .sns-showcase-connector{
    flex:0 0 34px;
    align-self:center;
  }
  #benefit-sns .sns-showcase-connector b{
    width:32px;
    height:32px;
    transform:none;
    font-size:16px;
  }
  #benefit-sns .merit-price{
    margin-top:6px;
    font-size:10px;
  }
  #benefit-sns .merit-price b{
    font-size:19px;
  }
}

/* Data-to-video: concise visual mobile composition -------------------- */
@media(max-width:600px){
  #analytics-to-video{
    padding-block:46px!important;
  }
  #analytics-to-video .wrap{
    width:min(100% - 22px,520px)!important;
  }
  #analytics-to-video .section-head{
    margin-bottom:16px!important;
  }
  #analytics-to-video .section-title{
    font-size:clamp(25px,7.4vw,31px)!important;
    line-height:1.3!important;
  }
  #analytics-to-video .analytics-journey{
    padding:12px!important;
    border-radius:22px!important;
  }
  #analytics-to-video .analytics-sources{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)!important;
    align-items:stretch!important;
    gap:7px!important;
    padding:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  #analytics-to-video .analytics-source{
    display:grid!important;
    width:auto!important;
    min-width:0!important;
    min-height:92px!important;
    padding:13px 9px!important;
    place-items:center!important;
    border-radius:16px!important;
    text-align:center;
    scroll-snap-align:none!important;
  }
  #analytics-to-video .analytics-source p,
  #analytics-to-video .analytics-tags,
  #analytics-to-video .analytics-label,
  #analytics-to-video .analytics-hypothesis p,
  #analytics-to-video .analytics-entry,
  #analytics-to-video .analytics-cta>p{
    display:none!important;
  }
  #analytics-to-video .analytics-source h3{
    margin:0!important;
    font-size:0!important;
    line-height:1!important;
  }
  #analytics-to-video .analytics-source h3::after{
    display:block;
    color:#f5f7ff;
    font-size:clamp(12px,3.35vw,15px);
    font-weight:900;
    line-height:1.35;
  }
  #analytics-to-video .analytics-source-own h3::after{
    content:"自社データ";
  }
  #analytics-to-video .analytics-source-competitor h3::after{
    content:"競合データ";
  }
  #analytics-to-video .analytics-plus{
    align-self:center!important;
    width:30px!important;
    height:30px!important;
    margin:0!important;
    font-size:17px!important;
    box-shadow:0 8px 20px rgba(100,88,232,.28)!important;
  }
  #analytics-to-video .analytics-hypothesis{
    margin-top:9px!important;
    padding:13px 10px!important;
    border-radius:16px!important;
    text-align:center;
  }
  #analytics-to-video .analytics-hypothesis::before,
  #analytics-to-video .analytics-hypothesis::after{
    display:none!important;
  }
  #analytics-to-video .analytics-hypothesis h3{
    margin:0!important;
    font-size:0!important;
  }
  #analytics-to-video .analytics-hypothesis h3::after{
    content:"伸びる仮説を設計";
    color:#f5f7ff;
    font-size:clamp(15px,4.3vw,18px);
    font-weight:900;
    line-height:1.35;
  }
  #analytics-to-video .analytics-outputs{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:6px!important;
    margin-top:9px!important;
    padding:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  #analytics-to-video .analytics-outputs li,
  #analytics-to-video .analytics-outputs li:last-child{
    display:grid!important;
    grid-column:span 2;
    width:auto!important;
    min-width:0!important;
    min-height:67px!important;
    padding:7px 4px!important;
    place-items:center!important;
    align-content:center!important;
    gap:5px!important;
    border-radius:13px!important;
    text-align:center;
    scroll-snap-align:none!important;
  }
  #analytics-to-video .analytics-outputs li:nth-child(4){
    grid-column:2 / span 2;
  }
  #analytics-to-video .analytics-outputs li:nth-child(5){
    grid-column:4 / span 2;
  }
  #analytics-to-video .analytics-outputs b{
    width:23px!important;
    height:23px!important;
    border-radius:8px!important;
    font-size:8px!important;
  }
  #analytics-to-video .analytics-outputs span{
    font-size:clamp(8px,2.5vw,10px)!important;
    line-height:1.25!important;
  }
  #analytics-to-video .analytics-outputs small{
    display:none!important;
  }
  #analytics-to-video .analytics-cta{
    margin-top:14px!important;
  }
  #analytics-to-video .analytics-cta .btn{
    width:100%!important;
    min-height:52px!important;
    padding:11px 14px!important;
    border-radius:15px!important;
  }
  #analytics-to-video .analytics-cta .btn span{
    font-size:0!important;
  }
  #analytics-to-video .analytics-cta .btn span::after{
    content:"無料サンプルを申し込む";
    font-size:14px;
    font-weight:900;
  }
}

/* Analytics outputs: cumulative ten-second glow ----------------------- */
#analytics-to-video .analytics-outputs>li{
  --analytics-glow:#6878f3;
  position:relative;
  transition:transform .55s ease,border-color .55s ease,background .55s ease,box-shadow .55s ease,filter .55s ease;
}
#analytics-to-video .analytics-outputs>li:nth-child(2){--analytics-glow:#7a70ef}
#analytics-to-video .analytics-outputs>li:nth-child(3){--analytics-glow:#8e64e5}
#analytics-to-video .analytics-outputs>li:nth-child(4){--analytics-glow:#a35edc}
#analytics-to-video .analytics-outputs>li:nth-child(5){--analytics-glow:#4e9ee9}
#analytics-to-video .analytics-outputs>li b,
#analytics-to-video .analytics-outputs>li span{
  transition:transform .55s ease,filter .55s ease,box-shadow .55s ease,color .55s ease;
}
body.theme-midnight-ai #analytics-to-video .analytics-outputs>li.is-filled{
  z-index:2;
  transform:translateY(-4px);
  border-color:color-mix(in srgb,var(--analytics-glow) 82%,#dce6ff)!important;
  background:
    radial-gradient(190px 105px at 12% 8%,color-mix(in srgb,var(--analytics-glow) 28%,transparent),transparent 72%),
    linear-gradient(145deg,color-mix(in srgb,var(--analytics-glow) 22%,rgba(24,35,74,.99)),rgba(8,15,36,.99) 80%)!important;
  box-shadow:
    0 18px 42px color-mix(in srgb,var(--analytics-glow) 28%,transparent),
    0 0 0 1px color-mix(in srgb,var(--analytics-glow) 38%,transparent),
    inset 0 1px 0 rgba(255,255,255,.13)!important;
  filter:brightness(1.09) saturate(1.08);
}
body.theme-midnight-ai #analytics-to-video .analytics-outputs>li.is-filled b{
  transform:scale(1.1);
  filter:brightness(1.18) saturate(1.16);
  box-shadow:0 9px 24px color-mix(in srgb,var(--analytics-glow) 55%,transparent);
}
body.theme-midnight-ai #analytics-to-video .analytics-outputs>li.is-filled span{
  color:#fff!important;
}
@media(max-width:600px){
  body.theme-midnight-ai #analytics-to-video .analytics-outputs>li.is-filled{
    transform:translateY(-2px);
  }
}
@media(prefers-reduced-motion:reduce){
  #analytics-to-video .analytics-outputs>li,
  #analytics-to-video .analytics-outputs>li b,
  #analytics-to-video .analytics-outputs>li span{
    transition:none!important;
  }
}

/* Additional STEP packs: narrower, readable mobile cards -------------- */
@media(max-width:600px){
  #plans .step-packs{
    padding-inline:14px!important;
  }
  #plans .step-pack-grid{
    gap:10px!important;
    margin-inline:0!important;
    padding:2px 0 12px!important;
    scroll-padding-inline:0!important;
  }
  #plans .step-pack-grid>.step-pack-card,
  #plans .step-pack-grid>.step-pack-card.featured{
    flex:0 0 min(61vw,220px)!important;
    width:min(61vw,220px)!important;
    min-width:0!important;
    padding:16px 12px!important;
    border-radius:16px!important;
    transform:none!important;
  }
  #plans .step-pack-price{
    margin:10px 0 12px!important;
  }
  #plans .step-pack-price b{
    font-size:21px!important;
  }
  #plans .step-pack-points{
    padding:11px 7px!important;
  }
  #plans .step-pack-points b{
    font-size:20px!important;
  }
  #plans .step-pack-meta{
    margin:10px 0!important;
    font-size:8px!important;
  }
}

/* Transformation: match the workflow media scale ----------------------
   Desktop mirrors the workflow section above: a 1.34fr feature video and
   a compact .66fr explanation card. The copy remains complete but visually
   secondary, keeping the walkthrough as the main point of attention. */
@media(min-width:901px){
  #transformation .transformation-stage{
    width:min(100%,1200px);
    grid-template-columns:minmax(300px,.66fr) minmax(0,1.34fr);
    align-items:stretch;
    gap:20px;
  }
  #transformation .transformation-summary{
    display:flex;
    min-width:0;
    padding:16px;
    flex-direction:column;
    justify-content:center;
    border-radius:24px;
  }
  #transformation .transformation-summary::before{
    right:22px;
    left:22px;
    height:5px;
  }
  #transformation .transformation-summary-tag{
    align-self:flex-start;
    margin-bottom:6px;
    padding:5px 10px;
    font-size:9px;
  }
  #transformation .transformation-summary h3{
    margin-bottom:10px;
    font-size:clamp(18px,1.65vw,22px);
    line-height:1.3;
  }
  #transformation .transformation-actions{
    gap:7px;
  }
  #transformation .transformation-actions li{
    min-height:72px;
    padding:9px;
    gap:6px;
    border-radius:14px;
  }
  #transformation .transformation-actions li:not(:last-child)::after{
    right:-7px;
    font-size:14px;
  }
  #transformation .transformation-actions i{
    width:27px;
    height:27px;
    border-radius:9px;
    font-size:10px;
  }
  #transformation .transformation-actions b{
    font-size:10.5px;
    line-height:1.42;
  }
  #transformation .transformation-metrics{
    gap:8px;
    margin-top:9px;
  }
  #transformation .transformation-metrics div{
    min-height:64px;
    padding:6px;
    border-radius:14px;
  }
  #transformation .transformation-metrics b{
    font-size:clamp(18px,1.8vw,23px);
  }
  #transformation .transformation-metrics small{
    margin-top:4px;
    font-size:8px;
  }
  #transformation .transformation-video-panel{
    width:100%;
    height:auto;
    padding:10px;
    border-radius:24px;
  }
  #transformation .transformation-video-copy{
    min-height:34px;
    padding:1px 3px 9px;
  }
  #transformation .transformation-video-copy span{
    padding:5px 8px;
    font-size:8px;
  }
  #transformation .transformation-video-copy strong{
    font-size:clamp(13px,1.35vw,16px);
  }
  #transformation .transformation-video-shell{
    flex:none;
    width:100%;
    aspect-ratio:16/9;
    border-radius:17px;
  }
  #transformation .transformation-video{
    width:100%;
    height:100%;
    object-fit:cover;
  }
}

/* Free demo: official LINE concierge ----------------------------------- */
body.theme-midnight-ai #demo .demo-line-contact{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  max-width:600px;
  margin-top:20px;
  padding:19px;
  border:1px solid rgba(78,217,139,.28);
  border-radius:22px;
  background:
    radial-gradient(260px 120px at 0 0,rgba(40,210,118,.13),transparent 72%),
    linear-gradient(145deg,rgba(13,32,53,.93),rgba(9,20,45,.96));
  box-shadow:0 18px 46px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05);
}
body.theme-midnight-ai #demo .demo-line-contact::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:170px;
  height:170px;
  right:-74px;
  bottom:-95px;
  border-radius:50%;
  background:rgba(26,206,105,.08);
  filter:blur(2px);
  pointer-events:none;
}
body.theme-midnight-ai #demo .demo-line-contact-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#aef0ca;
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}
body.theme-midnight-ai #demo .demo-line-contact-kicker>i{
  display:grid;
  place-items:center;
  min-width:40px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  color:#fff;
  background:#06c755;
  font-family:'Outfit','Noto Sans JP',sans-serif;
  font-size:9px;
  font-style:normal;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 0 18px rgba(6,199,85,.24);
}
body.theme-midnight-ai #demo .demo-line-contact h3{
  margin:11px 0 5px;
  color:#fff;
  font-size:clamp(19px,2vw,24px);
  line-height:1.35;
}
body.theme-midnight-ai #demo .demo-line-contact>p{
  max-width:530px;
  margin:0;
  color:#b9c8df;
  font-size:11px;
  font-weight:600;
  line-height:1.75;
}
body.theme-midnight-ai #demo .demo-line-contact-cta{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:11px;
  width:100%;
  min-height:62px;
  margin-top:15px;
  padding:9px 14px 9px 10px;
  border:1px solid rgba(175,255,207,.46);
  border-radius:16px;
  color:#fff;
  background:linear-gradient(112deg,#05a94a,#06c755 48%,#19a96a);
  box-shadow:
    0 0 0 1px rgba(55,235,132,.1),
    0 0 24px rgba(6,199,85,.2),
    0 13px 28px rgba(0,75,37,.25),
    inset 0 1px 0 rgba(255,255,255,.24);
  text-decoration:none;
}
body.theme-midnight-ai #demo .demo-line-contact-cta:hover{
  color:#fff;
  filter:brightness(1.07);
  box-shadow:
    0 0 0 1px rgba(185,255,214,.18),
    0 0 32px rgba(6,199,85,.3),
    0 16px 34px rgba(0,75,37,.3),
    inset 0 1px 0 rgba(255,255,255,.3);
}
body.theme-midnight-ai #demo .demo-line-contact-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:13px;
  color:#07a849;
  background:#fff;
  font-family:'Outfit','Noto Sans JP',sans-serif;
  font-size:10px;
  font-weight:900;
  box-shadow:0 6px 16px rgba(0,82,36,.2);
}
body.theme-midnight-ai #demo .demo-line-contact-cta>span:nth-child(2){
  display:grid;
  gap:2px;
  min-width:0;
}
body.theme-midnight-ai #demo .demo-line-contact-cta small{
  color:rgba(255,255,255,.76);
  font-size:8px;
  font-weight:700;
}
body.theme-midnight-ai #demo .demo-line-contact-cta b{
  font-size:13px;
  font-weight:900;
  line-height:1.35;
}
body.theme-midnight-ai #demo .demo-line-contact-cta>i{
  font-family:'Outfit',sans-serif;
  font-size:18px;
  font-style:normal;
  font-weight:800;
}
body.theme-midnight-ai #demo .demo-line-contact-note{
  display:block;
  margin-top:8px;
  color:#8497b6;
  font-size:8px;
  line-height:1.5;
}
@media(max-width:900px){
  body.theme-midnight-ai #demo .demo-line-contact{
    max-width:480px;
    margin-inline:auto;
    text-align:left;
  }
}
@media(max-width:560px){
  body.theme-midnight-ai #demo .demo-line-contact{
    margin-top:17px;
    padding:15px;
    border-radius:19px;
  }
  body.theme-midnight-ai #demo .demo-line-contact h3{
    margin-top:9px;
    font-size:19px;
  }
  body.theme-midnight-ai #demo .demo-line-contact>p{
    font-size:10px;
    line-height:1.7;
  }
  body.theme-midnight-ai #demo .demo-line-contact-cta{
    min-height:58px;
    gap:9px;
    margin-top:13px;
    padding:8px 11px 8px 8px;
    border-radius:15px;
  }
  body.theme-midnight-ai #demo .demo-line-contact-icon{
    width:39px;
    height:39px;
    border-radius:12px;
    font-size:9px;
  }
  body.theme-midnight-ai #demo .demo-line-contact-cta b{
    font-size:11.5px;
  }
}

/* Narrative ambient backgrounds ------------------------------------------
   Each chapter receives a different, content-led motion language. Only the
   section near the viewport runs, so the richer atmosphere does not turn the
   page into a stack of competing animations. */
body.theme-midnight-ai main>section:not(#hero){
  --ambient-primary:rgba(77,133,255,.19);
  --ambient-secondary:rgba(178,76,236,.14);
  --ambient-tertiary:rgba(60,213,225,.08);
  --ambient-x1:16%;
  --ambient-y1:26%;
  --ambient-x2:84%;
  --ambient-y2:72%;
  --ambient-duration:28s;
  --ambient-motif:linear-gradient(115deg,transparent 28%,rgba(135,177,255,.045) 44%,transparent 58%);
  border-block-start:1px solid rgba(132,158,235,.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.018),
    inset 0 -90px 120px rgba(2,5,16,.12);
}

body.theme-midnight-ai main>section:not(#hero)::before,
body.theme-midnight-ai :is(#results,#image-animation,#capabilities,#workflow,#transformation,#benefit-sns,#benefit-ai-suite,#analytics-to-video,#benefit-templates,#engine,#free-trial,#details-hub,#cost,#plans,#demo,#faq,#final)::before{
  inset:-14% -9%;
  opacity:.74;
  background:
    radial-gradient(ellipse 56% 44% at var(--ambient-x1) var(--ambient-y1),var(--ambient-primary) 0%,transparent 72%),
    radial-gradient(ellipse 50% 42% at var(--ambient-x2) var(--ambient-y2),var(--ambient-secondary) 0%,transparent 73%),
    radial-gradient(ellipse 42% 32% at 50% 84%,var(--ambient-tertiary) 0%,transparent 76%),
    var(--ambient-motif),
    linear-gradient(rgba(116,149,255,.032) 1px,transparent 1px),
    linear-gradient(90deg,rgba(116,149,255,.032) 1px,transparent 1px);
  background-size:145% 135%,140% 135%,155% 145%,220% 100%,48px 48px,48px 48px;
  background-position:0 0,100% 100%,50% 100%,-90% 0,0 0,0 0;
  filter:saturate(1.12);
  transform:translate3d(-1.2%,0,0) scale(1.025);
  animation:sectionAmbientNarrative var(--ambient-duration) cubic-bezier(.45,.05,.3,1) infinite alternate;
  animation-play-state:paused;
  will-change:transform,opacity;
}
body.theme-midnight-ai main>section.ambient-active::before{
  animation-play-state:running;
}

/* 01 / Showcase — cool light moving across generated work. */
body.theme-midnight-ai :is(#results,#image-animation,#capabilities){
  --ambient-primary:rgba(47,143,255,.23);
  --ambient-secondary:rgba(135,91,245,.16);
  --ambient-tertiary:rgba(66,221,235,.09);
  --ambient-x1:10%;
  --ambient-y1:34%;
  --ambient-x2:91%;
  --ambient-y2:60%;
  --ambient-duration:24s;
  --ambient-motif:repeating-linear-gradient(112deg,transparent 0 104px,rgba(135,202,255,.045) 106px,transparent 109px 214px);
  background:linear-gradient(150deg,#050a1a 0%,#071126 48%,#0c0d25 100%);
}

/* 02 / System — liquid cyan/violet depth behind the operating flow. */
body.theme-midnight-ai :is(#workflow,#transformation,#engine){
  --ambient-primary:rgba(48,192,235,.18);
  --ambient-secondary:rgba(149,76,241,.19);
  --ambient-tertiary:rgba(70,119,255,.12);
  --ambient-x1:22%;
  --ambient-y1:76%;
  --ambient-x2:82%;
  --ambient-y2:24%;
  --ambient-duration:30s;
  --ambient-motif:repeating-radial-gradient(ellipse at 50% 115%,transparent 0 70px,rgba(132,214,255,.045) 72px,transparent 75px 142px);
  background:linear-gradient(180deg,#050916 0%,#071127 48%,#0b0b25 100%);
}

/* 03 / Distribution — horizontal ribbons communicate expansion. */
body.theme-midnight-ai #benefit-sns{
  --ambient-primary:rgba(79,118,255,.21);
  --ambient-secondary:rgba(209,72,222,.15);
  --ambient-tertiary:rgba(75,203,255,.08);
  --ambient-x1:6%;
  --ambient-y1:52%;
  --ambient-x2:94%;
  --ambient-y2:46%;
  --ambient-duration:22s;
  --ambient-motif:repeating-linear-gradient(0deg,transparent 0 62px,rgba(122,153,255,.042) 64px,transparent 66px 128px);
  background:linear-gradient(110deg,#060a19 0%,#08112b 52%,#130b2b 100%);
}

/* One script / every SNS: cinematic depth backdrop ----------------------
   Existing One Step Studio work is reused as lightweight poster imagery.
   Perspective, edge lighting and slow drift create depth without adding
   any extra autoplay video or compromising the foreground conversion flow. */
body.theme-midnight-ai #benefit-sns{
  min-height:clamp(640px,55vw,820px);
  perspective:1400px;
}
body.theme-midnight-ai #benefit-sns>.wrap{
  position:relative;
  z-index:3;
}
#benefit-sns .sns-depth-stage{
  position:absolute;
  z-index:1;
  inset:-3% -2%;
  overflow:hidden;
  pointer-events:none;
  transform-style:preserve-3d;
}
#benefit-sns .sns-depth-stage::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:
    radial-gradient(ellipse 46% 62% at 50% 48%,rgba(4,7,19,.94) 0%,rgba(5,9,23,.88) 38%,rgba(7,10,27,.54) 72%,rgba(8,8,25,.28) 100%),
    linear-gradient(180deg,rgba(4,7,18,.72),rgba(5,7,20,.24) 34%,rgba(8,8,26,.32) 70%,rgba(5,7,19,.8));
}
#benefit-sns .sns-depth-stage::after{
  content:"";
  position:absolute;
  z-index:3;
  inset:0;
  background:
    linear-gradient(90deg,rgba(34,116,255,.12),transparent 22%,transparent 78%,rgba(186,71,237,.11)),
    radial-gradient(circle at 15% 36%,rgba(79,175,255,.16),transparent 28%),
    radial-gradient(circle at 85% 60%,rgba(190,77,240,.14),transparent 30%);
  mix-blend-mode:screen;
}
#benefit-sns .sns-depth-media{
  --depth:-80px;
  --tilt-x:0deg;
  --tilt-y:0deg;
  --turn:0deg;
  --drift-x:10px;
  --drift-y:-12px;
  position:absolute;
  z-index:1;
  overflow:hidden;
  margin:0;
  border:1px solid rgba(173,198,255,.24);
  border-radius:clamp(16px,1.8vw,28px);
  background:#0b1022;
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 44px rgba(76,127,255,.11),
    inset 0 1px 0 rgba(255,255,255,.16);
  opacity:.32;
  transform:translate3d(0,0,var(--depth)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(var(--turn));
  transform-origin:center;
  animation:snsDepthMediaDrift 22s cubic-bezier(.45,.05,.25,1) infinite alternate;
  animation-play-state:paused;
  will-change:transform;
}
#benefit-sns.ambient-active .sns-depth-media{animation-play-state:running}
#benefit-sns .sns-depth-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(118deg,transparent 22%,rgba(255,255,255,.12) 43%,transparent 62%);
  opacity:.45;
}
#benefit-sns .sns-depth-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.72) brightness(.72) contrast(1.06);
}
#benefit-sns .sns-depth-media-care{
  --depth:-120px;--tilt-y:13deg;--turn:-3.5deg;--drift-x:12px;--drift-y:-10px;
  top:9%;left:-5%;width:clamp(300px,34vw,560px);aspect-ratio:16/9;animation-duration:25s;
}
#benefit-sns .sns-depth-media-beauty{
  --depth:-40px;--tilt-y:-12deg;--turn:3deg;--drift-x:-13px;--drift-y:9px;
  top:4%;right:-5%;width:clamp(280px,32vw,510px);aspect-ratio:16/9;animation-duration:23s;animation-direction:alternate-reverse;
}
#benefit-sns .sns-depth-media-finance{
  --depth:-10px;--tilt-y:11deg;--turn:2.5deg;--drift-x:10px;--drift-y:12px;
  bottom:3%;left:-4%;width:clamp(300px,31vw,500px);aspect-ratio:16/9;animation-duration:27s;
}
#benefit-sns .sns-depth-media-house{
  --depth:-90px;--tilt-y:-13deg;--turn:-2.5deg;--drift-x:-12px;--drift-y:-10px;
  right:-4%;bottom:1%;width:clamp(310px,33vw,530px);aspect-ratio:16/9;animation-duration:26s;animation-direction:alternate-reverse;
}
#benefit-sns .sns-depth-media-ai{
  --depth:-230px;--tilt-x:3deg;--turn:-1deg;--drift-x:-7px;--drift-y:11px;
  top:37%;left:38%;width:clamp(230px,22vw,360px);aspect-ratio:16/9;opacity:.16;animation-duration:29s;
}
#benefit-sns .sns-depth-media-short{
  --depth:-45px;--tilt-y:-8deg;--turn:4deg;--drift-x:8px;--drift-y:-12px;
  top:28%;right:8%;width:clamp(92px,9vw,142px);aspect-ratio:9/16;opacity:.22;animation-duration:24s;
}
@keyframes snsDepthMediaDrift{
  from{
    transform:translate3d(0,0,var(--depth)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(var(--turn));
  }
  to{
    transform:translate3d(var(--drift-x),var(--drift-y),var(--depth)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(var(--turn)) scale(1.025);
  }
}

@media(max-width:900px){
  body.theme-midnight-ai #benefit-sns{min-height:auto;perspective:900px}
  #benefit-sns .sns-depth-stage{inset:0 -18%}
  #benefit-sns .sns-depth-stage::before{
    background:
      radial-gradient(ellipse 72% 58% at 50% 45%,rgba(4,7,19,.94),rgba(5,8,22,.84) 52%,rgba(6,8,24,.56) 100%),
      linear-gradient(180deg,rgba(4,7,18,.8),rgba(6,8,23,.38) 42%,rgba(5,7,19,.84));
  }
  #benefit-sns .sns-depth-media{opacity:.18;border-radius:16px;box-shadow:0 20px 48px rgba(0,0,0,.46)}
  #benefit-sns .sns-depth-media-care{top:10%;left:-18%;width:72vw}
  #benefit-sns .sns-depth-media-beauty{top:16%;right:-16%;width:64vw}
  #benefit-sns .sns-depth-media-finance{bottom:8%;left:-20%;width:68vw}
  #benefit-sns .sns-depth-media-house{right:-18%;bottom:5%;width:70vw}
  #benefit-sns .sns-depth-media-ai,
  #benefit-sns .sns-depth-media-short{display:none}
}

@media(prefers-reduced-motion:reduce){
  #benefit-sns .sns-depth-media{
    animation:none!important;
    transform:translate3d(0,0,var(--depth)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(var(--turn));
    will-change:auto;
  }
}

/* 04 / Intelligence — a restrained data-field rather than decorative fog. */
body.theme-midnight-ai :is(#benefit-ai-suite,#analytics-to-video){
  --ambient-primary:rgba(65,119,255,.2);
  --ambient-secondary:rgba(63,215,211,.11);
  --ambient-tertiary:rgba(169,82,245,.11);
  --ambient-x1:18%;
  --ambient-y1:18%;
  --ambient-x2:80%;
  --ambient-y2:80%;
  --ambient-duration:26s;
  --ambient-motif:radial-gradient(circle,rgba(146,182,255,.10) 0 1px,transparent 1.6px);
  background:linear-gradient(145deg,#071027 0%,#07101e 48%,#100b2b 100%);
}
body.theme-midnight-ai :is(#benefit-ai-suite,#analytics-to-video)::before{
  background-size:145% 135%,140% 135%,155% 145%,34px 34px,48px 48px,48px 48px;
}

/* 05 / Templates — soft gallery spotlights lead the eye across examples. */
body.theme-midnight-ai #benefit-templates{
  --ambient-primary:rgba(91,154,255,.21);
  --ambient-secondary:rgba(193,86,236,.16);
  --ambient-tertiary:rgba(85,225,219,.07);
  --ambient-x1:14%;
  --ambient-y1:34%;
  --ambient-x2:88%;
  --ambient-y2:58%;
  --ambient-duration:32s;
  --ambient-motif:linear-gradient(90deg,transparent 15%,rgba(161,191,255,.04) 32%,transparent 49%,rgba(205,133,255,.035) 68%,transparent 85%);
  background:linear-gradient(155deg,#071024,#080d20 48%,#130b27 100%);
}

/* 06 / Decision — measured light, calmer than the visual chapters. */
body.theme-midnight-ai :is(#details-hub,#cost,#plans){
  --ambient-primary:rgba(76,121,232,.16);
  --ambient-secondary:rgba(125,92,220,.13);
  --ambient-tertiary:rgba(81,189,217,.065);
  --ambient-x1:16%;
  --ambient-y1:24%;
  --ambient-x2:86%;
  --ambient-y2:74%;
  --ambient-duration:34s;
  --ambient-motif:linear-gradient(120deg,transparent 38%,rgba(174,193,255,.035) 50%,transparent 62%);
  background:linear-gradient(180deg,#070b1c 0%,#091026 56%,#0d0b23 100%);
}

/* 07 / Conversion — the ambient light converges around the final actions. */
body.theme-midnight-ai :is(#demo,#faq,#final){
  --ambient-primary:rgba(54,151,255,.21);
  --ambient-secondary:rgba(196,70,236,.2);
  --ambient-tertiary:rgba(95,231,215,.08);
  --ambient-x1:28%;
  --ambient-y1:42%;
  --ambient-x2:72%;
  --ambient-y2:55%;
  --ambient-duration:25s;
  --ambient-motif:radial-gradient(ellipse at 50% 50%,rgba(160,186,255,.055) 0%,transparent 62%);
  background:linear-gradient(150deg,#071127 0%,#0b1029 48%,#190d32 100%);
}

@keyframes sectionAmbientNarrative{
  0%{
    opacity:.62;
    transform:translate3d(-1.5%,.5%,0) scale(1.025);
    background-position:0 0,100% 100%,50% 100%,-90% 0,0 0,0 0;
  }
  52%{opacity:.8}
  100%{
    opacity:.7;
    transform:translate3d(1.8%,-1%,0) scale(1.065);
    background-position:12% 14%,86% 82%,58% 84%,155% 0,48px 24px,24px 48px;
  }
}

/* Pause the continuous water shimmer with the rest of the off-screen scene. */
body.theme-midnight-ai #workflow.is-wave-filled::after{animation-play-state:paused}
body.theme-midnight-ai #workflow.is-wave-filled.ambient-active::after{animation-play-state:running}

@media(max-width:820px){
  body.theme-midnight-ai main>section:not(#hero)::before,
  body.theme-midnight-ai :is(#results,#image-animation,#capabilities,#workflow,#transformation,#benefit-sns,#benefit-ai-suite,#analytics-to-video,#benefit-templates,#engine,#free-trial,#details-hub,#cost,#plans,#demo,#faq,#final)::before{
    inset:-9% -18%;
    opacity:.6;
    background-size:170% 150%,165% 150%,185% 160%,250% 100%,42px 42px,42px 42px;
    animation-duration:36s;
    will-change:transform;
  }
  body.theme-midnight-ai :is(#benefit-ai-suite,#analytics-to-video)::before{
    background-size:170% 150%,165% 150%,185% 160%,30px 30px,42px 42px,42px 42px;
  }
}

@media(prefers-reduced-motion:reduce){
  body.theme-midnight-ai main>section:not(#hero)::before,
  body.theme-midnight-ai :is(#results,#image-animation,#capabilities,#workflow,#transformation,#benefit-sns,#benefit-ai-suite,#analytics-to-video,#benefit-templates,#engine,#free-trial,#details-hub,#cost,#plans,#demo,#faq,#final)::before{
    opacity:.62;
    transform:none;
    animation:none!important;
    will-change:auto;
  }
}

/* Mobile swipe position indicator ----------------------------------------
   Every genuinely scrollable rail on HOME receives the same quiet, premium
   pagination treatment. The dots show the number of screen-width pages;
   the expanded dot and numeric counter show the current position. */
.mobile-swipe-progress{display:none}

@media(max-width:840px){
  .mobile-swipe-progress[data-active="true"]{
    display:flex;
    grid-column:1/-1;
    flex:0 0 100%;
    align-items:center;
    justify-content:center;
    gap:9px;
    width:100%;
    min-height:25px;
    margin:7px auto 2px;
    padding-inline:10px;
    color:rgba(221,229,255,.82);
    font-family:'Outfit','Noto Sans JP',sans-serif;
  }
  .mobile-swipe-progress-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-width:0;
  }
  .mobile-swipe-progress-dot{
    appearance:none;
    width:6px;
    height:6px;
    flex:0 0 auto;
    padding:0;
    border:1px solid rgba(143,164,239,.24);
    border-radius:999px;
    background:rgba(126,144,205,.28);
    box-shadow:inset 0 1px 1px rgba(255,255,255,.12);
    cursor:pointer;
    transition:width .24s ease,transform .24s ease,background .24s ease,box-shadow .24s ease,border-color .24s ease;
  }
  .mobile-swipe-progress-dot.is-active{
    width:23px;
    border-color:rgba(126,174,255,.74);
    background:linear-gradient(90deg,#58a6ff 0%,#667bf4 48%,#b65ee8 100%);
    box-shadow:0 0 12px rgba(96,135,255,.48),inset 0 1px 1px rgba(255,255,255,.35);
    transform:translateY(-.5px);
  }
  .mobile-swipe-progress-dot:focus-visible{
    outline:2px solid rgba(117,174,255,.9);
    outline-offset:3px;
  }
  .mobile-swipe-progress-count{
    display:inline-flex;
    align-items:baseline;
    justify-content:center;
    min-width:36px;
    color:rgba(174,187,231,.72);
    font-size:8px;
    font-weight:700;
    letter-spacing:.08em;
    line-height:1;
  }
  .mobile-swipe-progress-count b{
    color:#eef3ff;
    font-size:10px;
    font-weight:800;
  }
  .mobile-swipe-progress-count i{
    margin-inline:3px;
    color:rgba(153,168,219,.48);
    font-style:normal;
  }
}

@media(prefers-reduced-motion:reduce){
  .mobile-swipe-progress-dot{transition:none!important}
}

/* Cost & payback heading: preserve a balanced two-line desktop lockup. */
#cost .cost-payback-title{margin-bottom:0}
@media(min-width:821px){
  #cost .section-head.center{max-width:1200px}
  #cost .cost-payback-title{font-size:clamp(34px,4vw,50px)}
  #cost .cost-payback-title-line{display:inline-block;white-space:nowrap}
}


/* ==========================================================================
   MOBILE PERF 2026-08-29: スクロール中の再描画コスト削減。
   - 追従ヘッダーの backdrop-filter はスクロール毎フレームぼかし再計算になる
     ため、モバイルでは不透明度を上げた単色に置換(見た目ほぼ同等)
   - 大面積セクション背景の background-position ドリフトは毎フレーム再ペイント
     になるため停止(静止状態の見た目は同じ)
   ========================================================================== */
@media (max-width:820px){
  header{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    background:rgba(255,255,255,.96);
  }
  body.theme-midnight-ai main>section:not(#hero)::before{animation:none!important}
}


/* MOBILE PERF 2026-08-29(2): 画面外セクションの描画をスキップ(モバイルのみ)。
   contain-intrinsic-size はおおよその高さ予約。auto 指定により一度描画された
   実寸を記憶するため、スクロール位置のズレは初回のみ・軽微。 */
@media (max-width:820px){
  /* ANCHOR FIX 2026-08-29: 見積り高 1400px は実測(セクション中央値 約670px / 全ページ中央値 約820px)
     より大幅に大きく、フラグメント遷移の着地位置が最大 2000px ずれていた。実寸に近い値へ補正。 */
  main>section:not(#hero){content-visibility:auto;contain-intrinsic-size:auto 820px}
  /* アンカー遷移中(js が html.is-anchor-nav を付与)は描画スキップを一時解除し、
     正確なレイアウトでスクロール位置を確定させる。解除中に auto の「最後に記憶したサイズ」も
     実寸で更新されるため、以後の遷移も正確になる。 */
  html.is-anchor-nav main>section:not(#hero){content-visibility:visible}
}


/* ==========================================================================
   TEXT BALANCE 2026-08-29: 見出し末尾に1〜2文字だけが取り残される改行を防ぐ。
   text-wrap:balance は行幅を均等化するため「16文字+2文字」のような分かれ方を
   しなくなる。従来はモバイル(<=840px)のみ適用だったが、器(section-head:900px)
   より文字が大きくなる広い画面でも発生するため全画面幅に適用する。
   ========================================================================== */
:is(h1,h2,h3,h4,.section-title,.section-head h2,.section-head h3,.faq-list summary,.eyebrow){
  text-wrap:balance;
}
:is(.section-lead,.section-head p,.hero-lead,.hero-note,.lead,.detail-lead){
  text-wrap:balance;
}
/* 本文段落も行幅を均等化して末尾の短い行を防ぐ。
   ブラウザは行数が多い段落(長文)では自動的に無効化するため、
   プライバシーポリシー等の長文レイアウトは従来どおり。 */
p,li,dd,figcaption{text-wrap:balance}

/* 強制改行(<br>)を含む見出しは balance が無効化されるため、
   末尾の短い行を避ける pretty を併用する */
:is(h1,h2,h3,h4,.section-title,.section-head h2,.section-head h3):has(br){
  text-wrap:pretty;
}

/* 日本語は文節(意味の切れ目)で改行する。対応ブラウザのみ有効で、
   非対応環境は上の balance のみで動作する。「合わ/せて」のように
   語の途中で切れるのを防ぐ。 */
:is(h1,h2,h3,h4,.section-title,.section-head h2,.section-head h3,
    .section-lead,.section-head p,.hero-lead,.hero-note,p,li,dd,figcaption){
  word-break:auto-phrase;
}

/* 実測に基づく微調整: 器の幅に対して文字が大きく、末尾1〜2文字が
   孤立していた見出しをその幅帯だけ縮める。 */
@media (min-width:901px){
  /* id セレクタ側の指定に勝つ必要があるため #benefit-sns を付ける */
  #benefit-sns .sns-showcase-head h3{font-size:13.5px}
}
@media (max-width:620px){
  /* 「ワンステップスタジオ生成映像」は文節の切れ目がない複合語のため、
     折り返すと語の途中で割れる。器の幅から逆算して1行に収める。 */
  #results .section-head .section-title{font-size:min(32px,calc((100vw - 72px)/14.6))}
}

/* 改行方針: 改行位置は意味(文節・制作者のbr)で決め、収まらない場合は
   文字サイズで調整する。以下は器の幅から必要サイズを逆算した指定。 */
@media (max-width:559px){
  /* 「ワンステップスタジオの仕組み」を1行に収める(ブランド名を割らない) */
  #workflow .section-head .section-title{font-size:min(34px,calc((100vw - 72px)/14.6))}
}
@media (max-width:400px){
  /* 「もう「使える型」がある。」が溢れて末尾2文字が孤立するため縮める */
  #benefit-templates .section-head .section-title{font-size:26px}
}

/* SEO 2026-08-31: ヒーローのキャッチコピー画像を <h1> で包んだため、
   テキスト見出し用の #hero h1 ルール(max-width / margin など)が適用されて
   画像位置がずれる。h1 は意味づけのみを担い、レイアウトには影響させない。 */
#hero .hero-copy-heading,
#hero.hero-10min .hero-copy-heading{
  display:contents;
}


/* ---------------------------------------------------------------------------
   ヒーロー背景ウォールのレイアウトシフト対策

   index.html は 280KB あるため、CPU の遅い端末ではパース途中で一度描画される。
   その時点ではタイルが数枚しか存在せず、grid の高さが 286px しかない。
   残りのタイルが出揃うと 1692px に伸びるため、ページ全体で CLS 0.35 という
   大きなレイアウトシフトになっていた（PageSpeed Insights のデスクトップで
   スコアを 20 点近く落としていた原因）。

   タイルが出揃うまで透明にしておき、確定後に表示する。透明な要素は
   レイアウトシフトの対象にならないため、シフトが計上されなくなる。
   is-ready はウォール直後のインラインスクリプトが付ける。
--------------------------------------------------------------------------- */
/* opacity:0 や visibility:hidden ではレイアウト自体は行われるため、
   パース途中でタイルが増えるたびにシフトとして計上されてしまう。
   display:none ならレイアウトに参加しないので、出揃うまで一切計上されない。 */
.hero-cinema-wall{display:none}
.hero-cinema-wall.is-ready{
  display:block;
  animation:heroCinemaWallIn .45s ease both;
}
@keyframes heroCinemaWallIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .hero-cinema-wall.is-ready{animation:none}
}
@media (prefers-reduced-motion:reduce){
  .hero-cinema-wall.is-ready{transition:none}
}
