:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --paper-strong: #fffaf1;
  --ink: #171a17;
  --ink-soft: #555c53;
  --line: rgba(23, 26, 23, 0.15);
  --line-strong: rgba(23, 26, 23, 0.28);
  --green: #4d8fa5;
  --green-deep: #10272f;
  --sage: #d8f2f8;
  --amber: #8fcde1;
  --blue: #6d9fb2;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(31, 34, 30, 0.14);
  --radius: 8px;
  --max: 1180px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.hero-copy,
.product-lead,
.lead-block,
.contact-copy {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.no-break {
  white-space: nowrap;
}

button {
  font: inherit;
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100% - var(--max)) / 2));
  background: rgba(244, 241, 234, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 241, 234, 0.96);
  border-color: var(--line);
}

.brand {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(77, 143, 165, 0.12);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  grid-template-columns: 16px auto;
  grid-template-rows: repeat(2, 1fr);
  column-gap: 8px;
  row-gap: 3px;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.82);
  color: var(--ink);
  padding: 0 12px;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  grid-column: 1;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-line:first-child {
  grid-row: 1;
  align-self: end;
}

.nav-toggle-line:nth-child(2) {
  grid-row: 2;
  align-self: start;
}

.nav-toggle-text {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(660px, calc(100svh - var(--header-height) - 42px));
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  background: #d8d3c8;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 0.98) 0%, rgba(244, 241, 234, 0.9) 54%, rgba(244, 241, 234, 0.56) 100%),
    linear-gradient(180deg, rgba(244, 241, 234, 0.2) 0%, rgba(244, 241, 234, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0 66px;
}

.hero-copy-block {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: none;
}

.hero h1 {
  margin: 28px 0 0;
  max-width: 820px;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
  font-weight: 850;
}

.hero h1 span {
  display: block;
}

.hero-logo {
  width: min(246px, 70vw);
  height: auto;
}

.hero-copy {
  max-width: 690px;
  margin: 30px 0 0;
  color: #2c302b;
  font-size: 19px;
  line-height: 1.9;
  font-weight: 560;
}

.home-directory {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.46);
  backdrop-filter: blur(8px);
}

.home-directory a {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 7px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.home-directory a:hover,
.home-directory a:focus-visible {
  background: rgba(255, 250, 241, 0.74);
  transform: translateY(-2px);
}

.home-directory span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
}

.home-directory strong {
  font-size: 17px;
  line-height: 1.2;
}

.home-directory em {
  color: var(--ink-soft);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: var(--paper-strong);
  box-shadow: 0 14px 34px rgba(23, 26, 23, 0.18);
}

.button-secondary {
  background: rgba(255, 250, 241, 0.78);
  color: var(--ink);
  border-color: var(--line-strong);
}

.hero-motion {
  position: absolute;
  right: max(0px, calc((100vw - var(--max)) / -2));
  bottom: 84px;
  width: min(470px, 38vw);
  height: 130px;
  opacity: 0.74;
  pointer-events: none;
}

.motion-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 143, 165, 0.68), rgba(143, 205, 225, 0.64), transparent);
  transform-origin: left;
  animation: lineTrace 4200ms ease-in-out infinite;
}

.motion-node {
  position: absolute;
  top: 58px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(77, 143, 165, 0.42);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 0 0 8px rgba(77, 143, 165, 0.08);
  animation: nodeLift 4200ms ease-in-out infinite;
}

.motion-node-one {
  left: 8%;
}

.motion-node-two {
  left: 46%;
  animation-delay: 260ms;
}

.motion-node-three {
  left: 82%;
  border-color: rgba(143, 205, 225, 0.62);
  animation-delay: 520ms;
}

.signal-strip {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper-strong);
}

.signal-strip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 205, 225, 0.78), transparent);
  animation: signalScan 5600ms ease-in-out infinite;
}

.signal-inner {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-inner p {
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.signal-inner p:last-child {
  border-right: 0;
}

.signal-inner span {
  color: var(--amber);
  font-size: 12px;
}

.section {
  padding: 104px max(24px, calc((100% - var(--max)) / 2));
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 72px;
  align-items: start;
}

.section h2,
.contact-section h2 {
  margin: 0;
  max-width: 780px;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 850;
}

.section h2 span,
.contact-section h2 span {
  display: block;
}

.lead-block {
  color: var(--ink-soft);
  font-size: 18px;
}

.lead-block p {
  margin: 0;
}

.lead-block p + p {
  margin-top: 22px;
}

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

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.products-section {
  background: #ebe8de;
}

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

.product-feature {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 26, 23, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.74);
  padding: 28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-link-card {
  color: inherit;
  text-decoration: none;
}

.product-link-card:hover,
.product-link-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(77, 143, 165, 0.34);
  box-shadow: var(--shadow);
  outline: none;
}

.product-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 52px;
}

.product-status {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.product-header span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.product-feature h3 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.1;
}

.product-price {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgba(77, 143, 165, 0.28);
  border-radius: 999px;
  background: rgba(216, 242, 248, 0.52);
  color: var(--green-deep);
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

.product-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.product-details {
  display: grid;
  gap: 0;
  margin: 32px 0 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-details div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
}

.product-details div + div {
  border-top: 1px solid rgba(23, 26, 23, 0.1);
}

.product-details dt {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.product-details dd {
  margin: 0;
  color: #30342f;
  font-size: 14px;
  font-weight: 760;
}

.product-cta {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 850;
}

.product-cta::after {
  content: "→";
  font-size: 15px;
  line-height: 1;
}

.flow-section {
  background: var(--paper-strong);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.flow-step {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-step span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 13px;
  font-weight: 850;
}

.flow-step h3 {
  margin: 48px 0 14px;
  font-size: 28px;
  line-height: 1.12;
}

.flow-step p {
  margin: 0;
  color: var(--ink-soft);
}

.trust-section {
  background: #f8fbfb;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.trust-section .section-kicker {
  color: var(--green);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
}

.trust-layout > div > p:not(.section-kicker) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.trust-list {
  display: grid;
  gap: 10px;
}

.trust-list a,
.trust-list div {
  min-height: 84px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(16, 39, 47, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.trust-list a:hover,
.trust-list a:focus-visible {
  border-color: rgba(77, 143, 165, 0.34);
  background: var(--white);
  transform: translateY(-1px);
}

.trust-list strong {
  color: var(--green);
  font-size: 13px;
}

.trust-list span {
  color: var(--ink-soft);
}

.contact-section {
  padding: 92px max(24px, calc((100% - var(--max)) / 2));
  background: var(--green-deep);
  color: var(--paper-strong);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
}

.contact-section .section-kicker {
  color: var(--sage);
}

.contact-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: 18px;
}

.contact-section .button-primary {
  background: var(--paper-strong);
  color: var(--ink);
}

.contact-section .button-secondary {
  background: transparent;
  color: var(--paper-strong);
  border-color: rgba(255, 250, 241, 0.34);
}

.copy-status {
  min-height: 28px;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 750;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px max(24px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes lineTrace {
  0%,
  100% {
    transform: scaleX(0.42);
    opacity: 0.42;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes nodeLift {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.52;
  }

  45%,
  58% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

@keyframes signalScan {
  0%,
  100% {
    transform: translateX(-34%);
    opacity: 0;
  }

  18%,
  72% {
    opacity: 1;
  }

  86% {
    transform: translateX(334%);
    opacity: 0;
  }
}

@media (max-width: 1040px) {
  .hero-motion {
    right: -80px;
    width: 320px;
  }
}

@media (max-width: 920px) {
  .hero h1 {
    font-size: 58px;
  }

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

  .signal-inner p {
    min-height: 64px;
    border-bottom: 1px solid var(--line);
  }

  .signal-inner p:nth-child(2) {
    border-right: 0;
  }

  .signal-inner p:nth-child(3),
  .signal-inner p:nth-child(4) {
    border-bottom: 0;
  }

  .section,
  .contact-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-grid,
  .trust-layout,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section h2,
  .contact-section h2 {
    font-size: 38px;
  }

  .product-showcase,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .product-feature {
    min-height: 340px;
  }

  .product-header {
    margin-bottom: 42px;
  }

  .product-details div {
    grid-template-columns: 118px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 10px 18px 18px;
    background: rgba(244, 241, 234, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 48px;
    border-radius: var(--radius);
    padding: 0 8px;
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(244, 241, 234, 0.98) 0%, rgba(244, 241, 234, 0.92) 52%, rgba(244, 241, 234, 0.5) 100%),
      linear-gradient(90deg, rgba(244, 241, 234, 0.94) 0%, rgba(244, 241, 234, 0.58) 100%);
  }

  .hero-inner {
    width: calc(100% - 36px);
    padding: 44px 0 36px;
  }

  .hero-logo {
    width: 204px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: 34px;
    line-height: 1.1;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.75;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .home-directory {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .home-directory a {
    min-height: 68px;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 12px;
    padding: 16px;
  }

  .home-directory span {
    grid-row: 1 / 3;
  }

  .hero-motion {
    display: none;
  }

  .signal-inner {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
  }

  .signal-inner p {
    min-height: 52px;
    border-right: 0;
  }

  .signal-inner p:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .section,
  .contact-section {
    padding-inline: 18px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .lead-block,
  .contact-copy p {
    font-size: 16px;
  }

  .product-feature {
    padding: 20px;
  }

  .product-feature h3 {
    font-size: 28px;
  }

  .product-header {
    margin-bottom: 34px;
  }

  .product-details {
    margin: 26px 0 28px;
  }

  .product-details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-cta {
    width: 100%;
  }

  .flow-step {
    min-height: 210px;
    padding: 22px;
  }

  .flow-step h3 {
    margin-top: 38px;
  }

  .trust-list a,
  .trust-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 18px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
