/* ========================================================================
   ARTUX
   Main stylesheet
   ======================================================================== */


/* ---- Tokens ------------------------------------------------------------ */

:root {
  --page: #F2F2F2;
  --surface: #FFFFFF;
  --surface-2: #FDFDFD;
  --muted-bg: #F1F1F1;

  --ink: #101010;
  --ink-2: #727272;

  --on-dark-2: #B5B5B5;
  --on-dark-3: #9A9A9A;
  --on-dark-4: #8A8A8A;

  --error: #B3261E;
  --accent-green: #0A7A3C;

  --border: #E2E2E2;
  --hairline: rgba(114,114,114,0.10);
  --hairline-dark: rgba(255,255,255,0.08);

  --dark-surface:
    linear-gradient(
      180deg,
      #1A1A1A 0%,
      #050505 100%
    );

  --primary:
    linear-gradient(
      180deg,
      #2A2A2A 0%,
      #050505 100%
    );

  --footer-bg: #050505;

  --r-pill: 90px;
  --r-card: 32px;
  --r-inner: 24px;
  --r-btn: 12px;
  --r-chip: 8px;

  --shadow-card:
    0 24px 24px -16px rgba(8,8,8,.10),
    0 6px 13px 0 rgba(8,8,8,.06);

  --shadow-inset:
    inset 2px 0 8px 2px rgba(248,248,248,.20);

  --rail: 1280px;
  --rail-pad: 40px;
  --section-y: 88px;

  --header-height: 86px;
}


/* ---- Reset ------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;

  font-weight: 400;
  -webkit-font-smoothing: antialiased;

  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--ink-2);
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ---- Layout ------------------------------------------------------------ */

.rail {
  max-width: var(--rail);
  margin: 0 auto;
  padding-left: var(--rail-pad);
  padding-right: var(--rail-pad);
}

.overline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}


/* ========================================================================
   BUTTONS
   ======================================================================== */

.btn {
  display: inline-block;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.013em;
  line-height: 1;

  text-align: center;
  cursor: pointer;

  transition:
    background 160ms ease-out,
    color 160ms ease-out,
    border-color 160ms ease-out,
    filter 160ms ease-out,
    box-shadow 160ms ease-out,
    transform 160ms ease-out;
}


/* Premium black button */

.btn-primary {
  position: relative;
  isolation: isolate;

  background: var(--primary);
  box-shadow: var(--shadow-inset);

  color: #FFFFFF;

  padding: 18px 32px;

  border: none;
  border-radius: var(--r-pill);

  overflow: hidden;
}

.btn-primary::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: inherit;

  background: var(--footer-bg);

  opacity: 0;

  transition: opacity 160ms ease-out;

  z-index: -1;
}

.btn-primary:hover::before,
.btn-primary:active::before {
  opacity: 1;
}

.btn-primary:hover {
  color: #FFFFFF;
}

.btn-primary:active {
  transform: translateY(1px);
}


/* Ghost button */

.btn-ghost {
  background: var(--surface-2);
  color: var(--ink);

  padding: 16.5px 28px;

  border: 1.5px solid var(--border);
  border-radius: var(--r-btn);
}

.btn-ghost:hover {
  background: var(--muted-bg);
  color: var(--ink);
}


/* Light button */

.btn-light {
  background: #FFFFFF;
  color: var(--ink);

  padding: 18px 24px;

  border: none;
  border-radius: var(--r-pill);
}

.btn-light:hover {
  background: var(--border);
  color: var(--ink);
}


/* ========================================================================
   HEADER
   ======================================================================== */

.site-header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  background:
    rgba(242, 242, 242, 0.94);

  border-bottom: 1px solid rgba(114,114,114,0.07);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transform: translateY(0);

  transition:
    transform 280ms cubic-bezier(.16,1,.3,1),
    box-shadow 280ms ease-out;
}


/*
  When hidden, the entire navbar moves above the viewport.

  The arrow itself remains accessible because it sits below the
  header using position:absolute.
*/

.site-header.is-hidden {
  transform: translateY(-100%);
}


/* Header contents */

.header-inner {
  min-height: var(--header-height);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding-top: 20px;
  padding-bottom: 20px;
}


/* Logo */

.logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.logo img {
  display: block;

  height: 46px;
  width: auto;
}


/* Navigation */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 32px;
}

.site-nav > a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.013em;

  white-space: nowrap;
}


/*
  Premium navbar CTA.
*/

.site-nav .nav-cta {
  font-size: 13px;

  padding: 14px 23px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 5px 16px rgba(0,0,0,0.08);
}


/* ========================================================================
   RETRACTED NAVIGATION ARROW
   ======================================================================== */

.nav-toggle {
  position: absolute;

  top: 100%;
  left: 50%;

  transform:
    translateX(-50%)
    translateY(-1px);

  display: grid;
  place-items: center;

  width: 48px;
  height: 28px;

  padding: 0;

  border:
    1px solid
    rgba(114,114,114,0.15);

  border-top: 0;

  border-radius:
    0
    0
    14px
    14px;

  background:
    rgba(242,242,242,0.96);

  color: var(--ink);

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  box-shadow:
    0 5px 16px rgba(0,0,0,0.07);

  transition:
    opacity 180ms ease-out,
    visibility 180ms ease-out,
    background-color 180ms ease-out,
    box-shadow 180ms ease-out,
    transform 180ms ease-out;
}


/*
  Arrow becomes available only when the header is retracted.
*/

.site-header.is-hidden .nav-toggle {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/*
  Actual arrow icon.
*/

.nav-toggle span {
  display: block;

  width: 7px;
  height: 7px;

  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;

  transform:
    rotate(45deg)
    translate(-1px, -1px);

  transition:
    transform 180ms ease-out;
}


.nav-toggle:hover {
  background: var(--surface);

  box-shadow:
    0 7px 20px rgba(0,0,0,0.10);

  transform:
    translateX(-50%)
    translateY(1px);
}


.nav-toggle:hover span {
  transform:
    rotate(45deg)
    translate(0, 0);
}


.nav-toggle:active {
  transform:
    translateX(-50%)
    translateY(2px);
}


/* ========================================================================
   HERO
   ======================================================================== */

.hero {
  padding-top: 142px;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex;

  align-items: center;
  gap: 10px;

  border: 1px solid var(--border);
  background: var(--surface);

  border-radius: var(--r-pill);

  padding: 8px 16px;

  margin-bottom: 32px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.013em;

  color: var(--ink-2);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;

  border-radius: var(--r-pill);

  background: var(--ink);

  display: block;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 76px);

  font-weight: 300;

  letter-spacing: -0.015em;

  line-height: 1.02;

  max-width: 900px;
}

.hero .lead {
  font-size: 19px;
  line-height: 1.55;

  color: var(--ink-2);

  max-width: 620px;

  margin-top: 28px;

  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-top: 40px;

  flex-wrap: wrap;
}


/* ========================================================================
   SHARED SECTION
   ======================================================================== */

.h2 {
  font-size: 40px;

  font-weight: 500;

  letter-spacing: -0.01em;
}

.section-head {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 32px;

  margin-bottom: 36px;
}

.section-note {
  font-size: 15px;

  color: var(--ink-2);

  max-width: 340px;

  text-align: right;
}


/* ========================================================================
   PRICING
   ======================================================================== */

.pricing {
  padding-bottom: 96px;
}

.plans {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;

  align-items: stretch;
}

.plan {
  background: var(--surface);

  border: 1px solid var(--hairline);

  border-radius: var(--r-card);

  padding: 12px;

  display: flex;
  flex-direction: column;

  position: relative;
}

.plan-dark {
  background: var(--dark-surface);

  border: 1px solid var(--ink);

  box-shadow: var(--shadow-card);
}

.plan-dark .overline {
  color: var(--on-dark-3);
}

.plan-dark .price {
  color: #FFFFFF;
}

.plan-dark .price-recurring {
  color: #FFFFFF;
}

.plan-dark .plan-desc {
  color: var(--on-dark-2);
}

.plan-dark .plan-list li {
  color: #FFFFFF;
}

.plan-dark .dot {
  background: #FFFFFF;
}

.plan-badge {
  position: absolute;

  top: -14px;
  left: 32px;

  background: var(--surface);

  color: var(--ink);

  border: 1px solid var(--border);

  border-radius: var(--r-chip);

  padding: 7px 14px;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.plan-badge-offer {
  color: var(--accent-green);
}

.plan-body {
  padding: 28px 20px 24px;

  display: flex;
  flex-direction: column;

  flex: 1;
}

.price-row {
  display: flex;

  align-items: baseline;

  gap: 10px;

  margin: 22px 0 6px;
}

.price {
  font-size: 52px;

  font-weight: 500;

  letter-spacing: -0.015em;

  line-height: 1;
}

.price-from {
  font-size: 15px;

  font-weight: 500;

  color: var(--ink-2);

  line-height: 1;
}

.price-was {
  font-size: 26px;

  font-weight: 500;

  letter-spacing: -0.015em;

  line-height: 1;

  color: var(--ink-2);

  text-decoration-thickness: 2px;
}

.price-recurring {
  font-size: 15px;

  font-weight: 700;

  color: var(--ink);
}

.price-recurring.plan-muted {
  color: var(--ink-2);

  font-weight: 500;
}

.plan-desc {
  font-size: 15px;

  line-height: 1.5;

  color: var(--ink-2);

  margin: 14px 0 28px;

  text-wrap: pretty;
}

.plan-list {
  display: flex;

  flex-direction: column;

  gap: 12px;

  margin-bottom: 28px;
}

.plan-list li {
  display: flex;

  gap: 10px;

  align-items: flex-start;

  font-size: 15px;

  line-height: 1.4;
}

.dot {
  width: 6px;
  height: 6px;

  border-radius: var(--r-pill);

  background: var(--ink);

  margin-top: 7px;

  flex-shrink: 0;
}

.plan-cta {
  margin-top: auto;
}


/* ========================================================================
   FEATURED WORK
   ======================================================================== */

.slider-nav {
  display: flex;

  align-items: center;

  gap: 10px;
}

.round-btn {
  width: 48px;
  height: 48px;

  border-radius: var(--r-pill);

  border: 1.5px solid var(--border);

  background: var(--surface-2);

  color: var(--ink);

  cursor: pointer;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 0;

  transition:
    background 160ms ease-out,
    transform 160ms ease-out;
}

.round-btn:hover {
  background: var(--muted-bg);

  transform: translateY(-1px);
}

.stage-card {
  border: 1px solid var(--hairline);

  border-radius: var(--r-card);

  padding: 12px;

  background: var(--surface-2);
}

.stage {
  border-radius: var(--r-inner);

  overflow: hidden;

  background: var(--muted-bg);

  height: 540px;

  position: relative;

  display: grid;

  place-items: center;

  perspective: 1400px;
}

.slide {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 100%;

  padding: 0 24px;

  transform:
    translate(-50%, -50%);

  transition:
    opacity 380ms ease-out;

  opacity: 0;

  z-index: 1;

  pointer-events: none;
}

.slide.is-active {
  opacity: 1;

  z-index: 3;

  pointer-events: auto;
}

.slide.is-prev {
  z-index: 2;
}

.slide-row {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  transform-style: preserve-3d;

  perspective: 1500px;
}

.slide img {
  height: auto;

  display: block;

  flex-shrink: 0;

  transform-origin: 50% 50%;

  backface-visibility: hidden;
}

.slide .lap {
  width: min(620px, 66%);
}

.slide .ph {
  width: min(232px, 26%);

  margin-left: -8px;
}

.stage-caption {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  padding: 24px 20px 12px;
}

.stage-title {
  font-size: 22px;

  font-weight: 700;

  letter-spacing: -0.005em;
}

.stage-sub {
  font-size: 15px;

  color: var(--ink-2);

  margin-top: 6px;
}

.caption-actions {
  display: flex;

  align-items: center;

  gap: 20px;
}

.stage-visit {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 12px 18px;

  font-size: 14px;

  white-space: nowrap;
}

.stage-visit[hidden] {
  display: none;
}

.dots {
  display: flex;

  align-items: center;

  gap: 8px;
}

.dot-btn {
  width: 8px;
  height: 8px;

  border-radius: var(--r-pill);

  border: none;

  padding: 0;

  cursor: pointer;

  background: var(--border);

  transition:
    width 180ms ease-out,
    background 180ms ease-out;
}

.dot-btn.is-active {
  width: 28px;

  background: var(--ink);
}


/* ========================================================================
   FULL WIDTH BANDS
   ======================================================================== */

.band {
  background: var(--surface);
}

.band-bordered {
  border-top: 1px solid var(--hairline);

  border-bottom: 1px solid var(--hairline);
}

.band-inner {
  padding-top: var(--section-y);

  padding-bottom: var(--section-y);
}

.band-title {
  margin-bottom: 40px;
}


/* ========================================================================
   CARD GRIDS
   ======================================================================== */

.card-grid-4 {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 20px;
}

.mini-card {
  border: 1px solid var(--hairline);

  border-radius: var(--r-inner);

  padding: 24px;

  background: var(--surface-2);
}

.mini-title {
  font-size: 17px;

  font-weight: 700;

  margin-bottom: 10px;
}

.mini-body {
  font-size: 15px;

  line-height: 1.5;

  color: var(--ink-2);
}


/* ========================================================================
   PROCESS
   ======================================================================== */

.process {
  padding-top: var(--section-y);

  padding-bottom: var(--section-y);
}

.step-card {
  background: var(--surface);

  border: 1px solid var(--hairline);

  border-radius: var(--r-inner);

  padding: 24px;
}

.step-num {
  width: 40px;
  height: 40px;

  border-radius: var(--r-pill);

  background: var(--ink);

  color: #FFFFFF;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 15px;

  font-weight: 700;

  margin-bottom: 20px;
}

.step-card .mini-title {
  margin-bottom: 8px;
}

.step-when {
  font-size: 13px;

  font-weight: 700;

  color: var(--ink-2);

  margin-top: 16px;
}


/* ========================================================================
   FAQ
   ======================================================================== */

.faq-grid {
  display: grid;

  grid-template-columns:
    340px 1fr;

  gap: 64px;
}

.faq-title {
  margin-bottom: 16px;
}

.faq-intro {
  font-size: 15px;

  line-height: 1.55;

  color: var(--ink-2);
}

.faq-item {
  border-top: 1px solid var(--hairline);

  padding: 24px 0;
}

.faq-q {
  font-size: 18px;

  font-weight: 700;

  margin-bottom: 10px;
}

.faq-a {
  font-size: 15px;

  line-height: 1.55;

  color: var(--ink-2);

  max-width: 640px;

  text-wrap: pretty;
}


/* ========================================================================
   CONTACT
   ======================================================================== */

.contact {
  padding-top: var(--section-y);

  padding-bottom: var(--section-y);
}

.contact-grid {
  display: grid;

  grid-template-columns:
    340px 1fr;

  gap: 64px;

  align-items: start;
}

.contact-title {
  margin-bottom: 16px;
}

.contact-lead {
  font-size: 15px;

  line-height: 1.55;

  color: var(--ink-2);
}

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 20px;

  max-width: 640px;
}

.field {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.field label {
  font-size: 14px;

  font-weight: 700;

  letter-spacing: 0.013em;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;

  font-size: 15px;

  color: var(--ink);

  background: var(--surface);

  border:
    1.5px solid
    var(--border);

  border-radius: var(--r-btn);

  padding: 14px 16px;

  transition:
    border-color 160ms ease-out,
    box-shadow 160ms ease-out;
}

.field textarea {
  resize: vertical;

  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);

  outline: none;

  box-shadow:
    0 0 0 3px rgba(16,16,16,0.05);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  font-size: 13px;

  font-weight: 500;

  color: var(--error);
}

.contact-submit {
  align-self: flex-start;

  border: none;
}

.form-status {
  font-size: 15px;

  line-height: 1.5;

  color: var(--ink-2);

  min-height: 1.5em;
}

.form-status.is-error {
  color: var(--error);
}

.form-status.is-success {
  color: var(--ink);

  font-weight: 700;
}


/* ========================================================================
   PRIVACY CHECKBOX
   ======================================================================== */

.field-checkbox {
  margin-top: -4px;
}

.checkbox-label {
  position: relative;

  display: flex;

  align-items: flex-start;

  gap: 10px;

  cursor: pointer;

  font-size: 13px;

  font-weight: 500;

  line-height: 1.5;

  color: var(--ink-2);
}

.checkbox-label input {
  position: absolute;

  opacity: 0;

  width: 1px;
  height: 1px;
}

.checkbox-box {
  flex:
    0 0 18px;

  width: 18px;
  height: 18px;

  margin-top: 1px;

  border:
    1.5px solid
    var(--border);

  border-radius: 4px;

  background: var(--surface);

  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out,
    box-shadow 160ms ease-out;
}

.checkbox-label input:checked + .checkbox-box {
  background: var(--ink);

  border-color: var(--ink);
}

.checkbox-label input:checked + .checkbox-box::after {
  content: "";

  display: block;

  width: 5px;
  height: 9px;

  margin:
    2px 0 0 5px;

  border:
    solid
    var(--surface);

  border-width:
    0
    2px
    2px
    0;

  transform: rotate(45deg);
}

.checkbox-label input:focus-visible + .checkbox-box {
  outline:
    2px solid
    var(--ink);

  outline-offset: 3px;
}

.checkbox-text {
  max-width: 540px;
}

.checkbox-text a {
  color: var(--ink);

  text-decoration: underline;

  text-underline-offset: 2px;
}

.checkbox-text a:hover {
  color: var(--ink-2);
}


/* ========================================================================
   CLOSING CTA
   ======================================================================== */

.closing {
  background: var(--dark-surface);
}

.closing-inner {
  padding-top: var(--section-y);

  padding-bottom: var(--section-y);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}

.closing-title {
  font-size: 44px;

  font-weight: 300;

  letter-spacing: -0.015em;

  color: #FFFFFF;

  margin-bottom: 14px;
}

.closing-sub {
  font-size: 17px;

  color: var(--on-dark-2);

  max-width: 480px;
}

.closing-cta {
  padding: 20px 36px;

  white-space: nowrap;
}


/* ========================================================================
   FOOTER
   ======================================================================== */

.site-footer {
  background: var(--footer-bg);
}

.footer-inner {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  padding-top: 32px;

  padding-bottom: 32px;

  border-top:
    1px solid
    var(--hairline-dark);
}

.footer-mark {
  display: block;

  line-height: 0;

  flex-shrink: 0;
}

.footer-mark img {
  display: block;

  height: 26px;

  width: auto;
}

.footer-nav {
  display: flex;

  gap: 28px;
}

.footer-nav a {
  font-size: 14px;

  color: var(--on-dark-3);
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-copy {
  font-size: 13px;

  color: var(--on-dark-4);
}


/* ========================================================================
   LEGAL PAGES
   ======================================================================== */

.legal {
  max-width: 860px;

  margin: 0 auto;

  padding-top: 140px;

  padding-bottom: var(--section-y);
}

.legal h1 {
  font-size: clamp(34px, 5vw, 52px);

  font-weight: 300;

  letter-spacing: -0.015em;

  line-height: 1.06;
}

.legal-meta {
  font-size: 14px;

  color: var(--ink-2);

  margin-top: 14px;

  padding-bottom: 28px;

  border-bottom:
    1px solid
    var(--hairline);
}

.legal h2 {
  font-size: 22px;

  font-weight: 700;

  letter-spacing: -0.005em;

  margin: 44px 0 12px;
}

.legal h3 {
  font-size: 17px;

  font-weight: 700;

  margin: 26px 0 8px;
}

.legal p,
.legal li {
  font-size: 16px;

  line-height: 1.65;

  color: var(--ink);

  text-wrap: pretty;
}

.legal p {
  margin-bottom: 14px;
}

.legal ul,
.legal ol {
  list-style: revert;

  padding-left: 24px;

  margin:
    0
    0
    18px;

  display: block;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  text-decoration: underline;

  text-underline-offset: 2px;
}

.legal-back {
  display: inline-block;

  margin-top: 40px;

  font-size: 15px;

  font-weight: 700;
}

.legal dl {
  margin:
    0
    0
    18px;
}

.legal dt {
  font-weight: 700;

  font-size: 16px;

  margin-top: 12px;
}

.legal dd {
  margin:
    4px
    0
    0;

  font-size: 16px;

  line-height: 1.65;
}


/* ========================================================================
   UTILITY
   ======================================================================== */

.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;
}


/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 1000px) {

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

}


@media (max-width: 900px) {

  :root {
    --rail-pad: 24px;
    --section-y: 64px;
    --header-height: auto;
  }


  /*
    On smaller screens the navbar is allowed to wrap naturally.
  */

  .header-inner {
    flex-wrap: wrap;

    gap: 16px;
  }

  .site-nav {
    gap: 20px;

    flex-wrap: wrap;
  }

  .site-nav > a {
    font-size: 13px;
  }


  .site-nav .nav-cta {
    padding:
      13px
      20px;
  }


  .hero {
    padding-top: 130px;

    padding-bottom: 56px;
  }


  .section-head {
    flex-direction: column;

    align-items: flex-start;

    gap: 14px;
  }

  .section-note {
    text-align: left;

    max-width: none;
  }


  .plans {
    grid-template-columns: 1fr;

    row-gap: 34px;

    margin-top: 14px;
  }


  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;

    gap: 32px;
  }


  .closing-inner {
    flex-direction: column;

    align-items: flex-start;

    gap: 28px;
  }

  .closing-title {
    font-size: 34px;
  }


  .footer-inner {
    flex-direction: column;

    align-items: flex-start;

    gap: 16px;
  }


  .h2 {
    font-size: 32px;
  }

}


@media (max-width: 700px) {

  .stage {
    height: 360px;
  }

  .slide .ph {
    display: none;
  }

  .slide .lap {
    width: min(620px, 92%);
  }

  .stage-caption {
    padding:
      20px
      12px
      8px;
  }


  /*
    Mobile navigation becomes a compact two-row header.
  */

  .header-inner {
    align-items: flex-start;
  }

  .logo img {
    height: 40px;
  }

  .site-nav {
    width: 100%;

    justify-content: flex-start;

    gap:
      12px
      18px;
  }

}


@media (max-width: 600px) {

  :root {
    --rail-pad: 20px;
  }


  .card-grid-4 {
    grid-template-columns: 1fr;
  }


  .stage {
    height: 280px;
  }


  .stage-caption {
    flex-direction: column;

    align-items: flex-start;

    gap: 14px;
  }


  .hero-actions .btn {
    flex: 1 1 auto;
  }


  .contact-submit {
    align-self: stretch;
  }


  /*
    Keep the retract arrow subtle on phones.
  */

  .nav-toggle {
    width: 44px;

    height: 27px;
  }


  .site-nav .nav-cta {
    width: 100%;

    margin-top: 2px;
  }


  .legal {
    padding-top: 120px;
  }


  .footer-nav {
    flex-wrap: wrap;

    gap:
      14px
      20px;
  }

}


/* ========================================================================
   REDUCED MOTION
   ======================================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

    scroll-behavior: auto !important;
  }

  .slide img {
    transform: none !important;

    opacity: 1 !important;
  }

  .slide-row {
    transform: none !important;
  }

  .site-header {
    transition: none;
  }

}