/*
Theme Name: ContentSmith
Theme URI: https://contentsmith.net
Author: ContentSmith LLC
Description: Professional SaaS website theme for ContentSmith LLC.
Version: 1.7.0
Text Domain: contentsmith
*/

:root {
  --ink: #111827;
  --muted: #667085;
  --line: #d8dee8;
  --paper: #ffffff;
  --soft: #f3eee5;
  --forge: #0b1020;
  --copper: #d77a3d;
  --teal: #20c6b7;
  --plum: #8a6cff;
  --steel: #e7e9ee;
  --blue: #eaf7f5;
  --green: #207a52;
  --shadow: 0 28px 80px rgba(3, 7, 18, .28);
}

* { box-sizing: border-box; }

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

a { color: var(--forge); text-decoration: none; }
a:hover { color: var(--copper); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.wrap {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250,246,238,.94);
  border-bottom: 1px solid rgba(17,24,39,.12);
  backdrop-filter: blur(14px);
}

.topbar {
  display: none;
  background: #101828;
  color: rgba(255,255,255,.88);
  font-size: .9rem;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}

.nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .96rem;
}

.nav-links a {
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: var(--ink);
  color: #fff;
}

.mobile-toggle {
  display: none;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0;
}

p { margin: 0 0 16px; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 18%, rgba(32,198,183,.18), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.75), rgba(250,246,238,.94)),
    linear-gradient(90deg, rgba(17,24,39,.045) 1px, transparent 1px),
    linear-gradient(rgba(17,24,39,.045) 1px, transparent 1px),
    #faf6ee;
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
}

.hero-grid,
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr);
  gap: 72px;
  align-items: center;
  min-height: min(940px, calc(100vh - 96px));
  padding: 118px 0 104px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  background: var(--copper);
  border-radius: 0;
}

.hero h1 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 8vw, 7.25rem);
  max-width: 940px;
  line-height: .95;
}

.hero p {
  max-width: 740px;
  color: #475467;
  font-size: clamp(1.14rem, 2vw, 1.34rem);
}

.editorial-copy {
  padding-top: 24px;
}

.studio-board {
  padding: 20px;
  background: #111827;
  border: 2px solid #111827;
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(17,24,39,.26), 18px 18px 0 #d77a3d;
}

.board-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.board-header span {
  color: var(--teal);
  font-weight: 850;
}

.board-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.board-card {
  min-height: 150px;
  padding: 20px;
  background: #fffaf1;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
}

.board-card.large {
  grid-column: span 2;
  min-height: 260px;
}

.board-card.accent {
  background: var(--teal);
}

.board-card span {
  display: block;
  margin-bottom: 12px;
  color: #8a4b24;
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.board-card.accent span {
  color: #07312e;
}

.board-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.board-card p {
  color: #475467;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-trust span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(23,32,51,.05);
}

.card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

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

.creator-os {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0;
  position: relative;
  min-height: 610px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.os-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 18px;
  color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.06);
  border-right: 1px solid rgba(255,255,255,.10);
  font-size: .85rem;
  font-weight: 800;
}

.os-logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  color: #061017;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 950;
}

.os-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px;
}

.os-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255,255,255,.78);
  font-size: .84rem;
  font-weight: 850;
}

.os-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fb7185;
}

.os-toolbar span:nth-child(2) { background: #fbbf24; }
.os-toolbar span:nth-child(3) { background: var(--teal); margin-right: 10px; }

.doc-sheet {
  align-self: stretch;
  padding: 42px;
  background: #fffaf1;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(16,24,40,.08);
}

.doc-kicker {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.doc-sheet h3 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.doc-sheet p {
  color: #475467;
}

.doc-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.doc-lines i {
  display: block;
  height: 12px;
  background: #e5d7c3;
  border-radius: 999px;
}

.doc-lines i:nth-child(2) { width: 82%; }
.doc-lines i:nth-child(3) { width: 68%; }
.doc-lines i:nth-child(4) { width: 45%; background: var(--teal); }

.os-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.os-bottom div,
.os-notes div {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 16px;
}

.os-bottom strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
}

.os-bottom span {
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}

.os-notes {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  width: min(230px, 42%);
}

.os-notes div {
  background: rgba(11,16,32,.86);
  backdrop-filter: blur(8px);
}

.os-notes b,
.os-notes span {
  display: block;
}

.os-notes b {
  color: #fff;
}

.os-notes span {
  color: rgba(255,255,255,.70);
  font-size: .86rem;
}

.trust-strip {
  background: #fff;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid div {
  padding: 26px 22px;
  border-left: 1px solid rgba(17,24,39,.18);
}

.trust-grid div:last-child {
  border-right: 1px solid rgba(17,24,39,.18);
}

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

.trust-grid strong {
  color: var(--ink);
  font-size: 1rem;
}

.trust-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: .92rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1;
}

.hero .btn.secondary {
  color: var(--ink);
  border-color: rgba(17,24,39,.32);
}

.btn.primary { color: #fff; background: var(--ink); }
.btn.primary:hover { color: #fff; background: #2b3448; }
.btn.secondary { color: var(--ink); background: transparent; border-color: rgba(16, 24, 40, .22); }
.btn.dark { color: #fff; background: var(--forge); }
.btn.disabled { cursor: not-allowed; opacity: .68; }

.section { padding: 82px 0; }
.home .section,
.page-template-default .section {
  padding: 92px 0;
}
.section.soft { background: #fff; }
.section.blue { background: #101828; }
.section.blue h2 { color: #fff; }
.section.blue p { color: rgba(255,255,255,.72); }

.section-head {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: 42px;
}

.section-head.center { margin-inline: auto; text-align: center; }
.section-head h1, .section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.home .section-head h2 { font-size: clamp(2.35rem, 5vw, 3.7rem); }
.home .section-head p { font-size: 1.16rem; }

.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 28px;
  border-top: 0;
  border-left: 5px solid transparent;
}

.pricing-band {
  background:
    linear-gradient(rgba(16,24,40,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,24,40,.035) 1px, transparent 1px),
    #f7f3ec;
  background-size: 32px 32px;
}

.price-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
}

.price-card .actions {
  margin-top: auto;
}

.grid .card:nth-child(1) { border-left-color: var(--teal); }
.grid .card:nth-child(2) { border-left-color: var(--copper); }
.grid .card:nth-child(3) { border-left-color: var(--plum); }
.grid .card:nth-child(4) { border-left-color: var(--forge); }

.feature-showcase {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}

.feature-tile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 30px;
  color: #fff;
  background: #111827;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
}

.feature-tile::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 190px;
  background: radial-gradient(circle, rgba(32,198,183,.32), transparent 65%);
}

.feature-tile:nth-child(2) { background: #1d2939; }
.feature-tile:nth-child(3) { background: #2b2141; }
.feature-tile:nth-child(4) { background: #0f3d3a; }

.feature-tile.tall {
  grid-row: span 2;
}

.feature-tile.wide {
  grid-column: span 2;
}

.feature-tile span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--teal);
  font-weight: 950;
}

.feature-tile h3 {
  color: #fff;
  font-size: 1.55rem;
}

.feature-tile p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: rgba(255,255,255,.72);
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  color: var(--forge);
  background: #eef6f3;
  border: 1px solid var(--steel);
  border-radius: 999px;
  font-size: .83rem;
  font-weight: 800;
}

.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.price { color: var(--ink); font-size: 1.6rem; font-weight: 900; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 24px;
  box-shadow: 0 18px 52px rgba(17,24,39,.10);
}

.plan-card.featured {
  background: #111827;
  border-color: #111827;
  box-shadow: 0 28px 80px rgba(17,24,39,.24), 0 0 0 4px rgba(32,198,183,.28);
  transform: translateY(-10px);
}

.plan-card.featured h3,
.plan-card.featured .price {
  color: #fff;
}

.plan-card.featured p,
.plan-card.featured li,
.plan-card.featured .plan-note {
  color: rgba(255,255,255,.72);
}

.plan-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  color: #061017;
  background: var(--teal);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.plan-card h3 {
  margin-top: 18px;
  font-size: 1.5rem;
}

.plan-card .price {
  margin: 10px 0 6px;
  font-size: 2rem;
}

.plan-note {
  color: var(--muted);
  font-size: .92rem;
}

.plan-card .actions {
  margin-top: auto;
}

.proof-section {
  color: #fff;
  background: #111827;
}

.proof-section h2 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.proof-section p {
  max-width: 700px;
  color: rgba(255,255,255,.72);
  font-size: 1.12rem;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: 44px;
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list div {
  padding: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  color: #fff;
}

.proof-list span {
  margin-top: 6px;
  color: rgba(255,255,255,.68);
}

.service-stack {
  display: grid;
  gap: 14px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.14);
  border-radius: 20px;
  box-shadow: 0 14px 42px rgba(17,24,39,.08);
}

.service-row h3 {
  font-size: 1.32rem;
}

.service-row p {
  margin: 0;
  color: var(--muted);
}

.service-row a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.service-price {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--copper);
  font-weight: 950;
}

.content-lab {
  background: #faf6ee;
}

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

.lab-grid article {
  min-height: 280px;
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.14);
  border-radius: 20px;
  box-shadow: 0 14px 42px rgba(17,24,39,.08);
}

.lab-grid span {
  display: block;
  margin-bottom: 48px;
  color: var(--copper);
  font-weight: 950;
}

.lab-grid h3 {
  font-size: 1.45rem;
}

.lab-grid p {
  color: var(--muted);
}

.account-flow {
  background: #fff;
  border-top: 2px solid rgba(17,24,39,.12);
  border-bottom: 2px solid rgba(17,24,39,.12);
}

.account-layout,
.checkout-layout,
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
  gap: 36px;
  align-items: start;
}

.account-layout h2 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.flow-steps {
  display: grid;
  gap: 14px;
}

.flow-steps div,
.checkout-step,
.order-summary,
.login-panel {
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.14);
  border-radius: 20px;
  box-shadow: 0 14px 42px rgba(17,24,39,.08);
}

.flow-steps strong {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-right: 10px;
  color: #fff;
  background: var(--ink);
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.checkout-main {
  display: grid;
  gap: 22px;
}

.checkout-step span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--copper);
  font-weight: 950;
}

.checkout-step h2,
.order-summary h2,
.login-panel h2 {
  font-size: 1.6rem;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.payment-options div {
  padding: 18px;
  background: #fbf7ef;
  border: 1px solid rgba(17,24,39,.18);
}

.payment-options p {
  margin: 8px 0 0;
  color: var(--muted);
}

.policy-check {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  color: var(--ink);
}

.policy-check input {
  width: auto;
  min-height: auto;
  margin-top: 6px;
}

.order-summary {
  position: sticky;
  top: 22px;
}

.summary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.summary-links a {
  font-weight: 850;
  text-decoration: underline;
}

.login-panel.dark {
  color: #fff;
  background: var(--ink);
}

.login-panel.dark h2,
.login-panel.dark li {
  color: #fff;
}

.login-panel.dark .list li::before {
  background: var(--teal);
}

.list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.list li { display: flex; gap: 10px; color: var(--muted); }
.list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: .58em;
  background: var(--teal);
  border-radius: 2px;
}

.page-hero {
  padding: 70px 0;
  background:
    linear-gradient(rgba(16,24,40,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,24,40,.04) 1px, transparent 1px),
    #f4f1ea;
  background-size: 32px 32px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero p { max-width: 780px; color: var(--muted); font-size: 1.15rem; }

.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--forge);
  border-radius: 4px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: var(--blue); color: var(--ink); }
tr:last-child td { border-bottom: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }

label { display: grid; gap: 7px; color: var(--ink); font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }

.notice {
  padding: 14px 16px;
  color: var(--ink);
  background: #eef6f3;
  border: 1px solid var(--steel);
  border-radius: 6px;
}

.legal-copy { max-width: 880px; }
.legal-copy h2 { margin-top: 34px; font-size: 1.45rem; }
.legal-copy p, .legal-copy li { color: var(--muted); }

.site-footer {
  color: rgba(255,255,255,.86);
  background: #101828;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); font-size: .9rem; }

@media (max-width: 900px) {
  .hero-grid, .editorial-grid, .cols-2, .cols-3, .cols-4, .footer-grid, .trust-grid, .plan-grid, .proof-layout, .lab-grid, .account-layout, .checkout-layout, .login-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding: 64px 0; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4.6rem); }
  .mobile-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    inset: 100% 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #101828;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px; }

  .creator-os {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .os-sidebar {
    grid-template-columns: repeat(5, auto);
    align-items: center;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  .os-logo { margin-bottom: 0; }

  .os-notes {
    position: static;
    width: auto;
    padding: 0 22px 22px;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.10);
  }

  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .feature-tile.tall,
  .feature-tile.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .plan-card.featured {
    transform: none;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-row a {
    justify-self: start;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .os-bottom { grid-template-columns: 1fr; }
  .doc-sheet { padding: 22px; }
  .topbar .wrap, .form-grid { display: grid; grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .home .section,
  .page-template-default .section { padding: 62px 0; }
  .card { padding: 20px; }
  .plan-card { min-height: auto; padding: 22px; }
  .hero-trust span { width: 100%; }
  .feature-tile { padding: 24px; }
  .lab-grid article,
  .checkout-step,
  .order-summary,
  .login-panel {
    padding: 20px;
  }
}
