/* AI Customan LP */

:root {
  --ink: #0e2436;
  --ink-soft: #3a5166;
  --steel: #1f7a8c;
  --signal: #e36a2c;
  --signal-deep: #c9551c;
  --sand: #d8e4ea;
  --paper: #f1f5f7;
  --white: #ffffff;
  --line: rgba(14, 36, 54, 0.12);
  --shadow: 0 18px 50px rgba(14, 36, 54, 0.12);
  --radius: 14px;
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Outfit", var(--font-jp);
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.7;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--signal);
  color: var(--white);
  border-color: var(--signal);
}

.btn-primary:hover {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 32, 51, 0.28);
}

.btn-secondary:hover {
  background: rgba(18, 32, 51, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  min-height: 40px;
  padding-inline: 0.85rem;
}

.btn-lg {
  min-height: 56px;
  padding-inline: 1.6rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(242, 245, 248, 0.96);
  backdrop-filter: blur(12px);
}

.site-header:not(.is-scrolled) {
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 28, 45, 0.72) 0%, rgba(15, 28, 45, 0.28) 55%, rgba(15, 28, 45, 0) 100%);
}

.site-header:not(.is-scrolled) .brand-name {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.site-header:not(.is-scrolled) .brand-sub {
  color: #ffb089;
}

.site-header:not(.is-scrolled) .nav a,
.site-header:not(.is-scrolled) .btn-ghost {
  color: rgba(255, 255, 255, 0.88);
}

.site-header:not(.is-scrolled) .nav-toggle span {
  background: var(--white);
}

.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--signal) 0 42%, transparent 42%),
    linear-gradient(315deg, var(--ink) 0 48%, var(--steel) 48%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 85% 15%, rgba(31, 122, 140, 0.28), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(227, 106, 44, 0.16), transparent 55%),
    linear-gradient(160deg, #0c1524 0%, #162a44 42%, #1e3d55 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

.hero-glow {
  position: absolute;
  width: 55%;
  height: 70%;
  right: -8%;
  top: 10%;
  background: radial-gradient(circle, rgba(232, 226, 214, 0.12), transparent 70%);
  filter: blur(8px);
}

@keyframes grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, -48px, 0); }
}

.hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 5.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0c3ad;
  margin-bottom: 1.1rem;
  animation: rise 0.8s ease both;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.01em;
  animation: rise 0.9s ease 0.08s both;
}

.hero-title em {
  font-style: normal;
  color: #ffb089;
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  animation: rise 1s ease 0.16s both;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1.05s ease 0.24s both;
}

.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  animation: rise 1.1s ease 0.2s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mock-window {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transform-origin: left center;
}

.reveal-float {
  animation: floaty 5.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(-10px); }
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  background: #eef1f4;
  border-bottom: 1px solid #dde3ea;
}

.mock-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9d0d8;
}

.mock-chrome span:nth-child(1) { background: #ef9a7a; }
.mock-chrome span:nth-child(2) { background: #e2c26b; }
.mock-chrome span:nth-child(3) { background: #8fbe9a; }

.mock-url {
  margin-left: 0.6rem;
  flex: 1;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-en);
  font-size: 0.72rem;
  color: #6a7788;
}

.mock-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 320px;
}

.mock-body-shot {
  display: block;
  min-height: 0;
  background: #f3f5f7;
}

.mock-body-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.mock-side {
  padding: 1rem 0.7rem;
  background: #122033;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mock-nav-item {
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.mock-nav-item.active {
  background: var(--signal);
}

.mock-main {
  padding: 1.1rem 1.15rem 1.25rem;
  background: linear-gradient(180deg, #f8fafc, #e8eef4);
}

.mock-h {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.mock-card {
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(18, 32, 51, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mock-card strong {
  font-size: 0.86rem;
}

.mock-card span {
  font-size: 0.72rem;
  color: #6a7788;
}

.mock-table {
  display: grid;
  gap: 0.4rem;
}

.mock-row {
  height: 12px;
  border-radius: 4px;
  background: rgba(18, 32, 51, 0.08);
}

.mock-row.head {
  background: rgba(61, 107, 140, 0.25);
  width: 70%;
}

.mock-row:nth-child(3) { width: 92%; }
.mock-row:nth-child(4) { width: 84%; }

.mock-ai-search {
  display: block;
  padding: 1.15rem 1.2rem 1.3rem;
  min-height: 300px;
  background: linear-gradient(180deg, #f7fafb, #e7eef2);
}

.ai-search-box {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(14, 36, 54, 0.12);
  box-shadow: 0 8px 24px rgba(14, 36, 54, 0.06);
  margin-bottom: 0.9rem;
}

.ai-search-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.ai-query {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  min-height: 1.45em;
}

.typing-line {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--signal);
  width: 0;
  animation: typing 2.8s steps(18, end) 0.6s forwards, blink 0.8s step-end infinite;
}

@keyframes typing {
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.ai-results {
  display: grid;
  gap: 0.55rem;
}

.ai-results li {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(14, 36, 54, 0.08);
  animation: result-in 0.45s ease both;
}

.ai-results li:nth-child(1) { animation-delay: 2.2s; }
.ai-results li:nth-child(2) { animation-delay: 2.45s; }
.ai-results li:nth-child(3) { animation-delay: 2.7s; }

@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-results strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.ai-results span {
  display: block;
  font-size: 0.78rem;
  color: #6a7788;
}

/* Demo */
.demo {
  background: var(--white);
}

.demo-stage {
  max-width: 40rem;
  margin: 0 auto;
}

.demo-queries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.demo-chip {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 36, 54, 0.18);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.demo-chip:hover,
.demo-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.demo-panel {
  padding: 1.25rem;
  border-radius: 16px;
  background:
    radial-gradient(500px 220px at 90% 0%, rgba(31, 122, 140, 0.12), transparent 60%),
    var(--paper);
  border: 1px solid var(--line);
}

.demo-panel .ai-results li {
  animation: none;
  opacity: 1;
  transform: none;
}

.demo-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Strip */
.strip {
  background: var(--ink);
  color: var(--white);
  border-bottom: 3px solid var(--signal);
}

.strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.strip-label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb089;
  font-weight: 600;
}

.strip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.strip-list li {
  position: relative;
  padding-left: 0.95rem;
}

.strip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.section-lead {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* Pain */
.pain {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(242, 245, 248, 0.95)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(16, 36, 55, 0.02) 10px,
      rgba(16, 36, 55, 0.02) 11px
    );
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pain-item {
  padding: 1.4rem 1.2rem 1.5rem;
  border-top: 3px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.pain-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--signal);
}

.pain-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.pain-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.banner-mid {
  background:
    linear-gradient(120deg, rgba(18, 32, 51, 0.92), rgba(36, 63, 82, 0.88)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--white);
  padding: 4rem 1.25rem;
  text-align: center;
}

.banner-mid-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.banner-mid h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 900;
  line-height: 1.4;
}

.banner-mid p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
}

/* Features */
.features {
  background: var(--white);
}

.feature-blocks {
  display: grid;
  gap: 3.5rem;
}

.feature-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.feature-block.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-block.reverse .feature-copy {
  order: 2;
}

.feature-block.reverse .feature-panel {
  order: 1;
}

.feature-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  background: rgba(227, 91, 31, 0.1);
  color: var(--signal-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.feature-copy h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.feature-copy > p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.check-list {
  display: grid;
  gap: 0.45rem;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 0.35rem;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}

.feature-panel {
  min-height: 220px;
  padding: 1.4rem;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, #1a2d42, #243f52);
  color: var(--white);
  box-shadow: var(--shadow);
}

.feature-panel-shot {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #f3f5f7;
  color: inherit;
}

.feature-panel-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.panel-warm {
  background: linear-gradient(160deg, #4a2a1c, #8a4a2f);
}

.panel-cool {
  background: linear-gradient(160deg, #1c3648, #2f5b72);
}

.panel-print {
  background: linear-gradient(160deg, #e8eef3, #cfd9e4);
  color: var(--ink);
}

.panel-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1.1rem;
}

.panel-fields,
.panel-rows {
  display: grid;
  gap: 0.85rem;
}

.panel-fields > div,
.panel-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  gap: 1rem;
}

.panel-fields span,
.panel-rows span {
  opacity: 0.7;
  font-size: 0.88rem;
}

.panel-fields b,
.panel-rows strong {
  font-size: 1.05rem;
}

.yen {
  color: #ffb089;
}

.panel-bars {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.bar {
  position: relative;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(227, 91, 31, 0.9), rgba(255, 176, 137, 0.85));
}

.bar span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.print-sheet {
  background: var(--white);
  border-radius: 8px;
  padding: 1.1rem;
  min-height: 180px;
  box-shadow: inset 0 0 0 1px rgba(18, 32, 51, 0.08);
}

.print-title {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border: 1.5px solid var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 3px 3px 0 rgba(18, 32, 51, 0.2);
}

.print-meta {
  margin-top: 0.7rem;
  text-align: right;
  font-family: var(--font-en);
  font-size: 0.72rem;
  color: #6a7788;
}

.print-lines {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.print-lines i {
  display: block;
  height: 8px;
  background: rgba(18, 32, 51, 0.1);
  border-radius: 3px;
}

.print-lines i:nth-child(1) { width: 100%; }
.print-lines i:nth-child(2) { width: 88%; }
.print-lines i:nth-child(3) { width: 94%; }
.print-lines i:nth-child(4) { width: 72%; }

/* Reasons */
.reasons {
  background:
    radial-gradient(700px 400px at 15% 20%, rgba(61, 107, 140, 0.1), transparent 60%),
    radial-gradient(600px 380px at 90% 80%, rgba(227, 91, 31, 0.08), transparent 55%),
    var(--paper);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.reason-card {
  padding: 1.5rem 1.35rem 1.6rem;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.reason-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.reason-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Flow */
.flow {
  background: var(--white);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.flow-list li {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #eef3f7);
}

.flow-step {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}

.flow-list h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.flow-list p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Pricing */
.pricing {
  background: var(--paper);
}

.pricing-box {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(18, 32, 51, 0.96), rgba(36, 63, 82, 0.94));
  color: var(--white);
  box-shadow: var(--shadow);
}

.pricing-copy h3 {
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
}

.pricing-copy > p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.1rem;
}

.pricing-copy .check-list li::before {
  border-color: #ffb089;
}

.pricing-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-note {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb089;
  font-weight: 600;
}

.pricing-cta .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Contact */
.contact {
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  padding: 1.6rem;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-row label,
.agree {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-row label span {
  margin-left: 0.35rem;
  color: var(--signal);
  font-size: 0.75rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(18, 32, 51, 0.18);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(61, 107, 140, 0.18);
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1.1rem 0 1.2rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.agree input {
  margin-top: 0.25rem;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--steel);
}

.form-note.is-success {
  color: #1f6b45;
}

.form-note.is-error {
  color: #b42318;
}

/* Final CTA */
.final-cta {
  padding: 4.5rem 1.25rem;
  text-align: center;
  background:
    radial-gradient(800px 320px at 50% 0%, rgba(227, 91, 31, 0.2), transparent 60%),
    var(--ink);
  color: var(--white);
}

.final-brand {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffb089;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: #0c1724;
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1.02rem;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 0.15rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-legal {
  font-size: 0.8rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.1rem;
}

.footer-legal p {
  margin: 0 0 0.25rem;
}

.footer-notice {
  font-size: 0.68rem;
  line-height: 1.55;
  margin-bottom: 0.85rem !important;
  color: rgba(255, 255, 255, 0.58);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-legal a:hover {
  color: var(--white);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile nav open */
body.nav-open {
  overflow: hidden;
}

body.nav-open .site-header:not(.is-scrolled) {
  color: var(--ink);
  background: rgba(242, 245, 248, 0.98);
  border-bottom-color: var(--line);
}

body.nav-open .site-header:not(.is-scrolled) .brand-name {
  color: var(--ink);
  text-shadow: none;
}

body.nav-open .site-header:not(.is-scrolled) .brand-sub {
  color: var(--steel);
}

body.nav-open .site-header:not(.is-scrolled) .nav a,
body.nav-open .site-header:not(.is-scrolled) .btn-ghost {
  color: var(--ink);
}

body.nav-open .site-header:not(.is-scrolled) .nav-toggle span {
  background: var(--ink);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner,
  .feature-block,
  .feature-block.reverse,
  .contact-inner,
  .pricing-box {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse .feature-copy,
  .feature-block.reverse .feature-panel {
    order: initial;
  }

  .pain-grid,
  .reason-grid,
  .flow-list {
    grid-template-columns: 1fr 1fr;
  }

  .mock-window,
  .reveal-float {
    transform: none;
    animation: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 760px) {
  .nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open .nav,
  body.nav-open .header-actions {
    display: flex;
  }

  body.nav-open .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.5rem 1.25rem;
    background: rgba(242, 245, 248, 0.98);
    border-bottom: 1px solid var(--line);
    z-index: 40;
  }

  body.nav-open .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  body.nav-open .header-actions {
    position: fixed;
    top: calc(var(--header-h) + 12.5rem);
    left: 0;
    right: 0;
    padding: 0 1.25rem 1.25rem;
    background: rgba(242, 245, 248, 0.98);
    flex-direction: column;
    align-items: stretch;
    z-index: 40;
  }

  .pain-grid,
  .reason-grid,
  .flow-list,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}
