:root {
  color-scheme: dark;
  --bg-deep: #040610;
  --bg-base: #080b18;
  --bg-elevated: #0d1024;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --text-muted: #aab4c5;
  --text-soft: #d7deee;
  --primary: #7c3aed;
  --secondary: #2563eb;
  --accent: #06b6d4;
  --accent-readable: #22d3ee;
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --glow-purple: rgba(124, 58, 237, 0.22);
  --glow-cyan: rgba(6, 182, 212, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --section-y: clamp(72px, 9vw, 124px);
  --container: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-ja: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Space Grotesk", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.16), transparent 32rem),
    radial-gradient(circle at 85% 12%, rgba(124, 58, 237, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--bg-base), var(--bg-deep) 36%, #050713);
  color: var(--text);
  font-family: var(--font-ja);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent-readable);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg-deep);
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(5, 8, 20, 0.76);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 26px var(--glow-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--text);
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--text);
  background: rgba(34, 211, 238, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(72px + clamp(42px, 7vw, 88px));
  padding-bottom: clamp(54px, 7vw, 90px);
  isolation: isolate;
}

.aether-flow {
  position: absolute;
  inset: -18%;
  z-index: -3;
  background:
    radial-gradient(34rem 26rem at 28% 28%, rgba(37, 99, 235, 0.34), transparent 64%),
    radial-gradient(40rem 26rem at 68% 22%, rgba(124, 58, 237, 0.28), transparent 66%),
    radial-gradient(32rem 24rem at 56% 72%, rgba(6, 182, 212, 0.22), transparent 68%),
    conic-gradient(from 150deg at 52% 45%, transparent 0 22%, rgba(34, 211, 238, 0.12) 34%, rgba(124, 58, 237, 0.16) 48%, transparent 64% 100%),
    linear-gradient(180deg, #050715 0%, #070a19 50%, #03050d 100%);
  filter: blur(18px) saturate(1.16);
  opacity: 0.9;
  transform-origin: 50% 42%;
  animation: aetherFlow 10.5s ease-in-out infinite alternate;
}

.aether-flow::before,
.aether-flow::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 42% 58% 48% 52%;
  background:
    radial-gradient(circle at 32% 46%, rgba(6, 182, 212, 0.2), transparent 46%),
    radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.18), transparent 48%);
  mix-blend-mode: screen;
  opacity: 0.52;
  animation: aetherMorph 12s ease-in-out infinite alternate;
}

.aether-flow::after {
  inset: 20% 10% 4%;
  opacity: 0.34;
  animation-delay: -4s;
}

.vortex-particles {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.vortex-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(190, 242, 255, 0.72);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.46);
  opacity: 0.24;
  animation: particleDrift 9s ease-in-out infinite alternate;
}

.vortex-particles span:nth-child(1) {
  left: 18%;
  top: 26%;
}

.vortex-particles span:nth-child(2) {
  left: 32%;
  top: 72%;
  animation-delay: -1.8s;
}

.vortex-particles span:nth-child(3) {
  left: 54%;
  top: 18%;
  animation-delay: -3.2s;
}

.vortex-particles span:nth-child(4) {
  left: 72%;
  top: 62%;
  animation-delay: -4.6s;
}

.vortex-particles span:nth-child(5) {
  left: 84%;
  top: 34%;
  animation-delay: -6s;
}

.vortex-particles span:nth-child(6) {
  left: 44%;
  top: 48%;
  animation-delay: -7.4s;
}

.hero-shell {
  position: relative;
  display: grid;
  min-height: calc(100svh - 184px);
  place-items: center;
  text-align: center;
}

.hero-copy-minimal {
  width: min(100%, 830px);
  margin-inline: auto;
}

.hero-copy-minimal .eyebrow-row,
.hero-copy-minimal .hero-actions {
  justify-content: center;
}

.hero-copy-minimal h1,
.hero-copy-minimal .hero-lead {
  margin-inline: auto;
}

.hero-copy-minimal .hero-lead {
  max-width: 520px;
  margin-bottom: 0;
}

.hero-copy-minimal .hero-actions {
  margin: 24px 0 22px;
}

.hero-prompt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(100%, 760px);
  min-height: 76px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(8, 12, 30, 0.66);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  padding: 12px 14px 12px 24px;
  text-align: left;
  transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out), background 180ms var(--ease-out);
}

.hero-prompt:hover,
.hero-prompt:focus-visible {
  border-color: rgba(34, 211, 238, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(8, 12, 30, 0.78);
  transform: translateY(-1px);
}

.prompt-text {
  color: var(--text-soft);
  font-size: clamp(0.92rem, 1.4vw, 1.04rem);
  font-weight: 600;
  line-height: 1.65;
}

.prompt-submit {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary) 50%, var(--accent));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
}

.hero-output-card {
  position: absolute;
  z-index: 1;
  width: min(210px, 24vw);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(9, 12, 30, 0.54);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  padding: 14px;
  text-align: left;
  animation: floatCard 5.8s ease-in-out infinite alternate;
}

.hero-output-card::before {
  content: "";
  display: block;
  height: 88px;
  margin-bottom: 12px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 28% 32%, rgba(255, 255, 255, 0.4), transparent 18%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.82), rgba(37, 99, 235, 0.58) 52%, rgba(6, 182, 212, 0.48));
}

.hero-output-copy::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 34%, transparent 34% 100%) 0 14px / 100% 10px no-repeat,
    linear-gradient(90deg, rgba(34, 211, 238, 0.38) 0 72%, transparent 72% 100%) 0 40px / 100% 10px no-repeat,
    linear-gradient(90deg, rgba(124, 58, 237, 0.48) 0 56%, transparent 56% 100%) 0 66px / 100% 10px no-repeat,
    rgba(255, 255, 255, 0.06);
}

.hero-output-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-readable);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
}

.hero-output-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}

.hero-output-sns {
  left: 1%;
  bottom: 12%;
}

.hero-output-copy {
  top: 18%;
  right: 1%;
  animation-delay: -2.4s;
}

.workspace-demo {
  padding-top: clamp(72px, 8vw, 112px);
  background:
    radial-gradient(circle at 74% 18%, rgba(6, 182, 212, 0.12), transparent 32rem),
    linear-gradient(180deg, rgba(3, 5, 13, 0), rgba(8, 11, 24, 0.64));
}

.workspace-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1.3fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.workspace-demo-visual {
  min-height: auto;
}

.workspace-demo .workspace {
  max-width: 720px;
  margin-left: auto;
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(45rem 30rem at 64% 18%, rgba(6, 182, 212, 0.22), transparent 62%),
    radial-gradient(36rem 24rem at 82% 34%, rgba(124, 58, 237, 0.24), transparent 62%),
    radial-gradient(28rem 20rem at 32% 22%, rgba(37, 99, 235, 0.18), transparent 68%);
  filter: saturate(1.25);
  animation: auroraFlow 11s ease-in-out infinite alternate;
}

.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow,
.concept-label,
.panel-label {
  font-family: var(--font-ui);
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-readable);
}

.concept-label {
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.045);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 8vw, 4.85rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4.8vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.42;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 16px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 2.1vw, 1.38rem);
  font-weight: 700;
}

.hero-text,
.section-heading p,
.glass-card p,
.bento-card p,
.step-card p,
.cta-panel p,
.final-panel p,
.faq-item p {
  color: var(--text-muted);
}

.hero-actions,
.hero-tags,
.chip-row,
.stats-grid,
.usecase-grid,
.problem-grid {
  display: flex;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary) 52%, var(--accent));
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.25), 0 0 30px rgba(6, 182, 212, 0.13);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 42%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shimmer 3.7s ease-out infinite;
}

.hero-tags {
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-tags li,
.chip-row span {
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.workspace {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 30%),
    rgba(7, 10, 28, 0.9);
  box-shadow: var(--shadow);
}

.cursor-glow {
  position: absolute;
  left: var(--glow-x, 68%);
  top: var(--glow-y, 28%);
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.24), rgba(124, 58, 237, 0.12) 48%, transparent 70%);
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.workspace-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 18px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.workspace-title {
  margin-left: auto;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 13px;
}

.workspace-body {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-areas:
    "prompt tone"
    "outputs outputs";
  gap: 14px;
  padding: 18px;
}

.prompt-panel,
.tone-panel,
.outputs-panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  padding: 18px;
}

.prompt-panel {
  grid-area: prompt;
  min-height: 238px;
}

.tone-panel {
  grid-area: tone;
}

.outputs-panel {
  grid-area: outputs;
}

.prompt-panel p {
  color: var(--text-soft);
  font-size: 15px;
}

.mini-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.tone-chip {
  margin-top: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 13px;
}

.tone-chip.active {
  color: white;
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.48);
}

.tone-meter {
  overflow: hidden;
  height: 8px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.tone-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.output-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-soft);
  padding: 13px 0;
}

.output-row:last-child {
  border-bottom: 0;
}

.output-row span {
  color: var(--text-muted);
}

.output-row strong {
  font-family: var(--font-ui);
}

.float-card {
  position: absolute;
  z-index: 2;
  width: min(230px, 45vw);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(9, 12, 30, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  padding: 14px;
  animation: floatCard 5.5s ease-in-out infinite alternate;
}

.float-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-readable);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
}

.float-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.55;
}

.float-copy {
  top: 10%;
  left: -5%;
}

.float-sns {
  top: 18%;
  right: -2%;
  animation-delay: -1s;
}

.float-banner {
  bottom: 16%;
  left: 2%;
  animation-delay: -2s;
}

.float-lp {
  bottom: 6%;
  right: 4%;
  animation-delay: -3s;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.problem-grid,
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.glass-card,
.bento-card,
.step-card,
.stat-card,
.comparison-card,
.cta-panel,
.final-panel,
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.18);
}

.glass-card {
  padding: 24px;
}

.glass-card span,
.step-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-readable);
  font-family: var(--font-ui);
  font-weight: 700;
}

.demo-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 44px;
}

.comparison-card {
  padding: 18px;
}

.compare-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.compare-tab {
  min-height: 44px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
}

.compare-tab.active {
  border-color: rgba(34, 211, 238, 0.5);
  color: white;
  background: rgba(34, 211, 238, 0.1);
}

.before-after {
  --split: 52%;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: var(--radius-md);
  background: #070a18;
}

.compare-pane {
  position: absolute;
  inset: 0;
  padding: 24px;
}

.before-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent),
    #090d1d;
}

.before-pane p {
  max-width: 440px;
  color: var(--text-soft);
  font-size: 1.25rem;
  font-weight: 700;
}

.after-pane {
  left: var(--split);
  display: grid;
  align-content: center;
  gap: 12px;
  border-left: 2px solid rgba(34, 211, 238, 0.9);
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.24), transparent 36%),
    #060817;
}

.after-pane img {
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.range-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.compare-range {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  width: calc(100% - 48px);
  accent-color: var(--accent);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  overflow: hidden;
  min-height: 250px;
  padding: 22px;
}

.bento-large {
  grid-column: span 2;
}

.bento-card img {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
}

.chip-row {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.copy-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.copy-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.6), rgba(6, 182, 212, 0.22));
}

.copy-lines i:nth-child(2) {
  width: 82%;
}

.copy-lines i:nth-child(3) {
  width: 62%;
}

.banner-stack {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.banner-stack span {
  display: block;
  height: 38px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(6, 182, 212, 0.12));
}

.banner-stack span:nth-child(2) {
  width: 78%;
}

.banner-stack span:nth-child(3) {
  width: 58%;
}

.mini-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mini-steps li {
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 12px;
  padding: 12px 10px;
  color: var(--text-soft);
  text-align: center;
  font-family: var(--font-ui);
  font-size: 13px;
}

.flow-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
}

.flow-steps {
  display: grid;
  gap: 16px;
}

.step-card {
  padding: 26px;
}

.gallery {
  overflow: hidden;
}

.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee 44s linear infinite;
}

.marquee-track img {
  width: min(330px, 72vw);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 28px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: var(--font-ui);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
}

.stat-card span {
  color: var(--accent-readable);
  font-family: var(--font-ui);
  font-weight: 700;
}

.cta-panel,
.final-panel {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  padding: clamp(34px, 6vw, 64px);
  text-align: center;
}

.cta-panel::before,
.final-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.18), transparent 50%);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 44px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent-readable);
  font-family: var(--font-ui);
  font-size: 24px;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 34px 0 96px;
  background: rgba(0, 0, 0, 0.2);
}

.footer-inner {
  display: grid;
  gap: 8px;
}

.footer-inner p {
  margin: 0;
  color: var(--text-muted);
}

.concept-note {
  font-family: var(--font-ui);
  font-size: 13px;
}

.mobile-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 90;
  min-height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  box-shadow: 0 12px 44px rgba(37, 99, 235, 0.35);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes auroraFlow {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

@keyframes aetherFlow {
  from {
    transform: translate3d(-1.5%, -1%, 0) rotate(-1deg) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1.2%, 0) rotate(1.4deg) scale(1.04);
  }
}

@keyframes aetherMorph {
  from {
    border-radius: 42% 58% 48% 52%;
    transform: translate3d(-1%, 0, 0) scale(1);
  }
  to {
    border-radius: 58% 42% 54% 46%;
    transform: translate3d(1.2%, -1%, 0) scale(1.03);
  }
}

@keyframes particleDrift {
  from {
    transform: translate3d(-8px, 10px, 0) scale(0.8);
  }
  to {
    transform: translate3d(12px, -12px, 0) scale(1.14);
  }
}

@keyframes floatCard {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(8px);
  }
}

@keyframes shimmer {
  0%,
  58% {
    left: -60%;
  }
  82%,
  100% {
    left: 125%;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .demo-grid,
  .workspace-demo-grid,
  .flow-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    padding-block: 56px 70px;
  }

  .hero-output-card {
    position: relative;
    inset: auto;
    width: min(320px, 100%);
    margin-top: 22px;
  }

  .hero-output-copy {
    display: none;
  }

  .hero-visual {
    min-height: 520px;
  }

  .workspace-demo .workspace {
    max-width: none;
    margin-left: 0;
  }

  .problem-grid,
  .usecase-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .float-copy {
    left: 0;
  }

  .float-sns {
    right: 0;
  }
}

@media (max-width: 767px) {
  .header-inner,
  .section-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    background: rgba(5, 8, 20, 0.88);
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 98px;
    padding-bottom: 58px;
  }

  .hero-shell {
    display: block;
    padding-block: 0;
    text-align: left;
  }

  .hero-copy-minimal .eyebrow-row,
  .hero-copy-minimal .hero-actions {
    justify-content: flex-start;
  }

  .hero-copy-minimal h1,
  .hero-copy-minimal .hero-lead {
    margin-inline: 0;
  }

  .hero-copy-minimal .hero-actions {
    margin: 22px 0 20px;
  }

  .hero-prompt {
    min-height: 66px;
    border-radius: 22px;
    gap: 10px;
    padding: 12px;
  }

  .prompt-text {
    font-size: 14px;
    line-height: 1.55;
  }

  .prompt-submit {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 76px;
  }

  .workspace-demo {
    padding-top: 70px;
  }

  .workspace-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "prompt"
      "tone"
      "outputs";
  }

  .float-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 12px;
    animation: none;
  }

  .float-banner,
  .float-lp {
    display: none;
  }

  .problem-grid,
  .usecase-grid,
  .stats-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large {
    grid-column: auto;
  }

  .before-after {
    min-height: 560px;
  }

  .compare-pane {
    padding: 18px;
  }

  .after-pane {
    left: var(--split);
  }

  .mini-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .marquee {
    mask-image: none;
  }

  .marquee-track {
    animation-duration: 58s;
  }

  .site-footer {
    padding-bottom: 104px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.42rem;
  }

  .workspace-topbar,
  .workspace-body,
  .prompt-panel,
  .tone-panel,
  .outputs-panel {
    padding: 14px;
  }

  .before-pane p {
    font-size: 1.05rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    width: auto;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}

/* PNG asset integration */
.hero-shell {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  place-items: center;
  align-items: center;
  gap: clamp(30px, 5vw, 68px);
  text-align: left;
}

.hero-copy-minimal {
  width: 100%;
  max-width: 520px;
  margin-inline: 0;
}

.hero-copy-minimal .eyebrow-row,
.hero-copy-minimal .hero-actions {
  justify-content: flex-start;
}

.hero-copy-minimal h1,
.hero-copy-minimal .hero-lead {
  margin-inline: 0;
}

.hero-copy-minimal h1 {
  max-width: 560px;
  font-size: clamp(2.55rem, 5.3vw, 4.45rem);
}

.hero-copy-minimal .hero-lead {
  max-width: 500px;
}

.hero-media {
  position: relative;
  width: min(100%, 760px);
  min-height: clamp(460px, 48vw, 680px);
  margin-left: auto;
}

.hero-workspace-img {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 70px rgba(6, 182, 212, 0.16);
}

.hero-media .hero-output-card {
  position: absolute;
  display: block;
  z-index: 2;
  overflow: hidden;
  width: clamp(132px, 14vw, 208px);
  aspect-ratio: 3 / 4;
  height: auto;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: #060817;
  object-fit: cover;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42), 0 0 26px rgba(124, 58, 237, 0.22);
  backdrop-filter: none;
}

.hero-output-sns {
  left: -4%;
  bottom: 6%;
}

.hero-output-copy {
  top: 2%;
  right: -2%;
  animation-delay: -2.4s;
}

.hero-output-lp {
  right: 7%;
  bottom: -2%;
  width: clamp(142px, 15vw, 226px);
  animation-delay: -3.4s;
}

.before-after {
  min-height: 520px;
}

.before-pane {
  padding-right: clamp(26px, 6vw, 72px);
}

.before-pane p {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  padding: 20px;
}

.after-pane {
  justify-items: center;
  padding-left: clamp(18px, 3vw, 30px);
}

.after-pane img {
  width: min(100%, 300px);
  max-height: 340px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.after-pane h3,
.after-pane p {
  width: min(100%, 360px);
}

.image-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.bento-card .feature-image {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.bento-card .image-feature-preview {
  aspect-ratio: 3 / 2;
  max-height: 220px;
  object-position: center top;
}

.bento-card .image-portrait {
  aspect-ratio: 4 / 5;
  max-height: 280px;
  object-position: center top;
}

.bento-card .image-landscape {
  aspect-ratio: 4 / 3;
  max-height: 240px;
}

.marquee-track {
  align-items: center;
  gap: 20px;
  animation-duration: 52s;
}

.marquee-track .gallery-item {
  flex: 0 0 auto;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.marquee-track .image-portrait {
  width: min(280px, 68vw);
  aspect-ratio: 4 / 5;
}

.marquee-track .image-wide {
  width: min(395px, 84vw);
  aspect-ratio: 3 / 2;
}

.marquee-track .image-cinema {
  width: min(425px, 88vw);
  aspect-ratio: 16 / 9;
}

.marquee-track .image-landscape {
  width: min(360px, 80vw);
  aspect-ratio: 4 / 3;
}

@media (max-width: 1024px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy-minimal {
    max-width: 720px;
  }

  .hero-media {
    width: min(100%, 760px);
    min-height: clamp(460px, 70vw, 620px);
    margin-inline: auto;
  }

  .hero-output-copy {
    display: none;
  }

  .hero-output-lp {
    right: 2%;
  }
}

@media (max-width: 767px) {
  .hero-copy-minimal h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .hero-media {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-workspace-img {
    margin-top: 18px;
  }

  .hero-media .hero-output-card {
    position: absolute;
    width: min(172px, 46vw);
    animation: none;
  }

  .hero-output-sns {
    left: auto;
    right: 4%;
    bottom: -22px;
  }

  .hero-output-copy,
  .hero-output-lp {
    display: none;
  }

  .before-after {
    min-height: 620px;
  }

  .after-pane img {
    width: min(100%, 230px);
    max-height: 290px;
  }

  .after-pane h3 {
    font-size: 1rem;
  }

  .image-note {
    font-size: 0.76rem;
  }

  .marquee-track {
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .hero-shell {
    gap: 22px;
  }

  .hero-media .hero-output-card {
    width: min(150px, 44vw);
  }

  .before-after {
    min-height: 660px;
  }

  .compare-range {
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-output-card {
    animation: none !important;
  }
}

/* Readability and density refinement */
.hero-title,
.section-heading h2,
.cta-panel h2,
.final-panel h2 {
  text-wrap: balance;
}

.hero-title {
  max-width: none;
  font-size: clamp(3rem, 4.3vw, 4.5rem);
  line-height: 1.09;
  letter-spacing: -0.04em;
}

.hero-title span,
.section-heading h2 span,
.cta-panel h2 span,
.final-panel h2 span {
  display: block;
}

.hero-title span {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-title-final {
  font-size: 0.85em;
  letter-spacing: -0.015em;
}

.metrics-title span,
.gallery-note span {
  display: block;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.fixed-copy-lines span {
  display: block;
}

.btn-strong,
.btn-wide {
  min-height: 64px;
  min-width: min(320px, 100%);
  padding: 18px 34px;
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  box-shadow:
    0 20px 58px rgba(37, 99, 235, 0.34),
    0 0 42px rgba(6, 182, 212, 0.2);
}

.btn-wide {
  min-width: min(300px, 100%);
}

.flow .btn-wide {
  min-width: min(330px, 100%);
  min-height: 70px;
  padding-block: 20px;
}

.hero {
  padding-top: calc(72px + clamp(28px, 5vw, 68px));
}

.hero-shell {
  width: min(calc(100% - 40px), 1380px);
  grid-template-columns: minmax(560px, 0.9fr) minmax(620px, 1.3fr);
  gap: clamp(42px, 6vw, 86px);
}

.hero-copy-minimal {
  width: min(100%, 560px);
  min-width: 430px;
  max-width: 560px;
}

.hero-copy-minimal .hero-lead {
  max-width: 540px;
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
  line-height: 1.85;
}

.hero-prompt {
  width: min(100%, 680px);
}

.hero-media {
  width: min(100%, 800px);
  min-height: clamp(500px, 50vw, 710px);
}

.hero-workspace-img {
  width: min(108%, 800px);
  max-width: none;
  margin-left: -2%;
}

.hero-media .hero-output-card {
  width: clamp(138px, 13vw, 202px);
}

.hero-output-sns {
  left: -2%;
  bottom: 3%;
}

.hero-output-copy {
  top: 0;
  right: -1%;
}

.hero-output-lp {
  right: 9%;
  bottom: -3%;
  width: clamp(150px, 14vw, 218px);
}

@media (max-width: 1380px) {
  .hero-shell {
    grid-template-columns: minmax(500px, 0.9fr) minmax(560px, 1.25fr);
    gap: clamp(36px, 4vw, 56px);
  }
}

@media (max-width: 1180px) {
  .hero-shell {
    grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(34px, 4vw, 48px);
  }

  .hero-copy-minimal {
    min-width: 0;
  }

  .hero-title {
    font-size: clamp(2.8rem, 4.7vw, 3.6rem);
  }

  .hero-title-final {
    font-size: 0.85em;
  }
}

@media (max-width: 1024px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy-minimal {
    width: 100%;
    min-width: 0;
  }
}

.workspace-demo-grid {
  grid-template-columns: minmax(0, 0.58fr) minmax(500px, 1.42fr);
}

.workspace-demo .workspace {
  max-width: 820px;
}

.workspace-body {
  gap: 16px;
  padding: 22px;
}

.prompt-panel,
.tone-panel,
.outputs-panel {
  padding: 20px;
}

.problem-grid,
.usecase-grid {
  gap: 18px;
}

.glass-card,
.step-card,
.bento-card,
.stat-card {
  min-height: 100%;
}

.glass-card {
  padding: 26px;
}

.glass-card span,
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.1);
}

.glass-card h3,
.step-card h3,
.bento-card h3,
.usecase-grid h3 {
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
}

.glass-card p,
.step-card p,
.bento-card p,
.usecase-grid p {
  font-size: max(14px, 0.94rem);
  line-height: 1.8;
}

.problem-accent {
  border-color: rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.14), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.086), rgba(255, 255, 255, 0.036));
}

.before-after {
  min-height: 560px;
}

.before-pane p {
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.85;
}

.after-pane img {
  width: min(100%, 340px);
  max-height: 390px;
  object-position: center top;
}

.bento-grid {
  align-items: stretch;
}

.bento-card {
  padding: 24px;
}

.bento-card .feature-image {
  margin-top: 20px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(4, 6, 16, 0.78);
}

.bento-card .image-feature-preview {
  aspect-ratio: 1.3 / 1;
  min-height: 207px;
  max-height: 253px;
}

.bento-copy .copy-lines {
  gap: 12px;
}

.bento-copy .copy-lines i {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.24), transparent 72%),
    rgba(255, 255, 255, 0.055);
}

.bento-copy .copy-lines i:nth-child(2) {
  width: 100%;
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: inset 3px 0 0 rgba(34, 211, 238, 0.7);
}

.bento-copy .copy-lines i:nth-child(3) {
  width: 100%;
}

.banner-stack {
  gap: 12px;
}

.banner-stack span {
  height: 42px;
}

.banner-stack span:nth-child(1) {
  width: 100%;
  aspect-ratio: auto;
}

.banner-stack span:nth-child(2) {
  width: 72%;
}

.banner-stack span:nth-child(3) {
  width: 46%;
  height: 64px;
}

.feature-image {
  object-position: center top;
}

.gallery-card {
  flex: 0 0 auto;
  margin: 0;
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.gallery-card:hover {
  transform: translateY(-3px);
}

.gallery-card figcaption {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.marquee-track .gallery-card .gallery-item {
  display: block;
}

.stats-grid {
  align-items: stretch;
}

.stat-card {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 230px;
}

.stat-card strong::after {
  content: attr(data-suffix);
}

.cta-panel,
.final-panel {
  padding-block: clamp(46px, 7vw, 76px);
}

.final-cta {
  padding-block: calc(var(--section-y) + clamp(10px, 2vw, 24px));
}

.final-panel {
  padding-block: clamp(52px, 7.6vw, 86px);
}

.final-panel::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.28), transparent 52%),
    radial-gradient(circle at 18% 22%, rgba(124, 58, 237, 0.2), transparent 46%),
    radial-gradient(circle at 82% 24%, rgba(37, 99, 235, 0.18), transparent 48%);
}

.cta-panel p,
.final-panel p {
  max-width: 620px;
  margin-inline: auto;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.mobile-sticky-cta {
  min-height: 56px;
}

@media (max-width: 1024px) {
  .hero-media {
    width: min(100%, 720px);
    min-height: clamp(470px, 74vw, 640px);
  }

  .workspace-demo-grid {
    grid-template-columns: 1fr;
  }

  .workspace-demo .workspace {
    max-width: none;
  }

  .problem-grid,
  .usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3rem);
    letter-spacing: -0.045em;
  }

  .hero-title span,
  .section-heading h2 span,
  .cta-panel h2 span,
  .final-panel h2 span {
    display: inline;
  }

  .hero-title span::after,
  .section-heading h2 span::after,
  .cta-panel h2 span::after,
  .final-panel h2 span::after {
    content: "";
  }

  .hero-title span:not(:last-child)::after,
  .section-heading h2 span:not(:last-child)::after,
  .cta-panel h2 span:not(:last-child)::after,
  .final-panel h2 span:not(:last-child)::after {
    content: "\A";
    white-space: pre;
  }

  .hero-title span {
    display: block;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .hero-title span:not(:last-child)::after {
    content: "";
  }

  .metrics-title span {
    display: block;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .metrics-title span:not(:last-child)::after {
    content: "";
  }

  .btn-strong,
  .btn-wide {
    width: 100%;
    min-height: 58px;
    min-width: 0;
    padding: 15px 22px;
    font-size: 1.06rem;
  }

  .hero-media {
    width: 100%;
    margin-top: 8px;
  }

  .hero-workspace-img {
    width: 100%;
    margin-left: 0;
  }

  .hero-output-sns {
    right: 2%;
    bottom: -18px;
  }

  .workspace-body {
    padding: 16px;
  }

  .prompt-panel,
  .tone-panel,
  .outputs-panel {
    padding: 16px;
  }

  .problem-grid,
  .usecase-grid,
  .stats-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .before-after {
    min-height: 650px;
  }

  .after-pane img {
    width: min(100%, 250px);
    max-height: 320px;
  }

  .stat-card {
    min-height: 190px;
  }

  .gallery-card figcaption {
    font-size: 12px;
  }

  .site-footer {
    padding-bottom: 116px;
  }
}

@media (max-width: 420px) {
  .header-inner,
  .section-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-copy-minimal .hero-lead,
  .section-heading p {
    line-height: 1.8;
  }

  .hero-media .hero-output-card {
    width: min(142px, 42vw);
  }

  .gallery-note {
    font-size: clamp(0.72rem, 3.1vw, 0.78rem);
  }

  .hero-output-sns {
    bottom: -14px;
  }

  .before-after {
    min-height: 690px;
  }
}
