@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/sarabun/v17/DtVjJx26TKEr37c9aAFJn2QN.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/sarabun/v17/DtVjJx26TKEr37c9aBVJnw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/sarabun/v17/DtVmJx26TKEr37c9YMptik8s6zDX.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/sarabun/v17/DtVmJx26TKEr37c9YMptilss6w.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/sarabun/v17/DtVmJx26TKEr37c9YK5sik8s6zDX.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/sarabun/v17/DtVmJx26TKEr37c9YK5silss6w.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green-950: #08281b;
  --green-900: #0b3524;
  --green-800: #075d3c;
  --green-700: #08794c;
  --green-600: #0b8e59;
  --green-100: #dff3e8;
  --green-50: #f2faf5;
  --line-green: #06c755;
  --yellow: #f2c94c;
  --red: #b42318;
  --red-light: #fff0ee;
  --ink: #10271c;
  --body: #405449;
  --muted: #6d7e74;
  --border: #dce8e1;
  --surface: #ffffff;
  --soft: #f7fbf8;
  --shadow-sm: 0 8px 24px rgba(7, 65, 39, 0.08);
  --shadow-lg: 0 24px 70px rgba(7, 65, 39, 0.15);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --container: 1160px;
  --font: "Sarabun", "Leelawadee UI", "Noto Sans Thai", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

html[data-profile="easy"] {
  font-size: 118%;
}

body,
button,
textarea,
input {
  font-family: var(--font);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

button:focus-visible,
textarea:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--green-900);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 232, 225, 0.8);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--green-700);
  border-radius: 70% 28% 70% 28%;
  transform: rotate(45deg);
  background: white;
}

.brand-pupil {
  width: 15px;
  height: 15px;
  border: 5px solid var(--green-900);
  border-radius: 50%;
  background: var(--yellow);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--green-800);
  font-size: 1.35rem;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

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

.main-nav a {
  position: relative;
  color: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

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

.main-nav a:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.button-large {
  min-height: 58px;
  padding: 15px 28px;
  font-size: 1rem;
}

.button-line {
  background: var(--line-green);
  color: #052d17;
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.2);
}

.button-line:hover {
  background: #12d963;
  box-shadow: 0 14px 28px rgba(6, 199, 85, 0.26);
}

.button-primary {
  background: var(--green-700);
  color: white;
  box-shadow: 0 10px 24px rgba(8, 121, 76, 0.18);
}

.button-primary:hover {
  background: var(--green-800);
}

.button-outline {
  border: 2px solid var(--green-700);
  background: white;
  color: var(--green-800);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 2%, rgba(242, 201, 76, 0.18), transparent 23%),
    radial-gradient(circle at 8% 72%, rgba(11, 142, 89, 0.11), transparent 30%),
    linear-gradient(180deg, #fbfefc 0%, var(--green-50) 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -220px;
  bottom: -220px;
  border: 60px solid rgba(242, 201, 76, 0.12);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  column-gap: clamp(38px, 5vw, 68px);
  row-gap: 24px;
  padding-block: 58px 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.audience-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.audience-label {
  margin-right: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.audience-options {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #cfe1d6;
  border-radius: 999px;
  background: white;
}

.audience-btn,
.listen-btn {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--green-800);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.audience-btn.active {
  background: var(--green-800);
  color: white;
}

.listen-btn {
  border-color: #aacdb9;
  background: white;
}

.listen-btn:hover,
.audience-btn:not(.active):hover {
  background: var(--green-100);
}

.speech-tools {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.speech-rate-label {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.speech-rate-btn {
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid #c7dbcf;
  border-radius: 999px;
  background: #fff;
  color: var(--green-800);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.speech-rate-btn.active {
  border-color: var(--green-700);
  background: var(--green-100);
  box-shadow: inset 0 0 0 1px var(--green-700);
}

.speech-rate-btn:focus-visible,
.listen-btn:focus-visible {
  outline: 3px solid rgba(6, 117, 72, 0.25);
  outline-offset: 2px;
}

.api-guide-link {
  margin-top: 4px;
}

.profile-hint {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.speech-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.speech-status:not(:empty) {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: -4px 0 12px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: normal;
}

.service-status,
.api-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green-700);
  font-size: 0.86rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-green);
  box-shadow: 0 0 0 5px rgba(6, 199, 85, 0.13);
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.7rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.hero-copy h1 span {
  color: var(--green-700);
}

.hero-intro {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--body);
  font-size: 1.06rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--body);
  font-size: 0.86rem;
  list-style: none;
}

.hero-trust li {
  position: relative;
  padding-left: 24px;
}

.hero-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 700;
}

.accessibility-card {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 650px;
  margin-top: 0;
  padding: 14px 16px;
  border: 1px solid rgba(188, 213, 198, 0.82);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-checker {
  position: relative;
  z-index: 3;
  padding: 20px;
  border: 1px solid rgba(183, 211, 194, 0.9);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 80px rgba(7, 65, 39, 0.16);
  backdrop-filter: blur(10px);
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.hero-checker::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10px -12px -12px 12px;
  border-radius: 32px;
  background: rgba(8, 121, 76, 0.08);
}

.hero-checker-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 6px 18px;
}

.checker-kicker {
  margin: 0 0 2px;
  color: var(--green-700);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-checker-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
}

.no-signup-badge {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid #acd2bb;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-demo-shell {
  border-radius: 22px;
  box-shadow: none;
}

.hero-demo-shell .tabs {
  padding: 7px;
}

.hero-demo-shell .tab-btn {
  min-height: 48px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.hero-demo-shell .panel {
  padding: 24px;
}

.hero-demo-shell textarea {
  min-height: 145px;
  padding: 16px;
  font-size: 0.92rem;
}

.hero-demo-shell .sample-row {
  margin-top: 12px;
}

.hero-demo-shell .sample-btn {
  min-height: 44px;
  padding: 6px 10px;
  font-size: 0.7rem;
}

.hero-demo-shell .file-drop {
  min-height: 156px;
  padding: 20px;
}

.hero-demo-shell .submit-button {
  min-height: 54px;
  margin-top: 18px;
}

.hero-demo-shell .result {
  margin-top: 20px;
  padding: 22px;
}

.checker-safety {
  margin: 14px 6px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.keyboard-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.proof-strip {
  background: var(--green-800);
  color: white;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 30px;
}

.proof-grid > div {
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-grid > div:first-child {
  padding-left: 0;
}

.proof-grid > div:last-child {
  border-right: 0;
}

.proof-grid strong {
  font-size: 1.35rem;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.section,
.demo-section,
.warning-section,
.developer-section {
  padding-block: 105px;
}

.services-section {
  padding-bottom: 72px;
}

.section-heading {
  margin-bottom: 46px;
}

.section-heading h2,
.warning-copy h2,
.trust-copy h2,
.evidence-heading h2,
.line-cta h2,
.developer-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  line-height: 1.25;
}

.section-heading > p,
.warning-copy > p,
.trust-copy > p,
.evidence-heading > p,
.line-cta > div > p,
.developer-copy > p {
  color: var(--body);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.centered-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading > p:last-child {
  margin: 16px auto 0;
}

.services-heading,
.demo-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 50px;
}

.services-heading > p,
.demo-heading > p {
  margin: 0;
}

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

.service-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 10px 36px rgba(7, 65, 39, 0.04);
}

.service-card-featured {
  border-color: #acd8c0;
  background: linear-gradient(180deg, var(--green-50), white 46%);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--green-100);
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
}

.service-icon-message::before {
  width: 22px;
  height: 16px;
  border: 3px solid var(--green-700);
  border-radius: 5px;
}

.service-icon-message::after {
  left: 16px;
  bottom: 13px;
  width: 7px;
  height: 7px;
  border-bottom: 3px solid var(--green-700);
  transform: skew(-28deg);
}

.service-icon-image::before {
  width: 24px;
  height: 20px;
  border: 3px solid var(--green-700);
  border-radius: 4px;
}

.service-icon-image::after {
  width: 15px;
  height: 8px;
  bottom: 16px;
  border-left: 3px solid var(--green-700);
  border-top: 3px solid var(--green-700);
  transform: rotate(45deg);
}

.service-icon-sound::before {
  width: 10px;
  height: 24px;
  border-radius: 999px;
  background: var(--green-700);
}

.service-icon-sound::after {
  width: 26px;
  height: 26px;
  border: 3px solid transparent;
  border-bottom-color: var(--green-700);
  border-radius: 50%;
}

.service-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.66rem;
  font-weight: 700;
}

.neutral-badge {
  background: #edf2ef;
  color: #54665c;
}

.line-badge {
  background: #defbe8;
  color: #087a38;
}

.service-card h3 {
  margin: 26px 0 8px;
  font-size: 1.45rem;
}

.service-card > p {
  margin: 0;
  color: var(--body);
  font-size: 0.94rem;
}

.service-card ul {
  margin: 20px 0 26px;
  padding: 0;
  color: var(--body);
  font-size: 0.84rem;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-top: 8px;
  padding-left: 23px;
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 700;
}

.card-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  margin-top: auto;
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover,
.text-link:hover {
  text-decoration: underline;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--soft);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #b7c8be;
  font-size: 0.86rem;
  font-weight: 700;
}

.step-icon {
  position: relative;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-100);
}

.step-icon::before,
.step-icon::after {
  content: "";
  position: absolute;
}

.step-icon-chat::before {
  width: 26px;
  height: 20px;
  border: 3px solid var(--green-700);
  border-radius: 6px;
}

.step-icon-eye::before {
  width: 30px;
  height: 24px;
  border: 3px solid var(--green-700);
  border-radius: 70% 30% 70% 30%;
  transform: rotate(45deg);
}

.step-icon-eye::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--green-800);
}

.step-icon-check::before {
  width: 26px;
  height: 13px;
  border-bottom: 4px solid var(--green-700);
  border-left: 4px solid var(--green-700);
  transform: rotate(-45deg) translate(2px, -2px);
}

.step-card h3 {
  margin: 24px 0 8px;
  font-size: 1.25rem;
}

.step-card p {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
}

.warning-section {
  background: #fffaf8;
}

.warning-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  gap: clamp(55px, 8vw, 100px);
  align-items: start;
}

.danger-kicker {
  color: var(--red);
}

.warning-copy {
  position: sticky;
  top: 130px;
}

.warning-copy > p {
  margin: 18px 0 26px;
}

.warning-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.warning-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid #eaded9;
}

.warning-list li:first-child {
  padding-top: 0;
}

.warning-list > li > span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
}

.warning-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.12rem;
}

.warning-list p {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
}

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

.demo-shell {
  overflow: hidden;
  border: 1px solid #cfe1d6;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-lg);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  background: #f9fcfa;
}

.tab-btn {
  flex: 1;
  min-height: 54px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--green-800);
  color: white;
  box-shadow: 0 8px 22px rgba(7, 93, 60, 0.17);
}

.panel {
  display: none;
  padding: clamp(24px, 5vw, 54px);
}

.panel.active {
  display: block;
}

.input-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  padding: 20px;
  border: 2px solid #c9d9d0;
  border-radius: 16px;
  background: #fbfdfc;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

textarea:focus {
  border-color: var(--green-700);
}

.sample-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.sample-btn {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: var(--green-800);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.sample-btn:hover {
  border-color: var(--green-700);
  background: var(--green-50);
}

.submit-button {
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  border-radius: 14px;
  font-size: 1rem;
}

.subtle-label {
  margin: -3px 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.file-drop {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  border: 2px dashed #a9c9b7;
  border-radius: 18px;
  background: var(--green-50);
  color: var(--body);
  cursor: pointer;
  text-align: center;
}

.file-drop:hover,
.file-drop:focus-visible,
.file-drop:focus-within {
  border-color: var(--green-700);
  background: #eaf7ef;
}

.file-drop:focus-visible {
  outline: 3px solid rgba(11, 142, 89, 0.28);
  outline-offset: 3px;
}

.file-drop strong {
  margin-top: 8px;
  color: var(--green-800);
}

.file-drop span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
}

.upload-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 1.4rem;
  font-weight: 700;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.selected-file {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.result {
  display: none;
  margin-top: 26px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8faf9;
}

.result.visible {
  display: block;
}

.risk-green {
  border-color: #8ac8a5;
  background: #effaf3;
}

.risk-yellow {
  border-color: #e6ca67;
  background: #fff9e7;
}

.risk-red {
  border-color: #e4a39d;
  background: var(--red-light);
}

.risk-headline {
  font-size: 1.4rem;
  font-weight: 700;
}

.result-listen-btn {
  margin-top: 14px;
  border-color: currentColor;
}

.label {
  margin-top: 20px;
  font-weight: 700;
}

.result ul {
  margin: 8px 0 0;
  padding-left: 24px;
}

.result p {
  margin: 8px 0 0;
}

.prewrap {
  white-space: pre-line;
}

.disclaimer {
  color: var(--muted);
  font-size: 0.78rem;
}

.error-text {
  color: var(--red);
  font-weight: 600;
}

.trust-section {
  background: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(60px, 8vw, 110px);
  align-items: center;
}

.trust-copy > p {
  margin: 18px 0 28px;
}

.engine-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.engine-flow span:nth-child(odd) {
  padding: 8px 13px;
  border: 1px solid #b8d8c5;
  border-radius: 9px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.76rem;
  font-weight: 700;
}

.engine-flow span:nth-child(even) {
  color: #8ca399;
  font-weight: 700;
}

.trust-points {
  border-top: 1px solid var(--border);
}

.trust-points article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.trust-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 700;
}

.trust-points h3 {
  margin: 0 0 5px;
  font-size: 1.05rem;
}

.trust-points p {
  margin: 0;
  color: var(--body);
  font-size: 0.88rem;
}

.evidence-section {
  padding-block: 76px;
  background: var(--green-900);
  color: white;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 0.75fr);
  align-items: center;
  gap: 36px;
}

.evidence-heading h2 {
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.evidence-heading > p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.light-kicker {
  color: #82ddb0;
}

.metric {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.metric strong {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.metric span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.developer-section {
  background: #f6faf7;
}

.developer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(55px, 8vw, 100px);
  align-items: center;
}

.developer-copy > p {
  margin: 18px 0 24px;
}

.api-status {
  margin: 0;
}

.api-panel {
  overflow: hidden;
  border: 1px solid #cfe0d6;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.api-panel-header {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--green-900);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
}

.api-panel-header span:last-child {
  color: #90dcb5;
}

.api-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
}

.method {
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
}

.method-post {
  background: #e2f4ea;
  color: #087148;
}

.method-get {
  background: #e9f1ff;
  color: #245da8;
}

.api-row code {
  overflow-wrap: anywhere;
  color: #2e4438;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
}

.api-panel > p {
  margin: 0;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 0.75rem;
}

.line-cta-section {
  padding-block: 70px;
  background: var(--green-100);
}

.line-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.line-cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.line-cta > div > p:last-child {
  margin: 10px 0 0;
}

.site-footer {
  padding-top: 72px;
  background: #071e15;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr;
  gap: 70px;
  padding-bottom: 58px;
}

.footer-logo .brand-mark {
  border-color: #78d6a4;
  background: #0b3524;
}

.footer-logo .brand-copy strong {
  color: white;
}

.footer-logo .brand-copy small {
  color: #9ab4a7;
}

.footer-brand > p,
.company-info p {
  color: #aac0b5;
  font-size: 0.82rem;
}

.footer-brand > p {
  max-width: 360px;
  margin-top: 20px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: white;
  font-size: 0.88rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 9px;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #c5d6cd;
  font-size: 0.8rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
  text-decoration: underline;
}

.company-info p {
  margin: 0 0 12px;
}

.company-info strong {
  color: white;
}

.company-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.company-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.company-links a span[aria-hidden="true"] {
  width: 1.25rem;
  color: #f0c70c;
  text-align: center;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1fr;
  gap: 28px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: #829d90;
  font-size: 0.67rem;
}

.footer-bottom .footer-copyright {
  color: white;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.noscript-note {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  left: 20px;
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  background: #fff1c2;
  color: #493b0a;
  text-align: center;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 58px 70px;
  }

  .hero-copy,
  .hero-checker,
  .accessibility-card {
    grid-column: 1;
    grid-row: auto;
    width: min(100%, 820px);
    margin-inline: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 6vw, 4.2rem);
  }

  .service-cards,
  .steps-grid {
    gap: 16px;
  }

  .service-card,
  .step-card {
    padding: 24px;
  }

  .trust-grid,
  .developer-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 45px;
  }

  .evidence-grid {
    grid-template-columns: 1.35fr repeat(3, 0.75fr);
    gap: 20px;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .header-inner {
    min-height: 72px;
  }

  .header-cta {
    min-height: 44px;
    padding: 9px 15px;
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 41px;
    height: 34px;
    border-width: 3px;
  }

  .brand-copy strong {
    font-size: 1.15rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 48px 62px;
  }

  .hero-copy {
    text-align: center;
  }

  .audience-tools {
    justify-content: center;
  }

  .profile-hint {
    margin-inline: auto;
  }

  .hero-intro {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .accessibility-card {
    margin-inline: auto;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .proof-grid > div,
  .proof-grid > div:first-child {
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .proof-grid > div:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section,
  .demo-section,
  .warning-section,
  .developer-section {
    padding-block: 78px;
  }

  .services-heading,
  .demo-heading,
  .warning-grid,
  .trust-grid,
  .developer-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .warning-copy {
    position: static;
  }

  .evidence-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .evidence-heading {
    grid-column: 1 / -1;
    margin-bottom: 18px;
    text-align: center;
  }

  .line-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    gap: 36px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-copy small {
    display: none;
  }

  .header-cta {
    padding-inline: 13px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
    letter-spacing: -0.03em;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-checker {
    padding: 12px;
    border-radius: 24px;
  }

  .hero-checker::before {
    display: none;
  }

  .hero-checker-heading {
    padding: 7px 8px 15px;
  }

  .hero-checker-heading h2 {
    font-size: 1.3rem;
  }

  .no-signup-badge {
    padding-inline: 9px;
    font-size: 0.64rem;
  }

  .proof-grid strong {
    font-size: 1.15rem;
  }

  .proof-grid span {
    font-size: 0.68rem;
  }

  .section-heading h2,
  .warning-copy h2,
  .trust-copy h2,
  .developer-copy h2 {
    font-size: 2rem;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .panel {
    padding: 20px;
  }

  .hero-demo-shell .panel {
    padding: 18px;
  }

  .hero-demo-shell textarea {
    min-height: 165px;
  }

  .tab-btn {
    padding-inline: 8px;
    font-size: 0.76rem;
  }

  .audience-label {
    width: 100%;
  }

  .audience-options {
    width: 100%;
  }

  .audience-btn {
    flex: 1;
    padding-inline: 7px;
  }

  .listen-btn:not(.result-listen-btn) {
    width: 100%;
  }

  .sample-row > span {
    width: 100%;
  }

  .warning-list li {
    grid-template-columns: 36px 1fr;
    gap: 10px;
  }

  .trust-points article {
    grid-template-columns: 44px 1fr;
    gap: 13px;
  }

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

  .evidence-heading {
    grid-column: auto;
  }

  .metric {
    min-height: 82px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
    text-align: center;
  }

  .api-row {
    grid-template-columns: 62px 1fr;
    padding-inline: 14px;
  }

  .line-cta {
    align-items: stretch;
    text-align: center;
  }

  .line-cta .button {
    width: 100%;
  }
}

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

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