:root {
  color-scheme: light;
  --bg: #f6f8f4;
  --paper: #ffffff;
  --ink: #151819;
  --muted: #56615f;
  --line: rgba(21, 24, 25, 0.12);
  --soft: #e5ece7;
  --charcoal: #1a2020;
  --accent: #247b68;
  --accent-dark: #23584d;
  --sage: #6f907f;
  --blue: #526f91;
  --gold: #a98342;
  --shadow: 0 34px 90px rgba(32, 45, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 16%, rgba(36, 123, 104, 0.12), transparent 30rem),
    radial-gradient(circle at 6% 52%, rgba(82, 111, 145, 0.1), transparent 27rem),
    linear-gradient(90deg, rgba(32, 45, 44, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(32, 45, 44, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  transform: translateY(-200%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 0.65rem 0.9rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 244, 0.9);
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand span {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--charcoal);
  color: #f4fff8;
  font-size: 0.75rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(410px, 1.08fr);
  gap: clamp(2rem, 4.3vw, 4.6rem);
  align-items: center;
  min-height: 620px;
  padding: clamp(2.5rem, 5.6vw, 5rem) clamp(1rem, 5vw, 5rem) 3.2rem;
}

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

.proof-label {
  margin: 0 0 0.9rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 4.65vw, 5.05rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

h2 {
  margin-bottom: 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.04rem;
  line-height: 1.18;
}

.hero-text,
.section-head p,
.acceptance p {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.7rem 0;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--charcoal);
  color: #f5fff9;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 2rem 0 0;
}

.signal-row div {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem;
}

.signal-row dt {
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-row dd {
  margin: 0.28rem 0 0;
  font-weight: 820;
}

.showcase {
  position: relative;
  min-height: 560px;
}

.desktop-frame {
  border: 1px solid rgba(21, 21, 20, 0.16);
  border-radius: 1.55rem;
  background: #f5f8f3;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid var(--line);
  background: #e8eee8;
  padding: 0.85rem 1rem;
}

.browser-bar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: #cfd9d2;
}

.site-preview {
  background: #ffffff;
  padding: 1.1rem;
}

.site-preview header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(21, 21, 20, 0.1);
  padding-bottom: 0.9rem;
}

.site-preview header b {
  color: var(--charcoal);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.site-preview nav {
  gap: 0.72rem;
}

.site-preview nav span {
  color: #7b766b;
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-hero {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1.6rem 0;
}

.preview-hero p {
  margin-bottom: 0.55rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-hero h2 {
  max-width: 480px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3.1vw, 2.8rem);
}

.preview-media {
  display: grid;
  min-height: 200px;
  align-content: end;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(82, 111, 145, 0.82), rgba(36, 123, 104, 0.78)),
    linear-gradient(45deg, #e4ece6, #9ba99f);
  overflow: hidden;
  padding: 1rem;
  color: #f9fffb;
}

.preview-media span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-media i {
  display: block;
  width: 66%;
  height: 0.7rem;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: rgba(249, 255, 251, 0.68);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.preview-grid article {
  min-height: 116px;
  border: 1px solid rgba(21, 21, 20, 0.12);
  border-radius: 1rem;
  background: #f3f7f2;
  padding: 1rem;
}

.preview-grid span {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
}

.preview-grid strong {
  display: block;
  margin-top: 1.1rem;
  font-size: 1.02rem;
  line-height: 1.1;
}

.mobile-frame {
  position: absolute;
  right: -0.5rem;
  bottom: 0;
  width: min(248px, 40vw);
  border: 10px solid #191b1a;
  border-radius: 2rem;
  background: #191b1a;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.device-top {
  width: 44%;
  height: 0.32rem;
  margin: 0.35rem auto 0.65rem;
  border-radius: 999px;
  background: #3d403d;
}

.mobile-preview {
  border-radius: 1.25rem;
  background: #ffffff;
  padding: 1rem;
}

.mobile-preview span {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-preview strong {
  display: block;
  margin: 0.5rem 0 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 0.96;
}

.mobile-card {
  height: 8rem;
  border-radius: 0.9rem;
  background:
    linear-gradient(135deg, rgba(36, 123, 104, 0.82), rgba(82, 111, 145, 0.78)),
    #d9e4dc;
}

.mobile-lines {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.9rem;
}

.mobile-lines i {
  height: 0.55rem;
  border-radius: 999px;
  background: #dde7df;
}

.mobile-lines i:nth-child(2) {
  width: 74%;
}

.mobile-lines i:nth-child(3) {
  width: 48%;
}

.section,
.acceptance {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(3rem, 8vw, 6rem);
}

.section-head {
  max-width: 850px;
  margin-bottom: 1.4rem;
}

.token-board,
.cms-model,
.qa-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.token-board article,
.cms-model article,
.qa-grid article,
.wp-column,
.acceptance {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 50px rgba(33, 30, 25, 0.08);
}

.token-board article {
  display: grid;
  gap: 1.2rem;
  align-content: start;
  min-height: 260px;
  padding: 1.2rem;
}

.token-swatch {
  display: block;
  width: 4.3rem;
  height: 4.3rem;
  border-radius: 1rem;
}

.token-swatch.ink {
  background: linear-gradient(135deg, var(--charcoal), #474b47);
}

.token-swatch.type {
  background: linear-gradient(135deg, #ffffff 0 45%, var(--accent) 45% 58%, #222 58%);
}

.token-swatch.space {
  background:
    linear-gradient(90deg, transparent 21%, var(--sage) 21% 27%, transparent 27% 73%, var(--sage) 73% 79%, transparent 79%),
    #e8f0ea;
}

.token-swatch.motion {
  background:
    radial-gradient(circle at 70% 28%, #fffdf8 0 14%, transparent 15%),
    linear-gradient(135deg, var(--blue), var(--gold));
}

.token-board p,
.cms-model p,
.qa-grid p,
.wp-map li,
.acceptance li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1.2rem;
  align-items: stretch;
}

.split .section-head {
  margin-bottom: 0;
}

.wp-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wp-column {
  min-height: 360px;
  padding: 1.4rem;
}

.wp-column.editable {
  background: #1f2b29;
  color: #f7f1e8;
}

.wp-column.editable li {
  color: #d8e1d7;
}

.wp-map ul,
.acceptance ul {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.wp-map li,
.acceptance li {
  border-left: 3px solid var(--accent);
  padding-left: 0.8rem;
}

.cms-model article,
.qa-grid article {
  min-height: 230px;
  padding: 1.2rem;
}

.cms-model span {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cms-model strong {
  display: block;
  margin: 0.65rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1;
}

.qa-grid b {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff8ee;
}

.qa-grid h3 {
  margin-top: 1.3rem;
}

.acceptance {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2.2rem);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.35rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
}

.footer a {
  color: var(--ink);
  font-weight: 850;
}

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

  nav {
    justify-content: flex-start;
  }

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

  .hero {
    min-height: 0;
  }

  .showcase {
    min-height: 560px;
  }

  .token-board,
  .cms-model,
  .qa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    position: relative;
    gap: 0.9rem;
    padding: 0.95rem 1rem 0.85rem;
  }

  .topbar nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.25rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .topbar nav a {
    flex: 0 0 auto;
    padding: 0.38rem 0.58rem;
    white-space: nowrap;
  }

  .hero {
    padding-top: 1.9rem;
  }

  h1 {
    margin-bottom: 0.95rem;
    font-size: clamp(2.35rem, 10.5vw, 3.5rem);
    line-height: 1.02;
  }

  .proof-label {
    margin-bottom: 0.62rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-actions {
    margin: 1.35rem 0;
  }

  .signal-row,
  .preview-hero,
  .preview-grid,
  .wp-map,
  .token-board,
  .cms-model,
  .qa-grid {
    grid-template-columns: 1fr;
  }

  .showcase {
    min-height: 710px;
  }

  .mobile-frame {
    right: 1rem;
    bottom: 0.2rem;
    width: min(235px, 68vw);
  }

  .site-preview header {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-media {
    min-height: 180px;
  }
}
