:root {
  color-scheme: light;
  --bg: #f6f7f3;
  --surface: #ffffff;
  --surface-2: #eef3ef;
  --ink: #17201b;
  --muted: #5c6962;
  --line: #d8ded8;
  --line-strong: #aeb9af;
  --green: #17684a;
  --green-2: #0f5138;
  --teal: #047481;
  --blue: #345d9d;
  --amber: #b46518;
  --red: #b2413b;
  --shadow: 0 20px 50px rgba(32, 40, 34, 0.12);
  --radius: 8px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  top: -60px;
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  background: rgba(246, 247, 243, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 14px 20px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 760;
  gap: 10px;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.brand-mark svg {
  height: 19px;
  width: 19px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 8px;
}

.nav-links a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  padding: 8px 10px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding: 44px 0;
}

.band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.hero {
  padding: 42px 0 56px;
}

.hero-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.kicker {
  align-items: center;
  color: var(--green-2);
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  gap: 8px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.kicker::before {
  background: var(--amber);
  border-radius: 2px;
  content: "";
  display: inline-block;
  height: 10px;
  width: 10px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  margin: 20px 0 0;
  max-width: 700px;
}

.body-large {
  color: var(--muted);
  font-size: 18px;
}

.hero-copy {
  padding-top: 20px;
}

.hero-actions,
.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
button.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 740;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.button:hover,
button.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #fff;
}

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

.button.secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--green);
  color: var(--green-2);
}

.button.ghost {
  color: var(--green);
  padding-left: 0;
  padding-right: 0;
}

.button.warning {
  background: #fff3df;
  border-color: #ecc691;
  color: #704108;
}

.button svg,
.icon {
  height: 18px;
  width: 18px;
}

.domain-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.domain-form-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px;
}

.input,
.textarea {
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.input:focus,
.textarea:focus,
.toggle input:focus-visible + .toggle-ui,
.button:focus-visible {
  box-shadow: 0 0 0 4px rgba(23, 104, 74, 0.18);
  outline: 2px solid transparent;
}

.form-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  padding: 12px 14px;
}

.trust-strip {
  color: var(--muted);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.trust-item {
  align-items: start;
  display: flex;
  gap: 10px;
}

.trust-item svg {
  color: var(--green);
  flex: 0 0 auto;
  margin-top: 3px;
}

.product-shell {
  background: #202821;
  border: 1px solid #0f1712;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #ecf3ed;
  overflow: hidden;
}

.panel-topbar {
  align-items: center;
  background: #141a16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 14px;
}

.panel-dots {
  display: flex;
  gap: 6px;
}

.panel-dots span {
  background: #516157;
  border-radius: 50%;
  display: block;
  height: 9px;
  width: 9px;
}

.panel-status {
  align-items: center;
  color: #bfd3c4;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
}

.status-dot {
  background: #7bd99f;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(123, 217, 159, 0.14);
  display: inline-block;
  height: 8px;
  width: 8px;
}

.product-panel {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
}

.settings-panel {
  background: #1a211c;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.settings-panel h2,
.settings-panel h3,
.preview-panel h2,
.preview-panel h3 {
  color: #fff;
  font-size: 17px;
}

.settings-help {
  color: #aebfaf;
  font-size: 13px;
  margin: 7px 0 16px;
}

.setting-list {
  display: grid;
  gap: 10px;
}

.toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  min-height: 52px;
  padding: 10px;
}

.toggle input {
  opacity: 0;
  position: absolute;
}

.toggle-ui {
  background: #59635b;
  border-radius: 999px;
  display: block;
  height: 26px;
  position: relative;
  width: 46px;
}

.toggle-ui::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 20px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform 140ms ease;
  width: 20px;
}

.toggle input:checked + .toggle-ui {
  background: #33a66d;
}

.toggle input:checked + .toggle-ui::after {
  transform: translateX(20px);
}

.toggle-copy strong {
  color: #f6fbf6;
  display: block;
  font-size: 13px;
}

.toggle-copy span {
  color: #aebfaf;
  display: block;
  font-size: 12px;
}

.preview-panel {
  background: #202821;
  padding: 18px;
}

.preview-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.tab-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #cfe0d3;
  cursor: pointer;
  font-size: 12px;
  font-weight: 740;
  padding: 8px 9px;
}

.tab-button[aria-selected="true"] {
  background: #eef7ef;
  color: #143321;
}

.code-preview {
  background: #101612;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #d5ead9;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  min-height: 330px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mini-metric-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.mini-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 10px;
}

.mini-metric strong {
  color: #fff;
  display: block;
  font-size: 18px;
}

.mini-metric span {
  color: #aebfaf;
  display: block;
  font-size: 12px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 620px;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.price-card,
.doc-card,
.example-card,
.faq-item,
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card,
.doc-card,
.example-card,
.faq-item,
.form-card {
  padding: 22px;
}

.card-icon {
  align-items: center;
  background: #e6f4eb;
  border-radius: 7px;
  color: var(--green);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  margin-bottom: 16px;
  width: 38px;
}

.card p,
.doc-card p,
.example-card p,
.price-card p,
.faq-item p {
  color: var(--muted);
}

.card p:last-child,
.doc-card p:last-child,
.example-card p:last-child,
.faq-item p:last-child {
  margin-bottom: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  background: #edf4ef;
  border: 1px solid #d5e2d8;
  border-radius: 999px;
  color: #24513b;
  display: inline-flex;
  font-size: 12px;
  font-weight: 740;
  padding: 5px 9px;
}

.price-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  position: relative;
}

.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 16px 36px rgba(23, 104, 74, 0.14);
}

.price-label {
  background: #ddf1e4;
  border: 1px solid #abd2bb;
  border-radius: 999px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
  position: absolute;
  right: 16px;
  top: 16px;
}

.price {
  align-items: baseline;
  display: flex;
  gap: 4px;
  margin: 18px 0 4px;
}

.price strong {
  font-size: 38px;
  line-height: 1;
}

.price span {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.feature-list li {
  align-items: start;
  color: var(--muted);
  display: flex;
  gap: 9px;
}

.feature-list li::before {
  color: var(--green);
  content: "\2713";
  font-weight: 900;
  margin-top: -1px;
}

.price-card .button {
  margin-top: auto;
}

.audit-preview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.audit-header {
  align-items: center;
  background: #253027;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
}

.audit-body {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 18px;
}

.score-ring {
  align-items: center;
  background: conic-gradient(var(--green) 0 72%, #e5e9e5 72% 100%);
  border-radius: 50%;
  display: flex;
  height: 150px;
  justify-content: center;
  margin: 12px auto;
  width: 150px;
}

.score-ring span {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  height: 112px;
  justify-content: center;
  width: 112px;
}

.score-ring strong {
  font-size: 34px;
  line-height: 1;
}

.checklist {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  align-items: start;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 9px;
  padding-bottom: 10px;
}

.checklist li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.severity {
  border-radius: 999px;
  color: #fff;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px;
  padding: 2px 7px;
}

.severity.ok {
  background: var(--green);
}

.severity.warn {
  background: var(--amber);
}

.severity.bad {
  background: var(--red);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label.field {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.form-success {
  background: #e8f5eb;
  border: 1px solid #b9ddc3;
  border-radius: 7px;
  color: #1d5939;
  display: none;
  font-weight: 700;
  margin-top: 12px;
  padding: 10px 12px;
}

.form-success[aria-hidden="false"] {
  display: block;
}

.content-page {
  max-width: 860px;
}

.content-page h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.content-page h2 {
  font-size: 30px;
  margin-top: 44px;
}

.content-page h3 {
  margin-top: 26px;
}

.content-page p,
.content-page li {
  color: var(--muted);
  font-size: 17px;
}

.content-page code {
  background: #edf1ed;
  border-radius: 5px;
  color: #213326;
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 2px 5px;
}

.content-page pre {
  background: #101612;
  border-radius: 7px;
  color: #d5ead9;
  font-family: var(--mono);
  font-size: 13px;
  overflow: auto;
  padding: 16px;
}

.source-list {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 18px;
}

.source-list a {
  display: inline-flex;
  margin-right: 12px;
  margin-top: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
}

.faq-item p {
  margin-bottom: 0;
}

.modal-backdrop {
  align-items: center;
  background: rgba(17, 24, 20, 0.58);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 30;
}

.modal-backdrop[aria-hidden="false"] {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 520px;
  padding: 24px;
  width: 100%;
}

.modal-header {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.icon-button {
  align-items: center;
  background: #eef2ee;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.checkout-panel {
  background: #fff8ed;
  border: 1px solid #efca9a;
  border-radius: var(--radius);
  margin-top: 22px;
  padding: 18px;
}

.checkout-panel strong {
  color: #704108;
}

.site-footer {
  background: #17201b;
  color: #dbe4dc;
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr));
}

.site-footer a {
  color: #dbe4dc;
  display: block;
  margin-top: 8px;
}

.site-footer p {
  color: #aebfaf;
  margin-top: 10px;
}

.footer-small {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aebfaf;
  font-size: 13px;
  margin-top: 32px;
  padding-top: 18px;
}

.mobile-menu-button {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .product-panel,
  .grid-2,
  .grid-3,
  .grid-4,
  .price-grid,
  .audit-body,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .settings-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-copy {
    padding-top: 0;
  }

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

@media (max-width: 760px) {
  .nav {
    align-items: start;
    flex-wrap: wrap;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .nav-links,
  .nav-actions {
    display: none;
    flex-basis: 100%;
    width: 100%;
  }

  .nav[data-open="true"] .nav-links,
  .nav[data-open="true"] .nav-actions {
    display: grid;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-actions {
    margin-top: 8px;
  }

  .hero {
    padding-top: 30px;
  }

  .domain-form-row,
  .form-grid.two,
  .price-grid,
  .trust-strip,
  .mini-metric-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 18px;
  }

  .section {
    padding: 54px 0;
  }

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

  .code-preview {
    min-height: 260px;
  }
}
