:root {
  --bg: #f6f3ed;
  --surface: #ffffff;
  --ink: #172224;
  --muted: #617074;
  --line: #d8dfdc;
  --green: #0b6a5c;
  --green-dark: #07473e;
  --yellow: #d7972b;
  --blue: #dcebf0;
  --shadow: 0 22px 60px rgba(23, 34, 36, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }

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

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 8px;
  font-size: 25px;
  font-weight: 800;
}
.brand strong,
.brand small { display: block; }
.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}
nav a { text-decoration: none; color: var(--muted); font-weight: 700; }
nav a:hover { color: var(--green-dark); }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button.primary,
.button.compact {
  color: white;
  background: var(--green);
  border-color: var(--green);
}
.button.compact { min-height: 40px; padding: 9px 14px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 5vw, 72px) 24px;
}

.sub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 5vw, 72px);
  background: #fffaf1;
}

.sub-hero.no-image {
  grid-template-columns: 1fr;
}

.sub-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

.sub-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero h1,
.section-head h1,
.section-head h2,
.config-section h1,
.config-section h2,
.smart-band h2 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}
.hero h1 { max-width: 840px; font-size: clamp(36px, 5vw, 58px); }
.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 20px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-image { margin: 0; }
.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.trust-row span {
  padding: 14px;
  background: white;
  font-weight: 800;
  text-align: center;
}

.section,
.config-section,
.smart-band {
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 72px);
}

.compact-section {
  padding-top: clamp(28px, 4vw, 42px);
  padding-bottom: clamp(28px, 4vw, 42px);
}

.alt-band {
  background: #fffaf1;
}

.single-config {
  min-height: calc(100vh - 98px);
}

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

.single-config .recommendation,
.single-config .text-output {
  grid-column: 1 / -1;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}
.section-head h1,
.section-head h2,
.config-section h1,
.config-section h2,
.smart-band h2 {
  font-size: clamp(30px, 4vw, 48px);
}
.section-head p,
.config-section p,
.smart-band p {
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 16px;
}
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 12px;
  color: white;
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 800;
}
.card h3 { margin: 0 0 10px; line-height: 1.2; }
.card p { color: var(--muted); }
.card a { color: var(--green-dark); font-weight: 800; }

.config-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
  background: #e7efeb;
}
.steps {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  font-weight: 800;
}
.config-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
label,
legend { font-weight: 800; }
select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #b8c4c0;
  border-radius: 8px;
  font: inherit;
}

textarea {
  min-height: 180px;
  resize: vertical;
  color: #203034;
  background: #fbfdfb;
}
.inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
fieldset label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}
fieldset input {
  width: auto;
  min-height: auto;
  margin: 0;
}
.recommendation {
  padding: 18px;
  background: #f5fbf8;
  border: 1px solid #b9d7ce;
  border-radius: 8px;
}
.recommendation span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.recommendation strong {
  display: block;
  margin: 4px 0;
  font-size: 20px;
}
.recommendation p { margin: 0; color: var(--muted); }

.text-output {
  display: grid;
  gap: 8px;
}

.text-output label {
  color: var(--green-dark);
}

.compare-section,
.qa-section,
.guide-section,
.seo-section {
  background: #fffaf1;
}

.compare-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.compare-table > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
  gap: 1px;
}

.compare-table span {
  padding: 15px;
  background: white;
}

.compare-head span {
  color: white;
  background: var(--green-dark);
  font-weight: 800;
}

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

.copy-grid article,
.guide-grid article {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.copy-grid strong,
.guide-grid span {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: white;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.copy-grid p,
.guide-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.guide-grid h3 {
  margin: 0 0 8px;
}

.seo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.seo-tab {
  padding: 12px 14px;
  color: var(--green-dark);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.seo-tab.active,
.seo-tab:hover {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.landing-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.landing-outline,
.landing-page-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.landing-outline {
  padding: 22px;
}

.landing-outline ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 700;
}

.landing-page-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.landing-page-card h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.meta-text {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.landing-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-benefits span {
  padding: 9px 12px;
  color: var(--green-dark);
  background: #edf7f3;
  border: 1px solid #c9e4da;
  border-radius: 8px;
  font-weight: 800;
}

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

.landing-copy div,
.faq-preview {
  padding: 18px;
  background: #fbfdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.landing-copy h4,
.faq-preview h4 {
  margin: 0 0 8px;
}

.landing-copy p,
.faq-preview p {
  margin: 0;
  color: var(--muted);
}

.faq-preview {
  display: grid;
  gap: 10px;
}

.faq-preview details {
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-preview summary {
  cursor: pointer;
  color: var(--green-dark);
  font-weight: 800;
}

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

.faq-list details,
.request-box {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--green-dark);
  font-weight: 800;
}

.faq-list p,
.request-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.request-box {
  max-width: 820px;
  border-left: 6px solid var(--green);
}

.smart-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  color: white;
  background: var(--green-dark);
}
.smart-band .eyebrow,
.smart-band p { color: #d4eee7; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.scenario-grid article {
  padding: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
}
.scenario-grid strong,
.scenario-grid span { display: block; }
.scenario-grid span { color: #d4eee7; }

.priority-list {
  display: grid;
  gap: 12px;
}
.priority-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.priority-list span {
  color: var(--yellow);
  font-weight: 900;
  font-size: 22px;
}
.priority-list p { margin: 0; color: var(--muted); }

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

@media (max-width: 980px) {
  .hero,
  .sub-hero,
  .config-section,
  .smart-band { grid-template-columns: 1fr; }
  .single-config .config-card { grid-template-columns: 1fr; }
  .cards.four,
  .cards.three,
  .trust-row,
  .copy-grid,
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .compare-table > div {
    grid-template-columns: 1fr 1fr;
  }

  .landing-preview,
  .landing-copy {
    grid-template-columns: 1fr;
  }

  .compare-head {
    display: none !important;
  }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { gap: 10px 14px; }
  .hero h1 { font-size: 38px; }
  .cards.four,
  .cards.three,
  .trust-row,
  .scenario-grid,
  .inline-fields,
  .copy-grid,
  .guide-grid,
  .compare-table > div,
  .landing-preview,
  .landing-copy { grid-template-columns: 1fr; }
}
