:root {
  color-scheme: light;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #cbd5e1;
  --paper: #ffffff;
  --canvas: #f4f7fb;
  --teal: #0f766e;
  --teal-light: #ccfbf1;
  --blue: #1d4ed8;
  --coral: #c2413b;
  --hero: #102033;
  --hero-soft: #dbe7f2;
  --content: 1120px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Noto Sans JP", "Yu Gothic UI", "Hiragino Kaku Gothic ProN",
    system-ui, sans-serif;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

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

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}

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

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

.tester-alert {
  min-height: 50px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: #a52f2a;
}

.tester-alert a {
  width: 100%;
  min-height: 50px;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.tester-alert span {
  padding-left: 18px;
  border-left: 1px solid rgb(255 255 255 / 56%);
  font-size: 13px;
  font-weight: 700;
}

.tester-alert a:hover {
  background: rgb(0 0 0 / 12%);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--paper);
  background: var(--teal);
  border-radius: 6px;
  font-size: 13px;
}

.brand-name {
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: max(560px, calc(100svh - 220px));
  overflow: hidden;
  color: var(--paper);
  background-color: var(--hero);
  background-image: url("./evidelas-result.png");
  background-repeat: no-repeat;
  background-position: calc(100% - max(32px, 8vw)) 58%;
  background-size: min(31vw, 360px) auto;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgb(16 32 51 / 36%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--content));
  min-height: inherit;
  margin: 0 auto;
  padding: 104px 0 92px;
  display: flex;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: #99f6e4;
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(44px, 6.4rem, 84px);
  line-height: 1.04;
}

.hero-lead {
  max-width: 36rem;
  margin-bottom: 30px;
  color: var(--hero-soft);
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: var(--paper);
  background: #115e59;
}

.button-secondary {
  color: var(--paper);
  background: transparent;
  border-color: #94a3b8;
}

.button-secondary:hover {
  background: rgb(255 255 255 / 10%);
}

.button-recruit {
  color: var(--paper);
  background: var(--coral);
  border-color: var(--coral);
}

.button-recruit:hover {
  color: var(--paper);
  background: #9f312c;
  border-color: #9f312c;
}

.tester-section {
  padding: 84px 0;
  scroll-margin-top: 90px;
  background: #fff5f4;
  border-bottom: 1px solid #e7c3c0;
}

.tester-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(48px, 8vw, 96px);
}

.tester-intro {
  max-width: 660px;
}

.tester-intro h2 {
  font-size: 38px;
}

.tester-intro p:not(.section-kicker) {
  color: var(--ink-soft);
  font-size: 17px;
}

.tester-facts {
  margin: 0;
  border-top: 2px solid var(--coral);
}

.tester-facts div {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid #d9b9b6;
}

.tester-facts dt {
  color: #7c2d2a;
  font-size: 13px;
  font-weight: 800;
}

.tester-facts dd {
  margin: 0;
  font-weight: 700;
}

.tester-flow {
  margin-top: 64px;
  padding-top: 30px;
  border-top: 1px solid #d9b9b6;
}

.tester-flow h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.tester-flow ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  counter-reset: tester-steps;
}

.tester-flow li {
  min-width: 0;
  padding: 0 24px 0 20px;
  color: var(--ink-soft);
  border-left: 1px solid #d9b9b6;
  counter-increment: tester-steps;
}

.tester-flow li::before {
  display: block;
  color: var(--coral);
  content: "0" counter(tester-steps);
  font-size: 13px;
  font-weight: 800;
}

.tester-flow strong {
  margin: 4px 0 6px;
  display: block;
  color: var(--ink);
}

.tester-action {
  margin-top: 54px;
  padding-top: 34px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 2px solid var(--coral);
}

.tester-action .button {
  min-width: 280px;
  flex: 0 0 auto;
}

.tester-action p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

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

.section-dark {
  color: var(--paper);
  background: #172033;
}

.section-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 48px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.section-dark .section-kicker {
  color: #5eead4;
}

h2 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.35;
}

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

.heading-phrase {
  display: inline-block;
}

.section-dark .section-heading p {
  color: #cbd5e1;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
}

.phone-shot {
  width: min(100%, 360px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgb(15 23 42 / 18%);
}

.product-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.app-icon {
  width: 72px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.product-title h2 {
  margin-bottom: 0;
}

.product-copy {
  color: var(--ink-soft);
  font-size: 17px;
}

.status-line {
  margin: 26px 0;
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-dot {
  width: 10px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  background: var(--coral);
  border-radius: 50%;
}

.status-line strong {
  color: var(--ink);
}

.plain-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.plain-list li {
  position: relative;
  min-height: 44px;
  padding: 8px 0 8px 52px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  counter-increment: steps;
}

.plain-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
  content: counter(steps);
  font-size: 13px;
  font-weight: 800;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #475569;
}

.principle {
  min-width: 0;
  padding: 32px 32px 8px 0;
  border-right: 1px solid #475569;
}

.principle + .principle {
  padding-left: 32px;
}

.principle:last-child {
  border-right: 0;
}

.principle-number {
  color: #5eead4;
  font-size: 13px;
  font-weight: 800;
}

.principle h3 {
  margin: 8px 0 10px;
  font-size: 21px;
}

.principle p {
  margin-bottom: 0;
  color: #cbd5e1;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(48px, 8vw, 96px);
}

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

.company-facts {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.company-facts div {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.company-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.company-facts dd {
  margin: 0;
}

.support-band {
  padding: 72px 0;
  color: var(--paper);
  background: var(--teal);
}

.support-layout {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.support-layout h2 {
  margin-bottom: 8px;
}

.support-layout p {
  margin-bottom: 0;
}

.support-band .button {
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.support-band .button:hover {
  background: #ecfeff;
}

.site-footer {
  padding: 34px 0;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #e2e8f0;
  font-size: 13px;
}

.legal-main {
  min-height: calc(100svh - 72px);
  padding: 72px 0 96px;
  background: var(--canvas);
}

.legal-document {
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 42px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
}

.legal-header h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: 40px;
  line-height: 1.35;
}

.legal-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-section {
  margin-top: 34px;
}

.legal-section h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.legal-section p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.legal-contact {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero {
    background-position: calc(100% - 20px) 60%;
    background-size: 330px auto;
  }

  .hero::before {
    background: rgb(16 32 51 / 62%);
  }

  .product-layout,
  .tester-layout,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .product-layout {
    gap: 54px;
  }

  .tester-layout {
    gap: 40px;
  }

  .tester-flow ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .tester-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .phone-shot {
    width: min(78vw, 360px);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 112px;
  }

  .site-header {
    position: static;
  }

  .tester-alert a {
    min-height: 58px;
    align-items: center;
    flex-direction: column;
    gap: 1px;
    line-height: 1.45;
  }

  .tester-alert span {
    padding-left: 0;
    border-left: 0;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 3px;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero {
    background-position: 82% 82%;
    background-size: 240px auto;
  }

  .hero::before {
    background: rgb(16 32 51 / 72%);
  }

  .hero-inner {
    padding: 58px 0 190px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .section {
    padding: 68px 0;
  }

  .tester-section {
    padding: 62px 0;
  }

  .tester-intro h2 {
    font-size: 29px;
  }

  .tester-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .tester-flow {
    margin-top: 46px;
  }

  .tester-flow ol {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .tester-flow li {
    padding: 18px 0 18px 18px;
    border-bottom: 1px solid #d9b9b6;
  }

  .tester-action {
    margin-top: 40px;
    gap: 18px;
  }

  .tester-action .button {
    width: 100%;
    min-width: 0;
  }

  h2 {
    font-size: 27px;
  }

  .product-title {
    align-items: flex-start;
  }

  .app-icon {
    width: 60px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle + .principle {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid #475569;
  }

  .support-layout,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-layout {
    gap: 24px;
  }

  .company-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal-main {
    padding: 48px 0 72px;
  }

  .legal-header h1 {
    font-size: 31px;
  }
}

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