:root {
  --ink: #101719;
  --muted: #5f6c6b;
  --line: #dfe7e3;
  --paper: #ffffff;
  --soft: #f4f8f6;
  --deep: #05120f;
  --green: #0d8a63;
  --green-2: #16b889;
  --cyan: #1ecad3;
  --warm: #caa76a;
  --shadow: 0 16px 42px rgba(16, 23, 25, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
}

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

img,
svg {
  display: block;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 18, 15, 0.66);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 4px;
}

.brand-mark span {
  width: 8px;
  height: 8px;
  background: var(--green-2);
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  background: #9bd85a;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.primary-nav a:hover,
.primary-nav a:focus {
  color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 730px;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.58;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 8, 7, 0.98) 0%, rgba(1, 8, 7, 0.84) 36%, rgba(1, 8, 7, 0.52) 63%, rgba(1, 8, 7, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.22) 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
  gap: 48px;
  align-items: center;
  min-height: 730px;
  padding-top: 82px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #78e6be;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5.1vw, 5.25rem);
  line-height: 1.13;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button::after,
.header-cta::after,
.service-card a::after {
  content: "→";
  margin-left: 12px;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 16px 40px rgba(13, 138, 99, 0.32);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.06);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.72);
  list-style: none;
  font-size: 0.85rem;
}

.trust-list li {
  position: relative;
  padding-left: 18px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid #8ee8c7;
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-panel {
  padding: 18px;
  border: 1px solid rgba(130, 227, 218, 0.2);
  border-radius: var(--radius);
  background: rgba(7, 23, 24, 0.76);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.panel-top,
.agent-log li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-top {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 800;
}

.panel-top strong {
  color: #7df0c8;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid div {
  min-height: 108px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.metric-grid span,
.metric-grid small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.7rem;
  line-height: 1;
}

.metric-grid small {
  margin-top: 8px;
  color: #7df0c8;
}

.chart-lines {
  position: relative;
  height: 136px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 58px 100%,
    rgba(255, 255, 255, 0.04);
}

.chart-lines span {
  position: absolute;
  left: 8%;
  width: 84%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform-origin: left;
}

.chart-lines span:nth-child(1) { top: 64%; transform: rotate(-8deg); }
.chart-lines span:nth-child(2) { top: 46%; transform: rotate(7deg); opacity: 0.8; }
.chart-lines span:nth-child(3) { top: 32%; transform: rotate(-4deg); opacity: 0.55; }

.agent-log {
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.agent-log li {
  min-height: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agent-log span {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 14px var(--green-2);
}

.agent-log strong {
  color: #7df0c8;
}

.page-section {
  padding: 72px 0;
}

.services,
.results {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.section-heading {
  max-width: 680px;
}

.section-heading.centered {
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.inline {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.72rem, 3vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.step-card,
.result-metrics > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-card {
  min-height: 248px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.icon,
.step-icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.icon svg,
.step-icon svg,
.contact-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.step-card h3 {
  margin: 18px 0 10px;
  font-size: 1rem;
  line-height: 1.45;
}

.service-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.workflow {
  background: #fff;
}

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

.step-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
}

.step-icon {
  width: 48px;
  height: 48px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-2));
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-card > span {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
}

.results-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 36px;
  align-items: center;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.result-metrics > div {
  min-height: 132px;
  padding: 22px 16px;
  border-width: 0 1px 0 0;
  text-align: center;
}

.result-metrics > div:last-child {
  border-right: 0;
}

.result-metrics span,
.result-metrics small {
  display: block;
}

.result-metrics > div > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.result-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1;
}

.result-metrics strong span {
  display: inline;
  font-size: 0.92rem;
}

.result-metrics small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.about-visual {
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(30, 202, 211, 0.22), transparent 30%),
    linear-gradient(135deg, #061511, #0d3328);
}

.orbit-map {
  position: relative;
  width: 100%;
  height: 330px;
}

.orbit-map::before,
.orbit-map::after {
  content: "";
  position: absolute;
  inset: 54px 70px;
  border: 1px solid rgba(125, 240, 200, 0.28);
  transform: skewY(-9deg);
}

.orbit-map::after {
  inset: 96px 120px;
}

.orbit-map span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #7df0c8;
  box-shadow: 0 0 26px rgba(125, 240, 200, 0.8);
}

.orbit-map span:nth-child(1) { top: 28%; left: 24%; }
.orbit-map span:nth-child(2) { top: 42%; left: 54%; }
.orbit-map span:nth-child(3) { top: 64%; left: 34%; }
.orbit-map span:nth-child(4) { top: 24%; left: 72%; }
.orbit-map span:nth-child(5) { top: 68%; left: 76%; }

.product-link-band {
  background: linear-gradient(180deg, #f8fbff, #eef6f4);
}

.product-link-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.product-link-copy {
  max-width: 760px;
}

.product-link-copy h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.16;
}

.product-link-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.9;
}

.product-link-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.product-link-actions .button {
  white-space: nowrap;
}

.product-link-actions span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 28, 20, 0.98), rgba(4, 67, 51, 0.96)),
    var(--deep);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 34px;
  align-items: center;
  min-height: 190px;
  padding: 58px 0;
}

.contact-copy {
  display: grid;
  gap: 22px;
}

.contact-icon {
  width: 76px;
  height: 76px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
}

.contact-inner h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.contact-inner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-form-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.contact-alert {
  margin-bottom: 16px;
  padding: 13px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.contact-alert.is-success {
  color: #0a573b;
  background: #e8f8ef;
}

.contact-alert.is-error {
  color: #8a2e00;
  background: #fff0e6;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form label span {
  display: inline-flex;
  width: fit-content;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  background: var(--green);
  font-size: 0.68rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #cfdcd8;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(13, 138, 99, 0.18);
  border-color: var(--green);
}

.contact-form-wide,
.contact-submit,
.dyc-recaptcha {
  grid-column: 1 / -1;
}

.contact-submit {
  width: 100%;
}

.dyc-recaptcha {
  min-height: 78px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.68);
  background: #030a08;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 120px;
}

.footer-brand {
  color: #fff;
}

.footer-inner p,
.footer-inner small {
  margin: 0;
  font-size: 0.85rem;
}

.content-area {
  padding-top: 110px;
}

.entry {
  max-width: 820px;
}

.entry h1 {
  font-size: 2.5rem;
  line-height: 1.25;
}

@media (max-width: 1120px) {
  .service-grid,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .result-metrics > div {
    border-width: 0 1px 1px 0;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(5, 18, 15, 0.96);
  }

  .primary-nav.is-open,
  .primary-nav ul {
    display: grid;
    gap: 14px;
  }

  .primary-nav.is-open {
    grid-template-columns: 1fr;
  }

  .header-cta {
    justify-content: center;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 128px 0 62px;
  }

  .hero-panel {
    max-width: 560px;
  }

  .section-heading.inline,
  .product-link-inner,
  .contact-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .product-link-actions {
    justify-items: start;
  }

  .section-heading.inline {
    display: grid;
  }

  .contact-inner,
  .footer-inner {
    padding: 38px 0;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-actions,
  .trust-list {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .metric-grid,
  .service-grid,
  .step-grid,
  .result-metrics,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 18px;
  }

  .service-card,
  .step-card {
    min-height: auto;
  }

  .page-section {
    padding: 54px 0;
  }
}
