:root {
  --bg: #0d0f0f;
  --bg-soft: #141716;
  --panel: rgba(19, 23, 22, 0.9);
  --panel-strong: rgba(23, 29, 27, 0.98);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f7f7f4;
  --muted: #b4beb4;
  --accent: #4dff38;
  --accent-deep: #163f11;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(77, 255, 56, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #101212 0%, #090a0a 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
  pointer-events: none;
}

.topbar,
.hero,
.problem-section,
.feature-band,
.workflow-section,
.proof-section,
.pricing-section,
.faq-section,
.early-access-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  width: min(1760px, calc(100% - 96px));
  display: grid;
  grid-template-columns: auto minmax(560px, 1fr);
  align-items: start;
  gap: 28px 44px;
  padding: 34px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
  font-size: clamp(3rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.95;
  justify-self: start;
}

.brand img {
  flex: 0 0 auto;
  width: clamp(132px, 11vw, 160px);
  height: clamp(132px, 11vw, 160px);
  border-radius: 18px;
  box-shadow: 0 22px 42px rgba(77, 255, 56, 0.18);
}

.brand span {
  max-width: 9ch;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
  max-width: 1060px;
  margin-top: 26px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(12, 16, 14, 0.42);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a,
.admin-login-link {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-links a {
  color: var(--muted);
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.nav-links .nav-cta {
  border: 1px solid rgba(77, 255, 56, 0.44);
  color: var(--accent);
  background: rgba(77, 255, 56, 0.09);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.24);
}

.nav-links .nav-cta:hover {
  color: #061005;
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.admin-login-link {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
}

.admin-login-link:hover {
  border-color: rgba(77, 255, 56, 0.55);
  color: var(--accent);
  background: rgba(77, 255, 56, 0.08);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  padding: 44px 0 36px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.feature-band h2 {
  margin: 0;
  font-family: "Avenir Next Condensed", "Avenir Next", sans-serif;
  font-weight: 800;
  line-height: 0.94;
}

.hero h1 {
  max-width: 12ch;
  font-size: 6.1rem;
}

.lead {
  max-width: 40rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero-subhead {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
}

.primary-action {
  background: var(--accent);
  color: #061005;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 20px 42px rgba(77, 255, 56, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.secondary-action {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 0;
}

.hero-stats div,
.feature-band article,
.workflow-grid article,
.proof-panel {
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 36px var(--shadow);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats dt {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 4% 8%;
  border-radius: 32px;
  background:
    linear-gradient(140deg, rgba(77, 255, 56, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%);
  filter: blur(0.5px);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 16px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1d211f 0%, #0f1111 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-screen {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  background: rgb(13, 15, 15);
}

.app-nav,
.status-line,
.panel-label-row,
.week-panel,
.recent-punch,
.metric-row,
.punch-log div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-nav {
  min-height: 38px;
  padding: 0 2px 2px;
}

.app-nav strong {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.app-nav span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.signout-icon {
  position: relative;
  width: 22px;
  height: 28px;
  border: 2px solid var(--accent);
  border-radius: 5px;
}

.signout-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  top: 12px;
  right: -7px;
  background: var(--accent);
}

.app-panel {
  padding: 13px;
  border-radius: 8px;
  background: rgb(26, 28, 28);
}

.employee-status-panel {
  display: grid;
  gap: 10px;
}

.employee-name {
  margin: 0;
  color: var(--text);
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.05;
}

.status-line strong {
  color: var(--muted);
  font-size: 1.78rem;
  font-weight: 900;
  line-height: 1;
}

.status-symbol {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-time,
.week-panel p,
.raised-selector p,
.recent-punch p,
.recent-punch span {
  margin: 0;
  color: var(--muted);
}

.app-time {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.panel-label-row {
  margin-bottom: 10px;
}

.panel-label-row span,
.panel-label-row strong {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.panel-label-row strong {
  color: var(--accent);
}

.raised-selector {
  min-height: 64px;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgb(38, 41, 38);
}

.raised-selector strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1.1;
}

.raised-selector p {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.raised-selector > span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
}

.week-panel strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.week-panel p {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.week-hours {
  color: var(--accent) !important;
  font-size: 1.78rem !important;
  line-height: 1;
}

.status-bar {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-panel {
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-panel img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.mini-label,
.card-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-text,
.shift-card p,
.proof-grid p,
.workflow-grid p,
.feature-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.shift-card {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.shift-card.active {
  background: linear-gradient(180deg, rgba(77, 255, 56, 0.15), rgba(77, 255, 56, 0.06));
  border-color: rgba(77, 255, 56, 0.28);
}

.shift-card h2 {
  margin: 0 0 6px;
  font-size: 2rem;
  line-height: 1;
}

.metric-row {
  gap: 12px;
}

.metric-row article {
  flex: 1;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.metric-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.metric-row strong {
  font-size: 1.4rem;
}

.cta-stack {
  display: grid;
  gap: 9px;
}

.big-button {
  min-height: 72px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #081107;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.big-button.danger {
  background: #ff4738;
  color: #081107;
}

.sync-panel {
  display: grid;
  gap: 0;
}

.synced-status {
  margin: 0;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 900;
}

.recent-panel h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.recent-punch {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 11px;
  padding: 5px 0;
}

.recent-punch > strong {
  width: 34px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.recent-punch .out-punch {
  color: #ff4738;
}

.recent-punch p {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.recent-punch span {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  line-height: 1.3;
}

.punch-log {
  display: grid;
  gap: 10px;
}

.punch-log div {
  gap: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.punch-log span {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 48px 0 36px;
}

.problem-section {
  padding: 40px 0 36px;
}

.problem-lead {
  max-width: 52rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.problem-grid article {
  padding: 24px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(77, 255, 56, 0.04), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: 0 18px 36px var(--shadow);
}

.problem-grid h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.problem-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-band article,
.workflow-grid article {
  padding: 24px;
}

.feature-band h2 {
  font-size: 2rem;
  margin: 0 0 14px;
}

.workflow-section,
.proof-section,
.pricing-section,
.faq-section,
.early-access-section {
  padding: 52px 0;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: 3.35rem;
}

.workflow-grid,
.proof-grid {
  display: grid;
  gap: 18px;
}

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

.workflow-grid article span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(77, 255, 56, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.workflow-grid h3,
.proof-grid h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.proof-panel {
  padding: 30px;
}

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

.proof-grid div {
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.pricing-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(77, 255, 56, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: 0 18px 36px var(--shadow);
}

.pricing-grid .pricing-card-free {
  border-color: rgba(77, 255, 56, 0.32);
  background:
    linear-gradient(180deg, rgba(77, 255, 56, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.tier-note {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-grid h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.15rem;
}

.pricing-grid .price {
  margin: 0;
  color: var(--accent);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
}

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

.pricing-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

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

.pricing-action {
  min-height: 46px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid rgba(77, 255, 56, 0.46);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #061005;
  background: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.pricing-card-free ul {
  margin-bottom: 22px;
}

.pricing-card-free li:first-child {
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.faq-list article {
  padding: 22px 24px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 36px var(--shadow);
}

.faq-list h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.early-access-panel {
  padding: 32px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(77, 255, 56, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
  box-shadow: 0 18px 36px var(--shadow);
}

.early-access-subhead {
  max-width: 50rem;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

.registration-callout {
  align-items: center;
}

.registration-callout p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.6;
}

.registration-callout .secondary-action {
  min-height: 54px;
}

.early-access-form label {
  display: grid;
  gap: 8px;
}

.early-access-form label span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.early-access-form input,
.early-access-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  outline: none;
}

.early-access-form input::placeholder,
.early-access-form textarea::placeholder {
  color: #7f8a7f;
}

.early-access-form input:focus,
.early-access-form textarea:focus {
  border-color: rgba(77, 255, 56, 0.65);
  box-shadow: 0 0 0 3px rgba(77, 255, 56, 0.12);
}

.early-access-form input:invalid:not(:placeholder-shown),
.early-access-form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 255, 255, 0.22);
}

.early-access-form textarea {
  min-height: 138px;
  padding: 14px;
  resize: vertical;
  line-height: 1.5;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.registration-callout .form-submit {
  grid-column: auto;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
}

.form-status[data-status="loading"] {
  color: var(--muted);
}

.form-status[data-status="success"] {
  color: var(--accent);
}

.form-status[data-status="error"] {
  color: #ff7b6f;
}

.final-cta {
  margin: 24px 0 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.35;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 28px 0 42px;
  border-top: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--text);
  font-size: 1rem;
}

.site-footer span {
  font-size: 0.92rem;
  line-height: 1.4;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
}

.site-footer a:hover {
  color: var(--accent);
}

.legal-page {
  background:
    radial-gradient(circle at top left, rgba(77, 255, 56, 0.12), transparent 28%),
    linear-gradient(180deg, #101212 0%, #090a0a 100%);
}

.legal-topbar {
  align-items: center;
  padding-bottom: 18px;
}

.legal-brand {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.legal-brand img {
  width: clamp(84px, 8vw, 112px);
  height: clamp(84px, 8vw, 112px);
}

.legal-header-actions {
  margin-top: 0;
}

.legal-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.legal-document {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 18px 36px var(--shadow);
}

.legal-hero {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--panel-border);
}

.legal-hero h1 {
  margin: 0;
  font-family: "Avenir Next Condensed", "Avenir Next", sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
}

.legal-updated {
  margin: 14px 0 0;
  color: var(--accent);
  font-weight: 850;
}

.legal-document section {
  padding-top: 28px;
}

.legal-document h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.legal-document h3 {
  margin: 22px 0 8px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.3;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-document ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

.legal-document a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 1120px) {
  .topbar {
    width: min(1180px, calc(100% - 32px));
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-self: start;
    margin-top: 0;
  }

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

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 30px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: 5rem;
  }

  .section-heading h2 {
    font-size: 3rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .feature-band,
  .problem-grid,
  .workflow-grid,
  .proof-grid,
  .pricing-grid,
  .hero-stats,
  .early-access-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: start;
    gap: 18px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .nav-links a,
  .admin-login-link {
    min-height: 50px;
    font-size: 0.9rem;
  }

  .brand {
    gap: 18px;
    font-size: clamp(2.25rem, 9vw, 2.8rem);
    max-width: 100%;
  }

  .brand img {
    width: clamp(96px, 26vw, 118px);
    height: clamp(96px, 26vw, 118px);
  }

  .nav-links .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .admin-login-link {
    justify-content: center;
  }

  .hero,
  .problem-section,
  .workflow-section,
  .proof-section,
  .pricing-section,
  .faq-section,
  .early-access-section {
    padding-bottom: 48px;
  }

  .feature-band,
  .problem-grid,
  .workflow-grid,
  .proof-grid,
  .pricing-grid,
  .hero-stats,
  .early-access-form {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 3.25rem;
  }

  .hero-subhead {
    font-size: 1.25rem;
  }

  .section-heading h2,
  .feature-band h2 {
    font-size: 2.35rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions a {
    width: 100%;
  }

  .phone-frame {
    width: min(100%, 420px);
  }

  .early-access-panel,
  .proof-panel {
    padding: 22px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}
