:root {
  color-scheme: light;
  --ink: #0a1b23;
  --ink-soft: #344b56;
  --navy: #071b24;
  --navy-raised: #0b2b35;
  --teal: #008a88;
  --teal-bright: #22c7bc;
  --cyan: #dff7f5;
  --yellow: #f1c94a;
  --paper: #f7faf9;
  --white: #ffffff;
  --line: #d7e2e1;
  --muted: #6d8189;
  --shadow: 0 22px 60px rgba(5, 29, 38, 0.18);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  line-height: 1.25;
}

h2 {
  margin-bottom: 0;
  font-size: 38px;
  font-weight: 760;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 72px;
  color: var(--white);
  background: rgba(7, 27, 36, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(var(--container), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 260px;
  color: var(--white);
  text-decoration: none;
}

.brand-icon {
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  background: var(--white);
  border-radius: 8px;
}

.brand-icon img {
  width: 42px;
  height: 42px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  margin-left: 11px;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 750;
}

.brand-copy small {
  margin-top: 4px;
  color: #9fb8c0;
  font-size: 10px;
  text-transform: uppercase;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.global-nav a {
  position: relative;
  color: #d5e2e5;
  font-size: 14px;
  text-decoration: none;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-status {
  min-width: 112px;
  height: 38px;
  margin-left: 28px;
  color: #c3d1d5;
  background: #173842;
  border: 1px solid #31515a;
  border-radius: 5px;
  cursor: not-allowed;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(740px, max(520px, calc(100svh - 128px)));
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy);
  background-image: url("assets/app-scan-results.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(5, 23, 31, 0.82);
}

.hero::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: var(--yellow);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 82px;
}

.eyebrow,
.section-label {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  color: #d6fffb;
  background: rgba(34, 199, 188, 0.13);
  border-left: 3px solid var(--teal-bright);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: 72px;
  font-weight: 780;
}

.hero-lead {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.55;
}

.hero-description {
  max-width: 700px;
  margin-bottom: 30px;
  color: #c7d8dc;
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 50px;
  padding: 0 24px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button-primary {
  color: #173038;
  background: var(--yellow);
  border: 1px solid var(--yellow);
}

.button-primary:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  transform: translateY(-2px);
}

.hero-note {
  margin: 15px 0 0;
  color: #91a9b0;
  font-size: 12px;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.trust-item {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 1px solid var(--line);
}

.trust-item img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
}

.trust-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.trust-inner strong {
  color: var(--teal);
  font-size: 11px;
}

.trust-inner span {
  color: var(--ink-soft);
  font-size: 13px;
}

.section {
  padding: 112px 0;
}

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

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 90px;
  align-items: center;
}

.section-heading h2 {
  max-width: 670px;
}

.section-heading.compact {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading.compact > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.intro-copy {
  max-width: 700px;
  padding-top: 30px;
  color: var(--ink-soft);
  font-size: 16px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.intro-visual {
  margin: 0;
  text-align: center;
}

.intro-visual img {
  width: min(100%, 430px);
  height: auto;
  margin: 0 auto;
}

.intro-visual figcaption {
  max-width: 390px;
  margin: 4px auto 0;
  padding-top: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  text-align: left;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 78px;
}

.feature-item {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.feature-number {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.feature-item h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

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

.product-section {
  overflow: hidden;
  background: #e8f1f0;
}

.product-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.product-heading h2 {
  max-width: 700px;
}

.screen-tabs {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px;
  background: #d9e6e4;
  border: 1px solid #c9d8d6;
  border-radius: 6px;
}

.screen-tabs button {
  min-width: 110px;
  height: 38px;
  color: #496068;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.screen-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(13, 45, 54, 0.1);
}

.product-shot {
  margin: 0;
}

.product-shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  border: 1px solid #bdcfcd;
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.product-shot figcaption {
  margin-top: 18px;
  color: #5d737a;
  font-size: 13px;
}

.scan-section {
  background: var(--white);
}

.scan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scan-card {
  display: flex;
  min-height: 575px;
  flex-direction: column;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.scan-card.featured {
  position: relative;
  border-color: var(--teal);
  box-shadow: inset 0 4px 0 var(--teal);
}

.scan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
}

.scan-card-top span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 12px;
}

.scan-card.featured .scan-card-top span {
  background: var(--teal);
}

.scan-visual {
  display: grid;
  min-height: 190px;
  margin-bottom: 16px;
  place-items: center;
}

.scan-visual img {
  width: min(100%, 205px);
  height: auto;
}

.scan-card h3 {
  margin-bottom: 18px;
  font-size: 25px;
}

.scan-card > p {
  min-height: 104px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.scan-card ul {
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  list-style: none;
}

.scan-card li {
  position: relative;
  padding: 5px 0 5px 18px;
}

.scan-card li::before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--yellow);
  border-radius: 50%;
}

.formats-section {
  background: #eef4f3;
}

.formats-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 94px;
  align-items: start;
}

.formats-copy {
  position: sticky;
  top: 112px;
}

.formats-copy h2 {
  margin-bottom: 24px;
}

.formats-copy > p:not(.section-label) {
  color: var(--ink-soft);
}

.format-note {
  padding-top: 20px;
  border-top: 1px solid #cad8d6;
  font-size: 13px;
}

.format-groups {
  border-top: 1px solid #bfcfcd;
}

.format-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid #bfcfcd;
}

.format-row h3 {
  margin: 7px 0 0;
  font-size: 15px;
}

.format-row p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.format-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 11px;
  color: #21404a;
  background: var(--white);
  border: 1px solid #c9d8d6;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.format-row.optional span {
  color: #64777d;
  background: #f7f9f8;
}

.safety-section {
  color: var(--white);
  background: var(--navy);
}

.section-label.light {
  color: var(--teal-bright);
}

.safety-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
}

.safety-heading h2 {
  max-width: 520px;
  font-size: 42px;
}

.safety-points {
  border-top: 1px solid #2f4b55;
}

.safety-points article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid #2f4b55;
}

.safety-points article > strong {
  color: var(--yellow);
  font-size: 12px;
}

.safety-points h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.safety-points p {
  margin-bottom: 0;
  color: #a9bec4;
  font-size: 14px;
}

.workflow-section {
  background: var(--white);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.workflow-list li {
  min-height: 220px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list li > span {
  display: block;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.workflow-list h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.workflow-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 90px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 50px 25px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 6px;
  content: "+";
  color: var(--teal);
  font-size: 25px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  padding: 0 48px 24px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.closing-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #0c5960;
}

.closing-section::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 12%;
  height: 100%;
  content: "";
  background: var(--yellow);
}

.closing-inner {
  position: relative;
  padding-top: 92px;
  padding-bottom: 92px;
}

.closing-inner h2 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: 42px;
}

.closing-inner .button {
  margin-bottom: 16px;
}

.closing-inner > p:last-child {
  margin-bottom: 0;
  color: #b8d7d9;
  font-size: 13px;
}

.site-footer {
  padding: 46px 20px 30px;
  color: #9eb2b8;
  background: #06151c;
}

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

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  overflow: hidden;
  background: var(--white);
  border-radius: 6px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  margin-left: 11px;
  line-height: 1.35;
}

.footer-brand strong {
  color: var(--white);
  font-size: 15px;
}

.footer-brand span {
  font-size: 10px;
}

.footer-legal {
  text-align: right;
}

.footer-legal p {
  margin: 2px 0;
  font-size: 11px;
}

.disclaimer {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding-top: 24px;
  color: #6f878e;
  border-top: 1px solid #1c333b;
  font-size: 10px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  .global-nav {
    gap: 18px;
  }

  .header-status {
    display: none;
  }

  .hero h1 {
    font-size: 62px;
  }

  .intro-grid,
  .formats-layout,
  .safety-layout {
    gap: 54px;
  }

  .scan-card {
    padding: 24px;
  }

  .faq-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 54px;
  }
}

@media (max-width: 820px) {
  h2 {
    font-size: 32px;
  }

  .site-header {
    height: 66px;
  }

  .header-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .brand-icon img {
    width: 38px;
    height: 38px;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .global-nav {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 20px 20px;
    background: rgba(7, 27, 36, 0.98);
    border-bottom: 1px solid #2d4952;
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid #1e3942;
  }

  .global-nav a::after {
    display: none;
  }

  .hero {
    min-height: max(520px, calc(100svh - 112px));
    background-position: 36% top;
  }

  .hero-inner {
    width: min(calc(100% - 36px), var(--container));
    padding: 60px 0 68px;
  }

  .hero h1 {
    font-size: 48px;
  }

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

  .hero-description {
    max-width: 620px;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .trust-item,
  .trust-item:first-child {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 80px 0;
  }

  .section-inner {
    width: min(calc(100% - 36px), var(--container));
  }

  .intro-grid,
  .formats-layout,
  .safety-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .intro-copy {
    padding-top: 26px;
  }

  .intro-visual {
    max-width: 430px;
    margin: 0 auto;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 58px;
  }

  .product-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .scan-card {
    min-height: 0;
  }

  .scan-card > p {
    min-height: 0;
  }

  .formats-copy {
    position: static;
  }

  .safety-heading h2,
  .closing-inner h2 {
    font-size: 34px;
  }

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

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

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

  .closing-section::before {
    width: 7px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  h2 {
    font-size: 28px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .hero {
    min-height: max(540px, calc(100svh - 104px));
  }

  .hero h1 {
    font-size: 39px;
    overflow-wrap: anywhere;
  }

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

  .hero-description {
    font-size: 14px;
  }

  .desktop-break {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-item {
    min-height: 96px;
    gap: 8px;
    padding: 10px 10px;
  }

  .trust-item img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .trust-inner span {
    font-size: 11px;
  }

  .section {
    padding: 66px 0;
  }

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

  .product-heading {
    margin-bottom: 28px;
  }

  .screen-tabs {
    width: 100%;
  }

  .screen-tabs button {
    flex: 1 1 50%;
    min-width: 0;
  }

  .product-shot {
    width: calc(100% + 18px);
  }

  .product-shot img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .scan-card {
    padding: 24px 21px;
  }

  .scan-card-top {
    margin-bottom: 10px;
  }

  .scan-visual {
    min-height: 160px;
  }

  .format-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .format-row h3 {
    margin: 0;
  }

  .safety-heading h2,
  .closing-inner h2 {
    font-size: 29px;
  }

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

  .workflow-list li,
  .workflow-list li:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .workflow-list li > span {
    margin-bottom: 20px;
  }

  .faq-list summary {
    padding-right: 40px;
  }

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

  .footer-legal {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
