:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --surface-alt: #f3f4f1;
  --text: #16181a;
  --muted: #5d6268;
  --border: #e3e5e1;
  --accent: #0f766e;
  --accent-strong: #0b5f58;
  --accent-soft: #e3f2ef;
  --on-accent: #ffffff;
  --warn: #9a5b00;
  --warn-soft: #fdf3e2;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --ok: #0f766e;
  --radius: 14px;
  --radius-small: 9px;
  --shadow: 0 1px 2px rgb(16 24 32 / 4%), 0 8px 24px rgb(16 24 32 / 6%);
  --focus: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --container: 1120px;
  --narrow: 760px;
  --space: clamp(4rem, 9vw, 7rem);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1213;
    --surface: #161a1c;
    --surface-alt: #131718;
    --text: #e8ebea;
    --muted: #9aa3a6;
    --border: #262c2e;
    --accent: #2dd4bf;
    --accent-strong: #5eead4;
    --accent-soft: #10302d;
    --on-accent: #062522;
    --warn: #f5b546;
    --warn-soft: #2d2412;
    --danger: #ff8a7a;
    --danger-soft: #34181a;
    --ok: #2dd4bf;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

html.is-loading body {
  opacity: 0;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: opacity 0.2s ease;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 650;
}

h3 {
  font-size: 1.15rem;
  font-weight: 620;
}

p {
  margin: 0;
}

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

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-small);
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
}

.brand-mark rect {
  fill: var(--accent);
}

.brand-mark path {
  stroke: var(--on-accent);
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
}

.site-nav {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.lang-switch {
  display: inline-flex;
  margin-left: auto;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.lang-button {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.lang-button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

@media (min-width: 820px) {
  .site-nav {
    display: flex;
  }

  .lang-switch {
    margin-left: 0;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.button:active {
  transform: translateY(1px);
}

.button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button-primary:hover {
  background: var(--accent-strong);
  color: var(--on-accent);
}

.button-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

.button-small {
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.button-large {
  min-height: 3.25rem;
  padding-inline: 2rem;
  font-size: 1.05rem;
}

.button-price {
  padding-left: 0.5rem;
  border-left: 1px solid color-mix(in srgb, var(--on-accent) 35%, transparent);
  font-weight: 500;
}

.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 var(--space);
}

.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.25fr 1fr;
  }
}

.kicker {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-points li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.12em;
}

.demo-card {
  max-width: 24rem;
  margin-inline: auto;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.demo-wave {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 5rem;
}

.demo-wave span {
  flex: 1;
  height: 20%;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.85;
  animation: wave 1.6s ease-in-out infinite;
}

.demo-wave span:nth-child(3n) {
  animation-delay: -0.4s;
}

.demo-wave span:nth-child(3n + 1) {
  animation-delay: -0.8s;
}

.demo-wave span:nth-child(4n) {
  animation-delay: -1.2s;
}

@keyframes wave {
  0%,
  100% {
    height: 18%;
  }

  50% {
    height: 95%;
  }
}

.demo-phrase {
  margin-top: 1.5rem;
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 600;
}

.demo-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.demo-meta {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.section {
  padding: var(--space) 0;
}

.section-alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 550;
}

.report-list {
  display: grid;
  gap: 0.2rem 1rem;
  margin: 1.25rem 0 0;
}

.report-list dt {
  font-weight: 600;
}

.report-list dd {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 650;
}

.steps p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.tier-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.tier-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.tier-disabled {
  background: transparent;
}

.tier-disabled > *:not(.tier-head) {
  opacity: 0.7;
}

.tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.badge {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-muted {
  background: var(--surface-alt);
  color: var(--muted);
  border: 1px solid var(--border);
}

.tier-price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tier-unit {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.tier-desc {
  color: var(--muted);
}

.tier-features {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 auto;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
}

.tier-features li {
  position: relative;
  padding-left: 1.6rem;
}

.tier-features li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.tier .button {
  margin-top: 0.5rem;
}

.licensing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding: 1.75rem 2rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.licensing p {
  margin-top: 0.4rem;
  color: var(--muted);
  max-width: 38rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-0.15rem);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-0.15rem);
}

.faq summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.faq details p {
  padding: 0 1.4rem 1.25rem;
  color: var(--muted);
}

.order-form {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.4);
  background: var(--surface);
  box-shadow: var(--shadow);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.field legend,
.field > label,
.field-row label {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
  padding: 0;
  font-weight: 600;
}

.field > label,
.field-row label {
  margin-bottom: 0;
}

.optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.88rem;
}

.field-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

fieldset .field-row + .field {
  margin-top: 1.25rem;
}

.field-help {
  color: var(--muted);
  font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  resize: vertical;
  min-height: 7rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus);
}

[aria-invalid="true"] {
  border-color: var(--danger) !important;
}

.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 500;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.choice {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.choice-text {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.97rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.choice:hover .choice-text {
  border-color: var(--accent);
}

.choice input:checked + .choice-text {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.choice input:focus-visible + .choice-text {
  box-shadow: var(--focus);
}

.choice input[aria-invalid="true"] + .choice-text {
  border-color: var(--danger);
}

.choices-cards {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .choices-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.choices-cards .choice,
.choices-cards .choice-text {
  display: flex;
  width: 100%;
}

.choices-cards .choice-text {
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-small);
}

.choice-price {
  color: var(--muted);
  font-weight: 500;
}

.choice input:checked + .choice-text .choice-price {
  color: var(--accent);
}

.phrase-list {
  display: grid;
  gap: 0.75rem;
}

.phrase-row {
  display: grid;
  gap: 0.35rem;
}

.phrase-input {
  display: flex;
  gap: 0.5rem;
}

.icon-button {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.icon-button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.icon-button svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}

.phrase-hint {
  font-size: 0.88rem;
  color: var(--muted);
}

.phrase-hint:empty {
  display: none;
}

.phrase-hint[data-level="ok"] {
  color: var(--ok);
}

.phrase-hint[data-level="warn"] {
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-small);
  background: var(--warn-soft);
  color: var(--warn);
}

#add-phrase {
  justify-self: start;
  margin-top: 0.25rem;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  display: grid;
  gap: 0.6rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.form-status:focus {
  outline: none;
}

.form-status:focus-visible {
  box-shadow: var(--focus);
}

.form-status[data-kind="success"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.form-status[data-kind="error"] {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.status-title {
  font-weight: 650;
  font-size: 1.1rem;
}

.form-status[data-kind="error"] .status-title {
  color: var(--danger);
}

.status-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.status-order-label {
  color: var(--muted);
}

.status-order-id {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-small);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  user-select: all;
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-brand {
  color: var(--text);
  font-weight: 650;
}

.footer-tagline {
  margin-top: 0.3rem;
}

.footer-contact .contact-links {
  margin-top: 0.3rem;
}

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.85rem;
}
