/* Phorma landing concept. Desktop is laid out against a 1440px frame; the
   mobile layout (≤860px) follows the 390px comp. Device mockups are drawn at
   fixed design size and scaled with `zoom` by script.js. */

:root {
  --bg: #f7f4ef;
  --bg-deep: #efe8df;
  --surface: #ffffff;
  --ink: #121212;
  --ink-2: #393633;
  --muted: #77716a;
  --line: #e8e3dc;
  --accent: #55693d;
  --accent-soft: #eceadf;
  --accent-line: #dddbc9;

  /* Phorma product palette, used by the device mockups */
  --olive: #55693d;
  --olive-ink: #3f4e2b;
  --ui-bg: #f9f7f2;
  --ui-side: #f2eee6;
  --ui-card: #f3efe6;
  --ui-line: #e4ded2;
  --ui-red: #c0392b;
  --terra: #bf6448;
  --terra-soft: #f5e3dc;
  --green: #2f9b60;

  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --script: "Caveat", "Bradley Hand", cursive;
  --stencil: "Oswald", "Arial Narrow", sans-serif;

  --gutter: clamp(20px, 4.72vw, 68px);

  /* Warm photographic fallbacks shown until the generated images exist. */
  --ph-warm:
    radial-gradient(70% 90% at 78% 28%, #f3e9dc 0%, transparent 60%),
    linear-gradient(160deg, #e7dacb 0%, #d9c6b2 45%, #c9b29b 100%);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i--fill {
  fill: currentColor;
  stroke: none;
}

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

.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.012em;
}

.eyebrow {
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #45413d;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.btn .i {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
  transition: transform 0.2s ease;
}

.btn:hover .i {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.98);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #2b2a29;
}

.btn--sm {
  height: 40px;
  padding: 0 22px;
  font-size: 13.5px;
}

.btn--md {
  height: 51px;
  padding: 0 34px;
}

.btn--lg {
  height: 54px;
  padding: 0 42px;
  font-size: 15px;
}

.btn--block {
  display: flex;
  width: 100%;
  height: 58px;
  font-size: 16px;
}

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

.btn--light:hover {
  background: var(--bg);
}

.btn--outline {
  border: 1px solid rgb(255 255 255 / 0.28);
  color: #fff;
}

.btn--outline:hover {
  border-color: rgb(255 255 255 / 0.6);
}

.round-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 6px 16px -10px rgb(40 30 20 / 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.round-btn .i {
  width: 18px;
  height: 18px;
}

.round-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgb(40 30 20 / 0.45);
}

/* ---------- Avatars & thumbs (initials until the photo loads) ---------- */

.av {
  --size: 34px;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  flex: none;
  border-radius: 50%;
  background: var(--tone, #c9b3a2);
  color: #fff;
  font-size: calc(var(--size) * 0.36);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.av::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--img) center / cover no-repeat;
}

.av[style*="--dot"]::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 1.5px #fff;
}

.av--xs {
  --size: 22px;
}

.thumb {
  position: relative;
  display: block;
  flex: none;
  border-radius: 8px;
  background: var(--tone, #c9b3a2);
  overflow: hidden;
}

.thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center / cover no-repeat;
}

/* ---------- Nav ---------- */

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 76px;
}

.logo {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  margin-left: -3px;
  padding-bottom: 4px;
}

.logo--sm {
  font-size: 22px;
}

.nav__links {
  display: flex;
  gap: 35px;
  margin-left: 158px;
  font-size: 13px;
  font-weight: 450;
  color: var(--ink-2);
}

.nav__links a,
.nav__login {
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__login:hover {
  color: var(--ink);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav__login {
  font-size: 13px;
  color: var(--ink-2);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: -10px;
  place-items: center;
}

.nav__toggle .i {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.nav__toggle .i--close,
.nav.is-open .nav__toggle .i--menu {
  display: none;
}

.nav.is-open .nav__toggle .i--close {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding-block: 8px 24px;
}

.mobile-menu a:not(.btn) {
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .btn {
  margin-top: 20px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 752px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
}

/* Frame keeps the photo's 1440×752 geometry (cover, anchored top-centre) so
   the wall lettering stays pinned to the same spot of the image. */
.hero__photo {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: max(100cqw, calc(100cqh * 1440 / 752));
  aspect-ratio: 1440 / 752;
  container-type: inline-size;
  background:
    url("assets/img/hero-studio.jpg") center / 100% 100% no-repeat,
    var(--ph-warm);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--bg) 0,
      var(--bg) calc(50% - 300px),
      rgb(247 244 239 / 0.82) calc(50% - 160px),
      rgb(247 244 239 / 0) calc(50% + 120px)
    ),
    linear-gradient(180deg, rgb(247 244 239 / 0.35), rgb(247 244 239 / 0) 120px);
}

.wall-text {
  position: absolute;
  font-family: var(--stencil);
  font-weight: 500;
  text-transform: uppercase;
  color: rgb(48 41 36 / 0.8);
  mix-blend-mode: multiply;
  transform-origin: left center;
  pointer-events: none;
  user-select: none;
}

.wall-text--hero {
  left: 74.1%;
  top: 9.6%;
  font-size: 2.15cqw;
  line-height: 2.57cqw;
  letter-spacing: 0.14em;
  transform: perspective(60cqw) rotateY(-14deg) rotate(-1.2deg);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 480px minmax(0, 1fr);
  min-height: 752px;
}

.hero__copy {
  padding-top: 160px;
  padding-bottom: 47px;
}

.hero__title {
  margin-top: 20px;
  font-size: 66px;
  line-height: 0.97;
  font-weight: 500;
  letter-spacing: -0.036em;
}

.hero__lede {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-top: 30px;
}

.watch {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 14.5px;
  font-weight: 500;
}

.watch__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: transform 0.2s ease;
}

.watch__icon .i {
  width: 12px;
  height: 12px;
  margin-left: 1px;
}

.watch:hover .watch__icon {
  transform: scale(1.1);
}

.modules {
  display: flex;
  gap: 52px;
  margin-top: 101px;
}

.modules li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  color: var(--ink-2);
}

.modules .i {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
  color: var(--ink);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding-right: 28px;
}

/* ---------- Device stage (desktop hero) ---------- */

.stage {
  position: relative;
  width: 796px;
  height: 532px;
}

.laptop {
  position: absolute;
  left: 0;
  top: 0;
  width: 789px;
}

.laptop__lid {
  position: relative;
  width: 663px;
  height: 452px;
  margin-left: 57px;
  padding: 11px 11px 13px;
  border-radius: 17px 17px 4px 4px;
  background: linear-gradient(180deg, #1a1a1a, #0c0c0c);
  box-shadow:
    inset 0 0 0 1px #2e2e2e,
    0 0 0 1.5px #c3bfba,
    0 40px 60px -30px rgb(45 32 20 / 0.45);
}

.laptop__cam {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #2b2d33;
}

.laptop__screen {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}

.laptop__base {
  position: relative;
  height: 20px;
  border-radius: 2px 2px 16px 16px / 2px 2px 12px 12px;
  background: linear-gradient(180deg, #f1efec 0%, #dcd8d4 35%, #b9b5b0 80%, #9c9894 100%);
  box-shadow:
    0 1px 0 #fff inset,
    0 18px 26px -10px rgb(40 28 18 / 0.45),
    0 4px 6px -2px rgb(40 28 18 / 0.25);
}

.laptop__base i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 124px;
  height: 7px;
  margin-left: -62px;
  border-radius: 0 0 9px 9px;
  background: linear-gradient(180deg, #a7a39e, #c9c5c0);
}

/* App shell inside the laptop: Phorma Studio web, week view */

.app {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  background: var(--ui-bg);
  color: var(--ink);
}

.app__side {
  display: flex;
  flex-direction: column;
  padding: 14px 9px;
  background: var(--ui-side);
  border-right: 1px solid var(--ui-line);
  color: #4d4a44;
}

.app__studio {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 3px;
}

.app__badge {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 6px;
  background: var(--olive);
  color: #f4f1e8;
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.app__studio p {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app__studio b {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink);
}

.app__studio span {
  margin-top: 2px;
  font-size: 5.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.app__walkin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 22px;
  margin: 12px 0 10px;
  border-radius: 6px;
  background: var(--olive);
  color: #fff;
  font-size: 7.5px;
  font-weight: 500;
}

.app__walkin .i {
  width: 9px;
  height: 9px;
  stroke-width: 2;
}

.app__nav {
  display: grid;
  gap: 1px;
}

.app__nav li {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 21px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 7.5px;
}

.app__nav .i {
  width: 10px;
  height: 10px;
  stroke-width: 1.7;
  color: #6d6960;
}

.app__nav .is-active {
  background: #e7e2d7;
  color: var(--ink);
  font-weight: 500;
}

.app__nav .is-active .i {
  color: var(--olive-ink);
}

.app__more {
  margin: 10px 0 3px 7px;
  font-size: 5.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.app__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 14px;
  border-bottom: 1px solid var(--ui-line);
}

.app__search {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 18px;
  padding: 0 6px;
  border: 1px solid var(--ui-line);
  border-radius: 6px;
  background: #fbfaf6;
  font-size: 7px;
  color: var(--muted);
}

.app__search .i {
  width: 9px;
  height: 9px;
  stroke-width: 1.9;
}

.app__search kbd {
  margin-left: 14px;
  padding: 1px 3px;
  border: 1px solid var(--ui-line);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 5.5px;
}

.app__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #55524b;
}

.app__tools .i {
  width: 11px;
  height: 11px;
  stroke-width: 1.7;
}

.app__bell {
  position: relative;
  display: grid;
}

.app__bell i {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 1px var(--ui-bg);
}

.app__body {
  padding: 13px 14px 0;
}

.app__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.app__title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.app__sub {
  margin-top: 2px;
  font-size: 7px;
  color: var(--muted);
}

.app__add {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--olive);
  color: #fff;
  font-size: 7.5px;
  font-weight: 500;
}

.app__add .i {
  width: 9px;
  height: 9px;
  stroke-width: 2.2;
}

.cal__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
  padding: 5px 6px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: #fbfaf6;
}

.seg {
  display: flex;
  gap: 2px;
}

.seg span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #efebe3;
  font-size: 6.5px;
  color: #6d6960;
}

.seg .is-active {
  background: var(--olive);
  color: #fff;
}

.cal__nav {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6d6960;
}

.cal__nav .i {
  width: 9px;
  height: 9px;
  stroke-width: 2;
}

.cal__range {
  min-width: 84px;
  font-family: var(--serif);
  font-size: 10px;
  text-align: center;
  color: var(--ink);
}

.cal__today {
  font-size: 7px;
  font-weight: 500;
  color: var(--olive-ink);
}

/* The hero phone overlaps the laptop's right edge; keep the week clear of it so
   every day (and today's highlight) stays visible. */
.cal {
  --hour: 31px;
  margin-top: 8px;
  margin-right: 112px;
}

.cal__head,
.cal__body {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
}

.cal__head {
  grid-template-columns: 28px repeat(6, minmax(0, 1fr));
}

.cal__head span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 20px;
  font-size: 6.5px;
  color: var(--muted);
}

.cal__head i,
.pb__days i,
.tabpill i {
  font-style: normal;
}

.cal__head b {
  display: grid;
  place-items: center;
  min-width: 14px;
  height: 14px;
  padding: 0 2px;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 600;
  color: var(--ink);
}

.cal__head .is-today {
  color: var(--olive-ink);
}

.cal__head .is-today b {
  background: var(--olive);
  color: #fff;
}

.cal__body {
  height: calc(var(--hour) * 8);
  border-top: 1px solid var(--ui-line);
}

.cal__times {
  display: grid;
  grid-auto-rows: var(--hour);
  font-size: 6px;
  color: var(--muted);
}

.cal__times span {
  padding-top: 2px;
}

.cal__cols {
  position: relative;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 calc(var(--hour) - 1px),
      #ece7de calc(var(--hour) - 1px) var(--hour)
    ),
    repeating-linear-gradient(90deg, #ece7de 0 1px, transparent 1px calc(100% / 6));
}

.cal__shade {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--c) * 100% / 6);
  width: calc(100% / 6);
  background: rgb(95 116 69 / 0.07);
}

.cal__now {
  position: absolute;
  z-index: 2;
  left: calc(var(--c) * 100% / 6);
  width: calc(100% / 6);
  top: calc(var(--t) * var(--hour));
  height: 1px;
  background: var(--terra);
}

.cal__now::before {
  content: "";
  position: absolute;
  left: -2.5px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
}

.ev {
  position: absolute;
  left: calc(var(--c) * 100% / 6 + 2px);
  width: calc(100% / 6 - 4px);
  top: calc(var(--s) * var(--hour) + 1px);
  height: calc(var(--d) * var(--hour) - 2px);
  padding: 3px 4px;
  border: 1px solid var(--ui-line);
  border-radius: 5px;
  background: var(--ui-card);
  font-size: 6px;
  line-height: 1.3;
  color: var(--muted);
  overflow: hidden;
}

.ev p {
  display: flex;
  align-items: center;
  gap: 3px;
}

.ev p::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: var(--dot);
}

.ev b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 6.8px;
  font-weight: 600;
  color: var(--ink);
}

.ev em {
  font-size: 6px;
  font-style: normal;
}

.ev span {
  display: block;
  margin-top: 1px;
  padding-left: 7px;
}

.is-low {
  color: var(--ui-red);
}

/* ---------- Phones ---------- */

.phone {
  position: relative;
  padding: 6px;
  border-radius: 34px;
  background: #0e0e0e;
  box-shadow:
    inset 0 0 0 1.5px #3a3a3a,
    0 0 0 1px #c9c4be,
    0 36px 50px -22px rgb(40 28 18 / 0.5);
}

.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 28px;
  background: var(--ui-bg);
  overflow: hidden;
}

.phone__island {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 58px;
  height: 16px;
  margin-left: -29px;
  border-radius: 10px;
  background: #0e0e0e;
}

.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 2px 18px 0 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.status svg {
  width: 38px;
  height: 7px;
  fill: currentColor;
}

/* Floating tab bar from the native apps */

.tabpill {
  position: absolute;
  z-index: 2;
  left: 8px;
  right: 8px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  height: 40px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  box-shadow:
    0 6px 18px -8px rgb(40 30 20 / 0.28),
    0 0 0 1px rgb(40 30 20 / 0.04);
}

.tabpill::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8px;
  right: -8px;
  bottom: -10px;
  height: 90px;
  background: linear-gradient(180deg, rgb(249 247 242 / 0), var(--ui-bg) 55%);
  pointer-events: none;
}

.tabpill span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 0;
  border-radius: 999px;
  font-size: 5.5px;
  font-weight: 500;
  color: var(--ink);
}

.tabpill .i {
  width: 11px;
  height: 11px;
  stroke-width: 1.9;
}

.tabpill .is-active {
  background: #ece9e0;
  color: var(--olive-ink);
}

.tabpill em {
  position: absolute;
  top: 0;
  right: 5px;
  min-width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #df4a3c;
  color: #fff;
  font-size: 5.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 9px;
  text-align: center;
}

.pc__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
}

.pc__head p {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pc__bell {
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px -4px rgb(40 30 20 / 0.28);
  color: var(--olive-ink);
  translate: 0 -50%;
}

.pc__bell .i {
  width: 10px;
  height: 10px;
  stroke-width: 1.8;
}

/* Clients phone (desktop hero): Phorma Studio, iOS */

.phone--clients {
  position: absolute;
  left: 590px;
  top: 114px;
  width: 204px;
  height: 418px;
}

.pc {
  padding: 2px 11px 0;
}

.pc__total {
  margin-top: 8px;
  font-size: 7.5px;
  color: var(--muted);
}

.pc__kpis {
  display: flex;
  gap: 4px;
  margin-top: 7px;
}

.pc__kpis span {
  display: flex;
  flex-direction: column;
  padding: 4px 7px;
  border: 1px solid var(--ui-line);
  border-radius: 7px;
  background: var(--ui-card);
}

.pc__kpis b {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
}

.pc__kpis i {
  font-size: 6px;
  font-style: normal;
  color: var(--muted);
}

.pc__chips {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.pc__chips span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #ebe7df;
  font-size: 6.5px;
  color: #5b5850;
}

.pc__chips .is-active {
  background: var(--olive);
  color: #fff;
}

.pc__list {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.pc__list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--ui-line);
  border-radius: 9px;
  background: var(--ui-card);
}

.pc__list .av {
  --size: 22px;
}

.pc__list div {
  min-width: 0;
}

.pc__list p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.pc__list b {
  font-size: 8px;
  font-weight: 600;
}

.pc__list div > span {
  display: block;
  margin-top: 2px;
  font-size: 6.5px;
  color: var(--muted);
}

.pc__list s {
  text-decoration: none;
}

.tag {
  padding: 1px 5px;
  border-radius: 999px;
  background: #ebe7df;
  font-size: 5.5px;
  font-style: normal;
  font-weight: 500;
  color: #6d6960;
}

.tag--red {
  background: #f6dfda;
  color: var(--ui-red);
}

/* Dashboard phone (mobile hero): Phorma Studio, iOS */

.phone--home {
  width: 300px;
  height: 600px;
  padding: 9px;
  border-radius: 48px;
}

.phone--home .phone__screen {
  border-radius: 39px;
}

.phone--home .phone__island {
  top: 11px;
  width: 86px;
  height: 25px;
  margin-left: -43px;
  border-radius: 14px;
}

.phone--home .status {
  height: 48px;
  padding: 4px 26px 0 30px;
  font-size: 14px;
}

.phone--home .status svg {
  width: 58px;
  height: 10.5px;
}

.pd {
  padding: 4px 18px 0;
}

.pd .pc__head {
  height: 34px;
}

.pd .pc__head p {
  font-size: 14px;
}

.pd .pc__bell {
  width: 30px;
  height: 30px;
}

.pd .pc__bell .i {
  width: 14px;
  height: 14px;
}

.pd__sub {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.pd__date {
  margin-top: 1px;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.25;
  color: #4d4a44;
}

.pd__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.pd__kpis div {
  display: flex;
  flex-direction: column;
  padding: 10px 11px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: var(--ui-card);
}

.pd__kpis span {
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pd__kpis b {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.pd__kpis em {
  margin-top: 3px;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  color: var(--olive);
}

.pd__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 18px;
}

.pd__head b {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.pd__head span {
  font-size: 10px;
  font-weight: 500;
  color: var(--olive-ink);
}

.pd__list {
  margin-top: 6px;
}

.pd__list li {
  display: grid;
  grid-template-columns: 36px 6px 1fr auto;
  align-items: center;
  gap: 8px;
  height: 32px;
  border-bottom: 1px solid #ebe6dd;
  font-size: 11px;
}

.pd__list li:last-child {
  border-bottom: 0;
}

.pd__list time {
  font-size: 10.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pd__list i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
}

.pd__list em {
  font-style: normal;
  font-weight: 500;
}

.pd__list span {
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.pd__list span:not(.is-low) {
  color: var(--muted);
}

.phone--home .tabpill {
  left: 12px;
  right: 12px;
  bottom: 14px;
  height: 56px;
  padding: 0 6px;
}

.phone--home .tabpill span {
  gap: 2px;
  padding: 6px 0;
  font-size: 8px;
}

.phone--home .tabpill .i {
  width: 17px;
  height: 17px;
}

.phone--home .tabpill em {
  right: 8px;
  min-width: 13px;
  height: 13px;
  font-size: 8px;
  line-height: 13px;
}

/* Class schedule phone (smoother section): Phorma App */

.phone--book {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 227px;
  height: 470px;
  padding: 7px;
  border-radius: 38px;
}

.phone--book .phone__screen {
  border-radius: 31px;
}

.phone--book .phone__island {
  width: 64px;
  height: 18px;
  margin-left: -32px;
}

.phone--book .status {
  height: 36px;
}

.pb {
  padding: 2px 13px 0;
}

.pb__seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
  padding: 2px;
  border-radius: 999px;
  background: #ebe7df;
  font-size: 7.5px;
  text-align: center;
}

.pb__seg span {
  padding: 4px 0;
  border-radius: 999px;
  color: #5b5850;
}

.pb__seg .is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
}

.pb__days {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  margin-top: 10px;
}

.pb__days span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 5px 0;
  border-radius: 8px;
  font-size: 6.5px;
  color: var(--muted);
}

.pb__days b {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
}

.pb__days .is-today {
  background: var(--olive);
  color: rgb(255 255 255 / 0.8);
}

.pb__days .is-today b {
  color: #fff;
}

.pb__list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.pb__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  background: var(--ui-card);
}

.pb__list .thumb {
  width: 38px;
  height: 38px;
  border-radius: 7px;
}

.pb__list div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pb__list p {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pb__list p i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot);
}

.pb__list b {
  font-size: 9px;
  font-weight: 600;
}

.pb__list span {
  margin-top: 1px;
  font-size: 7px;
  color: var(--muted);
}

.pb__list em {
  margin-top: 2px;
  font-size: 7px;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.pb__list em.ok {
  color: var(--olive);
}

.pb__list em.terra {
  color: var(--terra);
}

/* ---------- Logos ---------- */

.logos {
  padding: 32px var(--gutter) 40px;
  text-align: center;
}

.logos .eyebrow {
  font-size: 9.5px;
}

.logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 60px;
  margin-top: 22px;
  color: #57524d;
}

.lg {
  line-height: 1;
  white-space: nowrap;
}

.lg--move {
  font-family: "Jost", var(--sans);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lg--kore {
  font-weight: 400;
  font-size: 15.5px;
  letter-spacing: 0.3em;
}

.lg--lab {
  font-family: var(--stencil);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.01em;
  transform: scaleX(0.92);
}

.lg--balance {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
}

.lg--union {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.lg--kaia {
  font-family: "Jost", var(--sans);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.3em;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: 35.28% minmax(0, 1fr);
  align-items: start;
}

.photo {
  background-color: var(--bg-deep);
}

.features__photo {
  position: relative;
  z-index: 2;
  aspect-ratio: 508 / 460;
  margin-bottom: -45px;
  border-radius: 0 4px 44px 0;
  overflow: hidden;
  container-type: inline-size;
  background:
    url("assets/img/feature-studio-woman.jpg") center / cover no-repeat,
    radial-gradient(60% 60% at 30% 60%, #4a3c33 0%, transparent 70%),
    linear-gradient(150deg, #e8dccd, #bfa58d 70%, #9c816a);
}

.script {
  position: absolute;
  left: 15.5%;
  top: 63%;
  font-family: var(--script);
  font-weight: 500;
  font-size: 8.2cqw;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 1px 10px rgb(0 0 0 / 0.18);
  transform: rotate(-15deg);
  transform-origin: left top;
}

.features__body {
  padding: 44px var(--gutter) 64px 7.5%;
}

.features__title {
  margin-top: 16px;
  font-size: 40px;
  line-height: 1.08;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 24px;
  max-width: 790px;
  margin-top: 40px;
  margin-left: -10px;
}

.feature-grid li {
  display: flex;
  align-items: center;
  gap: 17px;
}

.tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  color: var(--accent);
}

.tile .i {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.feature-grid p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--muted);
}

.feature-grid b {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- Smoother day ---------- */

.smooth {
  position: relative;
  display: grid;
  grid-template-columns: 41.8% minmax(0, 1fr);
  min-height: 345px;
  overflow: hidden;
}

.smooth__copy {
  padding: 56px 24px 33px var(--gutter);
}

.smooth__stroke {
  display: block;
  width: 140px;
  height: 14px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
  stroke-linecap: round;
}

.smooth h2 {
  margin-top: 22px;
  font-size: 33px;
  line-height: 1.13;
}

.underlined {
  position: relative;
  display: inline-block;
}

.underlined svg {
  position: absolute;
  left: -2%;
  bottom: -0.16em;
  width: 104%;
  height: 0.32em;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  overflow: visible;
}

.smooth .btn {
  margin-top: 30px;
}

.smooth__media {
  position: relative;
}

.smooth__photo {
  position: absolute;
  inset: 0 0 0 188px;
  overflow: hidden;
  container-type: size;
  background: linear-gradient(160deg, #ece2d6, #d6c3ae 60%, #b59c84);
}

/* Cover geometry for a 650×345 photo anchored top-right. */
.smooth__frame {
  position: absolute;
  top: 0;
  right: 0;
  width: max(100cqw, calc(100cqh * 650 / 345));
  aspect-ratio: 650 / 345;
  container-type: inline-size;
  background: url("assets/img/studio-floor.jpg") 0 0 / 100% 100% no-repeat;
}

.wall-text--floor {
  left: 59%;
  top: 7%;
  font-size: 3.6cqw;
  line-height: 5.6cqw;
  letter-spacing: 0.1em;
  transform: perspective(70cqw) rotateY(-22deg) rotate(-6deg);
}

/* ---------- Testimonial ---------- */

.quote {
  position: relative;
}

.quote__inner {
  position: relative;
  max-width: 1440px;
  min-height: 268px;
  margin-inline: auto;
  padding: 36px 5.1% 56px 0;
}

.quote__body {
  text-align: center;
  transition: opacity 0.25s ease;
}

.quote__body.is-swapping {
  opacity: 0;
}

.quote blockquote {
  margin-top: 16px;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
}

.quote__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
}

.quote__author .av {
  --size: 32px;
}

.quote__author p {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}

.quote__author b {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.quote__prev,
.quote__next {
  position: absolute;
  top: 112px;
}

.quote__prev {
  left: 3.96%;
}

.quote__next {
  left: 72.4%;
}

.quote__photo {
  position: absolute;
  top: 8px;
  bottom: 0;
  right: var(--gutter);
  width: 14.5%;
  background:
    url("assets/img/testimonial-arch.jpg") center top / cover no-repeat,
    linear-gradient(180deg, #ece4da, #d9cab9);
}

/* ---------- Three doors ---------- */

.apps {
  padding: 104px 0 96px;
  border-top: 1px solid var(--line);
}

.apps__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.apps__head {
  grid-column: 1 / 6;
  align-self: center;
  padding-right: 24px;
}

.apps h2 {
  margin-top: 16px;
  font-size: 44px;
  line-height: 1.04;
}

.apps__lede {
  margin-top: 18px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.apps__note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.door {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 26px;
  border-radius: 24px;
  background: #efe9df;
}

.door--desk {
  grid-column: 6 / 13;
}

.door--pocket {
  grid-column: 1 / 7;
}

.door--ritual {
  grid-column: 7 / 13;
}

.door--pocket,
.door--ritual {
  flex-direction: row;
  align-items: center;
}

.door--pocket .door__ui,
.door--ritual .door__ui {
  flex: 0 0 52%;
}

.door__copy h3 {
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.12;
}

.door__copy p:not(.door__kicker) {
  margin-top: 10px;
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.door__kicker {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d6960;
}

.door__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--olive-ink);
}

.door__link .i {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
  transition: transform 0.2s ease;
}

.door__link:hover .i {
  transform: translateX(3px);
}

/* Product moments inside each door */

.ui {
  padding: 16px;
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  background: var(--ui-bg);
  font-size: 12px;
  color: var(--ink);
}

.ui__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.ui__title,
.ui__greet {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.12;
}

.ui__date {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
}

.ui__btn,
.ui__ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.ui__btn {
  background: var(--olive);
  color: #fff;
}

.ui__ghost {
  border: 1px solid var(--ui-line);
  background: #fff;
}

.ui__btn .i {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

.ui__red {
  padding: 0 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ui-red);
  white-space: nowrap;
}

.ui__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  border-block: 1px solid var(--ui-line);
}

.ui__kpis span {
  display: flex;
  flex-direction: column;
  padding: 10px 0 10px 12px;
  border-left: 1px solid var(--ui-line);
}

.ui__kpis span:first-child {
  padding-left: 0;
  border-left: 0;
}

.ui__kpis i {
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ui__kpis b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}

.ui__kpis .is-red {
  color: var(--ui-red);
}

.ui__session {
  margin-top: 14px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: #fbf9f5;
  overflow: hidden;
}

.ui__session-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--ui-card);
  font-size: 11.5px;
  color: var(--muted);
}

.ui__session-head i,
.ui__row-title i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--dot);
}

.ui__session-head b {
  color: var(--ink);
  font-weight: 600;
}

.ui__meta {
  margin-left: auto;
  font-size: 10.5px;
}

.ui__session li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-top: 1px solid var(--ui-line);
}

.ui__session .av {
  --size: 28px;
}

.ui__session li > p {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.ui__session li b {
  font-size: 12px;
  font-weight: 600;
}

.ui__session li > p span {
  font-size: 10.5px;
  color: var(--muted);
}

.ui__done {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e7ead9;
  font-size: 10.5px;
  color: var(--olive-ink);
  white-space: nowrap;
}

.ui__done .i {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
}

.ui__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ui__muted {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
}

.ui__card {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: var(--ui-card);
}

.ui__card:first-child {
  margin-top: 0;
}

.ui__label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5832c;
}

.ui__row-title {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ui__label + .ui__row-title {
  margin-top: 6px;
}

.ui__row-title b {
  font-size: 13px;
  font-weight: 600;
}

.ui__tag {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--terra-soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  color: var(--terra);
}

.ui__buttons {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.ui__terra {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--terra);
}

.ui__credits {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: var(--ui-card);
}

.ui__credits p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}

.ui__credits p span + span {
  color: var(--muted);
}

.ui__credits i {
  display: block;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--olive) var(--v), #e3ded3 var(--v));
}

/* ---------- Closing CTA ---------- */

.close {
  padding: 24px 0 96px;
}

.close__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 48px;
  padding: 64px 64px 52px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 100% 0%, rgb(132 156 98 / 0.3), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgb(214 190 160 / 0.16), transparent 60%), #141312;
  color: #fff;
}

.close .eyebrow {
  color: rgb(255 255 255 / 0.62);
}

.close h2 {
  margin-top: 16px;
  font-size: 44px;
  line-height: 1.05;
}

.close__lede {
  margin-top: 16px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.7);
}

.close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.close__offer {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 13.5px;
  color: #d9c8a8;
}

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

.footer {
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px 40px;
  min-height: 96px;
  padding-block: 24px;
  font-size: 13px;
  color: var(--muted);
}

.footer__brand p {
  margin-top: 6px;
  font-size: 12.5px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
}

.footer nav a:hover {
  color: var(--ink);
}

.footer__legal {
  font-size: 12.5px;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 1441px) {
  .hero__photo {
    mask-image: linear-gradient(90deg, #000 calc(100% - 160px), transparent);
  }
}

@media (max-width: 1240px) {
  .nav__links {
    margin-left: clamp(40px, 8vw, 158px);
    gap: clamp(22px, 2.4vw, 35px);
  }

  .hero__inner {
    grid-template-columns: 420px minmax(0, 1fr);
  }

  .hero__title {
    font-size: 56px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .apps__head,
  .door--desk {
    grid-column: 1 / -1;
  }

  .apps__head {
    max-width: 640px;
    margin-bottom: 12px;
  }

  .door--pocket,
  .door--ritual {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__inner {
    flex-wrap: wrap;
  }

  .footer nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .footer__legal {
    margin-left: auto;
  }
}

@media (max-width: 1040px) {
  .hero__inner {
    grid-template-columns: 380px minmax(0, 1fr);
  }

  .hero__title {
    font-size: 50px;
  }

  .hero__lede {
    font-size: 17px;
  }

  .modules {
    gap: 30px;
  }

  .hero__visual {
    padding-right: 0;
  }

  .features__title {
    font-size: 34px;
  }

  .quote blockquote {
    font-size: 26px;
  }

  .close__card {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (min-width: 861px) {
  .only-mobile {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .only-desktop {
    display: none !important;
  }

  :root {
    --gutter: clamp(20px, 8vw, 40px);
  }

  main {
    display: flex;
    flex-direction: column;
  }

  .nav {
    position: relative;
    background: var(--bg);
  }

  .nav__inner {
    height: 68px;
  }

  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__toggle {
    display: grid;
  }

  .logo {
    font-size: 30px;
  }

  .hero {
    min-height: 0;
  }

  .hero__bg {
    display: none;
  }

  .hero__inner {
    display: block;
    min-height: 0;
  }

  .hero__copy {
    padding: 22px 0 0;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.3em;
  }

  .hero__title {
    margin-top: 16px;
    font-size: clamp(40px, 12vw, 52px);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .hero__lede {
    margin-top: 14px;
    max-width: 30ch;
    font-size: 17px;
    line-height: 1.45;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-top: 22px;
  }

  .hero__actions .btn {
    min-width: min(100%, 288px);
    height: 58px;
    font-size: 16px;
  }

  .watch {
    font-size: 16px;
    font-weight: 600;
    gap: 14px;
  }

  .watch__icon {
    width: 32px;
    height: 32px;
  }

  .watch__icon .i {
    width: 15px;
    height: 15px;
  }

  .trust {
    margin-top: 22px;
  }

  .trust__faces {
    display: flex;
  }

  .trust__faces .av {
    --size: 38px;
    box-shadow: 0 0 0 2.5px var(--bg);
  }

  .trust__faces .av + .av {
    margin-left: -9px;
  }

  .trust p {
    margin-top: 8px;
    max-width: 26ch;
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
  }

  .hero__visual {
    display: block;
    margin-top: 30px;
  }

  .hero__visual .stage-fit {
    margin-inline: auto;
    width: 300px;
  }

  .logos {
    order: 10;
    padding-block: 48px 52px;
  }

  .logos__row {
    gap: 22px 34px;
  }

  .features {
    display: block;
  }

  .features__photo {
    display: none;
  }

  .features__body {
    padding: 64px var(--gutter) 0;
  }

  .features__title {
    margin-top: 14px;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -0.04em;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 30px 0 0;
  }

  .feature-grid li {
    gap: 18px;
  }

  .tile {
    width: 46px;
    height: 46px;
  }

  .feature-grid b {
    font-size: 15.5px;
    font-weight: 600;
  }

  .feature-grid p {
    font-size: 14px;
  }

  .features .btn--block {
    margin-top: 34px;
  }

  .smooth {
    display: block;
    margin-top: 72px;
  }

  .smooth__copy {
    padding: 0 var(--gutter);
  }

  .smooth h2 {
    font-size: clamp(28px, 8.4vw, 34px);
  }

  .smooth__media {
    height: 400px;
    margin-top: 40px;
  }

  .smooth__photo {
    left: 32%;
  }

  /* Narrow box: slide the photo so the lettered wall stays in view. */
  .smooth__frame {
    right: auto;
    left: max(calc(-40cqh * 650 / 345), calc(100cqw - 100cqh * 650 / 345));
  }

  .wall-text--floor {
    font-size: 2.6cqw;
    line-height: 4cqw;
  }

  .phone--book {
    left: var(--gutter);
  }

  .quote__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 10px;
    min-height: 0;
    padding: 56px var(--gutter) 64px;
  }

  .quote__body {
    order: -1;
    width: 100%;
  }

  .quote blockquote {
    font-size: clamp(22px, 6.4vw, 28px);
  }

  .quote blockquote br {
    display: none;
  }

  .quote__photo {
    display: none;
  }

  .quote__prev,
  .quote__next {
    position: static;
  }

  .apps {
    order: 8;
    padding: 64px 0;
  }

  .apps h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .apps__lede {
    font-size: 15.5px;
  }

  .apps__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .apps__head,
  .door--desk,
  .door--pocket,
  .door--ritual {
    grid-column: auto;
  }

  .apps__head {
    margin-bottom: 18px;
    padding-right: 0;
  }

  .door {
    padding: 16px 16px 22px;
    border-radius: 20px;
  }

  .door__copy {
    padding: 0 6px;
  }

  .door__copy h3 {
    font-size: 23px;
  }

  .ui {
    padding: 13px;
  }

  .ui__meta,
  .ui__session .ui__ghost {
    display: none;
  }

  .quote {
    order: 9;
  }

  .close {
    order: 11;
    padding: 8px 0 56px;
  }

  .close__card {
    gap: 28px;
    padding: 40px 24px 28px;
    border-radius: 24px;
  }

  .close h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .close__lede {
    font-size: 15.5px;
  }

  .close__actions {
    flex-direction: column;
  }

  .close__actions .btn {
    width: 100%;
    height: 56px;
  }

  .footer__inner {
    gap: 16px 28px;
    padding-block: 32px;
  }

  .footer__legal {
    order: 4;
    margin-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
