/* ============================================================
   STUDIO hand — Generative AI Ad Video Production LP
   Monochrome palette (B&W focused)
   ============================================================ */

:root {
  --ink: #0a0a0a; /* near-black */
  --ink-2: #141414; /* card surface dark */
  --ink-3: #1f1f1f; /* alt dark surface */
  --paper: #fafafa;
  --paper-2: #ffffff;
  --paper-3: #f2f2f2;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --line-dark: rgba(10, 10, 10, 0.1);
  --line-dark-strong: rgba(10, 10, 10, 0.22);
  --text-dim: #9a9a9a;
  --text-mid: #6a6a6a;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans-jp: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --display: "Bebas Neue", "Inter", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans), var(--sans-jp);
  background: var(--ink);
  color: #fff;
  margin: 0;
  font-feature-settings: "palt";
  letter-spacing: 0.01em;
}

/* ===== Eyebrow ===== */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow .num {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.7;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

/* ===== Headlines ===== */
.h-display {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.h-jp {
  font-family: var(--sans-jp);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.num-display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.85;
}

/* ===== Container & section ===== */
.container-x {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .container-x {
    padding: 0 20px;
  }
}

.section {
  position: relative;
  padding: 140px 0;
}
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
}
.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-light {
  background: var(--paper);
  color: var(--ink);
}
.section-paper {
  background: #fff;
  color: var(--ink);
}
.section-ink {
  background: #000;
  color: #fff;
}

.chapter-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
.section-light .chapter-rail,
.section-paper .chapter-rail {
  background: var(--line-dark);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--sans-jp);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: #fff;
  color: var(--ink);
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(255, 255, 255, 0.35);
}
.btn-inverse {
  background: var(--ink);
  color: #fff;
}
.btn-inverse:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, 0.5);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(10, 10, 10, 0.25);
}
.btn-ghost-dark:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-arrow {
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s;
}
.btn-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn-arrow {
  width: 26px;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 1s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-stagger.visible > *:nth-child(2) {
  transition-delay: 0.15s;
}
.reveal-stagger.visible > *:nth-child(3) {
  transition-delay: 0.25s;
}
.reveal-stagger.visible > *:nth-child(4) {
  transition-delay: 0.35s;
}
.reveal-stagger.visible > *:nth-child(5) {
  transition-delay: 0.45s;
}
.reveal-stagger.visible > *:nth-child(6) {
  transition-delay: 0.55s;
}
.reveal-stagger.visible > *:nth-child(7) {
  transition-delay: 0.65s;
}
.reveal-stagger.visible > *:nth-child(8) {
  transition-delay: 0.75s;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background 0.3s,
    backdrop-filter 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo .mark {
  width: 22px;
  height: 22px;
  border: 1.5px solid #fff;
  position: relative;
}
.nav-logo .mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #fff;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative; /*min-height: 100vh;*/
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 80px;
  padding-top: 140px;
  background: #000;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse at 50% 100%,
      rgba(0, 0, 0, 0.7) 0%,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.25) 35%,
      rgba(0, 0, 0, 0.85) 100%
    );
}
.hero-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 0 1px,
      transparent 1px 14px
    ),
    radial-gradient(ellipse at 50% 30%, #1a1a1a 0%, #000 70%);
}
.hero-placeholder .ph-frame {
  width: min(70%, 720px);
  aspect-ratio: 16/9;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-placeholder .ph-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-placeholder .ph-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid rgba(255, 255, 255, 0.45);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content .eyebrow{text-transform: initial;}

.hero-headline {
  font-family: var(--sans-jp);
  font-weight: 800;
  font-size: clamp(38px, 6.2vw, 92px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.hero-headline .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: charIn 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes charIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 56px;
}
.hero-meta .left {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-dim);
}
.hero-meta .right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-sub {
  font-family: var(--sans-jp);
  font-size: clamp(15px, 1.4vw, 19px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
  max-width: 560px;
}

/* ===== Metric strip ===== */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 768px) {
  .metric-strip {
    grid-template-columns: 1fr 1fr;
  }
}
.metric-strip .m {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
}
.metric-strip .m:last-child {
  border-right: none;
}
@media (max-width: 768px) {
  .metric-strip .m:nth-child(2) {
    border-right: none;
  }
  .metric-strip .m:nth-child(1),
  .metric-strip .m:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}
.metric-strip .m-num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  color: #fff;
}
.metric-strip .m-num .small {
  font-size: 28px;
  opacity: 0.7;
}
.metric-strip .m-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ===== Cards ===== */
.problem-card {
  border: 1px solid var(--line-dark);
  padding: 48px 36px;
  background: #fff;
  position: relative;
  transition:
    transform 0.4s,
    box-shadow 0.4s,
    border-color 0.4s;
}
.problem-card:hover {
  transform: translateY(-6px);
  border-color: var(--ink);
  box-shadow: 0 20px 50px -20px rgba(10, 10, 10, 0.2);
}
.problem-card .idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ink);
}
.problem-card .num {
  font-family: var(--display);
  font-size: 80px;
  line-height: 1;
  color: var(--ink);
  margin: 24px 0 8px;
}
.problem-card .num .unit {
  font-size: 28px;
  opacity: 0.55;
  margin-left: 4px;
}

/* ===== Strength cards ===== */
.strength-card {
  position: relative;
  border: 1px solid var(--line);
  padding: 56px 36px 40px;
  min-height: 340px;
  overflow: hidden;
  transition:
    transform 0.5s,
    border-color 0.5s,
    background 0.5s;
  cursor: default;
}
.strength-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    transparent 60%
  );
}
.strength-card .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}
.strength-card .num {
  font-family: var(--display);
  font-size: 132px;
  line-height: 0.88;
  margin: 28px 0 16px;
  color: #fff;
}
.strength-card .num .small {
  font-size: 56px;
  opacity: 0.65;
}
.strength-card .label {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 18px;
}
.strength-card .reveal-text {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 36px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.strength-card:hover .reveal-text {
  opacity: 1;
  transform: none;
}

/* ===== Timeline ===== */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  gap: 0;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4) 10%,
    rgba(255, 255, 255, 0.4) 90%,
    transparent
  );
}
.tl-step {
  padding: 0 12px;
}
.tl-dot {
  width: 12px;
  height: 12px;
  background: var(--ink);
  border: 1px solid #fff;
  border-radius: 50%;
  margin: 16px auto 32px;
  position: relative;
  z-index: 1;
}
.tl-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #fff;
  border-radius: 50%;
}
.tl-day {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  color: #fff;
}
.tl-title {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 18px;
  margin: 12px 0 10px;
}
.tl-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .timeline-track::before {
    display: none;
  }
  .tl-dot {
    margin: 0 0 16px;
  }
  .tl-step {
    padding: 0;
    border-left: 1px solid var(--line);
    padding-left: 24px;
  }
}

/* ===== Positioning map ===== */
.map-wrap {
  position: relative;
  aspect-ratio: 1.2 / 1;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(rgba(10, 10, 10, 0.04) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, rgba(10, 10, 10, 0.04) 1px, transparent 1px) 0 0/40px
      40px,
    #fff;
}
.map-axis-x,
.map-axis-y {
  position: absolute;
  background: rgba(10, 10, 10, 0.2);
}
.map-axis-x {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}
.map-axis-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}
.map-label {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.plot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.plot-dot {
  width: 10px;
  height: 10px;
  background: var(--ink);
  border-radius: 50%;
}
.plot-name {
  font-family: var(--sans-jp);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}
.plot.us .plot-dot {
  background: var(--ink);
  width: 18px;
  height: 18px;
  box-shadow:
    0 0 0 6px rgba(10, 10, 10, 0.1),
    0 0 0 14px rgba(10, 10, 10, 0.05);
  animation: pulse 2.4s ease-in-out infinite;
}
.plot.us .plot-name {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(10, 10, 10, 0.12),
      0 0 0 14px rgba(10, 10, 10, 0.05);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(10, 10, 10, 0.06),
      0 0 0 24px rgba(10, 10, 10, 0.02);
  }
}

/* ===== Differentiation table ===== */
.diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}
.diff-table th,
.diff-table td {
  padding: 22px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}
.diff-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 500;
  border-bottom: 1px solid rgba(10, 10, 10, 0.3);
}
.diff-table .axis {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  width: 80px;
}
.diff-table .topic {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 16px;
  width: 22%;
}
.diff-table .other {
  color: var(--text-mid);
}
.diff-table .ours {
  color: var(--ink);
  font-weight: 600;
  background: #fafafa;
}

/* ===== Use cases ===== */
.case-cell {
  padding: 48px 36px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  position: relative;
  transition: background 0.4s;
}
.case-cell:hover {
  background: #fafafa;
}
.reveal-stagger .case-cell:nth-child(1) .tag,
.reveal-stagger .case-cell:nth-child(1) h3 {
  transition-delay: 0.05s;
}
.reveal-stagger .case-cell:nth-child(2) .tag,
.reveal-stagger .case-cell:nth-child(2) h3 {
  transition-delay: 0.15s;
}
.reveal-stagger .case-cell:nth-child(3) .tag,
.reveal-stagger .case-cell:nth-child(3) h3 {
  transition-delay: 0.25s;
}
.reveal-stagger .case-cell:nth-child(4) .tag,
.reveal-stagger .case-cell:nth-child(4) h3 {
  transition-delay: 0.35s;
}

.case-cell:hover .tag,
.case-cell:hover h3 {
  color: #141414 !important;
}
.case-cell .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink);
}
.case-cell h3 {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 24px;
  margin: 16px 0 24px;
}
.case-cell .row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px dashed rgba(10, 10, 10, 0.12);
  font-size: 14px;
  line-height: 1.7;
}
.case-cell .row .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-mid);
  padding-top: 4px;
}

/* ===== Pricing (4 plans) ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.plan {
  /*border: 1px solid var(--line);*/
  padding: 48px 32px 36px;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  position: relative;
}
.plan + .plan {
  border-left: 1px solid var(--line);
}
@media (max-width: 1024px) {
  .pricing-grid{
    border: none !important;
  }
  .plan {
    border: 1px solid var(--line);
  }
  .plan + .plan {
    border-top: none;
    border-left: none;
  }
  .plan.featured {
        border-top: 1px solid var(--line);

  }
}
@media (max-width: 640px) {
    .plan + .plan {
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
}
.plan.featured {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-dark);
}
.plan-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.65);
}
.plan.featured .plan-tag {
  color: var(--text-mid);
}
.plan-name {
  font-family: var(--display);
  font-size: 48px;
  margin: 16px 0 4px;
  line-height: 1;
}
.plan-tagline {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 24px;
}
.plan-price-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.plan.featured .plan-price-label {
  color: var(--text-mid);
}
.plan-price {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.plan.featured .plan-price {
  color: var(--text-mid);
}
.plan-price .yen {
  font-family: var(--display);
  font-size: 38px;
  color: #fff;
  margin-right: 2px;
  letter-spacing: -0.01em;
}
.plan.featured .plan-price .yen {
  color: var(--ink);
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--text-dim);
}
.plan.featured .plan-features {
  color: var(--text-mid);
}
.plan-features li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
}
.plan.featured .plan-features li {
  border-top-color: rgba(10, 10, 10, 0.08);
}
.plan-features li::before {
  content: "+";
  font-family: var(--mono);
  color: inherit;
  font-weight: 600;
}
.plan-target {
  font-family: var(--sans-jp);
  font-size: 12px;
  color: var(--text-dim);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 12px;
}
.plan.featured .plan-target {
  color: var(--text-mid);
  border-top-color: rgba(10, 10, 10, 0.08);
}
.plan-cta {
  margin-top: auto;
}

/* ===== Comparison (8-row pricing) ===== */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th,
.compare td {
  padding: 22px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: middle;
}
.compare th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 500;
  border-bottom: 1px solid rgba(10, 10, 10, 0.3);
}
.compare .row-label {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 16px;
}
.compare .row-sub {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.compare .market {
  color: var(--text-mid);
  text-decoration: line-through;
}
.compare .ours {
  font-family: var(--display);
  font-size: 24px;
  color: var(--ink);
}
.compare .save {
  font-family: var(--display);
  font-size: 28px;
  color: var(--ink);
  font-weight: 700;
}
@media (max-width: 768px) {
  .compare,
  .compare thead,
  .compare tbody,
  .compare tr,
  .compare td {
    display: block;
  }
  .compare thead {
    display: none;
  }
  .compare tr {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .compare td {
    padding: 6px 0;
    border: none;
  }
  .compare td::before {
    content: attr(data-lbl);
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--text-mid);
    margin-bottom: 4px;
    text-transform: uppercase;
  }
}

/* ===== Why-cheap pillars ===== */
.pillar {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.pillar:last-child {
  border-bottom: 1px solid var(--line);
}
.pillar .p-num {
  font-family: var(--display);
  font-size: 40px;
  color: #fff;
  line-height: 1;
}
.pillar h3 {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  line-height: 1.4;
}
.pillar p {
  color: var(--text-dim);
  line-height: 1.9;
  font-size: 14px;
  margin: 0;
}
@media (max-width: 768px) {
  .pillar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ===== Steps ===== */
.flow-step {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line-dark);
  align-items: start;
}
.flow-step:last-child {
  border-bottom: 1px solid var(--line-dark);
}
.flow-step .step-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink);
}
.flow-step .step-meta .big {
  display: block;
  font-family: var(--display);
  font-size: 56px;
  color: var(--ink);
  margin-top: 6px;
  letter-spacing: -0.02em;
}
.flow-step h3 {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 12px;
}
.flow-step p {
  color: var(--text-mid);
  line-height: 1.9;
  margin: 0;
  font-size: 14px;
  max-width: 600px;
}
@media (max-width: 768px) {
  .flow-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== Capabilities (extra services) ===== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 1024px) {
  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}
.cap-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cap-cell .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}
.cap-cell h3 {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}
.cap-cell .en {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
}
.cap-cell p {
  color: var(--text-dim);
  line-height: 1.85;
  font-size: 13px;
  margin: 0;
}

/* ===== FAQ ===== */
.faq-item {
  border-top: 1px solid var(--line-dark);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line-dark);
}
.faq-item .q-idx {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.15em;
}
.faq-item h3 {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
  display: flex;
  gap: 12px;
}
.faq-item h3 .qmark {
  font-family: var(--display);
  color: var(--text-mid);
  font-weight: 400;
}
.faq-item p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 20px;
}
.faq-item p:last-child {
  margin-bottom: 0;
}
.faq-item p .amark {
  font-family: var(--display);
  color: var(--ink);
  margin-right: 10px;
}
@media (max-width: 640px) {
  .faq-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ===== AI tool grid ===== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-dark);
}
@media (max-width: 768px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }
}
.tool-cell {
  padding: 32px;
  border-right: 1px solid var(--line-dark);
}
.tool-cell:last-child {
  border-right: none;
}
@media (max-width: 768px) {
  .tool-cell {
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }
  .tool-cell:last-child {
    border-bottom: none;
  }
}
.tool-cell .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-mid);
}
.tool-cell h4 {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: 18px;
  margin: 12px 0 18px;
}
.tool-cell .item {
  padding: 10px 0;
  border-top: 1px dashed rgba(10, 10, 10, 0.12);
  font-size: 13px;
  line-height: 1.7;
}
.tool-cell .item .name {
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.tool-cell .item .note {
  color: var(--text-mid);
  font-size: 12px;
}

/* ===== Form ===== */
.form-row {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 0;
  font-family: var(--sans-jp);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: #fff;
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== Footer ===== */
.footer {
  background: #050505;
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-cols h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.footer-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.7);
}
.footer-cols a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-cols a:hover {
  color: #fff;
}
.footer-meta {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .footer-meta {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
.nav-logo span {
  width: 200px !important;
}
.nav-logo span img {
  width: 100%;
}
@media (max-width: 640px) {
  .nav-logo span {
    width: 120px !important;
  }
  .nav-logo span img {
    width: 100%;
  }
  .reveal.service {
    display: block !important;
  }
  .reveal.service .pc-sticky {
    position: initial !important;
  }
  .positioning .reveal {
    display: block !important;
  }
  .diff-table td,
  .diff-table th {
    display: block;
    width: 100% !important;
  }
  .use-cases .reveal-stagger {
    display: block !important;
  }
  .structure .area-reveal {
    display: block !important;
  }
  .final .area-reveal {
    display: block !important;
  }
  .chapter-rail {
    display: none !important;
  }
}
#sample .area-movie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
#sample .area-movie .movie-warp .movie {
  width: 100%;
  aspect-ratio: 16 / 9;
}
#sample .area-movie .movie-warp .movie iframe,
#sample .area-movie .movie-warp .movie video {
  width: 100%;
  height: 100%;
}
#sample .area-movie .movie-warp h3 {
  text-align: center;
}
#sample .area-movie .movie-warp h3 .sp {
  display: none;
}
@media (max-width: 640px) {
  #sample .area-movie {
    display: block;
  }
  #sample .area-movie .movie-warp + .movie-warp {
    margin-top: 48px;
  }
  #sample .area-movie .movie-warp h3 {
    text-align: left;
    font-size: 20px;
  }
  #sample .area-movie .movie-warp h3 .sp {
    display: block;
  }
}

#top .eyebrow,
#top .hero-headline span {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}
