:root {
  --ink: #102526;
  --muted: #62736f;
  --primary: #0f3d3e;
  --primary-2: #224f7a;
  --accent: #b88a44;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dbe4dd;
  --mist: #eef3ef;
  --danger: #9b2f2f;
  --shadow: 0 18px 60px rgba(15, 61, 62, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary-2);
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 221, .86);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--primary);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.button,
button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary,
button.secondary {
  background: var(--primary-2);
}

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

button:disabled {
  opacity: .65;
  cursor: wait;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(10, 31, 35, .12), rgba(10, 31, 35, .82)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2200&q=82") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(251, 250, 246, 0), var(--paper));
  z-index: -1;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 118px;
  color: #fff;
}

.eyebrow {
  color: var(--accent);
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(44px, 8vw, 88px);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
}

h3 {
  font-size: 24px;
}

.hero-copy {
  max-width: 740px;
  font-size: 21px;
  margin: 22px 0 28px;
}

.hero-actions,
.link-row,
.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.trust-bar {
  background: var(--primary);
  color: #fff;
}

.trust-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--mist);
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

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

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

.grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.card,
.sample-card,
.price-panel,
.form-panel,
.dashboard-panel,
.list-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card {
  padding: 24px;
}

.card p,
.sample-card p,
.muted {
  color: var(--muted);
}

.sample-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 150px 1fr;
}

.sample-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.sample-body {
  padding: 18px;
}

.sample-body strong {
  display: block;
  margin-bottom: 4px;
}

.price-panel {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}

.price {
  font-size: 58px;
  font-weight: 900;
  color: var(--primary);
}

.mini-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
}

.mini-list li {
  list-style: none;
  padding-left: 20px;
  position: relative;
}

.mini-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: .7em;
  left: 0;
}

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

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

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

.site-footer {
  background: #0c2d2e;
  color: #dce9e4;
  padding: 42px 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #dce9e4;
}

.page-hero {
  padding: 74px 0 42px;
  background: var(--mist);
}

.page-hero .section-inner {
  display: grid;
  gap: 14px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.form-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 88px;
}

.form-panel {
  padding: 28px;
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
  font-size: 14px;
}

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

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  grid-column: 1 / -1;
}

.notice {
  background: #eef6f4;
  border: 1px solid #cbe1dc;
  color: var(--primary);
  border-radius: 8px;
  padding: 14px 16px;
}

.notice.error,
[data-mode="error"] {
  background: #fff0ee;
  color: var(--danger);
  border-color: #efc9c3;
}

[data-mode="loading"] {
  background: #f7f1e5;
  border-color: #ead7b1;
}

.dashboard-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 86px;
  display: grid;
  gap: 22px;
}

.dashboard-panel {
  padding: 24px;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

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

.list-card {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.list-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
}

.list-card button {
  min-height: 36px;
  padding: 8px 12px;
}

pre.output {
  white-space: pre-wrap;
  background: #0f2526;
  color: #eef7f3;
  border-radius: 8px;
  padding: 16px;
  min-height: 88px;
}

.content {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 88px;
}

.content h2 {
  font-size: 32px;
  margin-top: 34px;
}

@media (max-width: 980px) {
  .grid,
  .grid.five,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-panel,
  .status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 10px;
    font-size: 13px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    padding: 64px 0 92px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    display: grid;
  }

  .grid,
  .grid.five,
  .trust-grid,
  .form-grid,
  .color-grid {
    grid-template-columns: 1fr;
  }

  .price {
    font-size: 44px;
  }

  .form-panel {
    padding: 20px;
  }
}
