:root {
  color-scheme: light;
  --ink: #17213d;
  --muted: #59627a;
  --paper: #fffdf8;
  --surface: #ffffff;
  --purple: #6c3df4;
  --purple-dark: #4b22c6;
  --yellow: #ffd84d;
  --orange: #ff7a45;
  --cyan: #54d6da;
  --green: #087952;
  --pink: #ff6f91;
  --line: #e8e4f0;
  --shadow: 0 18px 50px rgb(48 32 85 / 12%);
  --body-size: 1.125rem;
  --radius-lg: 30px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgb(255 216 77 / 28%), transparent 23rem),
    radial-gradient(circle at 95% 22%, rgb(84 214 218 / 24%), transparent 25rem),
    var(--paper);
  font-family: "Leelawadee UI", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: var(--body-size);
  line-height: 1.65;
}

a {
  color: inherit;
}

button,
input,
select,
.button,
nav a {
  min-height: 44px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 20;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  background: rgb(255 253 248 / 90%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.3rem;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}

nav {
  display: flex;
  gap: 0.3rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: var(--body-size);
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: #eee7ff;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 4rem;
  max-width: 1180px;
  min-height: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.eyebrow,
.kicker {
  margin: 0 0 0.6rem;
  color: var(--green);
  font-size: var(--body-size);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.purple {
  color: var(--purple);
}

.eyebrow.orange {
  color: #b94712;
}

.eyebrow.blue {
  color: #155bd7;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--purple);
}

.hero-lead {
  max-width: 42rem;
  margin: 1.7rem 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.hero-actions,
.trust-list,
.legend,
.brand-roadmap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.button-primary {
  color: white;
  background: var(--purple);
}

.button-secondary {
  background: white;
}

.trust-list {
  margin: 1.5rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: var(--body-size);
  font-weight: 700;
  list-style: none;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.sun-shape {
  position: absolute;
  inset: 5% 0 auto auto;
  width: min(95%, 470px);
  aspect-ratio: 1;
  border-radius: 48% 52% 41% 59% / 55% 43% 57% 45%;
  background: var(--yellow);
  transform: rotate(-7deg);
}

.phone-frame {
  position: absolute;
  top: 3%;
  left: 50%;
  width: min(360px, 92vw);
  padding: 15px;
  border: 5px solid var(--ink);
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 18px 24px 0 rgb(108 61 244 / 24%);
  transform: translateX(-50%) rotate(4deg);
}

.phone-speaker {
  width: 58px;
  height: 6px;
  margin: 0 auto 11px;
  border-radius: 999px;
  background: #6d7691;
}

.phone-screen {
  min-height: 540px;
  padding: 1.2rem 1rem;
  border-radius: 28px;
  background: white;
}

.demo-label {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: #7a3900;
  background: #ffe5c4;
  font-size: var(--body-size);
  font-weight: 900;
}

.screen-path {
  margin: 1.2rem 0;
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.3;
}

.screen-setting {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0.3rem;
  border-block: 1px solid var(--line);
}

.screen-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #eee7ff;
}

.screen-setting strong,
.screen-setting small {
  display: block;
}

.screen-setting small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.35;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 52px;
  height: 30px;
  padding: 3px;
  border-radius: 999px;
  background: var(--purple);
}

.toggle span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
}

.tap-callout {
  margin-top: 3rem;
  padding: 0.8rem;
  border: 2px dashed var(--purple);
  border-radius: 16px;
  color: var(--purple-dark);
  background: #f8f5ff;
  font-size: var(--body-size);
  font-weight: 850;
  line-height: 1.4;
}

.tap-callout span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 0.3rem;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--purple);
}

.model-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto 2rem;
  padding: 1.5rem 2rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 8px 8px 0 var(--cyan);
}

.model-banner h2,
.model-banner p {
  margin: 0;
}

.model-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.model-badge {
  padding: 0.65rem 0.8rem;
  border-radius: 16px;
  background: var(--yellow);
  font-weight: 900;
  text-align: center;
}

.verification-pill,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: var(--body-size);
  font-weight: 850;
}

.verification-pill {
  color: #7a3900;
  background: #fff0cf;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2.5rem;
}

.section-heading.compact {
  max-width: 900px;
}

.section-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.25rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.fact-card {
  padding: 1.6rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0 var(--ink);
}

.fact-card.good {
  background: #d9f8eb;
}

.fact-card.caution {
  background: #fff0cf;
}

.fact-card.neutral {
  background: #eee7ff;
}

.fact-icon {
  font-size: 2rem;
}

.fact-card h3 {
  margin: 0.6rem 0 0.4rem;
  font-size: 1.35rem;
}

.fact-card p {
  margin: 0;
}

.steps-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: white;
  background: var(--purple-dark);
}

.panel-number {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: var(--body-size);
  font-weight: 900;
}

.steps-panel h3 {
  margin: 0.8rem 0 0;
  font-size: 2rem;
}

.muted {
  opacity: 0.78;
}

.steps-panel .muted {
  opacity: 1;
}

.talkback-visuals {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.check-visual-placeholder {
  margin: 1rem 0 0;
  padding: 1rem;
  border: 2px dashed var(--purple);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: white;
}

.placeholder-art {
  display: grid;
  min-height: 7rem;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgb(84 214 218 / 45%), rgb(255 216 77 / 52%)),
    #f7f4ff;
  font-size: 3.5rem;
}

.sample-caption {
  margin-top: 0.8rem;
  font-size: var(--body-size);
  font-weight: 850;
  line-height: 1.4;
}

.simulated-visual {
  margin: 0;
  padding: 1rem;
  border: 2px solid var(--purple);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 18px 38px rgb(30 38 68 / 12%);
}

.simulated-ui-image {
  display: block;
  width: min(100%, 540px);
  height: auto;
  margin-inline: auto;
  border-radius: 24px;
}

.visual-loading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem;
  border: 2px dashed var(--purple);
  border-radius: var(--radius-md);
  background: white;
}

.steps-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.steps-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0.8rem;
  min-height: 58px;
  padding: 0.6rem 0.8rem;
  border-radius: 16px;
  color: var(--ink);
  background: white;
  counter-increment: guide-step;
}

.steps-list li::before {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange);
  content: counter(guide-step);
  font-weight: 900;
}

.security-section {
  max-width: none;
  padding-inline: max(1.5rem, calc((100% - 1180px) / 2));
  background: #f2fbfb;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr minmax(230px, 0.35fr);
  gap: 1rem;
  padding: 1.2rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 7px 7px 0 var(--cyan);
}

.filter-panel label {
  display: grid;
  gap: 0.35rem;
  font-weight: 850;
}

input,
select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid #b9bfd0;
  border-radius: 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

input:focus,
select:focus {
  border-color: var(--purple);
  outline: 3px solid rgb(108 61 244 / 20%);
}

.legend {
  margin: 1.4rem 0;
}

.status-enable {
  color: #075f3c;
  background: #cdf4e2;
}

.status-disable {
  color: #8d2c15;
  background: #ffe0d6;
}

.status-depends {
  color: #674900;
  background: #fff0bd;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.check-card,
.loading-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow);
}

.check-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.check-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.check-card > p {
  color: var(--muted);
}

.menu-path {
  padding: 0.75rem;
  border-left: 5px solid var(--purple);
  border-radius: 0 12px 12px 0;
  background: #f7f4ff;
  font-size: var(--body-size);
  font-weight: 750;
}

.details-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.detail-row {
  padding: 0.75rem;
  border-radius: 12px;
  background: #f8f8fb;
  font-size: var(--body-size);
}

.detail-row strong {
  display: block;
}

.verification-note {
  margin-top: 1rem;
  color: #7a3900;
  font-size: var(--body-size);
  font-weight: 800;
}

.empty-state {
  padding: 2rem;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brands-section {
  text-align: center;
}

.brands-section .section-heading {
  margin-inline: auto;
}

.brand-roadmap {
  justify-content: center;
}

.brand-chip {
  display: grid;
  min-width: 150px;
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: white;
  box-shadow: 5px 5px 0 var(--pink);
  font-size: 1.25rem;
  font-weight: 900;
}

.brand-chip.active {
  box-shadow: 5px 5px 0 var(--green);
}

.brand-chip small {
  color: var(--muted);
  font-size: var(--body-size);
  font-weight: 650;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem max(1.5rem, calc((100% - 1180px) / 2));
  color: white;
  background: var(--ink);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  nav {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero,
  .fact-grid,
  .steps-panel,
  .talkback-visuals,
  .filter-panel,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1rem;
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 540px;
  }

  .model-banner {
    grid-template-columns: 1fr;
    margin-inline: 1.5rem;
  }

  .verification-pill {
    width: fit-content;
  }
}

@media (max-width: 520px) {
  .talkback-section .steps-panel {
    padding: 0.5rem;
  }

  .talkback-visuals {
    grid-template-columns: minmax(0, 540px);
    justify-content: center;
    margin-inline: -2rem;
    width: calc(100% + 4rem);
  }

  .simulated-visual {
    padding: 0.5rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-block: 4rem;
  }

  .check-card-head,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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