:root {
  --navy: #07162f;
  --ink: #13223a;
  --muted: #637089;
  --line: #d9e2ef;
  --soft: #f4f7fb;
  --panel: #ffffff;
  --blue: #1769e0;
  --blue-dark: #0d4fb5;
  --sky: #8edbff;
  --cyan: #e7f6ff;
  --mist: #eef4fb;
  --success: #0b7a75;
  --shadow: 0 18px 50px rgba(7, 22, 47, 0.11);
  --shadow-soft: 0 10px 28px rgba(7, 22, 47, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
  background: #fff;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px 56px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 239, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 214px;
  height: auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-size: 14px;
}

.site-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
}

.site-nav a,
.site-footer a,
.footer-links span {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(23, 105, 224, 0.2);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 28px rgba(23, 105, 224, 0.24);
}

.btn-secondary {
  color: var(--navy);
  background: #fff;
  border-color: #c7d6e8;
}

.btn-secondary:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--blue);
  background: var(--cyan);
}

.btn-demo {
  color: var(--navy);
  background: var(--sky);
  border-color: var(--sky);
}

.btn-large {
  min-height: 56px;
  padding-inline: 26px;
  font-size: 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  align-items: center;
  gap: 64px;
  min-height: calc(100vh - 76px);
  padding: 78px 72px 58px;
  background:
    linear-gradient(180deg, rgba(231, 246, 255, 0.78), rgba(255, 255, 255, 0.96) 58%),
    #fff;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.lead {
  max-width: 660px;
  margin: 24px 0;
  color: #3f4d63;
  font-size: 18px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 11px;
  border: 1px solid #cfe0f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: #35465f;
  font-size: 14px;
}

.hero-visual {
  padding: 22px;
  border: 1px solid rgba(217, 226, 239, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
  transform: translateY(-24px);
}

.metric-strip div {
  padding: 22px;
  background: #fff;
}

.metric-strip strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
}

.metric-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section,
.page-title,
.final-cta {
  padding: 88px 72px;
}

.page-title {
  background:
    linear-gradient(180deg, rgba(231, 246, 255, 0.8), rgba(255, 255, 255, 1)),
    #fff;
}

.page-title p,
.section-heading p {
  max-width: 720px;
  margin-top: 16px;
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.muted {
  background: var(--soft);
}

.about-section {
  padding-top: 64px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.split-panel > div,
.quiet-card,
.feature-card,
.feature-grid article,
.work-grid article,
.price-grid article,
.pain-grid article,
.testimonial-grid article,
.quote-panel,
.side-note,
.form-card,
.admin-note {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.split-panel p,
.quiet-card p,
.feature-card p,
.feature-grid article p,
.work-grid article p,
.price-grid article p,
.pain-grid article p,
.testimonial-grid article p,
.side-note p,
.admin-note p {
  color: var(--muted);
}

.feature-grid,
.work-grid,
.price-grid,
.pain-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

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

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

.feature-card,
.feature-grid article,
.work-grid article,
.price-grid article,
.pain-grid article,
.testimonial-grid article {
  min-height: 100%;
}

.feature-card:hover,
.work-grid article:hover,
.price-grid article:hover,
.pain-grid article:hover,
.testimonial-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-kicker,
.pain-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.pain-grid h3,
.feature-grid h3,
.work-grid h3,
.price-grid h3 {
  margin-bottom: 10px;
}

.price-grid strong {
  display: block;
  margin: 8px 0 12px;
  color: var(--blue);
  font-size: 26px;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid #cfe0f2;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, var(--mist));
}

.cta-band p {
  color: #394a63;
  font-weight: 700;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  min-height: 124px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.flow-list span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.flow-list strong {
  display: block;
  color: var(--navy);
}

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

.faq-list details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin-top: 12px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 22, 47, 0.92), rgba(7, 22, 47, 1)),
    var(--navy);
}

.final-cta h2,
.final-cta .eyebrow {
  color: #fff;
}

.final-cta p {
  max-width: 720px;
  margin: 16px 0 24px;
  color: #d7e4f6;
}

.final-cta .btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.form-card {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.field em {
  margin-left: 8px;
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
}

.field small {
  color: var(--muted);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd8e7;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 105, 224, 0.12);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.side-note ol {
  padding-left: 20px;
  margin: 14px 0 0;
  color: var(--muted);
}

.thanks {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.thanks .cta-row {
  justify-content: center;
  margin-top: 24px;
}

.admin-note {
  margin-bottom: 20px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: var(--soft);
}

pre {
  overflow-x: auto;
  max-width: 680px;
  padding: 14px;
  border-radius: 8px;
  color: #d8e7ff;
  background: #0b172a;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 42px 72px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand p {
  max-width: 540px;
  margin-top: 8px;
  color: var(--muted);
}

.footer-logo {
  width: 250px;
  height: auto;
}

.footer-nav-group {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  font-size: 14px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.social-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.social-links a[aria-disabled="true"] {
  opacity: 0.72;
}

@media (prefers-reduced-motion: no-preference) {
  .section,
  .page-title,
  .final-cta {
    animation: section-reveal 520ms ease both;
  }

  @keyframes section-reveal {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1160px) {
  .site-header {
    padding-inline: 28px;
  }

  .hero,
  .section,
  .page-title,
  .final-cta,
  .site-footer {
    padding-inline: 36px;
  }

  .metric-strip {
    margin-inline: 36px;
  }

  .feature-grid,
  .work-grid,
  .price-grid,
  .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }
}

@media (max-width: 840px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav,
  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .metric-strip,
  .split-panel,
  .form-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    transform: none;
    margin-top: 0;
  }

  .testimonial-grid,
  .compact {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 16px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-nav-group {
    justify-items: start;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px;
  }

  .hero,
  .section,
  .page-title,
  .final-cta,
  .site-footer {
    padding: 56px 18px;
  }

  .hero {
    padding-top: 32px;
  }

  .metric-strip {
    margin: 0 18px;
  }

  .feature-grid,
  .work-grid,
  .price-grid,
  .pain-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn,
  .btn-large {
    width: 100%;
  }

  .brand-logo,
  .footer-logo {
    width: 220px;
    max-width: 100%;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 16px;
  }
}
