:root {
  color: #0c3140;
  background: #ffffff;
  font-family:
    "General Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic Medium",
    Meiryo,
    sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --turquoise-50: #edfdfe;
  --turquoise-100: #d2f7fb;
  --turquoise-200: #abeef6;
  --turquoise-300: #4ed7ea;
  --turquoise-400: #31c7df;
  --turquoise-500: #15aac5;
  --turquoise-600: #1588a5;
  --turquoise-700: #186e86;
  --turquoise-800: #1c5a6e;
  --turquoise-900: #1c4b5d;
  --turquoise-950: #0c3140;
  --canvas: #ffffff;
  --surface: var(--turquoise-50);
  --surface-strong: var(--turquoise-100);
  --line: var(--turquoise-200);
  --ink: var(--turquoise-950);
  --muted: rgb(12 49 64 / 72%);
  --muted-soft: rgb(12 49 64 / 54%);
  --primary: var(--turquoise-300);
  --primary-hover: var(--turquoise-400);
  --primary-text: var(--turquoise-700);
  --primary-deep: var(--turquoise-700);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}

body,
button,
input,
textarea {
  font: inherit;
}

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

button,
a,
summary {
  touch-action: manipulation;
}

button {
  border: 0;
  cursor: pointer;
}

ul,
ol {
  padding: 0;
}

section[id] {
  scroll-margin-top: 92px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-deep);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 56px;
  color: var(--ink);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand,
.site-nav,
.nav-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand__mark {
  width: 12px;
  height: 12px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 18px rgb(78 215 234 / 54%);
}

.site-nav {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a,
.nav-cta {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  min-height: 42px;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 0 20px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--surface-strong);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--canvas);
  color: var(--ink);
  isolation: isolate;
}

.hero__picture,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__picture {
  z-index: 0;
  background: var(--canvas);
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 96%) 0%, rgb(237 253 254 / 86%) 42%, rgb(171 238 246 / 18%) 78%, rgb(255 255 255 / 0%) 100%),
    linear-gradient(180deg, rgb(255 255 255 / 54%) 0%, rgb(237 253 254 / 8%) 50%, rgb(255 255 255 / 82%) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  align-items: center;
  grid-template-columns: minmax(0, 720px) minmax(260px, 1fr);
  gap: 48px;
  padding: 156px 56px 92px;
}

.hero__copy {
  max-width: 680px;
}

.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(58px, 6.6vw, 88px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  font-weight: 600;
}

.hero__description {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 25px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button::after {
  width: 16px;
  margin-left: 10px;
  content: "→";
}

.hero__actions .button::after {
  display: none;
}

.button--submit::after {
  display: none;
}

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

.button--primary,
.button--submit {
  border: 1px solid var(--primary);
  background: linear-gradient(180deg, var(--turquoise-200), var(--primary));
  color: var(--ink);
}

.button--ghost {
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--surface);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--canvas);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip__item {
  min-height: 168px;
  border-right: 1px solid var(--line);
  padding: 26px;
  background: var(--canvas);
}

.trust-strip__item:last-child {
  border-right: 0;
}

.trust-strip__item:nth-child(2n) {
  background: var(--canvas);
}

.trust-strip__item span {
  display: block;
  color: var(--primary-text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.trust-strip__item strong {
  display: block;
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
}

.trust-strip__item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section {
  padding: 112px 56px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

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

.section--blue {
  background: var(--canvas);
}

.section--green {
  background: var(--canvas);
}

.section__intro {
  max-width: 760px;
}

.section__intro--wide {
  max-width: 900px;
}

.section h2,
.contact h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-wrap: balance;
}

.section__intro > h2:first-child {
  margin-top: 0;
}

.section__intro p:not(.section-label),
.contact__copy p:not(.section-label) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.challenge {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.challenge::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 96%) 0%, rgb(255 255 255 / 92%) 42%, rgb(255 255 255 / 78%) 100%),
    url("./assets/signalon-hero-circuit-clear-source.png") right center / cover no-repeat;
  content: "";
  opacity: 0.54;
  pointer-events: none;
}

.challenge > * {
  position: relative;
  z-index: 1;
}

.challenge h2 span,
.difference h2 span {
  display: block;
}

.challenge__list {
  display: grid;
  gap: 12px;
}

.challenge__list li {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px 18px 17px 46px;
  background: var(--canvas);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
}

.challenge__list li::before {
  position: absolute;
  top: 23px;
  left: 18px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  background: var(--canvas);
  content: "";
}

.signal-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  border: 1px solid var(--line);
  background: var(--line);
}

.signal-flow article {
  display: flex;
  min-height: auto;
  aspect-ratio: 1 / 1;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  background: var(--canvas);
}

.signal-flow article:nth-child(2) {
  background: var(--canvas);
}

.signal-flow article:nth-child(3) {
  background: var(--canvas);
}

.signal-flow span {
  display: block;
  color: var(--primary-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.signal-flow__heading {
  display: grid;
  gap: 14px;
}

.signal-flow h3 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 600;
}

.signal-flow p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.service-slider {
  position: relative;
  margin-top: 48px;
  padding: 0 54px;
}

.service-slider__controls {
  display: flex;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  z-index: 2;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.service-slider__button {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1;
  pointer-events: auto;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.service-slider__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-slider__button:hover {
  border-color: var(--primary);
  background: var(--surface);
  transform: translateY(-1px);
}

.service-slider__viewport {
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-padding-left: 1px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.service-slider__viewport::-webkit-scrollbar {
  display: none;
}

.service-slider__track {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.service-card {
  display: flex;
  flex: 0 0 clamp(360px, 48vw, 620px);
  min-height: 440px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--canvas);
  scroll-snap-align: start;
}

.service-card__label {
  margin: 0;
  color: var(--primary-deep);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.service-card h3 {
  margin: 14px 0 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
}

.service-card p:not(.service-card__label) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.service-card ul,
.fit-grid ul {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  list-style: none;
}

.service-card li,
.fit-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-card li::before,
.fit-grid li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.service-card a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.service-slider__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.service-slider__dots button {
  width: 9px;
  height: 9px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 0;
  background: var(--canvas);
  transition:
    width 180ms ease,
    background 180ms ease;
}

.service-slider__dots button[aria-current="true"] {
  width: 26px;
  background: var(--primary);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 48px 0 0;
  border: 1px solid var(--line);
  list-style: none;
  background: var(--canvas);
}

.process-list li {
  min-height: 230px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px;
  background: var(--canvas);
}

.process-list li:nth-child(3n) {
  border-right: 0;
}

.process-list li:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.process-list span {
  color: var(--primary-text);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1;
}

.process-list h3,
.fit-grid h3 {
  margin: 28px 0 0;
  font-size: 22px;
  font-weight: 600;
}

.process-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.fit-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: var(--canvas);
}

.comparison {
  width: 100%;
  margin-top: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.comparison caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.comparison tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.comparison tbody tr:first-child td {
  border-top: 1px solid var(--line);
}

.comparison th,
.comparison td {
  margin: 0;
  padding: 22px 24px;
  background: var(--canvas);
  text-align: left;
  line-height: 1.8;
}

.comparison th {
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
}

.comparison th + th {
  border-left: 1px solid var(--line);
  background: var(--canvas);
}

.comparison td {
  background: var(--canvas);
  color: var(--muted);
  font-size: 15px;
}

.comparison td + td {
  border-left: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
  font-weight: 600;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
  background: var(--canvas);
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
  gap: 56px;
  padding: 112px 56px;
  background: var(--canvas);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.contact__copy p:not(.section-label) {
  color: var(--muted);
}

.contact__note {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 0;
  background: var(--canvas);
}

.contact-form label,
.contact-form__wide,
.button--submit,
.form-helper,
.form-status {
  grid-column: 1 / -1;
}

.contact-form label:not(.contact-form__wide) {
  grid-column: 1 / -1;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary-deep);
  outline-offset: 2px;
}

.button--submit {
  width: fit-content;
  margin-top: 8px;
  border-color: var(--primary);
  background: var(--canvas);
  color: var(--ink);
}

.form-helper {
  margin: 0;
  color: var(--muted-soft);
  font-size: 13px;
  line-height: 1.8;
}

.form-status {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 56px;
  background: var(--canvas);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .site-header {
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero__inner,
  .section,
  .contact {
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero__inner,
  .challenge,
  .contact {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list li:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .process-list li:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .process-list li:nth-child(2n) {
    border-right: 0;
  }

  .process-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .signal-flow {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    display: none;
  }

  .brand__name {
    font-size: 16px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero__inner {
    min-height: 100svh;
    padding: 126px 20px 64px;
  }

  .hero__image {
    object-position: 58% 50%;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.18;
  }

  .hero__description {
    max-width: 320px;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.85;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .trust-strip,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip__item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 20px;
  }

  .trust-strip__item:last-child {
    border-bottom: 0;
  }

  .section,
  .contact {
    padding: 76px 20px;
  }

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

  .challenge__list li {
    padding-left: 40px;
  }

  .signal-flow article,
  .service-card,
  .fit-grid > div {
    min-height: auto;
    padding: 24px;
  }

  .signal-flow article {
    aspect-ratio: auto;
  }

  .service-card {
    flex-basis: calc(100vw - 40px);
  }

  .service-slider {
    padding: 0;
  }

  .service-slider__controls {
    top: auto;
    right: 0;
    bottom: -52px;
    left: 0;
    justify-content: center;
    gap: 12px;
    transform: none;
  }

  .service-slider__dots {
    margin-top: 66px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(2n),
  .process-list li:nth-child(3n) {
    border-right: 0;
  }

  .process-list li:nth-last-child(-n + 2),
  .process-list li:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .comparison,
  .comparison thead,
  .comparison tbody,
  .comparison tr,
  .comparison th,
  .comparison td {
    display: block;
  }

  .comparison th + th {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .comparison tbody tr + tr td:first-child {
    border-top: 1px solid var(--line);
  }

  .comparison td + td {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .comparison th,
  .comparison td {
    padding: 18px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .contact-form label:not(.contact-form__wide) {
    grid-column: 1 / -1;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
