
/* =============================================================
   §1  DESIGN TOKENS — edit here to rebrand
   ============================================================= */
:root {
/* ---- Brand colors ---- */
--color-bg:           #ffffff;   /* page background — pure white */
--color-bg-alt:       #f1f7ff;   /* small-surface accent (tags, pills, cells) */
--color-bg-stripe:    #fffafb;   /* section alternation stripe — pale pink */
--color-paper:        #FFFFFF;   /* cards, surfaces (pure white = cleaner) */
--color-ink:          #232b3e;   /* primary text + borders */
--color-ink-soft:     #4a5578;   /* secondary text, muted labels */
--color-dark:         #232b3e;   /* ← Edit here to adjust the global dark color */

--color-accent:       #E84A5F;   /* PRIMARY accent (deep raspberry, editorial) */
--color-accent-2:     #1e5aac;   /* secondary accent → MotionPortrait brand deep blue */
--color-accent-blue:  #4f77e1;   /* brand periwinkle — for subtle blue touches */

/* ---- Legacy aliases (backward compatibility) ---- */
--bg:        var(--color-bg);
--bg-warm:   var(--color-bg-stripe);
--paper:     var(--color-paper);
--ink:       var(--color-ink);
--ink-soft:  var(--color-ink-soft);
--line:      var(--color-ink);
--pink:      var(--color-accent);
--violet:    var(--color-accent-2);

/* ---- Typography ---- */
--font-display: "Zen Maru Gothic", "Hiragino Sans", sans-serif;
--font-body:    "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
--font-mono:    "JetBrains Mono", monospace;

/* ---- Borders & shape ---- */
--border-w:  2.5px;
--radius:    10px;
--radius-lg: 16px;
--radius-pill: 999px;

/* ---- Shadow tokens ---- */
--shadow:    0 6px 0 var(--line);
--shadow-sm: 0 3px 0 var(--line);

/* ---- Button shadow tokens (shared by all buttons) ---- */
--btn-shadow:       0px 3px 10px 0px rgba(91,142,245,0.10), 0px 0px 14px 0px rgba(91,142,245,0.18);
--btn-shadow-hover: 0px 6px 18px 0px rgba(91,142,245,0.18), 0px 0px 20px 0px rgba(91,142,245,0.28);

/* ---- Spacing scale ---- */
--space-1: 8px;
--space-2: 16px;
--space-3: 24px;
--space-4: 32px;
--space-5: 48px;
--space-6: 64px;
}


/* =============================================================
 §2  RESET & BASE
 ============================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-weight: 400;
  width: 100%;
  overflow-x: clip;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(232,74,95,0.035), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(30,90,172,0.025), transparent 45%);
}

::selection { background: rgba(91,142,245,0.25); color: #232b3e; }


/* =============================================================
   §4  LAYOUT (container, sections)
   ============================================================= */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }


/* =============================================================
   §6  COMPONENTS — Navigation
   ============================================================= */
.nav,
.nav * { box-sizing: border-box; }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(91, 142, 245, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}


.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  width: 186px;
  height: 27px;
  overflow: hidden;
}
.logo img {
  width: 186px;
  height: 27px;
  display: block;
  object-fit: contain;
}

/* Nav links */
.nav-links {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  flex-shrink: 0;
}
.nav-links a {
  color: #232b3e;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 26.25px;
  letter-spacing: -0.15px;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #5b8ef5 0%, #a78bfa 100%);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

/* Language switcher */
.nav-links .lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid rgba(91,142,245,0.2);
  flex-shrink: 0;
}
.nav-links .lang a {
  padding-left: 5px;
  padding-right: 5px;
}
.lang a.current::after {
  width: 100%;
}

/* CTA button */
.nav-cta {
  background: var(--color-ink);
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 148px;
  height: 46px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.16px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.nav-cta:hover { opacity: 0.88; }
.nav-cta::after { display: none !important; }

/* Nav right: CTA + burger (hidden on desktop) */
.nav-right {
  display: none;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}


/* =============================================================
   §7  SECTIONS — Hero
   ============================================================= */
.hero {
  background: linear-gradient(149.98deg, rgba(245,249,255,1) 0%, rgba(255,253,249,1) 50%, rgba(245,249,255,1) 100%);
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 640px;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 3;
  overflow: visible;
  min-height: 580px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; letter-spacing: 1.56px; font-weight: 500;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(91,142,245,0.25);
  padding: 7px 14px 7px 15px; border-radius: 999px;
  box-shadow: inset 0 0 20px 1px rgba(91,142,245,0.05), 0 0 20px 0 rgba(91,142,245,0.15);
  backdrop-filter: blur(5px);
  margin-bottom: 23px;
  color: #232b3e;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: linear-gradient(135deg, rgba(91,142,245,1) 0%, rgba(61,220,239,1) 100%);
  box-shadow: 0 0 12px 0 rgba(91,142,245,0.6);
  animation: pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
/* Headline SVG wrapper */
.hero-headline-svg {
  margin-bottom: 23px;
  max-width: 555px;
}
.hero-headline-svg svg { width: 100%; height: auto; }

.lede {
  font-size: 18px; color: #4a5578;
  max-width: 540px; margin-bottom: 28px;
  line-height: 1.75; letter-spacing: -0.18px; font-weight: 400;
}
/* CTAs */
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 0; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15.5px 28px 16.5px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.16px;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: "Inter", sans-serif;
  border: none;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(109.16deg, rgba(91,142,245,1) 0%, rgba(167,139,250,1) 100%);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: var(--btn-shadow);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 50%);
  border-radius: 999px; pointer-events: none;
}
.btn-primary:hover { box-shadow: 0px 8px 28px 0px rgba(91,142,245,0.32), 0px 0px 30px 0px rgba(167,139,250,0.30); }
.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: #232b3e;
  border: 2px solid rgba(91,142,245,0.2);
  box-shadow: 0 4px 20px 0 rgba(91,142,245,0.14), 0 0 16px 0 rgba(91,142,245,0.10);
  backdrop-filter: blur(5px);
  font-weight: 600;
}
.btn-ghost .btn-arrow { display: inline-flex; align-items: center; }
.aud-cta .a-btn .btn-arrow { display: inline-flex; align-items: center; }
.btn-ghost:hover { background: rgba(255,255,255,0.9); box-shadow: 0 6px 28px 0 rgba(91,142,245,0.22), 0 0 24px 0 rgba(91,142,245,0.16); }
/* Hero meta checks */
.hero-meta {
  display: flex; gap: 28px; padding-top: 13px;
  font-size: 13px; color: #4a5578; letter-spacing: -0.16px;
}
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta .check {
  width: 18px; height: 18px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(147,255,190,1) 0%, rgba(91,142,245,1) 100%);
  border: 2px solid rgba(255,255,255,0.5);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 900; color: #232b3e;
  box-shadow: 0 0 15px 0 rgba(61,220,239,0.4);
}
/* Hero background decorations */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
/* Hero BG shared base */
.hero-bg__cloud,
.hero-bg__tri {
  position: absolute;
  object-fit: contain;
  will-change: transform;
}

/* Cloud animations — slow organic drift */
@keyframes cloud-drift-1 {
  0%,100% { transform: translate(0px, 0px) scale(1); }
  33%      { transform: translate(-12px, -8px) scale(1.02); }
  66%      { transform: translate(8px, 6px) scale(0.98); }
}
@keyframes cloud-drift-2 {
  0%,100% { transform: translate(0px, 0px) scale(1); }
  40%      { transform: translate(10px, -10px) scale(1.03); }
  75%      { transform: translate(-6px, 5px) scale(0.97); }
}

/* Cloud 1 — centered below buttons, in front of them */
.hero-bg__cloud--1 {
  width: 420px;
  left: 180px;
  bottom: 60px;
  transform: none;
  opacity: 0.92;
  z-index: 4;
  pointer-events: none;
  animation: cloud-drift-1 14s ease-in-out infinite;
}
/* Cloud 2 — right side, behind the avatar */
.hero-bg__cloud--2 {
  width: 380px;
  right: -40px;
  top: -20px;
  opacity: 0.78;
  z-index: 2;
  pointer-events: none;
  animation: cloud-drift-2 18s ease-in-out infinite 3s;
}

/* Diamond animations — slow rotation + float */
@keyframes diamond-spin-1 {
  0%   { transform: translateX(-50%) rotate(0deg) translateY(0px); }
  50%  { transform: translateX(-50%) rotate(180deg) translateY(-12px); }
  100% { transform: translateX(-50%) rotate(360deg) translateY(0px); }
}
@keyframes diamond-float-2 {
  0%,100% { transform: rotate(0deg) translateY(0px); }
  50%      { transform: rotate(-25deg) translateY(-14px); }
}
@keyframes diamond-float-3 {
  0%,100% { transform: rotate(0deg) translateY(0px); }
  50%      { transform: rotate(20deg) translateY(-10px); }
}
@keyframes diamond-spin-4 {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Triangle 1 — small prism, top center */
.hero-bg__tri--1 {
  width: 180px;
  top: 0%;
  left: 50%;
  opacity: 0.9;
  z-index: 0;
  animation: diamond-spin-1 22s linear infinite;
}
/* Triangle 2 — medium prism, bottom left */
.hero-bg__tri--2 {
  width: 200px;
  bottom: 12%;
  left: -2%;
  opacity: 0.8;
  z-index: 0;
  animation: diamond-float-2 9s ease-in-out infinite 1.5s;
}
/* Triangle 3 — small prism, bottom right */
.hero-bg__tri--3 {
  width: 160px;
  bottom: 5%;
  right: 2%;
  opacity: 0.85;
  z-index: 0;
  animation: diamond-float-3 7s ease-in-out infinite 0.8s;
}
/* Triangle 4 — large prism, far right background */
.hero-bg__tri--4 {
  width: 960px;
  right: -280px;
  top: -100px;
  opacity: 0.45;
  z-index: -1;
  animation: diamond-spin-4 90s linear infinite;
}


.hero-right {
  position: relative;
  min-height: 580px;
  display: flex; align-items: flex-end; justify-content: flex-start;
  overflow: visible;
}
.hero-img-placeholder {
  /* Avatar cut at mid-hand / bottom of dress level */
  width: 820px;
  aspect-ratio: 1;
  max-width: none;
  position: absolute;
  bottom: -220px;
  left: -80px;
  z-index: 3;
  filter: drop-shadow(0 20px 60px rgba(91,142,245,0.2));
}
.hero-img-placeholder img,
.hero-img-placeholder .mp-avatar-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Float tags — Figma spec */


/* =============================================================
   §6  COMPONENTS — Section titles
   ============================================================= */
section { padding: 100px 0; position: relative; }
.sec-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.95px;
  margin-bottom: 13px;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #5b8ef5 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sec-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.45; letter-spacing: -0.3px;
  margin-bottom: 18px;
  text-align: left;
}
.sec-lede {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 29.75px;
  letter-spacing: -0.17px;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
  max-width: 620px;
  margin-bottom: 40px;
  text-align: left;
}
/* Sections that are centered by design */
.pricing .sec-title,
.faq .sec-eyebrow,
.pricing .sec-eyebrow {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
}


/* =============================================================
   §7  SECTIONS — VS / Compare
   ============================================================= */
.vs {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 3;
}
.vs::before { display: none !important; }


.vs .sec-lede { max-width: 620px; margin-bottom: 40px; }


.vs .sec-title {
  color: var(--color-ink);
  -webkit-text-fill-color: var(--color-ink);
  margin-bottom: 13px;
  text-align: left;
}

/* Table container */
.vs-table {
  width: 100%;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  border: 1px solid rgba(91,142,245,0.3);
  box-shadow: 0px 0px 20px 0px rgba(167,139,250,0.15);
  backdrop-filter: blur(7.5px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Rows */
.vs-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1.4fr);
  border-bottom: 1px solid rgba(91,142,245,0.12);
}
.vs-row:last-child { border-bottom: none; }

/* Header row */
.vs-head {
  background: #ffffff;
  border-bottom: 1px solid rgba(91,142,245,0.12);
}
.vs-head .vs-axis {
  background: #ffffff;
  border-right: 1px solid rgba(91,142,245,0.12);
}
.vs-head .vs-col {
  padding: 20px 24px;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 27.2px;
  letter-spacing: -0.16px;
}
.vs-head .vs-them {
  background: #ffffff;
  color: var(--color-ink);
  -webkit-text-fill-color: var(--color-ink);
  border-right: 1px solid rgba(91,142,245,0.12);
}
.vs-head .vs-us {
  background: #ffffff;
  color: #5b8ef5;
  -webkit-text-fill-color: #5b8ef5;
}

/* Axis cells */
.vs-axis {
  background: #f5f9ff;
  border-right: 1px solid rgba(91,142,245,0.12);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  height: 63px;
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
}

/* Competitor column */
.vs-them {
  background: #ffffff;
  border-right: 1px solid rgba(91,142,245,0.12);
  padding: 19px 24px;
  display: flex;
  align-items: center;
  height: 63px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 23.2px;
  letter-spacing: -0.16px;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
}

/* Our column */
.vs-us {
  background: #ffffff;
  padding: 19px 24px;
  display: flex;
  align-items: center;
  height: 63px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 23.2px;
  letter-spacing: -0.16px;
}
.vs-us strong {
  background: linear-gradient(96.87deg, #5b8ef5 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  padding: 0 2px;
}

/* Table footer note */
.vs-foot {
  color: #4a5578;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-align: right;
  margin-top: 20px;
  -webkit-text-fill-color: #4a5578;
}

.vs-table-outer {
  position: relative;
  width: 100%;
}
/* Ring — VS section, right outer zone */
.vs-ring-wrap {
  position: absolute;
  right: max(-40px, calc((100% - 1240px) / 4 - 20px));
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  pointer-events: none;
}
.vs-ring-wrap img {
  width: 120px;
  height: 120px;
  opacity: 0.9;
  animation: vs-ring-breathe 3.6s ease-in-out infinite;
}
@keyframes vs-ring-breathe {
  0%, 100% { transform: scale(1)    rotate(0deg);   opacity: 0.9; }
  40%       { transform: scale(1.18) rotate(12deg);  opacity: 0.7; }
  70%       { transform: scale(0.92) rotate(-6deg);  opacity: 1;   }
}

/* Triangle — Works section, right outer zone */
.works-tri-wrap {
  position: absolute;
  right: max(-60px, calc((100% - 1240px) / 4 - 40px));
  bottom: 80px;
  width: 90px;
  height: 104px;
  pointer-events: none;
}
.works-tri-wrap img {
  width: 90px;
  height: 104px;
  display: block;
  opacity: 0.9;
  animation: aud-tri-float 4.8s ease-in-out infinite 1.2s;
}

/* Triangle — Audience section, left outer zone */
.aud-tri-wrap {
  position: absolute;
  left: max(-60px, calc((100% - 1240px) / 4 - 40px));
  top: 88px;
  width: 100px;
  height: 116px;
  pointer-events: none;
}
.aud-tri-wrap img {
  width: 100px;
  height: 116px;
  display: block;
  opacity: 0.9;
  animation: aud-tri-float 4.2s ease-in-out infinite;
}
@keyframes aud-tri-float {
  0%, 100% { transform: translateY(0px)  rotate(0deg);  opacity: 0.9; }
  35%       { transform: translateY(-8px) rotate(4deg);  opacity: 0.75; }
  65%       { transform: translateY(4px)  rotate(-3deg); opacity: 1; }
}


/* =============================================================
   §7  SECTIONS — Features
   ============================================================= */
.features {
  background: #eef4ff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
/* Background SVG shapes */
.features::before {
  content: '';
  position: absolute; inset: 0;
  /*background-image: url('images/features/bg-shapes.svg'); /* ← path to your geometric shapes SVG */
  background-size: 137% auto;
  background-position: -9% -2%;
  opacity: 0.6;
  pointer-events: none;
}
/* Eyebrow — cyan→blue gradient */
.features .sec-eyebrow {
  background: linear-gradient(90deg, #3ddcef 0%, #5b8ef5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* feat-grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 43px;
}
/* Feature cards */
.feat {
  background: rgba(255,255,255,0.9);
  border-radius: 20px;
  border: 2px solid rgba(91,142,245,0.45);
  padding: 31px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(7.5px);
  box-shadow: 0 4px 20px 0 rgba(91,142,245,0.10), 0 1px 4px 0 rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feat:hover {
  transform: translateY(-4px);
  border-color: rgba(91,142,245,0.65);
  box-shadow: 0 0 40px 0 rgba(167,139,250,0.2), 0 8px 32px 0 rgba(91,142,245,0.1);
}
/* Feature number — cyan→blue gradient */
.feat-num {
  background: linear-gradient(94.02deg, #3ddcef 0%, #5b8ef5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  margin-bottom: 14px;
}
/* Feature icon */
.feat-icon {
  width: 56px; height: 56px;
  background: #ffffff;
  border: 1.5px solid rgba(91,142,245,0.25);
  border-radius: 12px;
  display: grid; place-items: center;
  box-shadow: 0 0 16px 0 rgba(61,220,239,0.35);
  overflow: visible;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 16px;
}
.feat-icon img {
  width: 28px; height: 28px;
  display: block;
}
/* Feature title and description */
.feat h3:not(.aud-title) {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 22px; font-weight: 900;
  line-height: 30px; letter-spacing: -0.3px;
  color: #232b3e; -webkit-text-fill-color: #232b3e;
  margin: 0 0 10px 0;
}
.feat p:not(.aud-sub):not(.aud-pitch) {
  font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 500;
  line-height: 24.5px; letter-spacing: -0.14px;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  margin: 0;
  flex: 1;
}
/* Feature meta tag */
.feat-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(91,142,245,0.12);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: -0.16px;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
}


/* =============================================================
   §7  SECTIONS — Pricing
   ============================================================= */
.pricing,
.pricing * { box-sizing: border-box; }

.pricing {
  background: #eef4ff;
  background-repeat: no-repeat;
  background-size: 135% auto;
  background-position: center center;
  padding: 99px 0 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* Pricing container */
.pricing .container {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  justify-content: flex-start;
  max-width: 1240px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Pricing eyebrow */
.container__sec-eyebrow {
  padding: 0 0 0.75px;
  display: flex; flex-direction: column;
  align-items: center; align-self: stretch;
}
.container__pricing {
  background: linear-gradient(90deg, #5b8ef5 0%, #a78bfa 100%);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; line-height: 22.75px;
  letter-spacing: 1.95px; font-weight: 700;
}

/* Pricing title */
.container__h-2-sec-title {
  padding: 0 0 0.8px;
  display: flex; flex-direction: column;
  align-items: center; align-self: stretch;
}
.container___3 {
  color: #232b3e; text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 52px; line-height: 1.45;
  letter-spacing: -0.3px; font-weight: 900;
}

/* Pricing lede */
.container__p-sec-lede {
  padding: 4.38px 0 0;
  display: flex; flex-direction: column;
  align-items: center;
  max-width: 620px;
}
.container__ailia-sdk-ailia-sdk {
  text-align: center; font-size: 17px;
  line-height: 29.75px; letter-spacing: -0.17px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.ailia-sdk-ailia-sdk-span {
  color: #4a5578;
  font-family: "Inter", sans-serif;
  font-size: 17px; line-height: 29.75px;
  letter-spacing: -0.17px; font-weight: 500;
}
.ailia-sdk-ailia-sdk-span2 {
  color: #5b8ef5;
  font-family: "Inter", sans-serif;
  font-size: 17px; line-height: 29.75px;
  letter-spacing: -0.17px; font-weight: 700;
}

/* Pricing cards grid */
.container__price-grid {
  padding: 35px 0 0;
  display: grid;
  gap: 28px;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1240px;
  margin: 0 auto;
}

/* Pricing card base */
.container__free,
.container__indie,
.container__business-enterprise {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  border: 2px solid rgba(91, 142, 245, 0.45);
  padding: 48px 36px 28px;
  display: flex; flex-direction: column;
  align-items: flex-start;
  position: relative;
  backdrop-filter: blur(7.5px);
  box-shadow: 0 4px 20px 0 rgba(91,142,245,0.10), 0 1px 4px 0 rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.container__free:hover,
.container__indie:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px 0 rgba(167,139,250,0.2), 0 8px 32px 0 rgba(91,142,245,0.1);
}

/* Plan badge tag */
.container__pc-tag-margin-align-flex-start,
.container__pc-tag-margin-align-flex-start2,
.container__pc-tag-margin-align-flex-start3 {
  display: flex; flex-direction: column;
  align-items: flex-start; align-self: stretch;
}
.container__pc-tag-margin {
  padding: 0 0 18px;
  display: flex; flex-direction: column;
  align-items: flex-start;
}
.container__pc-tag {
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(61, 220, 239, 0.3);
  padding: 3px 10px 4px;
  display: inline-flex;
  box-shadow: 0 0 20px 0 rgba(61, 220, 239, 0.25);
}
.container__free2,
.container__indie2,
.container__business {
  color: #232b3e;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; line-height: 19.25px;
  letter-spacing: 1.65px; font-weight: 500;
}

/* Plan title */
.container__h-3-margin {
  padding: 0 0 8px;
  display: flex; flex-direction: column;
  align-self: stretch;
}
.container__h-3 {
  display: flex; flex-direction: column; align-self: stretch;
}
.container__div {                      /* FREE — 900 */
  color: #232b3e;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px; line-height: 31.2px;
  letter-spacing: -0.48px; font-weight: 900;
  align-self: stretch;
}
.container__indie-startup,
.container__business-enterprise2 {    /* INDIE / BUSINESS — 700 */
  color: #232b3e;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px; line-height: 31.2px;
  letter-spacing: -0.48px; font-weight: 700;
  align-self: stretch;
}

/* Plan subtitle */
.container__p-price-sub-margin {
  padding: 0 0 12px;
  display: flex; flex-direction: column; align-self: stretch;
}
.container__p-price-sub {
  display: flex; flex-direction: column; align-self: stretch;
}
.container__div2 {
  color: #4a5578;
  font-family: "Inter", sans-serif;
  font-size: 14px; line-height: 24.5px;
  letter-spacing: -0.14px; font-weight: 500;
  align-self: stretch;
}

/* Price box */
.container__price-amount-margin {
  padding: 0 0 12px;
  display: flex; flex-direction: column; align-self: stretch;
}
.container__price-amount {          /* FREE + BUSINESS — white background */
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  padding: 19px 20px 20px;
  display: flex; flex-direction: column; gap: 3px;
  align-self: stretch;
}
.container__price-amount2 {        /* INDIE — white background */
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  padding: 19px 20px 20px;
  display: flex; flex-direction: column; gap: 3px;
  align-self: stretch;
}
.container__span-price-label {
  display: flex; flex-direction: column;
  align-items: center; align-self: stretch;
}
.container__div3 {
  color: #4a5578; text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; line-height: 19.25px;
  letter-spacing: 1.65px; font-weight: 500;
}
.container__span-price-value {
  display: flex; flex-direction: column;
  align-items: center; align-self: stretch;
}
.container___0,
.container__xx,
.container__div9 {
  color: #232b3e; text-align: center;
  font-family: "Zen Kaku Gothic New", "Zen Maru Gothic", sans-serif;
  font-size: 32px; line-height: 35.2px;
  letter-spacing: -0.16px; font-weight: 900;
}
.container__span-price-meta {
  padding: 5px 0 0;
  display: flex; flex-direction: column;
  align-items: center; align-self: stretch;
}
.container__div4,
.container__x-1 {
  color: #4a5578; text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 12px; line-height: 21px;
  letter-spacing: -0.16px; font-weight: 500;
}

/* Plan features list */
.container__ul-price-features-margin {
  padding: 0 0 16px;
  display: flex; flex-direction: column;
  align-self: stretch;
}
.container__ul-price-features,
.container__ul-price-features2 {
  list-style: none; margin: 0;
  padding: 0;
  display: flex; flex-direction: column;
  align-self: stretch;
}
.container__li {
  padding: 8px 0;
  display: flex; flex-direction: row;
  gap: 10px; align-items: center;
  align-self: stretch;
}

/* Feature check icon — FREE plan */
.container__span-pcheck {
  background: linear-gradient(109.16deg, #5b8ef5 0%, #a78bfa 100%);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 24px; height: 24px;
}
.container__div5 {
  color: #ffffff; text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 900;
}

/* Feature check icon — INDIE + BUSINESS plans */
.container__span-pcheck2 {
  background: linear-gradient(109.16deg, #5b8ef5 0%, #a78bfa 100%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 24px; height: 24px;
}
.container__div7 {
  color: #ffffff; text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 900;
}

/* Feature text */
.container__div6,
.container___6,
.container__ok,
.container__ip,
.container__ailia-sdk {
  color: #232b3e;
  font-family: "Inter", sans-serif;
  font-size: 14px; line-height: 24.5px;
  letter-spacing: -0.16px; font-weight: 500;
}

/* CTA button — ghost style (FREE + BUSINESS) */
.container__component-7 {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  border: 2px solid rgba(91, 142, 245, 0.2);
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: center;
  align-self: stretch;
  box-shadow: var(--btn-shadow);
  backdrop-filter: blur(5px);
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.container__component-7:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--btn-shadow-hover);
}
.container__text {
  color: #232b3e; text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px; line-height: 28px;
  letter-spacing: -0.16px; font-weight: 600;
  display: inline-flex; align-items: center;
}

/* CTA button — gradient style (INDIE) */
.container__a-btn {
  background: linear-gradient(101.43deg, #5b8ef5 0%, #a78bfa 100%);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: center;
  align-self: stretch;
  position: relative; overflow: hidden;
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.container__a-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}
/* Inner gloss overlay */
.container__before {
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 50%);
  border-radius: 999px;
  position: absolute; inset: 3px;
  pointer-events: none;
}
.container__div8 {
  color: #ffffff; text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px; line-height: 28px;
  letter-spacing: -0.16px; font-weight: 700;
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
}

/* Recommended ribbon */
.container__span-price-ribbon {
  background: linear-gradient(109.16deg, #5b8ef5 0%, #a78bfa 100%);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  display: flex; align-items: center; justify-content: center;
  width: 56%;
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: -15px;
  box-shadow: 0 0 20px 0 rgba(167, 139, 250, 0.15);
  backdrop-filter: blur(5px);
  white-space: nowrap;
}
.container__recommended {
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; line-height: 21px;
  letter-spacing: 1.2px; font-weight: 500;
}

/* Pricing footer note */
.container__p-vs-foot {
  padding: 19px 0 0;
  display: flex; flex-direction: column;
  align-items: center; align-self: stretch;
}
.container__ailia-sdk2 {
  color: #4a5578; text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 12px; line-height: 21px;
  letter-spacing: 0.6px; font-weight: 500;
}


/* =============================================================
   §7  SECTIONS — FAQ
   ============================================================= */
.faq {
  background: #ffffff;
}
/* FAQ accordion */
.faq-list {
  width: 100%;
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(91, 142, 245, 0.3);
  border-radius: 10px;
  box-shadow: 0px 0px 20px 0px rgba(167, 139, 250, 0.15);
  overflow: hidden;
  backdrop-filter: blur(5px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item[open] {
  border-color: rgba(91, 142, 245, 0.6);
  box-shadow: 0px 0px 28px 0px rgba(167, 139, 250, 0.25);
}
.faq-item summary {
  padding: 20px 56px 20px 24px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700; font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: #232b3e;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { display: none; }

/* FAQ toggle icon */
.faq-toggle {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.faq-icon { display: block; }
.faq-icon--minus { display: none; }

.faq-item[open] .faq-icon--plus  { display: none; }
.faq-item[open] .faq-icon--minus { display: block; }

/* Rotation animation on the wrapper — same as original ::after rotate(180deg) */
.faq-toggle {
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-toggle {
  transform: translateY(-50%) rotate(180deg);
}
.faq-item p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: #4a5578;
  line-height: 1.85;
  letter-spacing: -0.14px;
}
.faq-item p a { color: #5b8ef5; font-weight: 700; }


/* =============================================================
   §7  SECTIONS — Custom Design Service
   ============================================================= */
.custom-design {
  background: linear-gradient(160deg, #f0f5ff 0%, #e8f0ff 100%);
  padding: 80px 0 100px;
}

/* Card */
.cd-card {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid rgba(91,142,245,0.45);
  box-shadow: 0 4px 20px 0 rgba(91,142,245,0.10), 0 1px 4px 0 rgba(0,0,0,0.04);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cd-card::before { display: none; }

/* Section background SVG */
.av-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
/* Background triangle opacity per section */
.features .av-bg { opacity: 0.45; }
.pricing  .av-bg { opacity: 0.00; }
.avatars-section .av-bg { opacity: 0.22; }

.cd-left, .cd-right { position: relative; z-index: 2; }

.cd-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.95px;
  background: linear-gradient(109.16deg, #5b8ef5 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.cd-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.4px;
  color: #232b3e;
  -webkit-text-fill-color: #232b3e;
  margin-bottom: 18px;
}

.cd-lede {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28.8px;
  letter-spacing: -0.16px;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
  margin-bottom: 22px;
}
.cd-lede strong {
  background: linear-gradient(109.16deg, #5b8ef5 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* List */
.cd-list { list-style: none; padding: 0; }
.cd-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24.5px;
  letter-spacing: -0.16px;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
}
.cd-bullet {
  background: linear-gradient(109.16deg, #5b8ef5 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  flex-shrink: 0;
  padding-top: 4px;
}

/* Pricing tiers */
.cd-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}
.cd-tier {
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(167,139,250,0.35);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 2px 8px 0 rgba(167,139,250,0.08);
}
.cd-tier-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  background: linear-gradient(109.16deg, #5b8ef5 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cd-tier-price {
  font-family: "Zen Kaku Gothic New", "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 19.8px;
  letter-spacing: -0.16px;
  color: #232b3e;
  -webkit-text-fill-color: #232b3e;
}
.cd-tier-desc {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 15.4px;
  letter-spacing: -0.16px;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
}

/* Step icon images */
.cd-step-icon img {
  width: 24px; height: 24px;
  display: block; margin: 0 auto 6px;
}

.cd-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 100%;
}
.cd-step {
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(91,142,245,0.45);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 20px 0 rgba(91,142,245,0.10), 0 1px 4px 0 rgba(0,0,0,0.04);
  text-align: center;
  width: 100%;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(5px);
}
.cd-step-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.cd-step-icon img {
  width: 28px; height: 28px;
  display: block; margin: 0 auto;
}
.cd-step-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
  margin-bottom: 2px;
}
.cd-step-name {
  font-family: "Zen Kaku Gothic New", "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.16px;
  color: #232b3e;
  -webkit-text-fill-color: #232b3e;
}
.cd-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cd-step-arrow .btn-arrow-img {
  filter: invert(38%) sepia(80%) saturate(800%) hue-rotate(210deg) brightness(100%) !important;
  transform: none !important;
  opacity: 1;
}


/* =============================================================
   §7  SECTIONS — Footer
   ============================================================= */
footer {
  background: #232b3e;
  padding: 60px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  gap: 40px;
  margin-bottom: 40px;
  width: 100%;
}
.foot-logo .logo {
  display: block;
  width: auto; height: auto;
  overflow: visible;
}
.foot-logo .logo img {
  width: 185px; height: auto;
  display: block;
}
.foot-logo p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24.5px;
  letter-spacing: -0.14px;
  color: rgba(255,246,238,0.6);
  margin-top: 16px;
  max-width: 320px;
}
.foot-col h4 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  background: linear-gradient(-90deg, rgba(195,182,253,1) 0%, rgba(91,169,255,1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.foot-col a {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24.5px;
  letter-spacing: -0.16px;
  color: rgba(255,246,238,0.75);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.foot-col a:hover { color: rgba(255,246,238,1); }
.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,246,238,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.16px;
  color: rgba(255,246,238,0.5);
}


/* =============================================================
   §8  RESPONSIVE
   ============================================================= */

/* Burger button (hidden on desktop) */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid rgba(91,142,245,0.25);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.nav-burger:hover { background: rgba(91,142,245,0.07); }
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: #232b3e;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
}
/* Cross state (burger open) */
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tablet + mobile (≤ 1024px) */
@media (max-width: 1024px) {
  .nav-right { display: flex; }
  .nav-burger { display: flex; }

  /* Mobile dropdown drawer */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(91,142,245,0.15);
    padding: 8px 28px 24px;
    z-index: 49;
    box-shadow: 0 12px 32px rgba(15,23,41,0.08);
  }
  .nav-links.is-open { display: flex; }

  /* Hide CTA inside drawer (already shown next to burger) */
  .nav-links .nav-cta { display: none; }

  .nav-links a:not(.nav-cta) {
    display: flex;
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: #232b3e;
    border-bottom: 1px solid rgba(91,142,245,0.12);
  }
  .nav-links a:not(.nav-cta):last-of-type { border-bottom: none; }
  /* .nav-links a:not(.nav-cta)::after { display: none; } */

  /* Language switcher inside mobile drawer */
  .nav-links .lang {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    padding: 20px 0;
    display: flex;
    justify-content: flex-end;
  }
  .nav-links .lang a {
    border-bottom: none;
    width: auto;
    padding: 0px 8px;
  }
}

/* General responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { max-width: 480px; margin: 0 auto; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { justify-self: center; }
  .works-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-list { grid-template-columns: 1fr; }
  .cd-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .avatar-grid { grid-template-columns: repeat(2, 1fr); }
  .voice-picker { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
  .quickstart-grid { grid-template-columns: 1fr; }
  .code-block { font-size: 13px; overflow-x: auto; }
  .featured-case { grid-template-columns: 1fr; }
  .pipeline-flow { grid-template-columns: 1fr; gap: 8px; }
  .arrow { display: none; }
  .node { text-align: center; align-items: center; }
  .container__price-grid { grid-template-columns: 1fr; gap: 20px; }
  .container__indie { margin-top: 20px; }
  .vs-table-outer { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .vs-table { min-width: 560px; }
  /* Float tags — hidden on mobile/tablet */
  .float-tag--desktop { display: none; }
  /* Avatar — centered */
  .hero-right .hero-img-placeholder {
    width: 130%;
    max-width: none;
    position: absolute;
    top: 0;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  /* Remove desktop min-height */
  .hero-right {
    min-height: unset;
    height: 380px;
  }
  .hero-bg__cloud--1,
  .hero-bg__cloud--2,
  .hero-bg__tri--4 { display: none; }
  .vs-ring-wrap,
  .works-tri-wrap,
  .aud-tri-wrap { display: none; }
  .lede { font-size: 16px; }
  .hero-meta { flex-wrap: wrap; gap: 14px; }
  .wc-tag { border-radius: 8px; }
  .wc-mono { font-size: 9px; letter-spacing: 1.5px; }
  .fc-logo { max-width: 100px; bottom: 48px; }
}

@media (max-width: 520px) {
  section { padding: 70px 0; }
  .container { padding: 0 18px; }
  .price-card { padding: 32px 24px; }
}


/* =============================================================
 §3  ACCESSIBILITY
 ============================================================= */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}
}


/* =============================================================
   §5  UTILITIES
   ============================================================= */
.u-text-center      { text-align: center; }

.u-mt-1             { margin-top: var(--space-1); }
.u-mt-4             { margin-top: var(--space-4); }
.u-mb-3             { margin-bottom: var(--space-3); }


/* Block-width button */
.btn--block, .a-btn--block { width: 100%; justify-content: center; }

/* Section header centering */
.section--centered .sec-eyebrow,
.section--centered .sec-title,
.section--centered .sec-lede {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section--centered .sec-eyebrow { margin-bottom: 13px; }
.section--centered .sec-title   { margin-bottom: 18px; }
.section--centered .sec-lede    { margin-bottom: var(--space-5); }


/* =============================================================
   §6  COMPONENTS — A-BTN (gradient button)
   ============================================================= */
.a-btn,
.a-btn * { box-sizing: border-box; }
.a-btn {
  background: linear-gradient(109.16deg, rgba(91,142,245,1) 0%, rgba(167,139,250,1) 100%);
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 15.5px 28px 16.5px 28px;
  display: inline-flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
  height: 64px;
  position: relative;
  box-shadow: var(--btn-shadow);
  text-decoration: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 28px;
  letter-spacing: -0.16px;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.a-btn::before {
  content: '';
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 50%);
  border-radius: 999px;
  position: absolute;
  right: 3px; left: 3px; bottom: 3px; top: 3px;
  pointer-events: none;
}
.a-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}
.a-btn span { position: relative; z-index: 1; }


/* =============================================================
   §6  COMPONENTS — Float Tags
   ============================================================= */
.float-tag {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  padding: 7.5px 14px 8.5px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  white-space: nowrap;
  box-sizing: border-box;
  width: auto;
  height: 36px;
  flex-shrink: 0;
}

/* Float tags t1, t2, t4 — white glass base */
.float-tag.t1,
.float-tag.t2,
.float-tag.t4 {
  background: #ffffff;
  border: 2px solid rgba(91, 142, 245, 0.2);
  color: #232b3e;
  box-shadow: 0 0 20px 0 rgba(167, 139, 250, 0.15);
  backdrop-filter: blur(5px);
}
/* t1 — left, upper middle */
.float-tag.t1 { font-family: "JetBrains Mono", monospace; top: 28%; left: 52%; }
/* t2 — right, top */
.float-tag.t2 { font-family: "Zen Maru Gothic", sans-serif; top: 22%; left: 82%; }
/* t4 — right, bottom */
.float-tag.t4 { font-family: "JetBrains Mono", monospace; top: 72%; left: 82%; bottom: auto; }

/* t3 — left, lower middle (gradient style) */
.float-tag.t3 {
  background: linear-gradient(109.16deg, rgba(91,142,245,1) 0%, rgba(167,139,250,1) 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: "Zen Maru Gothic", sans-serif;
  box-shadow: 0 6px 20px 0 rgba(91,142,245,0.15), 0 0 25px 0 rgba(91,142,245,0.4);
  top: 54%; left: 52%; bottom: auto;
}

/* Stage — transparent, no border */
.stage {
  position: relative;
  aspect-ratio: 886 / 900;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}


/* Float tags — desktop only by default */
.float-tag--mobile { display: none; }
.float-tag--desktop { display: inline-flex; }

/* Float tags — responsive overrides */

/* Mobile + small tablet (≤ 960px) */
@media (max-width: 960px) {
  .float-tag--desktop { display: none; }
  .float-tag--mobile {
    display: inline-flex;
    font-size: 8px;
    padding: 2px 6px 3px;
    height: 20px;
  }
  .float-tag--mobile.t1 { top: 22%; left:  2%; right: auto; }
  .float-tag--mobile.t2 { top:  5%; right: 2%; left:  auto; }
  .float-tag--mobile.t3 { top: 50%; left:  2%; right: auto; }
  .float-tag--mobile.t4 { top: 65%; right: 2%; left:  auto; bottom: auto; }
}

/* Tablet (601px–960px) */
@media (min-width: 601px) and (max-width: 960px) {
  section, .vs, .audience, .pricing, .integration { padding: 64px 0; }
  .pipeline { margin-bottom: 0; padding-bottom: 0; }
  .hero { padding: 48px 0 0; overflow-x: clip; }
  .hero-right {
    display: flex;
    justify-content: center;
    min-height: unset;
    height: 500px;
    margin-top: 16px;
    overflow: visible;
    position: relative;
    width: 100%;
  }
  .hero-right .hero-img-placeholder {
    width: 130%;
    max-width: 900px;
    position: absolute;
    top: 0;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    clip-path: inset(0 0 25% 0);
  }
  .float-tag--mobile {
    display: inline-flex;
    font-size: 11px;
    padding: 5px 11px 6px;
    height: 32px;
  }
  .float-tag--mobile.t1 { top: 22%; left:  3%; right: auto; }
  .float-tag--mobile.t2 { top:  5%; right: 3%; left:  auto; }
  .float-tag--mobile.t3 { top: 50%; left:  3%; right: auto; }
  .float-tag--mobile.t4 { top: 65%; right: 3%; left:  auto; bottom: auto; }
  .aud-grid { grid-template-columns: 1fr; }
  .cd-left { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .cd-left .a-btn { align-self: stretch; justify-content: center; }
  .cd-flow { flex-direction: row; align-items: stretch; }
  .cd-step { width: auto; flex: 1; }
  .cd-step-arrow { writing-mode: horizontal-tb; }
  .cd-step-arrow .btn-arrow-img { transform: rotate(-90deg) !important; }
}

/* Laptop (1025px–1599px) — 2-column layout, scaled elements */
@media (min-width: 1025px) and (max-width: 1599px) {
  /* Hero — keep 2-column, scale avatar */
  .hero {
    padding: 60px 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    min-height: 500px;
  }
  .hero-right {
    min-height: 500px;
  }
  .hero-right .hero-img-placeholder {
    width: 700px;
    max-width: none;
    bottom: -160px;
    left: -60px;
  }
  /* Float tags — desktop, scaled */
  .float-tag--desktop { display: inline-flex; }
  .float-tag--mobile  { display: none; }
  .float-tag.t1 { font-size: 11px; padding: 6px 11px; }
  .float-tag.t2 { font-size: 11px; padding: 6px 11px; }
  .float-tag.t3 { font-size: 11px; padding: 6px 11px; }
  .float-tag.t4 { font-size: 11px; padding: 6px 11px; }

  /* Features — 3 columns, reduced gap */
  .feat-grid { gap: 16px; }
  .feat { padding: 24px 22px 26px; }
  .feat h3:not(.aud-title) { font-size: 19px; }

  /* Audience — 2 columns */
  .aud-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Avatar grid — 3 columns */
  .avatar-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Pricing — 2 columns */
  .container__price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Custom design — 2 columns */
  .cd-card { grid-template-columns: 1.4fr 1fr; }
  .cd-left { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
  .cd-left .a-btn { align-self: flex-start; }
  .cd-flow { flex-direction: column; align-items: center; }
  .cd-step { width: 100%; max-width: 240px; }
  .cd-step-arrow .btn-arrow-img { transform: none !important; }

  /* Footer — 4 columns */
  .foot-grid { grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); }

  /* Works — 2 columns */
  .works-grid { grid-template-columns: repeat(2, 1fr); }

  /* Section titles — slightly scaled down */
  .sec-title, h2.sec-title { font-size: 42px !important; }
  .container___3 { font-size: 42px !important; }
}

/* iPad (961px–1024px) — stacked layout */
@media (min-width: 961px) and (max-width: 1024px) {
  .hero {
    padding: 60px 0 0;
    min-height: unset;
    overflow-x: clip;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: unset;
    gap: 0;
    align-items: start;
  }
  .hero-right {
    min-height: unset;
    height: 460px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 32px;
    overflow: visible;
  }
  .hero-right .hero-img-placeholder {
    width: 90%;
    max-width: 680px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: auto;
    z-index: 2;
    clip-path: inset(0 0 20% 0);
  }
  .float-tag--desktop { display: none; }
  .float-tag--mobile {
    display: inline-flex;
    font-size: 16px;
    padding: 10px 18px 11px;
    height: 46px;
  }
  .float-tag--mobile.t1 { top: 22%; left:  8%; right: auto; }
  .float-tag--mobile.t2 { top:  5%; right: 8%; left:  auto; }
  .float-tag--mobile.t3 { top: 50%; left:  8%; right: auto; }
  .float-tag--mobile.t4 { top: 65%; right: 8%; left:  auto; bottom: auto; }
  .aud-grid { grid-template-columns: 1fr; }
  .cd-left { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .cd-left .a-btn { align-self: stretch; justify-content: center; }
  .cd-flow { flex-direction: row; align-items: stretch; }
  .cd-step { width: auto; flex: 1; }
  .cd-step-arrow .btn-arrow-img { transform: rotate(-90deg) !important; }
}

/* Float tags — floating animations */
@keyframes ft-float-1 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}
@keyframes ft-float-2 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}
@keyframes ft-float-3 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes ft-float-4 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

.float-tag.t1 { animation: ft-float-1 4.2s ease-in-out infinite; }
.float-tag.t2 { animation: ft-float-2 3.8s ease-in-out infinite 0.6s; }
.float-tag.t3 { animation: ft-float-3 4.6s ease-in-out infinite 1.1s; }
.float-tag.t4 { animation: ft-float-4 4.0s ease-in-out infinite 1.8s; }

/* =============================================================
   §6  COMPONENTS — Section Title (global override)
   ============================================================= */
.sec-title,
h2.sec-title {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  font-weight: 900;
  font-size: 52px !important;
  line-height: 1.45 !important;
  letter-spacing: -0.3px !important;
  color: #232b3e;
  -webkit-text-fill-color: #232b3e;
  text-align: left !important;
}
/* Exceptions — Pricing and FAQ sections are centered */
.pricing .sec-title,
.pricing h2.sec-title,
.faq .sec-title,
.faq h2.sec-title {
  text-align: center !important;
}

/* Section title — scaled down on mobile and tablet */
@media (max-width: 960px) {
  .sec-title, h2.sec-title { font-size: 38px !important; }
  .container___3 { font-size: 34px !important; }
}
@media (max-width: 600px) {
  .sec-title, h2.sec-title { font-size: 26px !important; line-height: 1.35 !important; }
  .container___3 { font-size: 24px !important; }
}

/* =============================================================
   §7  SECTIONS — Audience
   ============================================================= */
.audience {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.audience::before { display: none !important; }


.audience .sec-lede { margin-bottom: 0; }

.aud-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 43px;
  align-items: stretch;
}

/* Audience grid — 1 column on mobile/tablet */
@media (max-width: 1024px) {
  .aud-grid { grid-template-columns: 1fr; }
}

.aud-card,
.aud-grid .feat {
  background: rgba(255,255,255,0.9);
  border-radius: 20px;
  border: 2px solid rgba(91,142,245,0.45);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 20px 0 rgba(91,142,245,0.10), 0 1px 4px 0 rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.aud-deco {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.aud-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px 0 rgba(167,139,250,0.2), 0 8px 32px 0 rgba(91,142,245,0.1);
}

.aud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.aud-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.65px;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
}


.aud-icon img { width: 54px; height: 54px; display: block; }


.aud-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 38px;
  letter-spacing: -0.5px;
  color: var(--color-ink);
  -webkit-text-fill-color: var(--color-ink);
  margin: 6px 0 8px;
}

/* Sub */
.aud-sub {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.14px;
  color: var(--color-ink-soft);
  -webkit-text-fill-color: var(--color-ink-soft);
  margin: 0 0 20px;
}

/* Pitch box */
.aud-pitch {
  background: #f5f9ff;
  border-radius: 8px;
  border: none;
  border-left: 3px solid #b4f5e3;
  padding: 16px 18px;
  margin-bottom: 22px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 25.38px;
  letter-spacing: -0.14px;
  color: #232b3e;
  -webkit-text-fill-color: #232b3e;
  align-self: stretch;
}

/* Uses list */
.aud-uses {
  list-style: none;
  padding: 0 0 22px 0;
  margin: 0;
  flex: 1;
  align-self: stretch;
}
.aud-uses li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(91,142,245,0.12) !important;
  font-family: "Inter", sans-serif;
  font-size: 13.5px !important;
  font-weight: 500;
  line-height: 23.63px !important;
  letter-spacing: -0.16px !important;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
}
.aud-uses li:last-child { border-bottom: none !important; }
.aud-uses li::before {
  content: '◦';
  flex-shrink: 0;
  font-size: 13.5px !important;
  font-weight: 700;
  line-height: 23.63px !important;
}

/* CTA button: full-width white pill */
.aud-cta {
  margin-top: auto;
  align-self: stretch;
}
.aud-cta .a-btn {
  background: #ffffff;
  border: 2px solid rgba(91,142,245,0.15);
  border-radius: 999px !important;
  padding: 16px 28px !important;
  height: auto !important;
  width: 100% !important;
  justify-content: center !important;
  box-shadow: var(--btn-shadow);
  font-family: "Inter", sans-serif;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 28px !important;
  letter-spacing: -0.16px !important;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.aud-cta .a-btn:hover {
  box-shadow: var(--btn-shadow-hover);
  transform: translateY(-2px);
}
.aud-cta .a-btn::before {
  content: '';
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(91,142,245,0.03) 50%) !important;
  border-radius: 999px;
  position: absolute;
  right: 3px; left: 3px; bottom: 3px; top: 3px;
  pointer-events: none;
}
.aud-cta .a-btn span { color: #232b3e; -webkit-text-fill-color: #232b3e; position: relative; z-index: 1; }


/* =============================================================
   §7  SECTIONS — Avatars Demo
   ============================================================= */
.avatars-section {
  background: linear-gradient(135deg, #C2EEFF 0%, #EEEbFF 50%, #F7F4C0 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}


.avatars-section .container { position: relative; z-index: 1; }
.features .container { position: relative; z-index: 1; }


.avatars-section .sec-lede { margin-bottom: 40px; }
.avatars-section .sec-eyebrow {
  color: rgba(15,23,41,0.55) !important;
  -webkit-text-fill-color: rgba(15,23,41,0.55) !important;
  background: none !important;
}

/* Speech bubble */
.demo-bubble {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(91,142,245,0.2);
  border-radius: 999px;
  padding: 16px 28px;
  max-width: 480px;
  margin: 0 auto 20px;
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5), 0 0 25px 0 rgba(91,142,245,0.4);
  backdrop-filter: blur(5px);
  position: relative;
}
/* Bubble tail */
.bubble-tail {
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(91,142,245,0.15));
}
.db-text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.16px;
  color: #232b3e;
}
.db-text .db-arrow { color: #7b5bff; }

/* Voice picker */
.voice-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 12px;
}
.voice-btn {
  background: rgba(255,255,255,0.6);
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.85);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.9px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5), 0 4px 16px 0 rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.voice-btn:hover { transform: translateY(-2px); }
.voice-btn.is-active {
  border-color: rgba(91,142,245,0.7);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), 0 6px 20px 0 rgba(91,142,245,0.18);
}
.voice-btn[data-voice="bright"].is-active {
  background: linear-gradient(rgba(192,157,249,0.18), rgba(192,157,249,0.18)), rgba(255,255,255,0.95);
  border-color: rgba(192,157,249,0.75);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), 0 6px 20px 0 rgba(192,157,249,0.22);
}
.voice-btn[data-voice="calm"].is-active {
  background: linear-gradient(rgba(125,179,255,0.18), rgba(125,179,255,0.18)), rgba(255,255,255,0.95);
  border-color: rgba(125,179,255,0.75);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), 0 6px 20px 0 rgba(125,179,255,0.22);
}
.voice-btn[data-voice="kid"].is-active {
  background: linear-gradient(rgba(255,154,188,0.18), rgba(255,154,188,0.18)), rgba(255,255,255,0.95);
  border-color: rgba(255,154,188,0.75);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), 0 6px 20px 0 rgba(255,154,188,0.22);
}
.voice-btn[data-voice="robot"].is-active {
  background: linear-gradient(rgba(95,211,139,0.18), rgba(95,211,139,0.18)), rgba(255,255,255,0.95);
  border-color: rgba(95,211,139,0.75);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), 0 6px 20px 0 rgba(95,211,139,0.22);
}
.vb-icon {
  width: 32px; height: 32px;
  border-radius: 16px;
  display: grid; place-items: center;
  overflow: visible;
}
.vb-icon img { width: 32px; height: 32px; }
.vb-name {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 16.8px;
  color: #232b3e;
  text-align: center;
}
.vb-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.35px;
  color: #4a5578;
}

/* Avatar grid — carousel only on mobile; reset to grid on larger screens */
@media (min-width: 601px) {
  .avatar-carousel-arrow { display: none; }
  .avatar-carousel-dots  { display: none; }
  .avatar-carousel-wrap  { position: static; }
  .avatar-carousel-track { display: contents; padding: 0; }
  .avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto 40px;
    max-width: 90%;
    overflow: visible;
  }
  .avatar-grid .avatar-card {
    flex: unset;
    max-width: unset;
  }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .avatar-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Avatar carousel — JS-driven layout */
.avatar-card {
  background: #ffffff;
  border-radius: 28px;
  border: 2px solid rgba(124,58,237,0.28);
  padding: 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  aspect-ratio: 1;
  position: relative;
  box-shadow: 0 4px 20px 0 rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  overflow: hidden;
}
.avatar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  /* border-radius: 28px; */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.avatar-card:nth-child(1)::before { background: linear-gradient(160deg, #5b8ef5 0%, #a5c0ff 100%); }
.avatar-card:nth-child(2)::before { background: linear-gradient(160deg, #FFB870 0%, #ffe0b2 100%); }
.avatar-card:nth-child(3)::before { background: linear-gradient(160deg, #3DDCEF 0%, #b2f0f8 100%); }
.avatar-card:nth-child(4)::before { background: linear-gradient(160deg, #b4f5e3 0%, #d4fdf2 100%); }
.avatar-card:nth-child(5)::before { background: linear-gradient(160deg, #A78BFA 0%, #d4c5ff 100%); }
.avatar-card:nth-child(6)::before { background: linear-gradient(160deg, #FF6B9D 0%, #ffb8d1 100%); }

.avatar-card.active::before {
  opacity: 0.3;
}

/* Active — just a stronger border */
.avatar-card.active {
  border: 3px solid rgba(100,40,210,0.75);
  box-shadow: 0 4px 20px 0 rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.06);
  border-radius: 28px;
  background-clip: padding-box;
}
.avatar-card:hover { transform: translateY(-4px); }
.avatar-card.active:hover { transform: translateY(-4px); }

/* Inactive cards — same opacity as active */
.avatar-grid:has(.avatar-card.active) .avatar-card:not(.active) {
  opacity: 1;
}

/* Avatar image — 1024×1024 source, displayed square cropped */
.avatar-card .av-img-placeholder,
.avatar-card .av-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  max-height: 277px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 20px;
}
.avatar-card .av-img-placeholder img,
.avatar-card .av-img-wrap img {
  width: 97%;
  height: 97%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.avatar-card .av-img-placeholder svg { opacity: 0.25; }
.avatar-card .mp-avatar-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Showcase controls */
.showcase-controls {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto 20px;
}
.control-btn img {
  display: block;
  flex-shrink: 0;
}
.control-btn {
  background: rgba(255,255,255,0.85);
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.9);
  padding: 13px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5), 0 4px 16px 0 rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  color: #232b3e;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.control-btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), 0 6px 20px 0 rgba(0,0,0,0.12);
}
.control-btn.is-on {
  background: linear-gradient(rgba(124,58,237,0.05), rgba(124,58,237,0.05)), rgba(255,255,255,0.92);
  border: 1.5px solid rgba(124,58,237,0.55);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), 0 4px 16px 0 rgba(124,58,237,0.18);
  color: #232b3e;
}
.control-btn .cb-icon {
  color: #7b5bff;
  font-size: 14px;
}

/* =============================================================
   §7  SECTIONS — Works
   ============================================================= */
.works {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.works::before { display: none; }


.works .sec-lede { margin-bottom: 28px; }

/* Featured case */
.featured-case {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid rgba(91,142,245,0.45);
  box-shadow: 0 4px 20px 0 rgba(91,142,245,0.10), 0 1px 4px 0 rgba(0,0,0,0.04);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 0;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

/* Left column */
.fc-left {
  padding: 44px;
  position: relative;
  display: flex; flex-direction: column; gap: 0;
}
.fc-badges {
  display: flex; flex-direction: row; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.fc-badge {
  display: inline-flex; align-items: center;
  background: #ffffff;
  border: 1.5px solid #232b3e;
  border-radius: 999px;
  padding: 5px 14px 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 1.65px;
  color: #232b3e; -webkit-text-fill-color: #232b3e;
  box-shadow: 0 0 20px 4px rgba(91,142,245,0.15);
  flex-shrink: 0;
}
.fc-badges .wc-tag {
  display: inline-flex; align-items: center;
  background: #ffffff;
  border: 1px solid rgba(91,142,245,0.2);
  border-radius: 999px;
  padding: 3px 10px 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 1.65px;
  color: #232b3e; -webkit-text-fill-color: #232b3e;
  box-shadow: 0 0 20px 0 rgba(167,139,250,0.15);
  backdrop-filter: blur(5px);
  margin-bottom: 0;
}
.fc-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 36px; font-weight: 900;
  line-height: 44px; letter-spacing: -0.4px;
  color: #232b3e; -webkit-text-fill-color: #232b3e;
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .fc-title { font-size: 20px; line-height: 1.35; }
}
@media (min-width: 601px) and (max-width: 960px) {
  .fc-title { font-size: 26px; line-height: 1.4; }
}
.fc-company {
  font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 500;
  line-height: 24.5px; letter-spacing: -0.14px;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  margin-bottom: 16px;
}
.fc-desc {
  font-family: "Inter", sans-serif;
  font-size: 14.5px; font-weight: 500;
  line-height: 26.83px; letter-spacing: -0.14px;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  margin-bottom: 24px;
}

/* Metrics */
.fc-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px; margin-bottom: 24px;
}
.fc-metric {
  background: #f5f9ff;
  border: 1px solid rgba(91,142,245,0.12);
  border-radius: 8px;
  padding: 15px 12px 16px;
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-start;
}
.fc-num {
  display: flex; align-items: center; justify-content: center;
  align-self: stretch;
  background: linear-gradient(100.71deg, rgba(30,90,172,1) 0%, rgba(91,142,245,1) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Zen Maru Gothic", sans-serif;
  font-size: 26px; font-weight: 900;
  line-height: 30px; letter-spacing: -0.16px;
}
.fc-lbl {
  display: flex; align-items: center; justify-content: center;
  align-self: stretch;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 500;
  line-height: 16.5px; letter-spacing: -0.16px;
}

/* CTA button — featured case */
.fc-left .a-btn {
  display: inline-flex; align-items: center;
  background: linear-gradient(101.3deg, rgba(91,142,245,1) 0%, rgba(167,139,250,1) 100%);
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 16px 28px;
  font-family: "Inter", sans-serif;
  font-size: 16px; font-weight: 700;
  color: #ffffff; -webkit-text-fill-color: #ffffff;
  text-decoration: none;
  box-shadow: var(--btn-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}
.fc-left .a-btn::before {
  content: '';
  position: absolute; inset: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}
.fc-left .a-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}
@media (max-width: 600px) {
  .fc-left .a-btn {
    font-size: 13px;
    padding: 12px 18px;
    width: 100%;
    justify-content: center;
  }
}

.fc-quote {
  background: rgba(91,142,245,0.05);
  border-left: 3px solid #5b8ef5;
  border-radius: 0 12px 12px 0;
  padding: 15px 18px 16px;
  margin-bottom: 24px;
  font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 500;
  line-height: 25.2px; letter-spacing: -0.16px;
  color: #232b3e; -webkit-text-fill-color: #232b3e;
}
.fc-quote cite {
  display: block; margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; font-weight: 500;
  line-height: 21.6px;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  font-style: normal;
}

/* Right column — image */
.fc-right {
  position: relative; overflow: hidden;
  display: flex; align-items: stretch;
}
.fc-visual {
  width: 100%; height: 100%;
  min-height: 320px;
  position: relative; overflow: hidden;
  border-radius: 0 18px 18px 0;
  display: grid; place-items: center;
}

/* Floating stars — removed (display:none) */
.fc-star,
.wc-deco-star { display: none !important; /* removed */
  position: absolute;
  pointer-events: none;
  opacity: 0;
}
.fc-star { z-index: 4; animation: fc-star-float 4s ease-in-out infinite; }
.fc-star img { display: block; }
.fc-star-1 { top: 12%; left: 8%;   animation-delay: 0s;    animation-duration: 3.8s; }
.fc-star-2 { top: 22%; right: 10%; animation-delay: 0.6s;  animation-duration: 4.2s; }
.fc-star-3 { top: 55%; left: 5%;   animation-delay: 1.1s;  animation-duration: 3.5s; }
.fc-star-4 { top: 70%; right: 8%;  animation-delay: 1.7s;  animation-duration: 4.6s; }
.fc-star-5 { top: 40%; left: 14%;  animation-delay: 2.3s;  animation-duration: 3.9s; }
.fc-star-6 { top: 82%; left: 20%;  animation-delay: 0.9s;  animation-duration: 4.1s; }
.fc-star-7 { top: 8%;  right: 22%; animation-delay: 2.9s;  animation-duration: 3.6s; }
@keyframes fc-star-float {
  0%   { opacity: 0;   transform: translateY(0px)   rotate(0deg)  scale(0.7); }
  20%  { opacity: 0.9; }
  50%  { opacity: 0.7; transform: translateY(-12px) rotate(22deg) scale(1.05); }
  80%  { opacity: 0.9; }
  100% { opacity: 0;   transform: translateY(0px)   rotate(44deg) scale(0.7); }
}

.fc-visual img.fc-char {
  width: 472px; height: 584px;
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .fc-visual img.fc-char {
    width: 260px; height: 320px;
    top: 0;
    translate: -50% 0;
  }
  .fc-visual { min-height: 320px; }
}
@media (min-width: 601px) and (max-width: 960px) {
  .fc-visual img.fc-char {
    width: 340px; height: 420px;
    top: 0;
    translate: -50% 0;
  }
  .fc-visual { min-height: 420px; }
}
.wc-mono {
  position: absolute; bottom: 18px; right: 18px;
  background: #ffffff;
  border: 2px solid rgba(91,142,245,0.2);
  border-radius: 999px;
  padding: 3px 10px 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 400; letter-spacing: 2.2px;
  color: #232b3e; -webkit-text-fill-color: #232b3e;
  z-index: 5;
}
.fc-logo {
  position: absolute; bottom: 58px; right: 18px;
  max-width: 140px; height: auto;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.9)) drop-shadow(0 0 12px rgba(255,255,255,0.7));
}

/* Work cards grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 28px; margin-bottom: 20px;
  padding-top: 0;
}
.work-card {
  background: rgba(255,255,255,0.8);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wc-neptune {
  border: 1px solid rgba(167,139,250,0.3);
  box-shadow: 0 0 40px 0 rgba(167,139,250,0.1), 0 8px 32px 0 rgba(167,139,250,0.15);
}
.wc-haruhi {
  border: 1px solid rgba(91,142,245,0.3);
  box-shadow: 0 0 40px 0 rgba(91,142,245,0.1), 0 8px 32px 0 rgba(91,142,245,0.15);
}
.wc-haruhi .wc-visual {
  background: radial-gradient(closest-side, rgba(208,225,255,1) 0%, transparent 55%),
              linear-gradient(121.93deg, rgba(91,142,245,1) 0%, rgba(30,90,172,1) 100%);
}
.wc-oni {
  border: 1px solid rgba(232,74,95,0.3);
  box-shadow: 0 0 40px 0 rgba(232,74,95,0.08), 0 8px 32px 0 rgba(232,74,95,0.12);
}
.wc-oni .wc-visual {
  background: radial-gradient(closest-side, rgba(255,220,220,1) 0%, transparent 55%),
              linear-gradient(121.93deg, rgba(232,74,95,0.8) 0%, rgba(180,40,60,1) 100%);
}
.wc-visual {
  height: 360px;
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid rgba(91,142,245,0.12);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.wc-neptune .wc-visual {
  background: radial-gradient(closest-side, rgba(255,229,208,1) 0%, transparent 55%),
              linear-gradient(121.93deg, rgba(106,150,238,1) 0%, rgba(30,90,172,1) 100%);
}
.wc-mobile .wc-visual {
  background: #ffffff;
}


.wc-visual img.wc-char {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.wc-haruhi .wc-visual {
  background: #ffffff;
}
.wc-haruhi .wc-visual img.wc-char {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30px;
}
.wc-haruhi .wc-mono {
  color: #232b3e;
}
.wc-body {
  padding: 28px; flex: 1;
}
/* wc-tag shared style */
.wc-tag {
  display: inline-flex; align-items: center;
  background: #ffffff;
  border: 1px solid rgba(91,142,245,0.2);
  border-radius: 999px;
  padding: 3px 10px 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 1.65px;
  color: #232b3e; -webkit-text-fill-color: #232b3e;
  margin-bottom: 14px;
}
.wc-character {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 28px; font-weight: 900;
  line-height: 34px; letter-spacing: -0.3px;
  color: #232b3e; -webkit-text-fill-color: #232b3e;
  margin-bottom: 4px;
}
.wc-company {
  font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 500;
  line-height: 24.5px; letter-spacing: -0.14px;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  margin-bottom: 12px;
}
.wc-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 500;
  line-height: 25.2px; letter-spacing: -0.14px;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
}

/* 3-column grid override */
.wc-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  -webkit-text-fill-color: inherit;
  border-radius: inherit;
}
.work-card:has(.wc-card-link) {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wc-neptune:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 60px 0 rgba(167,139,250,0.2), 0 16px 40px 0 rgba(167,139,250,0.18);
}
.wc-haruhi:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 60px 0 rgba(91,142,245,0.2), 0 16px 40px 0 rgba(91,142,245,0.18);
}
.wc-oni:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 60px 0 rgba(232,74,95,0.15), 0 16px 40px 0 rgba(232,74,95,0.15);
}
.work-card:hover .wc-link { gap: 10px; }
.works-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
  .works-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .works-grid--3col { grid-template-columns: 1fr; }
}
.works-grid--3col .work-card { border-top-width: 3px; }
.works-grid--3col .wc-neptune { border-top-color: #a78bfa; }
.works-grid--3col .wc-haruhi  { border-top-color: #5b8ef5; }
.works-grid--3col .wc-oni     { border-top-color: #E84A5F; }
.works-grid--3col .wc-body {
  padding: 28px 24px 24px;
  display: flex; flex-direction: column;
  flex: 1;
}
.works-grid--3col .wc-tag {
  align-self: flex-end;
  margin-bottom: 16px;
}
.wc-mono-inline {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 2px;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  margin-bottom: 8px;
}
.works-grid--3col .wc-character {
  font-size: 20px;
  line-height: 1.45;
  margin-bottom: 6px;
  word-break: auto-phrase;
}
.wc-desc-short {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px; font-weight: 400;
  line-height: 1.75;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  margin-top: 8px;
  flex: 1;
}
.wc-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(91,142,245,0.12);
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.13px;
  color: #5b8ef5; -webkit-text-fill-color: #5b8ef5;
  text-decoration: none;
  transition: gap 0.2s ease;
  align-self: flex-start;
}

/* Works strip */
@media (max-width: 960px) {
  .wc-desc-short br { display: none; }
}
.works-strip {
  background: #ffffff;
  border-radius: 14px;
  border: 2px dashed rgba(91,142,245,0.3);
  padding: 20px;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: center;
  margin-bottom: 0;
}
.ws-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 1.2px;
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  margin-right: 8px;
}
.ws-pill {
  background: #ffffff;
  border: 1.5px solid rgba(15,23,41,0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.16px;
  color: #232b3e; -webkit-text-fill-color: #232b3e;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.06);
  backdrop-filter: blur(5px);
}
.works .vs-foot {
  color: #4a5578; -webkit-text-fill-color: #4a5578;
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.6px;
  text-align: center;
  margin-top: 19px;
}

.wc-deco, .wc-emblem { display: none; }

@media (max-width: 960px) {
  .featured-case { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
}


/* =============================================================
   §7  SECTIONS — Integration & Pipeline
   ============================================================= */
.integration,

.integration .sec-lede { margin-bottom: 43px; }
.integration .sec-lede strong {
  font-weight: 700;
}

/* Pipeline card */
.pipeline {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid rgba(91,142,245,0.45);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 4px 20px 0 rgba(91,142,245,0.10), 0 1px 4px 0 rgba(0,0,0,0.04);
  backdrop-filter: blur(5px);
  position: relative;
}

/* Pipeline flow grid */
.pipeline-flow {
  display: grid;
  grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr);
  gap: 14px;
  align-items: center;
}


.node {
  height: 100%;
}

/* Pipeline nodes */
.node {
  background: #ffffff;
  border-radius: 12px;
  border: 1.5px solid rgba(91,142,245,0.2);
  padding: 21px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 4.8px;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 16px 0 rgba(91,142,245,0.08);
  align-self: stretch;
}

.node.motion {
  background: linear-gradient(109.16deg, rgba(91,142,245,0.92) 0%, rgba(167,139,250,0.92) 100%);
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow: 0 4px 20px 0 rgba(91,142,245,0.22);
}

/* Node label */
.node-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.1px;
  color: #232b3e;
  -webkit-text-fill-color: #232b3e;
  text-align: center;
  align-self: stretch;
}
.node.motion .node-label {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}
.node.motion .node-name {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

/* Node name */
.node-name {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 21.6px;
  letter-spacing: -0.16px;
  color: #232b3e;
  -webkit-text-fill-color: #232b3e;
  text-align: center;
  align-self: stretch;
}

/* Arrow */
.arrow {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 42px;
  color: #232b3e;
  -webkit-text-fill-color: #232b3e;
  text-align: left;
  animation: nudge 1.6s ease-in-out infinite;
}
.arrow:nth-of-type(2) { animation-delay: 0.3s; }
.arrow:nth-of-type(3) { animation-delay: 0.6s; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(4px); }
}

/* Pipeline caption */
.pipeline-caption {
  text-align: center;
  color: #4a5578;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 26.25px;
  letter-spacing: -0.15px;
  font-weight: 500;
  align-self: stretch;
}
.pipeline-caption strong {
  font-weight: 700;
}
.pipeline-caption code {
  display: inline-block;
  background: rgba(91,142,245,0.05);
  border-radius: 6px;
  padding: 0 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.15px;
  color: #4a5578;
  -webkit-text-fill-color: #4a5578;
}

@media (max-width: 960px) {
  .pipeline-flow {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .arrow { transform: rotate(90deg); animation: none; }
}
@media (max-width: 520px) {
  .pipeline { padding: 36px 20px; }
}


/* =============================================================
   §7  SECTIONS — Quickstart
   ============================================================= */


.quickstart .sec-lede { margin-bottom: 0; }

/* Two-column grid: text + code block */
.quickstart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

/* Platform pills */
.platforms {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 11px;
}
.platform-pill {
  background: #ffffff;
  border-radius: 999px;
  border: 1.5px solid rgba(15,23,41,0.2);
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.16px;
  color: #232b3e;
  -webkit-text-fill-color: #232b3e;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.06);
}

/* Code block */
.code-block {
  background: #232b3e;
  border-radius: 18px;
  border: 1px solid rgba(91,142,245,0.15);
  padding: 50px 28px 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  line-height: 23.63px;
  letter-spacing: -0.16px;
  font-weight: 500;
  color: #FBFBD4;
  position: relative;
  overflow-x: auto;
  box-shadow: 0 6px 20px 0 rgba(91,142,245,0.15), 0 0 25px 0 rgba(91,142,245,0.4);
}
.code-block::before {
  content: '● ● ●';
  position: absolute;
  top: 15px;
  left: 19px;
  font-size: 12px;
  letter-spacing: 4px;
  color: rgba(255,229,208,0.4);
}
/* Syntax highlight colors */
.code-block .k { color: #9ab7d6; }               /* keywords */
.code-block .s { color: #e8cc8a; }               /* strings */
.code-block .v { color: #f48a9c; }               /* variables */
.code-block .c { color: rgba(255,229,208,0.45); } /* comments */

@media (max-width: 960px) {
  .quickstart-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   §6  COMPONENTS — SVG Arrow Icons
   ============================================================= */
.btn-svg-arrow {
  display: inline-block;
  flex-shrink: 0;
  transition: none;
}
.btn-svg-arrow--play {
  width: 12px; height: 12px;
}

/* SVG arrow colors per context */
.btn-primary .btn-svg-arrow path { stroke: #ffffff; }
.btn-ghost .btn-svg-arrow path { stroke: #7b5bff; }
.a-btn .btn-svg-arrow path { stroke: currentColor; }
.container__text .btn-svg-arrow path { stroke: currentColor; }
.container__div8 .btn-svg-arrow path { stroke: #ffffff; }
.cd-step-arrow .btn-svg-arrow path { stroke: #4a5578; }

/* =============================================================
   CARD HOVER — card lifts on hover, button stays still
   ============================================================= */
.feat:hover .a-btn,
.feat:hover .container__component-7,
.feat:hover .container__a-btn,
.aud-card:hover .a-btn,
.container__free:hover .container__component-7,
.container__indie:hover .container__a-btn,
.work-card:hover .a-btn {
  transform: none !important;
}


#contact {
  background: linear-gradient(149.98deg,rgba(245,249,255,1) 0%,rgba(255,253,249,1) 100%);
  padding: 100px 0;
}
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner .sec-title { text-align: center; }
.contact-inner .sec-lede { text-align: center; margin: 0 auto 40px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.contact-form label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #4a5578;
  margin-bottom: 4px;
  display: block;
  letter-spacing: 0.5px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(91,142,245,0.2);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(5px);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #232b3e;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(91,142,245,0.5);
  box-shadow: 0 0 0 3px rgba(91,142,245,0.1);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { align-self: center; padding: 16px 40px; }

/* Fix: anchor used as button — remove underline */
a.container__component-7,
a.container__a-btn,
a.js-btn-link,
a.a-btn,
a.btn {
  text-decoration: none !important;
}

/* =============================================================
   §6  COMPONENTS — Arrow Images
   ============================================================= */
.btn-arrow-img {
  display: inline-block;
  align-self: center;
  flex-shrink: 0;
  transition: transform 0.18s ease;
  margin-left: 6px;
  will-change: transform;
}

/* btn-primary — white arrow */
.btn-primary .btn-arrow-img { filter: brightness(0) invert(1); }
/* btn-ghost — purple arrow */
.btn-ghost .btn-arrow-img { filter: invert(35%) sepia(80%) saturate(800%) hue-rotate(210deg) brightness(100%); }
/* aud-cta — purple arrow */
.aud-cta .btn-arrow-img { filter: invert(35%) sepia(80%) saturate(800%) hue-rotate(210deg) brightness(100%); }
/* Featured case / custom design — white arrow */
.fc-left .btn-arrow-img,
.cd-left .btn-arrow-img { filter: brightness(0) invert(1); }
/* Pricing ghost pills — dark arrow */
.container__component-7 .btn-arrow-img { filter: brightness(0) saturate(100%); }
/* Pricing gradient pill — white arrow */
.container__a-btn .btn-arrow-img { filter: brightness(0) invert(1); }
/* Flow step arrows — gray, no movement */
.cd-step-arrow .btn-arrow-img {
  filter: invert(35%) sepia(10%) saturate(400%) hue-rotate(195deg) brightness(90%);
  opacity: 0.5;
  transform: none !important;
}
/* Nav CTA — white arrow */
.nav-cta .btn-arrow-img { filter: brightness(0) invert(1); }
/* Pipeline arrows — gray, no movement */
.arrow .btn-arrow-img {
  filter: invert(35%) sepia(10%) saturate(400%) hue-rotate(195deg) brightness(85%);
  opacity: 0.7;
  transform: none !important;
}

/* Hover nudge — right arrow only, not play/down */
.btn:hover .btn-arrow-img:not(.btn-arrow-img--down):not(.btn-arrow-img--play),
.a-btn:hover .btn-arrow-img:not(.btn-arrow-img--down):not(.btn-arrow-img--play),
.container__component-7:hover .btn-arrow-img:not(.btn-arrow-img--down):not(.btn-arrow-img--play),
.container__a-btn:hover .btn-arrow-img:not(.btn-arrow-img--down):not(.btn-arrow-img--play) { transform: translateX(2px); }
/* Down arrow for btn-ghost */
.btn-ghost:hover .btn-arrow-img--down { transform: translateY(2px); }

/* Rotate arrow on tablet and iPad (not laptop) */
@media (min-width: 601px) and (max-width: 1024px) {
  .cd-step-arrow .btn-arrow-img { transform: rotate(-90deg) !important; }
  .cd-step-arrow { display: flex; align-items: center; align-self: center; }
}

/* Press effect — :active feedback */
.btn:active,
.a-btn:active,
a.a-btn:active,
a.btn:active,
.container__component-7:active,
.container__a-btn:active,
.js-btn-link:active,
.control-btn:active,
.voice-btn:active,
.nav-cta:active {
  transform: scale(0.96) translateY(2px) !important;
  transition: transform 0.06s ease;
}


/* Play arrow — sized to match text height */
.btn-arrow-img--play {
  width: 18px !important;
  height: 18px !important;
  margin-left: 0 !important;
  margin-right: 2px;
}
.nav-cta .btn-arrow-img--play {
  width: 15px !important;
  height: 15px !important;
  margin-left: 0 !important;
  margin-right: 6px;
}

/* SVG check icon */
.svg-check {
  flex-shrink: 0;
  vertical-align: middle;
  display: inline-block;
}
/* Legacy check elements — hidden */
.hero-meta .check { display: none; }
.container__span-pcheck,
.container__span-pcheck2 { display: none; }

/* =============================================================
   RESPONSIVE — COMPREHENSIVE MOBILE / TABLET FIX
   ============================================================= */

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {

  .container { padding: 0 16px; }
  section { padding: 56px 0; }

  /* Section spacing */
  section, .vs, .audience, .pricing, .integration { padding: 48px 0; }
  .pipeline { margin-bottom: 0; padding-bottom: 0; }
  .hero { padding: 40px 0 0; overflow-x: clip; }
  .sec-lede { font-size: 15px; }
  .container___3 { font-size: 28px !important; }
  .lede { font-size: 14px; line-height: 1.7; }

  /* Hero title image — scaled down */
  .hero-headline-svg { max-width: 100%; }
  .hero-headline-svg img { width: 100%; height: auto; }

  /* Hero buttons */
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; font-size: 14px; padding: 13px 20px; }

  /* Hero meta */
  .hero-meta { gap: 8px; font-size: 11px; flex-wrap: wrap; }

  /* Nav — mobile adjustments */
  .nav-inner { padding: 0 12px; gap: 8px; }
  .logo { width: 120px; }
  .logo img { width: 120px; }
  .nav-cta {
    width: auto;
    min-width: 0;
    font-size: 11px !important;
    padding: 0 10px !important;
    height: 38px;
    letter-spacing: -0.1px !important;
  }

  /* Avatar grid — horizontal carousel on mobile */
  .avatar-grid {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    gap: 0;
    margin: 0 auto 40px;
    max-width: 100%;
    position: relative;
  }
  .avatar-grid .avatar-card {
    flex: 0 0 80%;
    max-width: 80%;
    aspect-ratio: 1;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s ease, opacity 0.35s ease;
  }
  .avatar-carousel-wrap {
    position: relative;
    width: 100%;
  }
  .avatar-carousel-track {
    display: flex;
    flex-direction: row;
    gap: 16px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    padding: 8px 10%;
  }
  .avatar-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1.5px solid rgba(124,58,237,0.25);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .avatar-carousel-arrow:hover { background: rgba(255,255,255,1); box-shadow: 0 4px 14px rgba(124,58,237,0.18); }
  .avatar-carousel-arrow:disabled { opacity: 0.3; pointer-events: none; }
  .avatar-carousel-arrow--prev { left: 4px; }
  .avatar-carousel-arrow--next { right: 4px; }
  .avatar-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
  }
  .avatar-carousel-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(124,58,237,0.25);
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .avatar-carousel-dot.is-active {
    background: rgba(124,58,237,0.75);
    transform: scale(1.4);
  }

  .aud-grid { grid-template-columns: 1fr; }

  /* Voice picker — grille 2×2, icône cachée */
  .voice-picker {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 8px;
  }
  .voice-btn {
    padding: 10px 8px;
    border-radius: 14px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }
  .vb-icon { display: none; }
  .vb-name { font-size: 13px; line-height: 1.2; }
  .vb-meta { font-size: 9px; letter-spacing: 0.8px; }

  /* Showcase controls — 2 colonnes compactes */
  .showcase-controls { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; border-top: 1px solid rgba(124,58,237,0.15); padding-top: 10px; }
  .control-btn { flex: 1 1 calc(50% - 4px); min-width: 0; justify-content: center; padding: 9px 8px; font-size: 12px; }
  .control-btn .btn-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #btn-emotion { flex: 1 1 100%; }

  .avatars-section .sec-lede br { display: none; }
  .db-text { font-size: 13px; line-height: 1.5; }
  .demo-bubble { padding: 10px 16px; }

  /* Avatar carousel — centré et grand */
  .avatar-grid { overflow: visible; margin-bottom: 6px; }
  .avatar-carousel-wrap { overflow: hidden; padding-bottom: 12px; }
  .avatar-grid .avatar-card { flex: 0 0 90%; max-width: 90%; }
  .avatar-carousel-track { padding: 8px 5%; gap: 5%; }
  .avatar-carousel-dots { margin-top: 6px; margin-bottom: 4px; }

  /* Works */
  .wc-visual { height: 220px; }
  .wc-character { font-size: 20px; }
  .wc-tag,
  .fc-badges .wc-tag { border-radius: 8px; white-space: normal; font-size: 8px; letter-spacing: 0.5px; padding: 2px 6px 3px; max-width: 200px; }

  /* Pricing */
  .container__free,
  .container__indie { padding: 28px 20px; }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Custom design pricing tiers */
  .cd-pricing { grid-template-columns: 1fr; }
  .cd-left { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .cd-left .a-btn { align-self: stretch; justify-content: center; }

  /* FAQ */
  .faq-item summary { font-size: 14px; padding-right: 48px; }

  /* Featured case */
  .fc-metrics { grid-template-columns: 1fr; gap: 8px; }
  .fc-num { font-size: 20px; }
}


/* =============================================================
   §10  COMMON HEADER 併用時の調整
   ------------------------------------------------------------
   /common/header.shtml (共通ヘッダー) は position: fixed で
   ページ最上部に固定されるため、
   ・ページ全体を共通ヘッダーの高さぶん下げる
   ・MotionPortrait のセクションナビ(.nav)はその直下に貼り付ける
   の2点を調整する。共通ヘッダーの高さは
   PC(>=1024px): 60px / SP・タブレット(<=1023px): 48px。
   ============================================================= */

:root {
  --common-header-h: 60px;
}

body {
  padding-top: var(--common-header-h);
}

/* MotionPortrait側のCSSには a / ul のグローバルリセットが無く、
   共通ヘッダー内のリンクにブラウザ既定の下線、
   .navList(ul) に既定のリストマーカーが出てしまうため打ち消す。 */
.navArea a {
  text-decoration: none;
}
.navArea .navList,
.navArea .megaMenu ul {
  list-style: none;
}

/* セクションナビは共通ヘッダーの直下でスティッキーにする */
.nav {
  top: var(--common-header-h);
}

/* アンカーリンクの着地位置が固定ヘッダー+セクションナビに隠れないようにする */
#vs,
#audience,
#works,
#features,
#pricing,
#faq,
#demo,
#custom-design {
  scroll-margin-top: calc(var(--common-header-h) + 72px);
}

@media (max-width: 1023px) {
  :root {
    --common-header-h: 48px;
  }
}
