:root {
  --bg: #ffffff;
  --ink: #14202a;
  --muted: #5f6f7b;
  --line: #dce6eb;
  --soft: #f4f8fa;
  --dark: #101b24;
  --dark-2: #162833;
  --teal: #0f8fa3;
  --teal-2: #13aebf;
  --gold: #c59a43;
  --shadow: 0 24px 60px rgba(16, 27, 36, .14);
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.no-break {
  white-space: nowrap;
  word-break: keep-all;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 56px);
  background: rgba(16, 27, 36, .94);
  color: #fff;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--teal-2);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, .82);
  transition: color .2s ease;
}

.site-nav a:hover {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  background: var(--teal);
  color: #fff !important;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  background: transparent;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, .96fr) minmax(500px, 1.04fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1360px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 94px) clamp(20px, 5vw, 64px) clamp(44px, 6vw, 72px);
  background:
    linear-gradient(115deg, transparent 0 60%, rgba(19, 174, 191, .12) 60% 100%),
    radial-gradient(circle at 88% 20%, rgba(19, 174, 191, .18), transparent 34%);
}

.brand-line {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 143, 163, .24);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button:hover {
  transform: translateY(-2px);
}

.button.full {
  width: 100%;
}

.hero-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px 22px;
  max-width: 460px;
  margin: 30px 0 0;
  padding: 0;
  color: #29424f;
  list-style: none;
  font-weight: 700;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal) 0 35%, transparent 36%);
}

.product-visual {
  min-width: 0;
}

.screen-frame {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 10px solid #111a21;
  border-bottom-width: 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.screen-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 18px;
  background: #111c25;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
  font-weight: 700;
}

.screen-logo {
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
}

.screen-sidebar span {
  padding: 10px 12px;
  border-radius: 4px;
}

.screen-sidebar .is-active {
  background: rgba(19, 174, 191, .18);
  color: #fff;
}

.screen-main {
  padding: 26px;
  background: #f7fafb;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.screen-top strong,
.screen-top small {
  display: block;
}

.screen-top small {
  color: var(--muted);
}

.screen-top button {
  min-width: 76px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.cast-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.cast-list div {
  display: grid;
  grid-template-columns: 34px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbe8ee, #fff);
  border: 1px solid #d5e1e7;
}

.cast-list b {
  font-size: 14px;
}

.cast-list em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.cast-list mark {
  padding: 3px 8px;
  border-radius: 999px;
  background: #e0f6f8;
  color: #0b7b8d;
  font-size: 12px;
  font-weight: 800;
}

.cast-list mark.off {
  background: #f3ece0;
  color: #8b6221;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.quick-grid span {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #28424f;
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: clamp(70px, 9vw, 112px) clamp(20px, 5vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
}

.problem .section-heading h2 {
  font-size: clamp(20px, 3vw, 36px);
  white-space: nowrap;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
}

.problem {
  background: linear-gradient(180deg, #f7fbfc, #fff);
}

.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.compare-box {
  min-height: 330px;
  padding: 34px;
  border-radius: 6px;
}

.compare-box.dark {
  background: var(--dark);
  color: #fff;
}

.compare-box.accent {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(16, 27, 36, .08);
}

.compare-box h3 {
  margin: 0 0 22px;
  font-size: 22px;
}

.compare-box ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-box li {
  position: relative;
  padding-left: 28px;
}

.compare-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.compare-box.accent li::before {
  color: var(--teal);
}

.compare-arrow {
  display: grid;
  place-items: center;
  color: var(--teal);
}

.compare-arrow svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}

.feature-grid article {
  min-height: 252px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 27, 36, .04);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #e7f7f9;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.workflow {
  background: linear-gradient(135deg, #101b24, #182d38);
  color: #fff;
}

.section-heading.inverted p {
  color: rgba(255, 255, 255, .7);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  min-height: 230px;
  padding: 26px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
}

.flow-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.flow-list h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.3;
}

.flow-list p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: normal;
}

.next-product {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .62fr);
  gap: 36px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.next-product h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

.next-product p {
  max-width: 680px;
  color: var(--muted);
}

.regi-panel {
  min-height: 270px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(19, 174, 191, .18), transparent 48%),
    linear-gradient(135deg, #111d26, #1c313c);
  color: #fff;
  box-shadow: var(--shadow);
}

.regi-panel span,
.regi-panel small {
  display: block;
}

.regi-panel span {
  color: var(--gold);
  font-weight: 900;
}

.regi-panel strong {
  display: block;
  margin: 42px 0 10px;
  font-size: 38px;
  line-height: 1.1;
}

.regi-panel small {
  color: rgba(255, 255, 255, .68);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(380px, .72fr);
  gap: 48px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.22;
}

.contact-copy p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #29424f;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cddbe2;
  border-radius: 4px;
  padding: 12px 13px;
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 143, 163, .12);
}

.contact-form select {
  background: #fff;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note.is-success {
  color: #0b7b8d;
  font-weight: 800;
}

.form-result {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.form-result.is-success {
  background: #e0f6f8;
  color: #0b7b8d;
  border: 1px solid #a8dfe6;
}

.form-result.is-error {
  background: #fdecec;
  color: #9f1d1d;
  border: 1px solid #f2b8b8;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 40px clamp(20px, 5vw, 56px);
  background: var(--dark);
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .64);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, .72);
  font-weight: 700;
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px;
  background:
    linear-gradient(115deg, rgba(19, 174, 191, .08), transparent 55%),
    #fff;
}

.not-found > div {
  width: min(100%, 680px);
}

.not-found-brand {
  color: var(--ink);
}

.not-found h1 {
  margin: 48px 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
}

.not-found p {
  margin: 0 0 28px;
  color: var(--muted);
}

.legal-page {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 56px);
  background: linear-gradient(180deg, #f7fbfc, #fff 42%);
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 27, 36, .08);
}

.legal-content h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.16;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 22px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 0;
  padding-left: 1.4em;
}

.legal-date {
  margin-top: 34px;
}

.legal-nav {
  justify-content: flex-end;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-visual {
    max-width: 760px;
  }

  .feature-grid,
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare,
  .next-product,
  .contact {
    grid-template-columns: 1fr;
  }

  .compare-arrow {
    transform: rotate(90deg);
    min-height: 62px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    background: rgba(16, 27, 36, .98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .nav-cta {
    margin-top: 10px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .problem .section-heading h2 {
    font-size: clamp(18px, 5.4vw, 24px);
  }

  .hero-checks,
  .feature-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .screen-frame {
    grid-template-columns: 1fr;
    min-height: auto;
    border-width: 8px;
    border-bottom-width: 16px;
  }

  .screen-sidebar {
    display: none;
  }

  .screen-main {
    padding: 16px;
  }

  .cast-list div {
    grid-template-columns: 34px 1fr;
  }

  .cast-list em,
  .cast-list mark {
    grid-column: 2;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-box,
  .contact-form {
    padding: 22px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
