:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5b6673;
  --line: #d9e1ea;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --brand: #115e59;
  --brand-strong: #0f4a46;
  --accent: #c2410c;
  --ok: #166534;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

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

nav a:hover {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(17, 94, 89, 0.08), transparent 52%),
    linear-gradient(180deg, #f8fbfd, #ffffff);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 14px 0 8px;
  font-size: 19px;
}

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

.notice {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid #f4c7a4;
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  background: #fff7ed;
  color: #713f12;
}

.notice.strong {
  max-width: 720px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.primary:hover {
  background: var(--brand-strong);
}

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

.button.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.button.full {
  width: 100%;
  margin-top: 10px;
}

.price-panel,
.tool-card,
.output-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-panel {
  padding: 28px;
}

.price {
  color: var(--brand);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.price-panel h2 {
  margin-top: 10px;
  font-size: 24px;
}

.price-panel ul {
  margin: 18px 0;
  padding-left: 20px;
}

.price-panel li {
  margin: 8px 0;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transform: translateY(-20px);
  background: var(--line);
}

.trust-strip div {
  padding: 18px;
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

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

.section-heading p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.steps p,
.split p,
.faq p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 32px;
  align-items: start;
  background: var(--soft);
}

.tool-card {
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b8c3cf;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.inline-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

output {
  display: block;
  margin-top: 16px;
  padding: 14px;
  border-radius: 6px;
  background: #ecfdf5;
  color: var(--ok);
  font-weight: 700;
}

output:empty {
  display: none;
}

.intake {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.wide {
  grid-column: 1 / -1;
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-weight: 700;
}

.checkline input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
}

.output-card {
  margin-top: 22px;
  padding: 20px;
}

.output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

pre {
  max-height: 520px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0f172a;
  color: #e5e7eb;
  white-space: pre-wrap;
}

.faq {
  background: var(--soft);
}

details {
  max-width: 900px;
  margin: 12px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  font-weight: 800;
  cursor: pointer;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #101820;
  color: #fff;
}

footer p {
  margin: 4px 0 0;
  color: #cbd5e1;
}

footer a {
  display: block;
  color: #dbeafe;
  text-decoration: none;
}

@media (max-width: 900px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .steps,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    transform: none;
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 18px;
  }

  .inline-input {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
