:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f7f4ed;
  color: #17231d;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.7rem;
  left: 0.7rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 0.45rem;
  background: #fff;
  color: #111;
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
}

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

.page {
  overflow: clip;
}

.site-width {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.section-eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: currentColor;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button[data-auth-action].is-disabled,
a[data-auth-action][aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
}

.auth-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
}

.auth-account[hidden],
.auth-runtime-message[hidden] {
  display: none !important;
}

.auth-runtime-message {
  position: relative;
  z-index: 5;
  width: min(66rem, calc(100% - 2rem));
  margin: 0.8rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid #a8422d;
  border-radius: 0.65rem;
  background: #fff7f3;
  box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
  color: #5e2118;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.45;
}

.auth-runtime-message[data-tone="info"] {
  border-color: #506a82;
  background: #f2f8ff;
  color: #19344d;
}

.button--ghost {
  background: transparent;
}

.button__arrow {
  font-size: 1.15em;
  line-height: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.template-footer {
  padding: 2rem 0;
  background: #0b100e;
  color: #dfe8e0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  max-width: 44rem;
  margin: 0;
  color: #aebdaf;
  font-size: 0.87rem;
  line-height: 1.55;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.stealth-logo {
  width: 2.65rem;
  height: 2.65rem;
  object-fit: cover;
  border-radius: 0.55rem;
  filter: brightness(4.2) contrast(1.2);
}

/* Template 01 — MORROW */

.page--morrow {
  --morrow-ink: #193228;
  --morrow-muted: #5e6d63;
  --morrow-paper: #f6f2e8;
  --morrow-sage: #d7e6ca;
  --morrow-accent: #ef7549;
  background: var(--morrow-paper);
  color: var(--morrow-ink);
}

.morrow-header {
  position: relative;
  z-index: 3;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgb(25 50 40 / 12%);
}

.morrow-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.morrow-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}

.morrow-brand__mark {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50% 50% 48% 52%;
  background: var(--morrow-accent);
  color: #fff;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.84rem;
}

.morrow-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: #405148;
  font-size: 0.92rem;
  font-weight: 650;
}

.morrow-nav a {
  text-decoration: none;
}

.morrow-nav a:hover {
  text-decoration: underline;
}

.morrow-header__cta {
  background: var(--morrow-ink);
  color: #fff;
}

.morrow-hero {
  position: relative;
  padding: clamp(3.2rem, 7vw, 6.5rem) 0 4.4rem;
}

.morrow-hero::before {
  position: absolute;
  z-index: 0;
  top: -5rem;
  right: -13rem;
  width: 38rem;
  height: 38rem;
  border-radius: 47% 53% 56% 44%;
  background: var(--morrow-sage);
  content: "";
  opacity: 0.76;
}

.morrow-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(22rem, 0.86fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6.5rem);
}

.morrow-kicker {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: #597148;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.morrow-kicker::before {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--morrow-accent);
  content: "";
}

.morrow-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.morrow-hero h1 em {
  color: var(--morrow-accent);
  font-style: italic;
}

.morrow-hero__copy {
  max-width: 37rem;
  margin: 1.5rem 0 1.8rem;
  color: var(--morrow-muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.morrow-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.morrow-hero__primary {
  background: var(--morrow-accent);
  color: #241509;
}

.morrow-hero__secondary {
  border-color: rgb(25 50 40 / 22%);
  color: var(--morrow-ink);
}

.morrow-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  color: #607264;
  font-size: 0.8rem;
}

.morrow-note__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7b9c70;
}

.morrow-workspace {
  position: relative;
  padding: 0.9rem;
  border: 1px solid rgb(25 50 40 / 13%);
  border-radius: 1.2rem;
  background: rgb(255 255 255 / 75%);
  box-shadow: 0 28px 55px rgb(39 61 47 / 15%);
  transform: rotate(1.1deg);
}

.morrow-workspace__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.2rem 0.8rem;
  color: #698073;
  font-size: 0.74rem;
  font-weight: 750;
}

.morrow-workspace__dots {
  display: flex;
  gap: 0.3rem;
}

.morrow-workspace__dots span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #d6ded4;
}

.morrow-workspace__dots span:first-child {
  background: var(--morrow-accent);
}

.morrow-workspace__body {
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: #fffdf9;
}

.morrow-workspace label {
  display: block;
  margin-bottom: 0.65rem;
  color: #486252;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.morrow-workspace textarea {
  width: 100%;
  min-height: 8.8rem;
  resize: vertical;
  padding: 0;
  border: 0;
  background: transparent;
  color: #32463a;
  font-size: 0.94rem;
  line-height: 1.6;
}

.morrow-workspace textarea::placeholder {
  color: #8f9c92;
}

.morrow-workspace__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e8ede6;
}

.morrow-workspace__controls span {
  color: #708174;
  font-size: 0.75rem;
}

.morrow-workspace__sample {
  min-height: auto;
  padding: 0.5rem 0.7rem;
  border: 0;
  border-radius: 0.4rem;
  background: var(--morrow-sage);
  color: #294332;
  font-size: 0.77rem;
  font-weight: 750;
}

.morrow-float {
  position: absolute;
  top: -1.65rem;
  right: -1.35rem;
  max-width: 12rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgb(25 50 40 / 10%);
  border-radius: 0.75rem;
  background: #1d352a;
  color: #eff5ea;
  box-shadow: 0 14px 28px rgb(22 44 31 / 22%);
  font-size: 0.78rem;
  line-height: 1.4;
}

.morrow-float strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #b3d89a;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.morrow-proof {
  padding: 1.2rem 0;
  border-top: 1px solid rgb(25 50 40 / 12%);
  border-bottom: 1px solid rgb(25 50 40 / 12%);
}

.morrow-proof__row {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.morrow-proof__intro {
  color: #567060;
  font-size: 0.82rem;
  line-height: 1.45;
}

.morrow-proof__item {
  color: #385648;
  font-size: 0.8rem;
  font-weight: 730;
}

.morrow-proof__item b {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--morrow-ink);
  font-size: 0.96rem;
}

.morrow-section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.morrow-section__heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  margin-bottom: 2.6rem;
}

.morrow-section h2 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.morrow-section__heading p {
  max-width: 35rem;
  margin: 0.55rem 0 0;
  color: var(--morrow-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.morrow-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.morrow-way {
  min-height: 16rem;
  padding: 1.45rem;
  border: 1px solid rgb(25 50 40 / 12%);
  border-radius: 0.9rem;
  background: #fcfaf4;
}

.morrow-way:nth-child(2) {
  background: #dfead7;
}

.morrow-way:nth-child(3) {
  background: #f7ded3;
}

.morrow-way__number {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  margin-bottom: 2.4rem;
  border-radius: 50%;
  background: rgb(25 50 40 / 9%);
  color: var(--morrow-ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.morrow-way h3 {
  margin: 0 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.morrow-way p {
  margin: 0;
  color: #526558;
  font-size: 0.9rem;
  line-height: 1.58;
}

.morrow-pricing {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: #20382d;
  color: #eff4eb;
}

.morrow-pricing__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.morrow-pricing h2 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.morrow-pricing__intro p {
  max-width: 29rem;
  margin: 0;
  color: #c6d5c6;
  font-size: 0.94rem;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.plan {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: 0.85rem;
}

.morrow-pricing .plan {
  border: 1px solid rgb(235 247 229 / 17%);
  background: rgb(255 255 255 / 6%);
}

.morrow-pricing .plan--featured {
  background: #dceccf;
  color: #1a3728;
}

.plan__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan__name {
  margin: 0.7rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 1.25rem 0 0.5rem;
  font-size: 2.45rem;
  font-weight: 750;
  letter-spacing: -0.06em;
}

.plan__price small {
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
}

.plan__description {
  margin: 0;
  color: inherit;
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: 0.82;
}

.plan ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
  color: inherit;
  font-size: 0.82rem;
  line-height: 1.35;
}

.plan li {
  display: flex;
  gap: 0.45rem;
}

.plan li::before {
  color: #96cc71;
  content: "↗";
  font-weight: 800;
}

.plan--featured li::before {
  color: #d65b30;
}

.plan .button {
  width: 100%;
  margin-top: auto;
  border-color: currentColor;
  color: inherit;
}

.morrow-pricing .plan--featured .button {
  background: #1f392b;
  color: #fff;
}

.pricing-note {
  margin: 1.2rem 0 0;
  color: #b8c9b7;
  font-size: 0.77rem;
  line-height: 1.5;
}

.morrow-faq {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.morrow-faq__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 3rem;
}

.morrow-faq h2 {
  max-width: 9ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.faq-list {
  border-top: 1px solid rgb(25 50 40 / 17%);
}

.faq-list details {
  border-bottom: 1px solid rgb(25 50 40 / 17%);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 46rem;
  margin: -0.1rem 0 1.2rem;
  color: var(--morrow-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Template 02 — RELAY */

.page--relay {
  --relay-ink: #e8f0ed;
  --relay-muted: #99aaa8;
  --relay-dark: #081211;
  --relay-panel: #10201e;
  --relay-line: rgb(230 255 245 / 14%);
  --relay-lime: #d3ff64;
  --relay-violet: #9f7bff;
  background: var(--relay-dark);
  color: var(--relay-ink);
}

.relay-header {
  position: relative;
  z-index: 4;
  padding: 1rem 0;
  border-bottom: 1px solid var(--relay-line);
  background: rgb(8 18 17 / 84%);
  backdrop-filter: blur(12px);
}

.relay-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.relay-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-size: 1rem;
  font-weight: 860;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.relay-brand__icon {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 0.38rem;
  background: var(--relay-lime);
  color: #0c201c;
  font-size: 0.93rem;
  transform: rotate(-8deg);
}

.relay-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: #c4d0cc;
  font-size: 0.84rem;
  font-weight: 680;
}

.relay-nav a {
  text-decoration: none;
}

.relay-nav a:hover {
  color: var(--relay-lime);
}

.relay-header__cta {
  border-color: var(--relay-lime);
  background: var(--relay-lime);
  color: #14251d;
}

.relay-hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 5rem;
  isolation: isolate;
}

.relay-hero::before,
.relay-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(10px);
}

.relay-hero::before {
  top: -15rem;
  left: -16rem;
  width: 42rem;
  height: 42rem;
  background: rgb(159 123 255 / 21%);
}

.relay-hero::after {
  right: -11rem;
  bottom: -15rem;
  width: 34rem;
  height: 34rem;
  background: rgb(211 255 100 / 14%);
}

.relay-hero__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}

.relay-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.44rem 0.65rem;
  border: 1px solid var(--relay-line);
  border-radius: 999px;
  color: #c9d8d3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.relay-status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--relay-lime);
  box-shadow: 0 0 0 0.25rem rgb(211 255 100 / 14%);
}

.relay-hero h1 {
  max-width: 12ch;
  margin: 1.3rem 0 0;
  font-size: clamp(3.25rem, 7.8vw, 7.2rem);
  font-weight: 840;
  letter-spacing: -0.085em;
  line-height: 0.87;
}

.relay-hero h1 span {
  color: var(--relay-lime);
}

.relay-hero__lede {
  max-width: 37rem;
  margin: 1.55rem 0 0;
  color: var(--relay-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.relay-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.relay-hero__actions .button:first-child {
  background: var(--relay-lime);
  color: #13251d;
}

.relay-hero__actions .button:last-child {
  border-color: var(--relay-line);
  color: #e3eeea;
}

.relay-hero__aside {
  max-width: 12rem;
  padding-top: 2.3rem;
  color: #7f9690;
  font-size: 0.74rem;
  line-height: 1.5;
}

.relay-hero__aside b {
  display: block;
  margin-bottom: 0.35rem;
  color: #d2ded9;
  font-size: 0.75rem;
}

.relay-console {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 0;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--relay-line);
  border-radius: 0.95rem;
  background: rgb(10 26 23 / 80%);
  box-shadow: 0 35px 80px rgb(0 0 0 / 29%);
}

.relay-console__rail {
  min-height: 22rem;
  padding: 1.25rem;
  border-right: 1px solid var(--relay-line);
  background: rgb(217 255 105 / 4%);
}

.relay-console__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--relay-lime);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.relay-console__label::before {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.relay-console__rail p {
  margin: 1.15rem 0;
  color: #b8c9c3;
  font-size: 0.86rem;
  line-height: 1.62;
}

.relay-console__modes {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.8rem;
}

.relay-mode {
  padding: 0.7rem;
  border: 1px solid var(--relay-line);
  border-radius: 0.45rem;
  color: #879a94;
  font-size: 0.77rem;
}

.relay-mode strong {
  display: block;
  margin-bottom: 0.1rem;
  color: #dce8e4;
  font-size: 0.82rem;
}

.relay-mode--active {
  border-color: rgb(211 255 100 / 42%);
  background: rgb(211 255 100 / 12%);
  color: #b6d9a7;
}

.relay-console__workspace {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.relay-console__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #8ca19b;
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.relay-console__workspace textarea {
  width: 100%;
  min-height: 12rem;
  margin: 1.1rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #dce8e3;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.72;
  resize: vertical;
}

.relay-console__workspace textarea::placeholder {
  color: #587069;
}

.relay-console__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--relay-line);
}

.relay-console__footer span {
  color: #71857f;
  font-size: 0.75rem;
}

.relay-console__button {
  border: 0;
  background: var(--relay-lime);
  color: #14251d;
}

.relay-runway {
  padding: 1rem 0;
  border-top: 1px solid var(--relay-line);
  border-bottom: 1px solid var(--relay-line);
}

.relay-runway__items {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #879b95;
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.relay-runway__items span::before {
  margin-right: 0.45rem;
  color: var(--relay-violet);
  content: "↗";
}

.relay-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.relay-section__heading {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.relay-section h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.45rem, 5.1vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

.relay-section__heading p {
  max-width: 35rem;
  margin: 0.55rem 0 0;
  color: var(--relay-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.relay-workflows {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.8rem;
}

.relay-workflow {
  min-height: 15rem;
  padding: 1.25rem;
  border: 1px solid var(--relay-line);
  border-radius: 0.75rem;
  background: #0d1b19;
}

.relay-workflow:nth-child(1) {
  grid-column: span 5;
  background: #18251f;
}

.relay-workflow:nth-child(2) {
  grid-column: span 3;
}

.relay-workflow:nth-child(3) {
  grid-column: span 4;
  background: #14182a;
}

.relay-workflow__index {
  display: block;
  margin-bottom: 3rem;
  color: var(--relay-violet);
  font-size: 0.72rem;
  font-weight: 750;
}

.relay-workflow:nth-child(1) .relay-workflow__index {
  color: var(--relay-lime);
}

.relay-workflow h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  letter-spacing: -0.035em;
}

.relay-workflow p {
  margin: 0;
  color: #92a5a0;
  font-size: 0.85rem;
  line-height: 1.58;
}

.relay-pricing {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--relay-line);
  border-bottom: 1px solid var(--relay-line);
  background: #0b1513;
}

.relay-pricing__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.relay-pricing h2 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.relay-pricing__top p {
  max-width: 32rem;
  margin: 0;
  color: var(--relay-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.relay-pricing .plan {
  border: 1px solid var(--relay-line);
  background: #0f201d;
  color: #e7efeb;
}

.relay-pricing .plan--featured {
  border-color: rgb(211 255 100 / 50%);
  background: var(--relay-lime);
  color: #16281f;
}

.relay-pricing .plan--featured li::before {
  color: #614bc3;
}

.relay-pricing .plan .button {
  border-color: currentColor;
}

.relay-pricing .plan--featured .button {
  background: #14251d;
  color: #f1ffec;
}

.relay-pricing .pricing-note {
  color: #82958f;
}

.relay-faq {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.relay-faq__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 3rem;
}

.relay-faq h2 {
  max-width: 8ch;
  margin: 0;
  color: var(--relay-lime);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 820;
  letter-spacing: -0.08em;
  line-height: 0.88;
}

.page--relay .faq-list {
  border-color: var(--relay-line);
}

.page--relay .faq-list details {
  border-color: var(--relay-line);
}

.page--relay .faq-list p {
  color: var(--relay-muted);
}

.page--relay .template-footer {
  border-top: 1px solid var(--relay-line);
  background: #060c0b;
}

/* Template 03 — MARGIN */

.page--margin {
  --margin-ink: #1d2c2c;
  --margin-faded: #627170;
  --margin-paper: #fff9ee;
  --margin-clay: #cf644b;
  --margin-mint: #c8e4d7;
  --margin-line: #d6d0c2;
  background: var(--margin-paper);
  color: var(--margin-ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

.margin-header {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--margin-line);
}

.margin-header__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.margin-menu {
  justify-self: start;
  color: var(--margin-faded);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.margin-brand {
  color: var(--margin-ink);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  text-decoration: none;
}

.margin-brand span {
  color: var(--margin-clay);
}

.margin-header__right {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.65rem;
}

.margin-header__cta {
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  border-color: var(--margin-ink);
  border-radius: 0;
  color: var(--margin-ink);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.margin-header__cta:hover {
  background: var(--margin-ink);
  color: #fff;
}

.margin-nav {
  display: none;
}

.margin-hero {
  padding: clamp(3rem, 7vw, 6.3rem) 0 0;
}

.margin-hero__masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--margin-line);
  color: var(--margin-faded);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.margin-hero__masthead p {
  margin: 0;
}

.margin-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  gap: clamp(2.25rem, 6vw, 5rem);
  padding: 2.1rem 0 clamp(3rem, 7vw, 5.5rem);
}

.margin-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.55rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.margin-hero h1 em {
  color: var(--margin-clay);
  font-style: italic;
}

.margin-hero__deck {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: #526361;
  font-size: 1.18rem;
  line-height: 1.52;
}

.margin-hero__meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  color: var(--margin-faded);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
}

.margin-hero__aside {
  align-self: end;
  padding: 1.25rem;
  border-top: 4px solid var(--margin-ink);
  border-bottom: 1px solid var(--margin-line);
  background: #f0ebdf;
}

.margin-hero__aside-label {
  margin: 0 0 1.4rem;
  color: var(--margin-clay);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.margin-hero__aside p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.38;
}

.margin-hero__aside a {
  display: inline-flex;
  margin-top: 1.25rem;
  color: var(--margin-ink);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.78rem;
  font-weight: 780;
  text-decoration: none;
}

.margin-hero__aside a::after {
  margin-left: 0.5rem;
  content: "→";
}

.margin-band {
  padding: 1rem 0;
  background: var(--margin-ink);
  color: #f7f2e9;
  font-family: Inter, ui-sans-serif, sans-serif;
}

.margin-band__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.margin-band span::before {
  margin-right: 0.45rem;
  color: var(--margin-mint);
  content: "✦";
}

.margin-editor {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.margin-editor__grid {
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.margin-editor__intro {
  padding-top: 0.4rem;
}

.margin-editor__intro h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5.1vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.margin-editor__intro p {
  margin: 1.2rem 0 0;
  color: var(--margin-faded);
  font-size: 1rem;
  line-height: 1.65;
}

.margin-editor__callout {
  margin: 2.1rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid var(--margin-line);
  border-bottom: 1px solid var(--margin-line);
  color: #45635c;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.79rem;
  line-height: 1.55;
}

.margin-editor__sheet {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.3rem);
  border: 1px solid var(--margin-line);
  background: #fffdf8;
  box-shadow: 12px 12px 0 var(--margin-mint);
}

.margin-editor__sheet::before {
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  border-top: 3px solid var(--margin-clay);
  content: "";
}

.margin-editor__sheet label {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--margin-faded);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.margin-editor__sheet textarea {
  width: 100%;
  min-height: 12rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #314540;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  line-height: 1.65;
  resize: vertical;
}

.margin-editor__sheet textarea::placeholder {
  color: #9ca59f;
}

.margin-editor__sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--margin-line);
}

.margin-editor__sheet-footer small {
  color: var(--margin-faded);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.73rem;
  line-height: 1.4;
}

.margin-editor__sample {
  border: 0;
  border-bottom: 2px solid var(--margin-clay);
  background: transparent;
  color: var(--margin-ink);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.margin-principles {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  border-top: 1px solid var(--margin-line);
  border-bottom: 1px solid var(--margin-line);
  background: #f0ebdf;
}

.margin-principles__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.margin-principles h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

.margin-principles__heading p {
  max-width: 29rem;
  margin: 0;
  color: var(--margin-faded);
  font-size: 0.98rem;
  line-height: 1.6;
}

.margin-principle {
  display: grid;
  grid-template-columns: 4.6rem 1fr 1.35fr;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem 0;
  border-top: 1px solid var(--margin-line);
}

.margin-principle__number {
  color: var(--margin-clay);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
}

.margin-principle h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.margin-principle p {
  margin: 0;
  color: var(--margin-faded);
  font-size: 0.93rem;
  line-height: 1.62;
}

.margin-pricing {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.margin-pricing__header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 3px solid var(--margin-ink);
}

.margin-pricing h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.margin-pricing__header p {
  max-width: 33rem;
  margin: 0.5rem 0 0;
  color: var(--margin-faded);
  font-size: 1rem;
  line-height: 1.65;
}

.margin-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--margin-line);
}

.margin-plan {
  display: flex;
  min-height: 21rem;
  flex-direction: column;
  padding: 1.55rem;
  border-right: 1px solid var(--margin-line);
}

.margin-plan:last-child {
  border-right: 0;
}

.margin-plan--featured {
  background: var(--margin-mint);
}

.margin-plan .plan__label {
  color: var(--margin-clay);
  font-family: Inter, ui-sans-serif, sans-serif;
}

.margin-plan .plan__name {
  font-family: Georgia, "Times New Roman", serif;
}

.margin-plan .plan__description {
  color: var(--margin-faded);
}

.margin-plan .plan__price {
  color: var(--margin-ink);
}

.margin-plan .plan__price small {
  color: var(--margin-faded);
}

.margin-plan ul {
  color: var(--margin-faded);
}

.margin-plan li::before {
  color: var(--margin-clay);
}

.margin-plan .button {
  border-color: var(--margin-ink);
  border-radius: 0;
  color: var(--margin-ink);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.margin-plan--featured .button {
  background: var(--margin-ink);
  color: #fff;
}

.margin-pricing__note {
  margin: 1rem 0 0;
  color: var(--margin-faded);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.75rem;
  line-height: 1.55;
}

.margin-faq {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--margin-line);
  background: #fbf6eb;
}

.margin-faq__grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 3rem;
}

.margin-faq h2 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.89;
}

.page--margin .faq-list {
  border-color: var(--margin-line);
}

.page--margin .faq-list details {
  border-color: var(--margin-line);
}

.page--margin .faq-list summary {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.9rem;
}

.page--margin .faq-list p {
  color: var(--margin-faded);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.88rem;
}

.page--margin .template-footer {
  background: var(--margin-ink);
}

/* Shared interactive humanizer states */

#humanize,
#pricing {
  scroll-margin-top: 1.25rem;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

button:disabled:hover {
  transform: none;
}

[data-humanizer-output] {
  display: block;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

[data-humanizer-output]:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.humanizer-counter {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.humanizer-status {
  margin: 0.35rem 0 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.humanizer-status[data-tone="error"] {
  font-weight: 700;
}

[data-humanizer].is-over-limit textarea {
  outline: 2px solid #c7472f;
  outline-offset: 3px;
}

/* Morrow humanizer */

.morrow-humanizer {
  display: grid;
  gap: 0.85rem;
}

.morrow-humanizer__label-row,
.morrow-humanizer__output-head,
.morrow-humanizer__output-actions,
.morrow-humanizer__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.morrow-humanizer__label-row .morrow-workspace label {
  margin: 0;
}

.morrow-humanizer__label-row label {
  margin: 0;
}

.morrow-humanizer__label-row .humanizer-counter {
  color: #758879;
}

.morrow-workspace__controls {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.morrow-workspace__sample {
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.morrow-workspace__sample:hover:not(:disabled) {
  background: #c7dfb6;
  transform: translateY(-1px);
}

.morrow-humanizer__clear {
  background: transparent;
  box-shadow: inset 0 0 0 1px #d2ddd0;
}

.morrow-humanizer__output {
  padding: 1rem 1.05rem;
  border: 1px solid #dce5d8;
  border-radius: 0.72rem;
  background: #f1f6ed;
}

.morrow-humanizer__output-head {
  color: #4f6957;
  font-size: 0.69rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.morrow-humanizer__output-head [data-humanizer-usage] {
  color: #718671;
  letter-spacing: 0;
  text-transform: none;
}

.morrow-humanizer__result {
  min-height: 5.8rem;
  margin-top: 0.65rem;
  color: #2c4737;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.97rem;
  line-height: 1.58;
}

.morrow-humanizer__output-actions {
  justify-content: flex-start;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #d8e2d5;
}

.morrow-humanizer__output-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #375c45;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.morrow-humanizer__footer {
  align-items: flex-start;
  padding: 0 0.2rem;
}

.morrow-humanizer__footer > div {
  min-width: 0;
}

.morrow-humanizer__note {
  margin: 0;
  color: #5e7768;
  font-size: 0.73rem;
  line-height: 1.46;
}

.morrow-humanizer .humanizer-status {
  color: #5b705f;
}

.morrow-humanizer .humanizer-status[data-tone="error"] {
  color: #a8442c;
}

.morrow-humanizer__submit {
  flex: 0 0 auto;
  background: var(--morrow-accent);
  color: #241509;
}

[data-humanizer][data-humanizer-state="complete"] .morrow-humanizer__output {
  border-color: #9ab689;
  background: #e6f1df;
}

/* Relay humanizer */

.relay-console__workspace textarea {
  min-height: 8.5rem;
}

.relay-humanizer__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.relay-humanizer__tools button,
.relay-humanizer__output-actions button {
  min-height: 2rem;
  padding: 0.42rem 0.64rem;
  border: 1px solid var(--relay-line);
  border-radius: 0.38rem;
  background: transparent;
  color: #bcd0c9;
  font-size: 0.71rem;
  font-weight: 760;
}

.relay-humanizer__tools button:hover:not(:disabled),
.relay-humanizer__output-actions button:hover:not(:disabled) {
  border-color: rgb(211 255 100 / 55%);
  color: var(--relay-lime);
}

.relay-humanizer__output {
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--relay-line);
  border-radius: 0.55rem;
  background: rgb(4 13 11 / 40%);
}

.relay-humanizer__output-top,
.relay-humanizer__output-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.relay-humanizer__output-top {
  color: #8ba49c;
  font-size: 0.65rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.relay-humanizer__output-top [data-humanizer-usage] {
  color: var(--relay-lime);
  letter-spacing: 0;
  text-transform: none;
}

.relay-humanizer__output output {
  min-height: 5.1rem;
  margin-top: 0.55rem;
  color: #d8e8e1;
  font-size: 0.92rem;
  line-height: 1.62;
}

.relay-humanizer__output-actions {
  justify-content: flex-start;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--relay-line);
}

.relay-console__footer {
  align-items: flex-start;
}

.relay-console__footer > div {
  min-width: 0;
}

.relay-console__footer p {
  margin: 0;
  color: #9aada7;
  font-size: 0.74rem;
  line-height: 1.45;
}

.relay-console .humanizer-status {
  color: #748a83;
}

.relay-console .humanizer-status[data-tone="error"] {
  color: #ffae9c;
}

.relay-console .humanizer-counter {
  color: #b8d1c8;
  letter-spacing: 0;
  text-transform: none;
}

.relay-console__button {
  flex: 0 0 auto;
}

[data-humanizer][data-humanizer-state="complete"] .relay-humanizer__output {
  border-color: rgb(211 255 100 / 48%);
  background: rgb(211 255 100 / 7%);
}

/* Margin humanizer */

.margin-humanizer__label-row,
.margin-humanizer__output-head,
.margin-humanizer__output-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.margin-editor__sheet .margin-humanizer__label-row label {
  margin: 0;
}

.margin-humanizer__label-row .humanizer-counter {
  color: var(--margin-faded);
  font-family: Inter, ui-sans-serif, sans-serif;
}

.margin-editor__sheet textarea {
  min-height: 8.3rem;
}

.margin-humanizer__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.margin-humanizer__tools button,
.margin-humanizer__output-actions button {
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--margin-clay);
  background: transparent;
  color: var(--margin-ink);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.margin-humanizer__tools button:hover:not(:disabled),
.margin-humanizer__output-actions button:hover:not(:disabled) {
  color: var(--margin-clay);
}

.margin-humanizer__output {
  margin-top: 1.1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--margin-ink);
  border-bottom: 1px solid var(--margin-line);
}

.margin-humanizer__output-head {
  color: var(--margin-clay);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.margin-humanizer__output-head [data-humanizer-usage] {
  color: var(--margin-faded);
  letter-spacing: 0;
  text-transform: none;
}

.margin-humanizer__output output {
  min-height: 5.3rem;
  margin-top: 0.7rem;
  color: #3b504b;
  font-size: 1.02rem;
  line-height: 1.58;
}

.margin-humanizer__output-actions {
  justify-content: flex-start;
  margin-top: 0.75rem;
}

.margin-editor__sheet-footer {
  align-items: flex-start;
}

.margin-editor__sheet-footer > div {
  min-width: 0;
}

.margin-editor__sheet-footer .humanizer-status {
  color: var(--margin-faded);
}

.margin-editor__sheet-footer .humanizer-status[data-tone="error"] {
  color: #b3432e;
}

.margin-humanizer__submit {
  flex: 0 0 auto;
  border-color: var(--margin-ink);
  border-radius: 0;
  background: var(--margin-ink);
  color: #fff;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-humanizer][data-humanizer-state="complete"] .margin-humanizer__output {
  border-top-color: var(--margin-clay);
  background: #f7fcf8;
}

@media (max-width: 850px) {
  .site-width {
    width: min(100% - 2rem, 1180px);
  }

  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.4rem 0.6rem;
  }

  .js .morrow-nav,
  .js .relay-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.45rem;
    border: 1px solid rgb(0 0 0 / 12%);
    border-radius: 0.7rem;
    background: #fffdf8;
    box-shadow: 0 15px 35px rgb(0 0 0 / 14%);
  }

  .js .relay-nav {
    border-color: var(--relay-line);
    background: #101f1c;
  }

  .js .morrow-nav.is-open,
  .js .relay-nav.is-open {
    display: flex;
  }

  .js .morrow-nav a,
  .js .relay-nav a {
    padding: 0.8rem;
  }

  .morrow-nav .button,
  .relay-nav .button {
    margin: 0.35rem;
  }

  .morrow-hero__grid,
  .margin-hero__grid,
  .margin-editor__grid,
  .morrow-section__heading,
  .relay-section__heading,
  .morrow-faq__grid,
  .relay-faq__grid,
  .margin-faq__grid,
  .margin-pricing__header {
    grid-template-columns: 1fr;
  }

  .morrow-workspace {
    max-width: 38rem;
    margin-inline: auto;
  }

  .morrow-proof__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .morrow-proof__intro {
    grid-column: 1 / -1;
  }

  .morrow-ways,
  .pricing-grid,
  .margin-plans {
    grid-template-columns: 1fr;
  }

  .morrow-pricing__intro,
  .relay-pricing__top,
  .margin-principles__heading {
    display: block;
  }

  .morrow-pricing__intro p,
  .relay-pricing__top p,
  .margin-principles__heading p {
    margin-top: 1rem;
  }

  .plan {
    min-height: auto;
  }

  .relay-hero__intro {
    grid-template-columns: 1fr;
  }

  .relay-hero__aside {
    display: none;
  }

  .relay-console {
    grid-template-columns: 1fr;
  }

  .relay-console__rail {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--relay-line);
  }

  .relay-console__modes {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1rem;
  }

  .relay-workflow:nth-child(n) {
    grid-column: span 12;
    min-height: auto;
  }

  .margin-header__row {
    grid-template-columns: 1fr auto;
  }

  .margin-brand {
    justify-self: start;
  }

  .margin-menu,
  .margin-header__right {
    display: none;
  }

  .margin-nav {
    display: flex;
    grid-column: 1 / -1;
    gap: 0.8rem;
    overflow: auto;
    padding-top: 0.5rem;
    color: var(--margin-faded);
    font-family: Inter, ui-sans-serif, sans-serif;
    font-size: 0.72rem;
    font-weight: 750;
    white-space: nowrap;
  }

  .margin-nav a {
    text-decoration: none;
  }

  .margin-hero__aside {
    max-width: 32rem;
  }

  .margin-principle {
    grid-template-columns: 3.3rem 1fr;
  }

  .margin-principle p {
    grid-column: 2;
  }

  .margin-plan {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--margin-line);
  }

  .margin-plan:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 570px) {
  .footer-row,
  .morrow-workspace__controls,
  .morrow-humanizer__footer,
  .relay-console__footer,
  .margin-editor__sheet-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .morrow-humanizer__label-row,
  .morrow-humanizer__output-head,
  .relay-humanizer__output-top,
  .margin-humanizer__label-row,
  .margin-humanizer__output-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .morrow-humanizer__submit,
  .relay-console__button,
  .margin-humanizer__submit {
    width: 100%;
  }

  .morrow-hero h1,
  .relay-hero h1,
  .margin-hero h1 {
    font-size: clamp(2.95rem, 14vw, 4.8rem);
  }

  .morrow-float {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .morrow-proof__row {
    grid-template-columns: 1fr;
  }

  .morrow-proof__intro {
    grid-column: auto;
  }

  .relay-runway__items {
    flex-wrap: wrap;
  }

  .relay-console__modes {
    grid-template-columns: 1fr;
  }

  .margin-hero__masthead {
    grid-template-columns: 1fr;
  }

  .margin-band__row {
    flex-direction: column;
  }

  .margin-principle {
    grid-template-columns: 1fr;
  }

  .margin-principle p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Template 04 — WOVEN */

.page--woven {
  --woven-ink: #15294c;
  --woven-paper: #f4f6ff;
  --woven-muted: #52627f;
  --woven-blue: #2856e8;
  --woven-sky: #bce5ff;
  --woven-coral: #ff8066;
  --woven-line: #c7d0e7;
  background:
    linear-gradient(90deg, rgb(21 41 76 / 4%) 1px, transparent 1px),
    linear-gradient(rgb(21 41 76 / 4%) 1px, transparent 1px),
    var(--woven-paper);
  background-size: 2rem 2rem;
  color: var(--woven-ink);
}

.woven-header {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid var(--woven-line);
  background: rgb(244 246 255 / 92%);
  backdrop-filter: blur(12px);
}

.woven-header__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.6rem;
}

.woven-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--woven-ink);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.woven-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.13rem;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0.18rem;
  border: 1px solid var(--woven-ink);
  border-radius: 0.35rem;
  background: var(--woven-sky);
}

.woven-brand__mark i {
  display: block;
  width: 0.25rem;
  height: 1.05rem;
  background: var(--woven-blue);
}

.woven-brand__mark i:nth-child(2) {
  height: 0.62rem;
  background: var(--woven-coral);
}

.woven-brand__mark i:nth-child(3) {
  height: 0.84rem;
  background: var(--woven-ink);
}

.woven-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.85rem, 2vw, 1.7rem);
  color: #465674;
  font-size: 0.78rem;
  font-weight: 780;
}

.woven-nav a {
  text-decoration: none;
}

.woven-nav a:hover {
  color: var(--woven-blue);
}

.woven-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.woven-header__cta {
  min-height: 2.55rem;
  border-radius: 999px;
  background: var(--woven-ink);
  color: #fff;
  font-size: 0.8rem;
}

.woven-hero {
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7.2rem);
}

.woven-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.78fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.woven-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  color: var(--woven-blue);
  font-size: 0.73rem;
  font-weight: 860;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.woven-kicker span {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--woven-coral);
  box-shadow: 0 0 0 0.24rem rgb(255 128 102 / 18%);
}

.woven-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 850;
  letter-spacing: -0.085em;
  line-height: 0.87;
}

.woven-hero h1 em {
  color: var(--woven-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.woven-hero__copy > p:not(.woven-kicker) {
  max-width: 39rem;
  margin: 1.6rem 0 0;
  color: var(--woven-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.woven-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2rem;
}

.woven-hero__primary {
  border-radius: 999px;
  background: var(--woven-blue);
  color: #fff;
}

.woven-text-link {
  color: var(--woven-ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-underline-offset: 0.28em;
}

.woven-text-link span {
  margin-left: 0.25rem;
  color: var(--woven-coral);
}

.woven-weave {
  position: relative;
  padding: 1.1rem;
  border: 1px solid var(--woven-ink);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0.8rem 0.8rem 0 var(--woven-sky);
}

.woven-weave::before {
  position: absolute;
  z-index: 0;
  top: 1rem;
  right: 1rem;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  background: var(--woven-coral);
  content: "";
  opacity: 0.9;
}

.woven-weave__row,
.woven-weave__note {
  position: relative;
  z-index: 1;
}

.woven-weave__row {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--woven-line);
}

.woven-weave__row span {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--woven-ink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 850;
}

.woven-weave__row:nth-child(2) span {
  background: var(--woven-blue);
}

.woven-weave__row:nth-child(3) span {
  background: var(--woven-coral);
  color: var(--woven-ink);
}

.woven-weave__row p {
  max-width: 17rem;
  margin: 0;
  color: #344561;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  line-height: 1.2;
}

.woven-weave__note {
  margin: 1.1rem 0 0;
  color: var(--woven-muted);
  font-size: 0.78rem;
  font-weight: 670;
  line-height: 1.55;
}

.woven-studio-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--woven-line);
  border-bottom: 1px solid var(--woven-line);
  background: #fff;
}

.woven-section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.woven-section-heading h2,
.woven-method h2,
.woven-pricing h2,
.woven-faq h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.woven-section-heading > div > p {
  max-width: 37rem;
  margin: 0.9rem 0 0;
  color: var(--woven-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.woven-console {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  border: 1px solid var(--woven-ink);
  border-radius: 1rem;
  overflow: hidden;
  background: #fcfdff;
  box-shadow: 1rem 1rem 0 #dfe9fb;
}

.woven-console__input,
.woven-humanizer__output {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.woven-console__input {
  border-right: 1px solid var(--woven-line);
}

.woven-console__label-row,
.woven-humanizer__output-head,
.woven-humanizer__output-actions,
.woven-console__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.woven-console label,
.woven-humanizer__output-head {
  color: var(--woven-muted);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.woven-console .humanizer-counter {
  color: var(--woven-blue);
  letter-spacing: 0;
  text-transform: none;
}

.woven-console textarea {
  width: 100%;
  min-height: 12rem;
  margin-top: 1.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #263a60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.62;
  resize: vertical;
}

.woven-console textarea::placeholder {
  color: #91a0bb;
}

.woven-humanizer__tools,
.woven-humanizer__output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.woven-humanizer__tools button,
.woven-humanizer__output-actions button {
  min-height: 2rem;
  padding: 0.4rem 0.62rem;
  border: 1px solid var(--woven-line);
  border-radius: 999px;
  background: #fff;
  color: #445472;
  font-size: 0.71rem;
  font-weight: 790;
}

.woven-humanizer__tools button:hover:not(:disabled),
.woven-humanizer__output-actions button:hover:not(:disabled) {
  border-color: var(--woven-blue);
  color: var(--woven-blue);
}

.woven-humanizer__output {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #edf4ff;
}

.woven-humanizer__output-head {
  color: var(--woven-blue);
}

.woven-humanizer__output-head [data-humanizer-usage] {
  color: var(--woven-muted);
  letter-spacing: 0;
  text-transform: none;
}

.woven-humanizer__output output {
  flex: 1;
  min-height: 9.2rem;
  margin-top: 1.05rem;
  color: #2c4165;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.65;
}

.woven-humanizer__output-actions {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #cbd8ef;
}

.woven-console__footer {
  grid-column: 1 / -1;
  align-items: flex-start;
  padding: 1rem clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--woven-line);
  background: #fff;
}

.woven-console__footer > div {
  min-width: 0;
}

.woven-console__footer p {
  margin: 0;
  color: var(--woven-muted);
  font-size: 0.75rem;
  line-height: 1.48;
}

.woven-console__footer .humanizer-status[data-tone="error"] {
  color: #aa3d2a;
}

.woven-humanizer__submit {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--woven-ink);
  color: #fff;
}

[data-humanizer][data-humanizer-state="complete"] .woven-humanizer__output {
  background: #e5f6ec;
}

.woven-method {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.woven-method__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.3rem;
}

.woven-method__heading h2 {
  max-width: 9ch;
}

.woven-method__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.woven-method__steps article {
  min-height: 16rem;
  padding: 1.3rem;
  border: 1px solid var(--woven-ink);
  border-radius: 0.75rem;
  background: #fff;
}

.woven-method__steps article:nth-child(2) {
  background: var(--woven-sky);
}

.woven-method__steps article:nth-child(3) {
  background: #ffdad2;
}

.woven-method__steps span {
  display: block;
  margin-bottom: 3.6rem;
  color: var(--woven-blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.woven-method__steps article:nth-child(3) span {
  color: #a3402c;
}

.woven-method__steps h3 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1;
}

.woven-method__steps p {
  margin: 0;
  color: #4e5e78;
  font-size: 0.87rem;
  line-height: 1.6;
}

.woven-pricing {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--woven-ink);
  color: #f8fbff;
}

.woven-pricing__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.woven-pricing .section-eyebrow {
  color: var(--woven-sky);
}

.woven-pricing h2 {
  max-width: 10ch;
}

.woven-pricing__intro > p {
  max-width: 29rem;
  margin: 0;
  color: #b8c7e5;
  font-size: 0.94rem;
  line-height: 1.65;
}

.woven-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.woven-plan {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid rgb(232 240 255 / 22%);
  border-radius: 0.8rem;
  background: rgb(255 255 255 / 7%);
}

.woven-plan--featured {
  border-color: var(--woven-sky);
  background: var(--woven-sky);
  color: var(--woven-ink);
}

.woven-plan .plan__description {
  color: inherit;
}

.woven-plan .plan__price small {
  color: inherit;
}

.woven-plan li::before {
  color: var(--woven-sky);
}

.woven-plan--featured li::before {
  color: var(--woven-coral);
}

.woven-plan .button {
  border-color: currentColor;
  color: inherit;
}

.woven-plan--featured .button {
  border-color: var(--woven-ink);
  background: var(--woven-ink);
  color: #fff;
}

.woven-pricing__note {
  margin: 1.1rem 0 0;
  color: #aab9d7;
  font-size: 0.76rem;
  line-height: 1.5;
}

.woven-faq {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: #fff;
}

.woven-faq__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 3rem;
}

.woven-faq h2 {
  max-width: 9ch;
}

.page--woven .faq-list {
  border-color: var(--woven-line);
}

.page--woven .faq-list details {
  border-color: var(--woven-line);
}

.page--woven .faq-list p {
  color: var(--woven-muted);
}

.page--woven .template-footer {
  border-top: 1px solid #34496d;
  background: #0c1b35;
}

@media (max-width: 850px) {
  .woven-header__row {
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    padding: 0.75rem 0;
  }

  .woven-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow: auto;
    padding-top: 0.1rem;
    white-space: nowrap;
  }

  .woven-header__actions {
    grid-column: 2;
  }

  .woven-hero__grid,
  .woven-section-heading,
  .woven-faq__grid {
    grid-template-columns: 1fr;
  }

  .woven-weave {
    max-width: 37rem;
  }

  .woven-console {
    grid-template-columns: 1fr;
  }

  .woven-console__input {
    border-right: 0;
    border-bottom: 1px solid var(--woven-line);
  }

  .woven-method__heading,
  .woven-pricing__intro {
    display: block;
  }

  .woven-pricing__intro > p {
    margin-top: 1rem;
  }

  .woven-method__steps,
  .woven-plans {
    grid-template-columns: 1fr;
  }

  .woven-method__steps article,
  .woven-plan {
    min-height: auto;
  }

  .woven-method__steps span {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 570px) {
  .woven-header__row {
    grid-template-columns: 1fr auto;
  }

  .woven-header__cta {
    padding-inline: 0.8rem;
  }

  .woven-hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  .woven-console__footer,
  .woven-console__label-row,
  .woven-humanizer__output-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .woven-humanizer__submit {
    width: 100%;
  }
}
