/* ==========================================================================
   Mind Wandern website
   One stylesheet for every page. Sections follow the landing page, top to
   bottom. Phone layout lives in the media query at the end of each section
   (breakpoint: 760px).

   No external requests: fonts, images and video are all served from
   /assets. Nothing here may point at another host (the CSP in each page's
   <head> blocks it anyway).
   ========================================================================== */


/* --- Fonts (self-hosted, OFL; licences in assets/fonts/) ----------------- */

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces Wordmark";
  src: url("../fonts/fraunces-wordmark-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}


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

:root {
  /* colour */
  --ink:    #1A1A1A;  /* text, borders, hard shadows */
  --muted:  #42493F;  /* body text on light grounds */
  --dim:    #6B6B6B;  /* a journey step that is not on screen (passes 4.5:1 on white) */
  --page:   #F0EEE8;  /* page ground */
  --chalk:  #F9FAF3;  /* dotted bands, inputs */
  --mist:   #E6E7E0;  /* feature and FAQ grounds */
  --card:   #FFFFFF;
  --pine:   #265223;  /* the one accent: buttons, bullets, current step */
  --peach:  #FFD9B0;  /* links on night grounds */
  --night:  #14181E;
  --night-text: #F0EEE8;
  /* Dotted bands carry text with no halo under it, so the dots stay faint
     enough to read through. */
  --dots: radial-gradient(rgba(26, 26, 26, 0.09) 1px, transparent 1.4px);

  /* type */
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-wordmark: "Fraunces Wordmark", Georgia, "Times New Roman", serif;
  --font-label: "Syne", "Work Sans", system-ui, sans-serif;

  /* layout */
  --gutter: clamp(16px, 5.5vw, 80px);
  --max: 1440px;

  color-scheme: light;
}


/* --- Base ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}

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

h1, h2, h3 {
  font-weight: 500;
  text-wrap: balance;
}

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

:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
}

/* Visible placeholder for content still to be written. Search the HTML for
   "TBD" to find every one; none may ship. */
.tbd {
  background: #FFE08A;
  color: var(--ink);
  padding: 0 4px;
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


/* --- Textures ------------------------------------------------------------ */

.tex-dots {
  background-color: var(--chalk);
  background-image: var(--dots);
  background-size: 9px 9px;
}

.tex-hatch {
  height: 10px;
  background-image: repeating-linear-gradient(180deg, rgba(26, 26, 26, 0.16) 0 1px, transparent 1px 5px);
  border-bottom: 1px solid var(--ink);
}

.tex-night {
  background-color: var(--night);
  background-image: radial-gradient(rgba(240, 238, 232, 0.10) 1px, transparent 1.4px);
  background-size: 14px 14px;
  color: var(--night-text);
}
.tex-night a {
  color: var(--peach);
}


/* --- Shared pieces: buttons, cards, phone frames ------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--pine);
  color: #FFFFFF;
  box-shadow: 4px 4px 0 var(--ink);
  font: 500 16px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  color: #FFFFFF;
}
.button--quiet {
  background: var(--card);
  color: var(--pine);
}
.button--quiet:hover {
  color: var(--pine);
}
.button--small {
  min-height: 44px;
  padding: 0 14px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 15px;
}
.button--small:hover {
  color: var(--ink);
}

/* An ink-bordered white card with a hard shadow, set over art. */
.card {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

/* A drawn phone: a dark rounded frame around one app capture. */
.phone {
  flex: none;
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: 46px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 8px 8px 0 rgba(20, 24, 30, 0.55);
}
.phone picture {
  display: block;
  height: 100%;
}
.phone img,
.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 36px;
  background: var(--ink);
}
.phone--large {
  width: 300px;
  height: 646px;
}
.phone--small {
  width: 260px;
  height: 560px;
  border-radius: 42px;
  padding: 9px;
  box-shadow: 8px 8px 0 var(--ink);
}
.phone--small img {
  border-radius: 33px;
}

@media (max-width: 760px) {
  .card {
    box-shadow: 6px 6px 0 var(--ink);
    margin-right: 6px; /* keeps the shadow inside the gutter */
  }
}


/* --- Site header --------------------------------------------------------- */

.site-header .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header {
  border-bottom: 2px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1.5px solid var(--ink);
}
.brand span {
  font-family: var(--font-wordmark);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 36px;
  font-size: 15px;
}
.site-nav a {
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header .wrap {
    height: 56px;
  }
  .brand {
    gap: 9px;
  }
  .brand img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .brand span {
    font-size: 21px;
  }
  .site-nav {
    gap: 18px;
    font-size: 14px;
  }
}


/* --- Hero ---------------------------------------------------------------- */
/* Desktop: copy card and signup on the left (drawn as one card), full phone
   on the right. Phone: copy card, then the top of the phone, then the
   signup in its own dotted band directly below. */

.hero {
  background:
    radial-gradient(ellipse 60% 55% at 78% 30%, rgba(255, 217, 176, 0.45), rgba(255, 217, 176, 0) 70%),
    linear-gradient(180deg, rgba(20, 24, 30, 0.05) 0%, rgba(20, 24, 30, 0.35) 60%, rgba(20, 24, 30, 0.7) 100%),
    url("../img/hero-art-desktop.webp") center / cover no-repeat;
  border-bottom: 2px solid var(--ink);
}

.hero__grid {
  min-height: 780px;
  padding-block: 64px;
  display: grid;
  grid-template-columns: minmax(0, 620px) auto;
  grid-template-areas:
    "copy   phone"
    "signup phone";
  grid-template-rows: auto auto;
  align-content: center;
  justify-content: space-between;
  column-gap: 80px;
}

/* The hard shadow behind copy + signup together, so the two read as one card. */
.hero__grid::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / 3;
  background: var(--ink);
  transform: translate(8px, 8px);
}

.hero__copy,
.hero__signup {
  position: relative;
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 48px;
}
.hero__copy {
  grid-area: copy;
  border-bottom: 0;
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__signup {
  grid-area: signup;
  border-top: 0;
  padding-top: 24px;
}

.hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.hero__sub {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}

.hero__phone {
  grid-area: phone;
  align-self: center;
}

/* Square-bulleted facts under the hero copy */
.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}
.facts li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.facts li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  background: var(--pine);
}

@media (max-width: 760px) {
  .hero {
    background:
      radial-gradient(ellipse 80% 45% at 70% 20%, rgba(255, 217, 176, 0.45), rgba(255, 217, 176, 0) 70%),
      linear-gradient(180deg, rgba(20, 24, 30, 0.05) 0%, rgba(20, 24, 30, 0.35) 60%, rgba(20, 24, 30, 0.7) 100%),
      url("../img/hero-art-mobile.webp") center / cover no-repeat;
    border-bottom: 0;
  }
  .hero__grid {
    min-height: 0;
    padding-block: 16px 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "phone"
      "signup";
    row-gap: 0; /* the phone sits flush on the signup band */
  }
  .hero__grid::before {
    display: none;
  }
  .hero__copy {
    border-bottom: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    margin: 0 6px 20px 0;
    padding: 20px;
    gap: 12px;
  }
  .hero h1 {
    font-size: 30px;
    line-height: 1.18;
  }
  .hero__sub {
    font-size: 16px;
  }
  .facts {
    font-size: 14px;
    gap: 4px;
  }

  /* Only the top of the phone, flush with the bottom of the hero art */
  .hero__phone {
    justify-self: center;
    width: 272px;
    height: 250px;
    border-bottom: 0;
    border-radius: 42px 42px 0 0;
    padding: 9px 9px 0;
    box-shadow: 6px 0 0 rgba(20, 24, 30, 0.55);
    position: relative;
  }
  .hero__phone img {
    object-position: center;
    border-radius: 33px 33px 0 0;
  }
  .hero__phone::after { /* the camera island */
    content: "";
    position: absolute;
    top: 19px;
    left: 50%;
    width: 76px;
    height: 20px;
    margin-left: -38px;
    border-radius: 10px;
    background: var(--ink);
  }

  /* Signup becomes a full-width dotted band under the hero art */
  .hero__signup {
    margin-inline: calc(-1 * var(--gutter));
    padding: 20px var(--gutter) 24px;
    border: 0;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    background-color: var(--chalk);
    background-image: var(--dots);
    background-size: 9px 9px;
  }
}


/* --- Launch Letters signup form ------------------------------------------ */

.signup {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.signup label {
  font-size: 14px;
  color: var(--muted);
}
.signup__lead {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.signup__row {
  display: flex;
  gap: 10px;
}
.signup input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--chalk);
  color: var(--ink);
  font: 16px var(--font-body);
}
.signup__fine {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 760px) {
  .signup label {
    color: var(--ink);
    line-height: 1.45;
  }
  .signup__row {
    flex-direction: column;
  }
  .signup input {
    flex: none;
    height: 50px;
    background: var(--card);
  }
  .signup__fine {
    font-size: 12px;
  }
}


/* --- Journeys: one looping phone on a band of anchor art ----------------- */

.journey {
  background-size: cover;
  background-position: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.journey .wrap {
  padding-block: 104px 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}
.journey--flip .wrap {
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 160px;
}

/* The art behind each journey. The page applies the dusk grade. */
.journey--1 {
  background-image:
    radial-gradient(ellipse 60% 55% at 22% 30%, rgba(255, 217, 176, 0.40), rgba(255, 217, 176, 0) 70%),
    linear-gradient(180deg, rgba(20, 24, 30, 0.10) 0%, rgba(20, 24, 30, 0.30) 60%, rgba(20, 24, 30, 0.60) 100%),
    url("../img/journey-art-5-desktop.webp");
}
.journey--2 {
  background-image:
    radial-gradient(ellipse 60% 55% at 78% 30%, rgba(255, 217, 176, 0.35), rgba(255, 217, 176, 0) 70%),
    linear-gradient(180deg, rgba(20, 24, 30, 0.15) 0%, rgba(20, 24, 30, 0.35) 60%, rgba(20, 24, 30, 0.65) 100%),
    url("../img/journey-art-6-desktop.webp");
}
.journey--3 {
  background-image:
    linear-gradient(180deg, rgba(20, 24, 30, 0.62) 0%, rgba(20, 24, 30, 0.28) 40%, rgba(20, 24, 30, 0.50) 75%, rgba(20, 24, 30, 0.85) 100%),
    url("../img/journey-art-9-desktop.webp");
}

.journey__card {
  flex: 0 1 620px;
  min-width: 0;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.journey__card h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
}
.journey__card p {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

/* The steps beside the phone. Without JavaScript all three read at full
   strength; journeys.js adds .is-synced and marks the step on screen. */
.journey__steps {
  margin: 4px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.journey__steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 500;
  transition: color 0.3s;
}
.journey__steps li::before {
  content: "";
  flex: none;
  width: 4px;
  height: 26px;
  background: var(--pine);
  transition: background-color 0.3s;
}
.journey__steps.is-synced li {
  color: var(--dim);
}
.journey__steps.is-synced li::before {
  background: #C9CCC2;
}
.journey__steps.is-synced li.is-current {
  color: var(--ink);
}
.journey__steps.is-synced li.is-current::before {
  background: var(--pine);
}

.journey__controls {
  display: flex;
}

@media (max-width: 760px) {
  .journey .wrap,
  .journey--flip .wrap {
    flex-direction: column;
    padding-block: 40px 36px;
    gap: 24px;
  }
  .journey--1 {
    background-image:
      radial-gradient(ellipse 80% 45% at 30% 20%, rgba(255, 217, 176, 0.40), rgba(255, 217, 176, 0) 70%),
      linear-gradient(180deg, rgba(20, 24, 30, 0.10) 0%, rgba(20, 24, 30, 0.30) 60%, rgba(20, 24, 30, 0.60) 100%),
      url("../img/journey-art-5-mobile.webp");
  }
  .journey--2 {
    background-image:
      linear-gradient(180deg, rgba(20, 24, 30, 0.15) 0%, rgba(20, 24, 30, 0.35) 60%, rgba(20, 24, 30, 0.65) 100%),
      url("../img/journey-art-6-mobile.webp");
  }
  .journey--3 {
    background-image:
      linear-gradient(180deg, rgba(20, 24, 30, 0.62) 0%, rgba(20, 24, 30, 0.28) 40%, rgba(20, 24, 30, 0.50) 75%, rgba(20, 24, 30, 0.85) 100%),
      url("../img/journey-art-9-mobile.webp");
  }
  .journey__card {
    flex: none;
    align-self: stretch;
    padding: 20px;
    gap: 12px;
  }
  .journey__card h2 {
    font-size: 24px;
    line-height: 1.25;
  }
  .journey__card p {
    font-size: 15px;
  }
  .journey__steps li {
    font-size: 17px;
  }
  .journey .phone--large {
    width: 250px;
    height: 538px;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 6px 6px 0 rgba(20, 24, 30, 0.55);
  }
  .journey .phone video {
    border-radius: 32px;
  }
}


/* --- The Veil: "Your answers never leave your head." --------------------- */

.veil .wrap {
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.veil h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
}
.veil__lead {
  margin: 0;
  max-width: 760px;
  font-size: 20px;
}
.veil__intro {
  margin: 12px 0 0;
  font-size: 19px;
  color: var(--peach);
}

.costs {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  text-align: left;
}
.costs li {
  border-top: 1px solid rgba(240, 238, 232, 0.4);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.costs strong {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 500;
}
.costs span {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.85;
}

.veil__more {
  margin-top: 8px;
  font-size: 18px;
}

@media (max-width: 760px) {
  .veil .wrap {
    padding-block: 56px;
    align-items: stretch;
    gap: 18px;
    text-align: left;
  }
  .veil h2 {
    font-size: 28px;
    line-height: 1.25;
  }
  .veil__lead {
    font-size: 16px;
  }
  .veil__intro {
    font-size: 16px;
  }
  .costs {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .costs strong {
    font-size: 20px;
  }
  .costs span {
    font-size: 15px;
  }
}


/* --- What Mind Wandern is not ------------------------------------------- */

.not .wrap {
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.not h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
}
.not__list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.not__list div {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.not__list dt {
  font-size: 20px;
  font-weight: 600;
}
.not__list dd {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .not .wrap {
    padding-block: 48px;
    gap: 22px;
  }
  .not h2 {
    font-size: 26px;
  }
  .not__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .not__list div {
    padding-top: 14px;
    gap: 6px;
  }
  .not__list dt {
    font-size: 18px;
  }
  .not__list dd {
    font-size: 16px;
  }
}


/* --- "That's the short version." band ----------------------------------- */

.short {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.short .wrap {
  padding-block: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  text-align: center;
}
.short p {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 500;
}

@media (max-width: 760px) {
  .short .wrap {
    padding-block: 32px;
    flex-direction: column;
    gap: 14px;
  }
  .short p {
    font-size: 20px;
  }
}


/* --- Features: the Wayside and the look-back ---------------------------- */
/* Desktop: a phone with a detail capture overlapping its edge, text beside.
   Phone: a small phone beside the heading and detail, text below. */

.features {
  background: var(--mist);
}
.features .wrap {
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.feature {
  display: grid;
  grid-template-columns: 260px minmax(0, 600px);
  grid-template-areas: "phone text";
  column-gap: 216px;
  align-items: center;
}
.feature--flip {
  grid-template-columns: minmax(0, 600px) 260px;
  grid-template-areas: "text phone";
  justify-content: end;
  column-gap: 236px;
}

.feature__phone {
  grid-area: phone;
}
.feature__inset {
  grid-area: phone;
  align-self: end;
  justify-self: end;
  position: relative;
  z-index: 1;
  width: 190px;
  margin: 0 -150px 28px 0;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--page);
}
.feature--flip .feature__inset {
  justify-self: start;
  width: 240px;
  margin: 0 0 40px -170px;
}
.feature__inset img {
  width: 100%;
  height: auto;
}

.feature__text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
}
.feature__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature__body p {
  margin: 0;
  font-size: 19px;
  color: var(--muted);
}
.feature__body .topics {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.feature__body .topics li {
  display: inline;
}
.feature__body .topics li:not(:last-child)::after {
  content: " · ";
}
.feature__body .combo {
  color: var(--ink);
}

@media (max-width: 760px) {
  .features .wrap {
    padding-block: 48px;
    gap: 48px;
  }
  .feature,
  .feature--flip {
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-areas:
      "phone heading"
      "phone inset"
      "body  body";
    column-gap: 16px;
    row-gap: 14px;
    align-items: start;
    justify-content: stretch;
    padding-right: 0;
  }
  .feature--flip {
    grid-template-columns: minmax(0, 1fr) 160px;
    grid-template-areas:
      "heading phone"
      "inset   phone"
      "body    body";
  }
  .feature__text {
    display: contents; /* lets the heading and body join the grid */
  }
  .feature h2 {
    grid-area: heading;
    font-size: 22px;
    line-height: 1.25;
  }
  .feature__body {
    grid-area: body;
    gap: 14px;
    padding-top: 6px;
  }
  .feature__body p {
    font-size: 16px;
  }
  .feature__body .topics {
    font-size: 14px;
  }
  .feature__phone.phone--small {
    width: 160px;
    height: 346px;
    border-radius: 28px;
    padding: 6px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .feature__phone img {
    border-radius: 22px;
  }
  .feature__inset,
  .feature--flip .feature__inset {
    grid-area: inset;
    align-self: end;
    justify-self: stretch;
    width: auto;
    margin: 0 4px 0 0;
    box-shadow: 4px 4px 0 var(--ink);
  }
}


/* --- Why we built privacy the hard way ---------------------------------- */

.why .wrap {
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.why h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.2;
  text-align: center;
}
.why__lead {
  margin: 0;
  max-width: 760px;
  font-size: 20px;
  text-align: center;
}
.why__list {
  width: 100%;
  max-width: 1120px;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
}
.why__list > div {
  border-top: 1px solid rgba(240, 238, 232, 0.4);
  padding-top: 14px;
}
.why__list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.why__list p + p {
  margin-top: 10px;
}
.why__list strong {
  font-weight: 600;
}
.why__list .why__wide {
  grid-column: 1 / -1;
}
.why__more {
  margin-top: 8px;
  font-size: 18px;
}

@media (max-width: 760px) {
  .why .wrap {
    padding-block: 56px;
    align-items: stretch;
    gap: 18px;
  }
  .why h2 {
    font-size: 28px;
    line-height: 1.25;
    text-align: left;
  }
  .why__lead {
    font-size: 16px;
    text-align: left;
  }
  .why__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 4px;
  }
  .why__list p {
    font-size: 15px;
  }
}


/* --- Questions (FAQ) ----------------------------------------------------- */

.faq {
  background: var(--mist);
}
.faq .wrap {
  padding-block: 96px;
  max-width: calc(880px + 2 * var(--gutter));
}
.faq h2 {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.2;
}

.faq details {
  border-top: 2px solid var(--ink);
}
.faq details:last-of-type {
  border-bottom: 2px solid var(--ink);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 60px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 24px;
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "\2013";
}
.faq details p,
.faq details ul {
  margin: 0 0 20px;
  max-width: 720px;
  color: var(--muted);
}
.faq details ul {
  padding-left: 22px;
}
.faq details p + ul {
  margin-top: -12px;
}

@media (max-width: 760px) {
  .faq .wrap {
    padding-block: 48px;
  }
  .faq h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  .faq summary {
    min-height: 52px;
    font-size: 17px;
  }
  .faq summary::after {
    font-size: 22px;
  }
  .faq details p,
  .faq details ul {
    font-size: 15px;
    margin-bottom: 16px;
  }
}


/* --- Closing: wan·dern, the Shrine, the second signup ------------------- */

.closing {
  border-top: 2px solid var(--ink);
}
.closing .wrap {
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.closing__mark {
  width: 64px;
  height: auto;
  margin-bottom: 8px;
  color: var(--ink);
}
.closing__word {
  margin: 0;
  font-family: var(--font-wordmark);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.closing__label {
  margin: 0;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.closing__definition {
  margin: 14px 0 0;
  max-width: 640px;
  font-size: 21px;
  line-height: 1.6;
  color: var(--muted);
}
.closing__line {
  margin: 0 0 32px;
  font-size: 21px;
  font-weight: 500;
}
.closing__shrine {
  width: 760px;
  height: auto;
}

.closing__card {
  margin-top: 26px;
  width: 100%;
  max-width: 720px;
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  text-align: left;
}
.closing__card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
  text-align: center;
}
.closing__card .signup {
  width: 100%;
}

@media (max-width: 760px) {
  .closing .wrap {
    padding-block: 56px;
    gap: 10px;
  }
  .closing__mark {
    width: 48px;
    margin-bottom: 6px;
  }
  .closing__word {
    font-size: 44px;
  }
  .closing__definition,
  .closing__line {
    font-size: 17px;
  }
  .closing__line {
    margin-bottom: 20px;
  }
  .closing__card {
    margin-top: 20px;
    padding: 20px;
    gap: 14px;
  }
  .closing__card h2 {
    font-size: 22px;
  }
}


/* --- Footer ------------------------------------------------------------- */

.site-footer .tex-hatch {
  border-top: 2px solid var(--ink);
}
.site-footer .wrap {
  padding-block: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 15px;
}
.site-footer .brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.site-footer .brand span {
  font-size: 20px;
}
.site-footer nav {
  display: flex;
  gap: 28px;
}

@media (max-width: 760px) {
  .site-footer .wrap {
    padding-block: 28px;
  }
}


/* --- Legal pages (/legal/privacy) --------------------------------------- */

.legal {
  max-width: calc(680px + 2 * var(--gutter));
  padding-block: 56px 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.legal h1 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.15;
}
.legal section {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
}
.legal p,
.legal ul {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.legal ul {
  padding-left: 20px;
}
.legal strong {
  color: var(--ink);
}

@media (max-width: 760px) {
  .legal {
    padding-block: 40px 64px;
  }
  .legal h1 {
    font-size: 34px;
  }
}


/* --- Reduced motion ----------------------------------------------------- */
/* journeys.js also checks this and never starts a video on its own. */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .journey__steps li,
  .journey__steps li::before {
    transition: none;
  }
}
