:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #607084;
  --line: #d9e0e8;
  --panel: #ffffff;
  --soft: #f3f7fa;
  --accent: #0b7a75;
  --accent-dark: #095f5c;
  --sun: #f2b84b;
  --sky: #dfeef4;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfd;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 253, 0.94);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.top-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius);
  color: white;
  background: var(--accent);
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  justify-content: center;
  gap: 20px;
  color: #425266;
  font-size: 14px;
}

.header-actions {
  gap: 10px;
}

.ghost-button,
.solid-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 16px;
  font-weight: 700;
  white-space: nowrap;
}

.ghost-button {
  border: 1px solid var(--line);
  background: white;
}

.solid-button {
  color: white;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 620px;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(125deg, rgba(223, 238, 244, 0.9), rgba(255, 255, 255, 0.7) 42%, rgba(242, 184, 75, 0.18)),
    var(--soft);
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lead {
  max-width: 640px;
  color: #4c5f73;
  font-size: 19px;
  line-height: 1.65;
}

.domain-search {
  max-width: 640px;
  margin-top: 34px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 50px rgba(23, 32, 42, 0.08);
}

.domain-search label {
  display: block;
  padding: 8px 10px 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.domain-search div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.cms-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.11);
}

.panel-header,
.module-list li,
.system-strip,
.support,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
  color: #435369;
  font-size: 14px;
  font-weight: 700;
}

.module-list,
.frame-links {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.module-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px;
}

.module-list small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.module-list span {
  color: var(--accent-dark);
  font-weight: 800;
}

.system-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -32px clamp(18px, 4vw, 56px) 0;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(23, 32, 42, 0.07);
}

.system-strip article {
  padding: 22px;
}

.system-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section-grid,
.services,
.frames-section,
.support {
  margin: 0 auto;
  padding: clamp(56px, 7vw, 90px) clamp(18px, 4vw, 56px);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
  gap: 18px;
  align-items: stretch;
  max-width: 1320px;
}

.section-heading {
  max-width: 560px;
}

.pricing-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.pricing-card p,
.service-grid p,
.support p {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-card a {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 800;
}

.primary-card {
  color: white;
  background: var(--accent-dark);
}

.primary-card p,
.primary-card a {
  color: rgba(255, 255, 255, 0.84);
}

.badge {
  margin-bottom: 24px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--sun);
  font-size: 12px;
  font-weight: 900;
}

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

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

.service-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: white;
}

.frames-section {
  max-width: 1320px;
}

.frame-links li {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) 1fr;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.frame-links span {
  font-weight: 800;
}

.frame-links a {
  overflow-wrap: anywhere;
  color: var(--accent-dark);
}

.support {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: calc(1320px - 112px);
  margin-bottom: 60px;
  padding: 34px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-actions a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--soft);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .section-grid,
  .service-grid,
  .support {
    grid-template-columns: 1fr;
  }

  .top-nav {
    display: none;
  }

  .site-header {
    gap: 14px;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .system-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .header-actions,
  .domain-search div,
  .frame-links li {
    display: grid;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }
}
