:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-deep: #134e4a;
  --tint: #ccfbf1;
  --tint-soft: #f0fdfa;
  --ink: #1c1917;
  --text: #57534e;
  --muted: #78716c;
  --stone: #f5f5f4;
  --stone-light: #fafaf9;
  --line: #e7e5e4;
  --white: #ffffff;
  --radius-sm: 16px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(28, 25, 23, 0.06);
  --shadow-lift: 0 22px 50px rgba(28, 25, 23, 0.1);
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --container: 1180px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--stone-light);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 200;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(13, 148, 136, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-quiet {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-quiet:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn-light {
  background: var(--white);
  color: var(--teal-dark);
}

.btn-light:hover {
  background: var(--tint);
  color: var(--teal-deep);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.text-link {
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* Top bar & header */
.topbar {
  background: var(--tint);
  color: var(--teal-deep);
  font-size: 0.9rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
  text-align: center;
}

.topbar p {
  margin: 0;
}

.topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.18);
  flex-shrink: 0;
  animation: breathe 3.6s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(13, 148, 136, 0.06);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(28, 25, 23, 0.05);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  max-height: 44px;
  width: auto;
}

.main-nav {
  justify-self: center;
}

.nav-pill {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 5px;
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.nav-pill a {
  display: block;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-pill a:hover {
  background: var(--white);
  color: var(--teal-dark);
}

.nav-pill a[aria-current="page"] {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.07);
}

.nav-register {
  display: none;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Sections */
.section {
  padding: 104px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-stone {
  background: var(--stone);
}

.section-white {
  background: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--tint-soft);
  border: 1px solid var(--tint);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.18rem;
  line-height: 1.75;
}

/* Hero */
.hero {
  padding: 84px 0 0;
  text-align: center;
  background: radial-gradient(
      ellipse 70% 60% at 50% 0%,
      rgba(204, 251, 241, 0.7),
      transparent 70%
    ),
    var(--stone-light);
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
}

.hero-copy .lead {
  max-width: 660px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-reassure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 28px 0 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.hero-reassure li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-reassure li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-media {
  position: relative;
  margin: 60px auto 0;
  max-width: 1120px;
}

.hero-media > img {
  width: 100%;
  height: clamp(300px, 46vw, 540px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.glass-card {
  position: absolute;
  left: 32px;
  bottom: 32px;
  max-width: 340px;
  padding: 20px 22px;
  text-align: left;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.14);
}

.glass-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.glass-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.4;
}

.glass-meter {
  margin-top: 14px;
  height: 6px;
  border-radius: 6px;
  background: rgba(13, 148, 136, 0.15);
  overflow: hidden;
}

.glass-meter span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.glass-note {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text);
}

.glass-chip {
  position: absolute;
  right: 32px;
  top: 32px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(28, 25, 23, 0.55);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Pace cards */
.pace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pace-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.pace-card.featured {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: rgba(255, 255, 255, 0.82);
  transform: translateY(-14px);
}

.pace-card.featured h3,
.pace-card.featured dt {
  color: var(--white);
}

.pace-ring {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
}

.pace-time {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.pace-card.featured .pace-time {
  color: var(--tint);
}

.pace-card dl {
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.pace-card dt {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}

.pace-card dd {
  margin: 2px 0 0;
  font-size: 0.97rem;
}

/* Day timeline */
.day {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.day-intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.day-line {
  list-style: none;
  position: relative;
  padding-left: 0;
}

.day-line::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--tint), var(--teal), var(--tint));
}

.day-stop {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding-bottom: 44px;
}

.day-stop:last-child {
  padding-bottom: 0;
}

.day-time {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.day-body {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.day-body h3 {
  margin-bottom: 8px;
}

.day-body p:last-child {
  margin-bottom: 0;
}

.day-body img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-top: 18px;
}

.day-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

/* Task explorer */
.explorer {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.explorer-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--stone);
}

.explorer-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.explorer-tab img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.explorer-tab:hover {
  background: rgba(255, 255, 255, 0.7);
}

.explorer-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.07);
}

.explorer-panel {
  padding: 26px 28px 26px 6px;
}

.explorer-panel[hidden] {
  display: none;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head img {
  width: 64px;
  height: 64px;
}

.panel-head h3 {
  margin: 0;
  font-size: 1.6rem;
}

.panel-head span {
  font-size: 0.92rem;
  color: var(--muted);
}

.panel-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.panel-facts div {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--stone-light);
  border: 1px solid var(--line);
}

.panel-facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  line-height: 1.5;
}

.panel-tip {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--tint-soft);
  border-left: 4px solid var(--teal);
  color: var(--teal-deep);
}

.panel-tip strong {
  flex-shrink: 0;
}

/* Estimator */
.estimator {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.estimator-controls {
  padding: 44px;
}

.control {
  margin-bottom: 30px;
}

.control-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.control label {
  font-weight: 700;
  color: var(--ink);
}

.control output {
  font-weight: 700;
  color: var(--teal-dark);
  font-variant-numeric: tabular-nums;
}

.control input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(
    to right,
    var(--teal) 0%,
    var(--teal) var(--fill, 30%),
    var(--line) var(--fill, 30%)
  );
  cursor: pointer;
}

.control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.3);
}

.control input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
}

.control-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}

.control select,
.field input,
.field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--stone-light);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.control select:focus,
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.estimator-output {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
}

.estimator-output .label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tint);
}

.estimate-figure {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.estimate-hours {
  font-size: 0.96rem;
  margin-bottom: 24px;
}

.disclaimer {
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0;
}

/* Principles */
.principles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  counter-reset: principle;
}

.principles li {
  counter-increment: principle;
  padding: 36px 32px 36px 0;
  border-bottom: 1px solid var(--line);
}

.principles li:not(:nth-child(3n + 1)) {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.principles li::before {
  content: counter(principle, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--tint);
  -webkit-text-stroke: 1.5px var(--teal);
  margin-bottom: 18px;
}

.principles p {
  margin: 0;
  font-size: 0.98rem;
}

/* Payout flow */
.payout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.flow li {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -14px;
  width: 14px;
  height: 2px;
  background: var(--teal);
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.flow h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.flow p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

.payout-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.note {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--tint-soft);
  border: 1px solid var(--tint);
}

.note h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.note p {
  margin: 0;
  font-size: 0.95rem;
}

.payout-figure {
  margin: 0;
}

.payout-figure img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Privacy promise */
.promise {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.promise-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.promise-body {
  padding: 56px 52px;
}

.promise-body h2 {
  color: var(--white);
}

.promise-body .eyebrow,
.eyebrow-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--tint);
}

.promise-more {
  margin: 24px 0 0;
}

.promise-more .text-link {
  color: var(--tint);
}

.promise-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.promise-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.promise-list svg {
  width: 28px;
  height: 28px;
}

.promise-list strong {
  color: var(--white);
}

/* Voices */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.voice:nth-child(2) {
  background: var(--tint-soft);
  border-color: var(--tint);
}

.voice blockquote {
  margin: 0 0 24px;
  font-size: 1.02rem;
  color: var(--ink);
  flex-grow: 1;
}

.voice blockquote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--teal);
  margin-bottom: 14px;
}

.voice figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.voice img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.12);
}

.voice figcaption strong {
  display: block;
  color: var(--ink);
}

.voice figcaption span {
  font-size: 0.88rem;
  color: var(--muted);
}

.voice-usage {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--stone);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  align-self: flex-start;
}

.fine-print {
  margin-top: 28px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Workspace */
.workspace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.workspace-item {
  padding: 36px 32px;
  background: var(--white);
  transition: background 0.2s ease;
}

.workspace-item:hover {
  background: var(--stone-light);
}

.workspace-item img {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

.workspace-item p {
  margin: 0;
  font-size: 0.97rem;
}

/* Devices */
.devices {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.devices-media {
  position: relative;
}

.devices-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.device-notes {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.device-note {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.device-note svg {
  width: 52px;
  height: 52px;
}

.device-note h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.device-note p {
  margin: 0;
  font-size: 0.94rem;
}

/* FAQ accordion */
.faq-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
  border-color: var(--tint);
  box-shadow: var(--shadow-soft);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-q::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
  background: var(--tint);
}

.faq-a {
  display: none;
  padding: 0 24px 22px;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

/* CTA */
.cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(
      135deg,
      rgba(19, 78, 74, 0.9),
      rgba(28, 25, 23, 0.75)
    ),
    url("../images/cta-bg.jpg") center / cover no-repeat;
}

.cta h2 {
  color: var(--white);
  max-width: 720px;
  margin-inline: auto;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta .hero-actions {
  margin-top: 8px;
}

.cta-inset {
  margin: 0 20px 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-logo {
  max-height: 42px;
  width: auto;
  margin-bottom: 18px;
  background: var(--white);
  padding: 6px 10px;
  border-radius: 12px;
}

.footer-brand p {
  max-width: 340px;
}

.site-footer address {
  font-style: normal;
  line-height: 1.8;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--tint);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

/* Registration modal */
.reg-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.reg-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.reg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.reg-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 40px 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(28, 25, 23, 0.3);
  transform: translateY(14px);
  transition: transform 0.25s ease;
}

.reg-modal.show .reg-dialog {
  transform: none;
}

.reg-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--stone);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.reg-close:hover {
  background: var(--tint);
}

.reg-dialog h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
  padding-right: 40px;
}

.reg-dialog > p {
  font-size: 0.97rem;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.phone-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 6px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* Page banners */
.page-banner {
  position: relative;
  padding: 0;
}

.page-banner-inner {
  position: relative;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}

.page-banner-inner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 25, 23, 0.82) 0%,
    rgba(28, 25, 23, 0.35) 55%,
    rgba(28, 25, 23, 0.1) 100%
  );
}

.page-banner-copy {
  position: relative;
  z-index: 1;
  padding: 48px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.page-banner-copy h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}

.page-banner-copy p {
  font-size: 1.1rem;
  margin: 0;
}

.crumbs {
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.crumbs a {
  color: var(--tint);
  text-decoration: none;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.6;
}

/* Task library */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 32px;
  padding: 20px 24px;
  margin-bottom: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 20;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chip {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--stone-light);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--teal);
}

.chip[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.filter-count {
  font-size: 0.9rem;
  color: var(--muted);
  align-self: center;
  margin: 0;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.task-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.task-card:hover {
  box-shadow: var(--shadow-soft);
}

.task-card[hidden] {
  display: none;
}

.task-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.task-card-head img,
.task-card-head svg {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.task-card-head h2 {
  font-size: 1.3rem;
  margin: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 16px;
}

.tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--stone);
  color: var(--text);
}

.tag-pace {
  background: var(--tint);
  color: var(--teal-deep);
}

.tag-device {
  background: #fef3c7;
  color: #78350f;
}

.task-card p {
  font-size: 0.98rem;
}

.task-req {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
}

.task-req strong {
  color: var(--ink);
}

.empty-state {
  padding: 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px dashed var(--line);
}

.writers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.writers-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--tint-soft);
  border: 1px solid var(--tint);
}

.writers-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.writers-card li {
  padding-left: 26px;
  position: relative;
}

.writers-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background: var(--teal);
}

.guidelines {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  counter-reset: guide;
}

.guidelines li {
  counter-increment: guide;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.guidelines li::before {
  content: counter(guide);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--teal-deep);
  font-weight: 800;
  font-family: var(--font-head);
}

.guidelines strong {
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
}

.guidelines p {
  margin: 0;
  font-size: 0.95rem;
}

/* FAQ page */
.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.side-nav h2 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 8px 12px;
}

.side-nav ul,
.side-nav ol {
  list-style: none;
  display: grid;
  gap: 2px;
}

.side-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}

.side-nav a:hover {
  background: var(--stone);
  color: var(--ink);
}

.side-nav a.is-active {
  background: var(--tint-soft);
  color: var(--teal-dark);
  font-weight: 700;
}

.faq-group {
  margin-bottom: 56px;
}

.faq-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.faq-group-head h2 {
  margin: 0;
  font-size: 1.6rem;
}

.faq-group-head span {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--stone);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.contact-box h2 {
  color: var(--white);
  font-size: 1.6rem;
}

.contact-box p {
  margin: 0;
}

.contact-box a:not(.btn) {
  color: var(--tint);
}

/* About */
.story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.story-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.pull-quote {
  margin: 28px 0 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--tint-soft);
  border: 1px solid var(--tint);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--teal-deep);
}

.story-body p {
  font-size: 1.05rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.value {
  grid-column: span 2;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.value:nth-child(4),
.value:nth-child(5) {
  grid-column: span 3;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tint);
  margin-bottom: 16px;
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value p {
  margin: 0;
  font-size: 0.97rem;
}

.milestones {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}

.milestones::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--tint);
}

.milestones li {
  position: relative;
  padding-top: 52px;
}

.milestones li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--teal);
}

.milestone-when {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.milestones h3 {
  font-size: 1.08rem;
}

.milestones p {
  font-size: 0.94rem;
  margin: 0;
}

.orgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.orgs img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.check-list strong {
  color: var(--ink);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-card-intro {
  padding: 44px;
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.82);
}

.contact-card-intro h2 {
  color: var(--white);
}

.contact-details {
  padding: 44px;
  margin: 0;
  display: grid;
  gap: 20px;
}

.contact-details dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 500;
}

/* Legal */
.legal-hero {
  padding: 72px 0 48px;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.legal-crumbs a {
  color: var(--teal-dark);
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-hero p {
  max-width: 680px;
  margin: 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.legal-meta li {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.86rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0 104px;
}

.side-nav ol {
  counter-reset: toc;
}

.side-nav ol a {
  display: grid;
  grid-template-columns: 26px 1fr;
}

.side-nav ol li {
  counter-increment: toc;
}

.side-nav ol a::before {
  content: counter(toc) ".";
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.legal-body {
  max-width: 760px;
}

.legal-body section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-body section:last-child {
  border-bottom: 0;
}

.legal-body h2 {
  font-size: 1.45rem;
}

.legal-body h2 span {
  color: var(--teal);
  margin-right: 8px;
}

.legal-body ul {
  padding-left: 22px;
  margin-bottom: 1em;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-callout {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--tint-soft);
  border: 1px solid var(--tint);
  color: var(--teal-deep);
  margin-bottom: 40px;
}

.legal-callout p:last-child {
  margin: 0;
}

/* Responsive */
@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background: var(--stone-light);
    border-bottom: 1px solid transparent;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .main-nav.open {
    max-height: 480px;
    padding: 12px 20px 24px;
    border-bottom-color: var(--line);
    box-shadow: 0 18px 30px rgba(28, 25, 23, 0.08);
  }

  .nav-pill {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 8px;
  }

  .nav-pill a {
    padding: 12px 16px;
    border-radius: 12px;
  }

  .nav-register {
    display: flex;
    width: 100%;
    margin-top: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .explorer {
    grid-template-columns: 1fr;
  }

  .explorer-tabs {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .explorer-tab {
    width: auto;
    flex-shrink: 0;
  }

  .explorer-panel {
    padding: 10px 14px 18px;
  }

  .payout {
    grid-template-columns: 1fr;
  }

  .payout-figure img {
    height: 340px;
  }

  .milestones {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .milestones::before {
    top: 0;
    bottom: 0;
    left: 9px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .milestones li {
    padding: 0 0 32px 48px;
  }

  .milestones li::before {
    top: 2px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 80px 0;
  }

  .pace-grid,
  .voices {
    grid-template-columns: 1fr;
  }

  .pace-card.featured {
    transform: none;
  }

  .day,
  .estimator,
  .promise,
  .devices,
  .faq-preview,
  .writers,
  .story,
  .orgs,
  .contact-card,
  .faq-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .day {
    gap: 36px;
  }

  .day-intro,
  .story-aside {
    position: static;
  }

  .promise-media img {
    min-height: 260px;
    max-height: 320px;
  }

  .promise-body {
    padding: 40px 28px;
  }

  .principles {
    grid-template-columns: 1fr 1fr;
  }

  .principles li,
  .principles li:not(:nth-child(3n + 1)) {
    padding: 30px 24px 30px 0;
    border-left: 0;
  }

  .principles li:nth-child(2n) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .workspace-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow {
    grid-template-columns: 1fr 1fr;
  }

  .flow li:nth-child(2)::after {
    display: none;
  }

  .library-grid,
  .guidelines {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value,
  .value:nth-child(4),
  .value:nth-child(5) {
    grid-column: span 1;
  }

  .value:nth-child(5) {
    grid-column: 1 / -1;
  }

  .side-nav {
    position: static;
  }

  .faq-layout .side-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .faq-layout .side-nav a {
    background: var(--stone);
  }

  .legal-layout {
    gap: 32px;
    padding-top: 40px;
  }

  .devices-media img {
    height: 340px;
  }

  .orgs img {
    height: 320px;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .filter-bar {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .topbar-inner {
    font-size: 0.82rem;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .glass-card {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin: -48px 14px 0;
    background: rgba(255, 255, 255, 0.92);
  }

  .glass-chip {
    right: 14px;
    top: 14px;
    font-size: 0.8rem;
  }

  .day-line::before {
    left: 30px;
  }

  .day-stop {
    grid-template-columns: 62px 1fr;
    gap: 14px;
  }

  .day-time {
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .day-body {
    padding: 20px;
  }

  .day-body img {
    height: 180px;
  }

  .panel-facts {
    grid-template-columns: 1fr;
  }

  .estimator-controls,
  .estimator-output {
    padding: 30px 24px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles li,
  .principles li:nth-child(2n),
  .principles li:not(:nth-child(3n + 1)) {
    padding: 28px 0;
    border-left: 0;
  }

  .flow,
  .payout-notes,
  .workspace-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .flow li::after {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .reg-dialog {
    padding: 32px 22px 24px;
  }

  .page-banner-copy {
    padding: 28px 24px;
  }

  .page-banner-inner {
    min-height: 300px;
  }

  .contact-box,
  .writers-card {
    padding: 28px 24px;
  }

  .contact-card-intro,
  .contact-details {
    padding: 30px 24px;
  }

  .cta {
    padding: 84px 0;
  }

  .cta-inset {
    margin: 0 10px 10px;
  }

  .task-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
