:root {
  --ink: #11110f;
  --paper: #f4f1ea;
  --warm-white: #fbfaf6;
  --line: rgba(17, 17, 15, 0.18);
  --muted: #66645f;
  --blue: #3081b8;
  --red: #b62435;
  --green: #3c7955;
  --peef-blue: #2f7de1;
  --peef-coral: #ed7084;
  --ceg-blue: #0879dc;
  --ceg-yellow: #ffc231;
  --max: 1240px;
}

/* MenuBar Notes product page */
.mbn-page {
  --mbn-blue: #3081b8;
  --mbn-ink: #17181a;
  --mbn-muted: #64676c;
  --mbn-line: rgba(23, 24, 26, 0.14);
  --mbn-panel: #f5f5f3;
  color: var(--mbn-ink);
  background: #fff;
}

.mbn-page h1,
.mbn-page h2,
.mbn-page h3,
.mbn-page p,
.mbn-page figure,
.mbn-page dl,
.mbn-page dd {
  margin-top: 0;
}

.mbn-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--mbn-line);
  background:
    radial-gradient(circle at 79% 25%, rgba(48, 129, 184, 0.13), transparent 31%),
    linear-gradient(140deg, #f8f8f6 0%, #eeefef 100%);
}

.mbn-hero-grid {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.8fr);
  align-items: center;
  gap: clamp(52px, 7vw, 110px);
}

.mbn-hero-copy {
  padding: 78px 0 92px;
}

.mbn-back-link {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--mbn-muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.mbn-back-link:hover {
  color: var(--mbn-blue);
}

.mbn-app-identity {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 42px;
}

.mbn-app-identity img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  box-shadow: 0 13px 32px rgba(21, 23, 27, 0.14);
}

.mbn-app-identity p {
  display: grid;
  gap: 1px;
  margin-bottom: 0;
}

.mbn-app-identity strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.mbn-app-identity span {
  color: var(--mbn-muted);
  font-size: 13px;
  font-weight: 650;
}

.mbn-eyebrow,
.mbn-kicker {
  margin-bottom: 19px;
  color: var(--mbn-blue);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mbn-hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(55px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.066em;
  line-height: 0.94;
}

.mbn-lede {
  max-width: 650px;
  margin-bottom: 38px;
  color: #42454a;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.mbn-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 26px;
}

.mbn-hero-actions > span {
  color: var(--mbn-muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.mbn-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 235px;
  padding: 14px 17px;
  color: #fff;
  border: 1px solid var(--mbn-ink);
  background: var(--mbn-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.mbn-button:hover {
  color: #fff;
  border-color: var(--mbn-blue);
  background: var(--mbn-blue);
}

.mbn-hero-art {
  position: relative;
  min-height: 630px;
  display: grid;
  place-items: center;
}

.mbn-hero-art::before {
  content: "";
  position: absolute;
  width: min(44vw, 570px);
  aspect-ratio: 1;
  border: 1px solid rgba(48, 129, 184, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.mbn-list-shot {
  position: relative;
  z-index: 1;
  width: min(77%, 410px);
  filter: drop-shadow(0 36px 45px rgba(19, 24, 31, 0.24));
}

.mbn-shortcut-card {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 105px;
  min-width: 235px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  background: rgba(247, 247, 246, 0.84);
  box-shadow: 0 18px 40px rgba(20, 25, 31, 0.16);
  backdrop-filter: blur(15px);
}

.mbn-shortcut-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--mbn-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mbn-shortcut-card div {
  display: flex;
  gap: 6px;
}

.mbn-page kbd {
  min-width: 32px;
  padding: 4px 8px;
  border: 1px solid rgba(23, 24, 26, 0.14);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fff;
  color: var(--mbn-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 1px 1px rgba(23, 24, 26, 0.06);
}

.mbn-intro {
  padding: 125px 0;
}

.mbn-intro-grid {
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  gap: 70px;
}

.mbn-intro h2,
.mbn-section-copy h2,
.mbn-writing-heading h2,
.mbn-native-heading h2,
.mbn-keyboard h2,
.mbn-privacy h2,
.mbn-automation h2,
.mbn-status h2 {
  margin-bottom: 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.mbn-intro-grid > div > p {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--mbn-muted);
  font-size: 21px;
  line-height: 1.6;
}

.mbn-capture {
  padding: 125px 0;
  background: #17181a;
  color: #fff;
}

.mbn-capture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(55px, 8vw, 120px);
}

.mbn-window-shot {
  margin-bottom: 0;
}

.mbn-window-shot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.25));
}

.mbn-quick-shot {
  transform: rotate(-1.3deg);
}

.mbn-capture .mbn-kicker {
  color: #7dc5f4;
}

.mbn-section-copy h2 {
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
}

.mbn-section-copy > p:not(.mbn-kicker) {
  color: #bec2c6;
  font-size: 19px;
}

.mbn-key-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 34px;
}

.mbn-key-line span {
  margin-left: 10px;
  color: #9ca1a6;
  font-size: 12px;
  font-weight: 700;
}

.mbn-writing {
  padding: 135px 0;
  overflow: hidden;
  background: #f2f1ed;
}

.mbn-writing-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 70px;
}

.mbn-writing-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.mbn-writing-heading > p {
  margin-bottom: 5px;
  color: var(--mbn-muted);
}

.mbn-editor-shot {
  max-width: 1070px;
  margin: 0 auto;
}

.mbn-editor-shot img {
  border-radius: 32px;
}

.mbn-writing-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 65px;
  border-top: 1px solid var(--mbn-line);
}

.mbn-writing-details div {
  min-height: 160px;
  padding: 24px 24px 0;
  border-left: 1px solid var(--mbn-line);
}

.mbn-writing-details div:first-child {
  padding-left: 0;
  border-left: 0;
}

.mbn-writing-details strong,
.mbn-writing-details span {
  display: block;
}

.mbn-writing-details strong {
  margin-bottom: 10px;
  font-size: 16px;
}

.mbn-writing-details span {
  color: var(--mbn-muted);
  font-size: 14px;
}

.mbn-native {
  padding: 135px 0;
  background: #fff;
}

.mbn-native-heading {
  max-width: 960px;
  margin-bottom: 70px;
}

.mbn-native-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--mbn-line);
  border-left: 1px solid var(--mbn-line);
}

.mbn-native-grid article {
  min-height: 315px;
  padding: 38px;
  border-right: 1px solid var(--mbn-line);
  border-bottom: 1px solid var(--mbn-line);
}

.mbn-native-symbol {
  height: 48px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 45px;
  color: var(--mbn-blue);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.mbn-native-grid h3 {
  margin-bottom: 13px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.mbn-native-grid p {
  margin-bottom: 0;
  color: var(--mbn-muted);
  font-size: 15px;
}

.mbn-keyboard {
  padding: 125px 0;
  background: #dcecf6;
}

.mbn-keyboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(400px, 1.2fr);
  gap: clamp(60px, 10vw, 150px);
}

.mbn-keyboard-grid > div > p:last-child {
  max-width: 500px;
  color: #4f5f68;
  font-size: 18px;
}

.mbn-command-list {
  border-top: 1px solid rgba(23, 24, 26, 0.18);
}

.mbn-command-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23, 24, 26, 0.18);
}

.mbn-command-list dt {
  font-size: 15px;
  font-weight: 750;
}

.mbn-command-list dd {
  display: flex;
  gap: 5px;
  margin-bottom: 0;
}

.mbn-privacy {
  padding: 135px 0 0;
  color: #f7f7f6;
  background: #17181a;
}

.mbn-privacy-grid {
  display: grid;
  grid-template-columns: minmax(350px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.mbn-privacy .mbn-kicker {
  color: #7dc5f4;
}

.mbn-privacy h2 {
  color: #fff;
}

.mbn-privacy-copy > p:not(.mbn-kicker) {
  color: #c2c5c9;
}

.mbn-privacy-note {
  margin-top: 34px;
  padding: 21px 0 0 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid #7dc5f4;
}

.mbn-privacy-note strong {
  display: block;
  margin-bottom: 7px;
}

.mbn-privacy-note p {
  margin-bottom: 0;
  color: #9ea2a7;
  font-size: 14px;
}

.mbn-privacy-link,
.mbn-hero-privacy {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 11px 15px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.mbn-privacy-link {
  margin-top: 30px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.mbn-hero-privacy {
  color: #17181a;
  border: 1px solid rgba(23, 24, 26, 0.35);
}

.mbn-hero-privacy:hover {
  color: #fff;
  border-color: #3081b8;
  background: #3081b8;
}

.mbn-privacy-link:hover {
  border-color: #7dc5f4;
  background: #3081b8;
}

.legal-page {
  min-height: 75vh;
  padding: 175px 0 120px;
  background: #fff;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 9vw, 135px);
}

.legal-grid aside {
  align-self: start;
  position: sticky;
  top: 45px;
}

.legal-grid aside .back-link {
  display: inline-block;
  margin-bottom: 55px;
}

.legal-grid h1 {
  margin: 0 0 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-grid aside > p:last-child,
.legal-content p {
  color: #5f6878;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin: 45px 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 20px;
}

.legal-content a {
  color: #3081b8;
  font-weight: 750;
}

@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .legal-grid aside {
    position: static;
  }

  .legal-grid aside .back-link {
    margin-bottom: 38px;
  }
}

@media (max-width: 680px) {
  .legal-page {
    padding: 135px 0 90px;
  }
}

.mbn-settings-shot img {
  border-radius: 31px;
}

.mbn-privacy-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.mbn-privacy-rules div {
  min-height: 190px;
  padding: 30px 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.mbn-privacy-rules div:first-child {
  padding-left: 0;
  border-left: 0;
}

.mbn-privacy-rules span {
  display: block;
  margin-bottom: 29px;
  color: #7dc5f4;
  font-size: 12px;
  font-weight: 850;
}

.mbn-privacy-rules p {
  margin-bottom: 0;
  color: #c2c5c9;
  font-size: 14px;
}

.mbn-automation {
  padding: 130px 0;
  background: #f7f6f2;
}

.mbn-automation-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(65px, 10vw, 150px);
}

.mbn-automation-points {
  border-top: 1px solid var(--mbn-line);
}

.mbn-automation-points article {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid var(--mbn-line);
}

.mbn-automation-points h3 {
  margin-bottom: 0;
  font-size: 17px;
}

.mbn-automation-points p {
  margin-bottom: 0;
  color: var(--mbn-muted);
  font-size: 15px;
}

.mbn-status {
  padding: 48px;
  background: #fff;
}

.mbn-status-card {
  min-height: 330px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 45px;
  padding: 55px;
  color: #fff;
  background: var(--mbn-blue);
}

.mbn-status-card > img {
  width: 115px;
  border-radius: 25px;
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.2);
}

.mbn-status .mbn-kicker {
  color: #d9effd;
}

.mbn-status h2 {
  max-width: 780px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(35px, 4.3vw, 59px);
}

.mbn-status-card div > p:last-child {
  margin-bottom: 0;
  color: #e4f2fb;
}

.mbn-button-light {
  min-width: 175px;
  color: var(--mbn-ink);
  border-color: #fff;
  background: #fff;
}

.mbn-button-light:hover {
  color: var(--mbn-blue);
  border-color: #fff;
  background: #fff;
}

@media (max-width: 980px) {
  .mbn-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .mbn-hero-copy {
    padding-bottom: 20px;
  }

  .mbn-hero-art {
    min-height: 590px;
  }

  .mbn-intro-grid,
  .mbn-writing-heading,
  .mbn-keyboard-grid,
  .mbn-automation-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .mbn-capture-grid,
  .mbn-privacy-grid {
    grid-template-columns: 1fr;
  }

  .mbn-capture-grid .mbn-section-copy {
    max-width: 700px;
  }

  .mbn-writing-details,
  .mbn-privacy-rules {
    grid-template-columns: repeat(2, 1fr);
  }

  .mbn-writing-details div:nth-child(3),
  .mbn-privacy-rules div:nth-child(3) {
    border-left: 0;
  }

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

  .mbn-status-card {
    grid-template-columns: auto 1fr;
  }

  .mbn-status-card .mbn-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .mbn-hero-copy {
    padding: 54px 0 10px;
  }

  .mbn-back-link {
    margin-bottom: 35px;
  }

  .mbn-app-identity {
    margin-bottom: 35px;
  }

  .mbn-hero h1 {
    font-size: clamp(49px, 15vw, 68px);
  }

  .mbn-hero-art {
    min-height: 535px;
  }

  .mbn-hero-art::before {
    width: 115vw;
  }

  .mbn-list-shot {
    width: min(78%, 360px);
  }

  .mbn-shortcut-card {
    right: -8px;
    bottom: 55px;
    min-width: 205px;
  }

  .mbn-intro,
  .mbn-capture,
  .mbn-writing,
  .mbn-native,
  .mbn-keyboard,
  .mbn-automation {
    padding: 88px 0;
  }

  .mbn-privacy {
    padding-top: 88px;
  }

  .mbn-intro-grid {
    gap: 20px;
  }

  .mbn-intro-grid > div > p,
  .mbn-section-copy > p:not(.mbn-kicker) {
    font-size: 17px;
  }

  .mbn-writing-heading {
    margin-bottom: 45px;
  }

  .mbn-editor-shot img,
  .mbn-settings-shot img {
    border-radius: 17px;
  }

  .mbn-writing-details,
  .mbn-native-grid,
  .mbn-privacy-rules {
    grid-template-columns: 1fr;
  }

  .mbn-writing-details div,
  .mbn-writing-details div:first-child,
  .mbn-privacy-rules div,
  .mbn-privacy-rules div:first-child {
    min-height: auto;
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--mbn-line);
  }

  .mbn-native-grid article {
    min-height: 270px;
    padding: 31px;
  }

  .mbn-keyboard-grid {
    grid-template-columns: 1fr;
  }

  .mbn-automation-points article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mbn-status {
    padding: 24px;
  }

  .mbn-status-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 27px;
  }

  .mbn-status-card > img {
    width: 84px;
  }

  .mbn-status-card .mbn-button {
    grid-column: auto;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-shirt {
  position: relative;
  width: 31px;
  height: 28px;
  display: inline-block;
  background: var(--ink);
  clip-path: polygon(22% 0, 38% 8%, 62% 8%, 78% 0, 100% 18%, 82% 38%, 74% 31%, 74% 100%, 26% 100%, 26% 31%, 18% 38%, 0 18%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.site-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.site-nav .nav-contact {
  padding: 11px 16px;
  border: 1px solid var(--ink);
}

.site-nav .nav-contact:hover {
  color: #fff;
  background: var(--ink);
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.8fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.hero-copy {
  padding: 92px 0 100px;
}

.hero-copy h1,
.app-hero-copy h1,
.not-found h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(60px, 7.4vw, 112px);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 0.86;
}

.hero-intro {
  max-width: 680px;
  margin: 40px 0 0;
  color: #363530;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.button-row,
.feature-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 14px 20px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}

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

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

.button-dark:hover {
  color: var(--ink);
  background: transparent;
}

.button-light {
  color: var(--ink);
  background: var(--warm-white);
  border-color: var(--warm-white);
}

.button-light:hover {
  color: var(--warm-white);
  background: transparent;
}

.text-link {
  color: var(--ink);
  font-weight: 750;
}

.hero-art {
  position: relative;
  min-height: 700px;
  align-self: end;
}

.phone-card {
  position: absolute;
  bottom: -155px;
  overflow: hidden;
  width: 52%;
  max-width: 330px;
  border: 9px solid #161616;
  border-radius: 50px;
  background: #111;
  box-shadow: 0 32px 80px rgba(17, 17, 15, 0.24);
}

.phone-card img {
  width: 100%;
}

.phone-card-back {
  right: 0;
  bottom: -110px;
  transform: rotate(8deg);
}

.phone-card-front {
  left: 3%;
  z-index: 2;
  transform: rotate(-8deg);
}

.phone-card-direct {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 32px 32px rgba(17, 17, 15, 0.22));
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: 82px;
  right: 8px;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
}

.apps-section {
  overflow-x: clip;
  padding: 120px 0;
  background: var(--warm-white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.section-heading h2,
.other-work h2,
.app-summary h2,
.screenshots-section h2,
.origin-story h2,
.development-note h2,
.site-footer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.app-feature {
  position: relative;
  left: 50%;
  width: 100vw;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  overflow: hidden;
  margin-top: 28px;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  transform: translateX(-50%);
}

.feature-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(46px, 7vw, 95px);
}

.app-feature-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.2));
}

.app-kicker {
  margin: 0 0 30px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 94px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.feature-copy .app-subtitle {
  margin: 25px 0 18px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 750;
  line-height: 1.2;
}

.feature-copy > p:not(.app-kicker):not(.app-subtitle) {
  max-width: 570px;
  font-size: 17px;
}

.feature-links > a:not(.button) {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.feature-visual img {
  position: absolute;
  left: 7%;
  top: 70px;
  width: 68%;
  border: 8px solid #161616;
  border-radius: 52px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.app-feature-peef {
  background: linear-gradient(135deg, var(--peef-blue), #675bba 52%, var(--peef-coral));
}

.app-feature-peef .feature-visual img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 25px 28px rgba(0, 0, 0, 0.24));
}

.app-feature-ceg {
  color: #fff;
  background: #0879dc;
}

.app-feature-ceg .feature-visual {
  background: radial-gradient(circle at 50% 50%, rgba(255, 194, 49, 0.95) 0 23%, transparent 23.5%);
}

.app-feature-ceg .feature-visual img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 25px 28px rgba(0, 0, 0, 0.24));
}

.app-feature-notes {
  color: var(--ink);
  background: #d9d4c9;
}

.app-feature-notes .button-light {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.notes-stage {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: linear-gradient(145deg, #b8c7b5, #8d9e8a);
}

.notes-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 28px 65px rgba(18, 28, 17, 0.24);
}

.notes-window-back {
  top: 80px;
  right: -30px;
  width: 75%;
  height: 210px;
  padding: 16px;
  transform: rotate(4deg);
}

.notes-window-back span {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: #bbb;
}

.notes-window-front {
  z-index: 2;
  bottom: 88px;
  left: 9%;
  width: 84%;
  min-height: 380px;
  padding: 82px 48px 44px;
  transform: rotate(-3deg);
}

.window-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid #d8d8d8;
  background: #ecebe8;
}

.window-toolbar i,
.notes-window-front i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #bcbab5;
}

.window-toolbar b {
  margin: 0 auto;
  font-size: 12px;
}

.notes-window-front h4 {
  margin: 0 0 20px;
  font-family: Georgia, serif;
  font-size: 38px;
}

.notes-window-front p {
  font-size: 18px;
}

.typing-line {
  width: 66%;
  height: 2px;
  margin-top: 50px;
  background: #111;
}

.notes-icon {
  position: absolute;
  z-index: 4;
  right: 25px;
  bottom: 20px;
  width: 112px;
  border-radius: 23%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: rotate(7deg);
}

.other-work {
  padding: 130px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.other-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(60px, 10vw, 140px);
}

.other-intro {
  max-width: 650px;
  margin: 0 0 58px;
  font-size: 22px;
}

.capability-list {
  border-top: 1px solid var(--ink);
}

.capability-list > div {
  display: grid;
  grid-template-columns: 45px 0.7fr 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.capability-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.capability-list h3,
.capability-list p {
  margin: 0;
}

.capability-list h3 {
  font-size: 18px;
}

.capability-list p {
  color: var(--muted);
  font-size: 15px;
}

.experience-band {
  padding: 20px 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.experience-band p {
  margin: 0;
  font-size: clamp(16px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}

.site-footer {
  padding: 90px 0;
  color: #fff;
  background: #191916;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: end;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a {
  color: #fff;
  font-size: 18px;
}

.footer-contact p {
  margin: 15px 0 0;
  color: #a6a49e;
  font-size: 13px;
}

/* App detail pages */
.app-hero {
  overflow: hidden;
  min-height: 780px;
  border-bottom: 1px solid var(--line);
}

.app-hero-grid {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 85px;
}

.app-hero-copy {
  z-index: 2;
  padding: 80px 0 100px;
}

.app-hero-copy h1 {
  font-size: clamp(62px, 7.6vw, 108px);
}

.app-hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin: 35px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.back-link {
  display: inline-block;
  margin-bottom: 70px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-hero-phone {
  position: relative;
  height: 780px;
  align-self: end;
}

.app-hero-phone img {
  position: absolute;
  top: 95px;
  left: 7%;
  width: min(78%, 420px);
  border: 10px solid #151515;
  border-radius: 60px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  transform: rotate(5deg);
}

.app-hero-peef {
  color: #fff;
  background: linear-gradient(135deg, var(--peef-blue), #7762bb 55%, var(--peef-coral));
}

.app-hero-peef .app-hero-phone::before {
  position: absolute;
  inset: 80px -15vw -90px 0;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.app-hero-peef .button-dark,
.app-hero-ceg .button-dark {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.app-hero-peef .button-dark:hover,
.app-hero-ceg .button-dark:hover {
  color: #fff;
  background: transparent;
}

.app-hero-peef .text-link {
  color: #fff;
}

.app-hero-ceg {
  color: #fff;
  background: var(--ceg-blue);
}

.app-hero-ceg .app-hero-phone::before {
  position: absolute;
  width: 540px;
  height: 540px;
  top: 115px;
  left: -55px;
  content: "";
  border-radius: 50%;
  background: var(--ceg-yellow);
}

.app-hero-notes {
  background: #d7d3c9;
}

.app-hero-notes .app-hero-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.menubar-hero-art {
  position: relative;
  height: 640px;
  overflow: hidden;
  border: 10px solid #272727;
  border-radius: 24px;
  background: linear-gradient(135deg, #66817e, #b3a083 52%, #c8b79d);
  box-shadow: 0 35px 80px rgba(17, 17, 15, 0.22);
}

.mac-menu-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: rgba(245, 245, 245, 0.83);
  color: #111;
  font-size: 11px;
}

.mac-menu-bar i {
  margin-left: auto;
  font-style: normal;
}

.popover-window,
.editor-window {
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 13px;
  background: rgba(248, 248, 246, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.popover-window {
  z-index: 2;
  top: 48px;
  right: 28px;
  width: 280px;
  padding: 14px;
}

.popover-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.popover-heading img {
  width: 40px;
  border-radius: 9px;
}

.popover-heading div {
  display: flex;
  flex-direction: column;
}

.popover-heading small {
  color: #777;
}

.popover-heading b:last-child {
  margin-left: auto;
  font-size: 22px;
}

.popover-search {
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  color: #777;
  background: #e7e7e4;
  font-size: 12px;
}

.popover-note {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
}

.popover-note span {
  overflow: hidden;
  color: #777;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popover-note.active {
  color: #fff;
  background: #3081b8;
}

.popover-note.active span {
  color: #eaf5fc;
}

.popover-note.locked strong::after {
  content: "  ·  locked";
  color: #777;
  font-size: 9px;
  text-transform: uppercase;
}

.editor-window {
  left: 38px;
  bottom: 46px;
  width: 72%;
  min-height: 380px;
  padding: 72px 38px 35px;
}

.editor-window .window-toolbar span {
  margin-left: auto;
}

.editor-window h3 {
  margin: 0 0 15px;
  font-family: Georgia, serif;
  font-size: 34px;
}

.editor-window p,
.editor-window li {
  font-size: 15px;
}

.app-summary {
  padding: 120px 0;
  background: var(--warm-white);
}

.summary-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.65fr;
  gap: 60px;
  align-items: start;
}

.summary-grid h2 {
  font-size: clamp(46px, 5.3vw, 72px);
}

.summary-grid > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-cards {
  padding: 0 0 120px;
  background: var(--warm-white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.card-grid article {
  min-height: 270px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.card-grid h3 {
  margin: 55px 0 12px;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.screenshots-section {
  overflow: hidden;
  padding: 110px 0 95px;
}

.screenshots-section h2 {
  max-width: 950px;
}

.screenshots-peef {
  color: #fff;
  background: #4b68b7;
}

.screenshots-ceg {
  color: #fff;
  background: #0b5ca1;
}

.screenshot-strip {
  width: max-content;
  display: flex;
  align-items: flex-start;
  gap: 26px;
  margin-top: 70px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 30px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-color: rgba(255, 255, 255, 0.65) rgba(255, 255, 255, 0.15);
}

.screenshot-strip figure {
  width: clamp(230px, 24vw, 330px);
  flex: 0 0 auto;
  overflow: hidden;
  margin: 0;
  border: 7px solid #151515;
  border-radius: 44px;
  background: #151515;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

.origin-story {
  padding: 120px 0;
  background: var(--paper);
}

.origin-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 85px;
  align-items: center;
}

.origin-grid p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}

.origin-grid img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.88);
}

.development-note {
  padding: 120px 0;
  background: #cad4c7;
}

.development-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: center;
}

.development-grid img {
  border-radius: 22%;
  box-shadow: 0 30px 60px rgba(25, 48, 24, 0.2);
}

.development-grid h2 {
  max-width: 800px;
}

.development-grid div > p:last-child {
  max-width: 700px;
  font-size: 18px;
}

.not-found {
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 100px 0;
}

.not-found p:not(.eyebrow) {
  margin: 30px 0;
  font-size: 22px;
}

@media (max-width: 980px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-art {
    width: min(100%, 650px);
    min-height: 620px;
    margin: 0 auto;
  }

  .app-feature {
    grid-template-columns: 1fr 0.8fr;
  }

  .feature-copy {
    padding: 55px;
  }

  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .summary-grid .eyebrow {
    grid-column: 1 / -1;
  }

  .app-hero-grid,
  .app-hero-notes .app-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .app-hero-copy {
    padding-bottom: 40px;
  }

  .app-hero-phone {
    width: min(100%, 600px);
    height: 620px;
    margin: 0 auto;
  }

  .app-hero-phone img {
    top: 40px;
    left: 20%;
    width: 60%;
  }

  .app-hero-ceg .app-hero-phone::before {
    width: 480px;
    height: 480px;
    top: 80px;
    left: 2%;
  }

  .menubar-hero-art {
    margin-bottom: 70px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 34px), var(--max));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-shirt {
    width: 27px;
    height: 24px;
  }

  .site-nav > a:not(.nav-contact) {
    display: none;
  }

  .site-nav .nav-contact {
    padding: 9px 11px;
    font-size: 11px;
  }

  .hero-copy {
    padding-top: 70px;
  }

  .hero-copy h1,
  .app-hero-copy h1,
  .not-found h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-intro {
    margin-top: 28px;
    font-size: 19px;
  }

  .hero-art {
    min-height: 500px;
  }

  .phone-card {
    width: 54%;
    border-width: 6px;
    border-radius: 37px;
  }

  .hero-stamp {
    top: 0;
    width: 94px;
    height: 94px;
    font-size: 10px;
  }

  .apps-section,
  .other-work,
  .app-summary,
  .origin-story,
  .development-note {
    padding: 80px 0;
  }

  .section-heading,
  .other-grid,
  .summary-grid,
  .origin-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .section-heading h2,
  .other-work h2,
  .app-summary h2,
  .screenshots-section h2,
  .origin-story h2,
  .development-note h2,
  .site-footer h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .app-feature {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .feature-copy {
    padding: 45px 28px;
  }

  .feature-visual,
  .notes-stage {
    min-height: 520px;
  }

  .feature-visual img {
    top: 45px;
    left: 21%;
    width: 58%;
    border-width: 6px;
    border-radius: 42px;
  }

  .notes-window-front {
    padding-inline: 28px;
  }

  .capability-list > div {
    grid-template-columns: 32px 1fr;
    gap: 16px;
  }

  .capability-list p {
    grid-column: 2;
  }

  .experience-band p {
    white-space: normal;
  }

  .app-hero-copy {
    padding: 60px 0 35px;
  }

  .back-link {
    margin-bottom: 45px;
  }

  .app-hero-phone {
    height: 540px;
  }

  .app-hero-phone img {
    left: 13%;
    width: 74%;
    border-width: 7px;
    border-radius: 48px;
  }

  .app-hero-ceg .app-hero-phone::before {
    width: 390px;
    height: 390px;
    left: -3%;
  }

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

  .card-grid article {
    min-height: 230px;
  }

  .screenshots-section {
    padding: 80px 0 70px;
  }

  .screenshot-strip {
    gap: 18px;
    margin-top: 50px;
  }

  .screenshot-strip figure {
    width: 245px;
    border-width: 5px;
    border-radius: 35px;
  }

  .menubar-hero-art {
    height: 500px;
    margin-bottom: 50px;
    border-width: 6px;
  }

  .popover-window {
    top: 42px;
    right: 12px;
    width: 235px;
  }

  .editor-window {
    left: 14px;
    bottom: 24px;
    width: 82%;
    min-height: 300px;
    padding: 65px 24px 24px;
  }

  .editor-window h3 {
    font-size: 27px;
  }

  .development-grid {
    grid-template-columns: 100px 1fr;
    gap: 28px;
    align-items: start;
  }

  .development-grid .eyebrow {
    margin-bottom: 12px;
  }
}

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

  .button {
    transition: none;
  }
}

/* Peef — warm, friendly, rounded */
.peef-page {
  --peef-cream: #fff8e9;
  --peef-ink: #21324e;
  --peef-sky: #5aa1ee;
  --peef-pink: #ef8193;
  --peef-butter: #f4ce66;
  color: var(--peef-ink);
  background: var(--peef-cream);
  font-family: "Avenir Next", Avenir, ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.peef-page .back-link {
  color: var(--peef-ink);
}

.peef-page .button-dark {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--peef-ink);
  box-shadow: 0 7px 0 rgba(33, 50, 78, 0.17);
}

.peef-page .button-dark:hover {
  color: #fff;
  background: #34517c;
}

.peef-hero {
  position: relative;
  overflow: hidden;
  min-height: 870px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.75) 0 4px, transparent 5px) 0 0 / 36px 36px,
    linear-gradient(145deg, #c8e4ff, #ebd1ec 55%, #ffc6c7);
}

.peef-hero::after {
  position: absolute;
  right: -3%;
  bottom: -150px;
  left: -3%;
  height: 250px;
  content: "";
  border-radius: 50% 50% 0 0;
  background: var(--peef-cream);
}

.peef-orb {
  position: absolute;
  border-radius: 50%;
  opacity: .65;
  filter: blur(1px);
}

.peef-orb-one {
  width: 220px;
  height: 220px;
  top: 95px;
  left: -80px;
  background: #fff4a4;
}

.peef-orb-two {
  width: 150px;
  height: 150px;
  right: 38%;
  bottom: 70px;
  background: #89c9af;
}

.peef-hero-grid {
  position: relative;
  z-index: 2;
  min-height: 800px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 70px;
}

.peef-hero-copy {
  padding: 60px 0 145px;
}

.peef-label {
  margin: 0 0 24px;
  color: #416187;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.peef-app-id {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.peef-app-id img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(33, 50, 78, .18));
}

.peef-app-id strong {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
  letter-spacing: -.025em;
}

.peef-app-id .peef-label {
  margin: 0;
}

.peef-hero-copy h1,
.peef-section-intro h2,
.peef-gallery-heading h2,
.peef-origin-copy h2 {
  margin: 0;
  font-family: "Avenir Next", Avenir, ui-rounded, sans-serif;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
}

.peef-hero-copy h1 {
  max-width: 700px;
  font-size: clamp(60px, 7vw, 100px);
}

.peef-lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: #324b6d;
  font-size: 20px;
}

.peef-promises {
  display: flex;
  gap: 32px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.peef-promises li {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.peef-promises b {
  font-size: 14px;
}

.peef-promises span {
  color: #537092;
}

.peef-phone-cluster {
  position: relative;
  min-height: 760px;
  align-self: end;
}

.peef-phone {
  position: absolute;
  width: min(54%, 350px);
  margin: 0;
  filter: drop-shadow(0 35px 35px rgba(37, 57, 88, .22));
}

.peef-phone-front {
  z-index: 2;
  right: 6%;
  bottom: -25px;
  transform: rotate(5deg);
}

.peef-phone-back {
  left: 2%;
  bottom: -90px;
  transform: rotate(-9deg);
}

.peef-paw {
  position: absolute;
  z-index: 4;
  top: 115px;
  right: 2%;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--peef-pink);
  font-size: 42px;
  transform: rotate(8deg);
}

.peef-caption {
  position: absolute;
  z-index: 4;
  right: 36%;
  bottom: 4px;
  padding: 13px 16px;
  border-radius: 15px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  transform: rotate(-4deg);
  box-shadow: 0 10px 25px rgba(33, 50, 78, .12);
}

.peef-care {
  padding: 120px 0 135px;
}

.peef-section-intro {
  max-width: 820px;
  margin: 0 auto 65px;
  text-align: center;
}

.peef-section-intro h2,
.peef-gallery-heading h2,
.peef-origin-copy h2 {
  font-size: clamp(45px, 5.4vw, 72px);
}

.peef-section-intro > p:last-child {
  max-width: 620px;
  margin: 25px auto 0;
  color: #5a6d87;
  font-size: 19px;
}

.peef-care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.peef-care-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 2px solid rgba(33, 50, 78, .1);
  border-radius: 32px;
  background: #dceefc;
  box-shadow: 0 12px 0 rgba(33, 50, 78, .06);
}

.peef-care-card-wide {
  grid-column: span 2;
  background: #d8eadf;
}

.peef-care-card-coral {
  background: #ffd2d7;
}

.peef-care-card-yellow {
  grid-column: span 2;
  background: #f9e6a6;
}

.peef-card-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--peef-ink);
  font-size: 24px;
}

.peef-care-card div > p {
  margin: 25px 0 4px;
  color: #516983;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.peef-care-card h3 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.peef-care-card > p {
  max-width: 500px;
  margin: 35px 0 0;
  color: #52677d;
}

.peef-gallery {
  overflow: hidden;
  padding: 120px 0 90px;
  background: #2c5185;
  color: #fff;
}

.peef-gallery .peef-label {
  color: #bfe0ff;
}

.peef-gallery-heading {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 80px;
  align-items: end;
}

.peef-gallery-heading > p {
  margin: 0;
  color: #c7dbef;
}

.peef-gallery-track {
  width: max-content;
  max-width: 100%;
  display: flex;
  gap: 25px;
  align-items: flex-start;
  margin-top: 70px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 70px;
  overflow-x: auto;
}

.peef-gallery-track figure {
  width: clamp(240px, 23vw, 320px);
  flex: 0 0 auto;
  margin: 0;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .22));
}

.peef-shot-low {
  margin-top: 65px !important;
}

.peef-origin {
  padding: 130px 0;
  background: #f5d7d2;
}

.peef-origin-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 85px;
  align-items: center;
}

.peef-origin-copy p:last-child {
  color: #674d54;
  font-size: 19px;
}

.peef-origin figure {
  position: relative;
  margin: 0;
  transform: rotate(2deg);
}

.peef-origin figure::before {
  position: absolute;
  inset: -14px;
  z-index: -1;
  content: "";
  border-radius: 5px;
  background: #fffaf3;
  box-shadow: 0 20px 50px rgba(75, 43, 50, .15);
}

.peef-origin img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.peef-origin figcaption {
  padding-top: 13px;
  color: #72535b;
  font-size: 12px;
  font-weight: 700;
}

/* CEG — industrial, technical, high contrast */
.ceg-page {
  --ceg-ink: #101417;
  --ceg-blue: #0879dc;
  --ceg-yellow: #ffc229;
  --ceg-off: #e9e8e2;
  color: var(--ceg-ink);
  background: var(--ceg-off);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

.ceg-hero {
  position: relative;
  overflow: hidden;
  min-height: 880px;
  color: #fff;
  background: var(--ceg-blue);
}

.ceg-grid-lines {
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 80px 80px;
}

.ceg-utility {
  position: relative;
  z-index: 2;
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,.45);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ceg-utility .back-link {
  margin: 0;
  color: #fff;
}

.ceg-hero-grid {
  position: relative;
  z-index: 2;
  min-height: 735px;
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 70px;
  align-items: center;
}

.ceg-kicker,
.ceg-section-number {
  margin: 0 0 25px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.ceg-app-id {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.ceg-app-id img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(8px 8px 0 rgba(16, 20, 23, .28));
}

.ceg-app-id .ceg-kicker {
  max-width: 190px;
  margin: 0;
  line-height: 1.3;
}

.ceg-hero-copy h1,
.ceg-mission h2,
.ceg-workflow-heading h2,
.ceg-built h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .88;
}

.ceg-hero-copy h1 {
  font-size: clamp(72px, 8.6vw, 128px);
}

.ceg-hero-copy h1 em {
  color: var(--ceg-yellow);
  font-style: normal;
}

.ceg-hero-copy > p:not(.ceg-kicker) {
  max-width: 600px;
  margin: 32px 0;
  font-size: 20px;
}

.ceg-page .button-dark {
  color: var(--ceg-ink);
  background: var(--ceg-yellow);
  border-color: var(--ceg-yellow);
  box-shadow: 7px 7px 0 var(--ceg-ink);
}

.ceg-page .button-dark:hover {
  color: var(--ceg-ink);
  background: #fff;
}

.ceg-machine {
  position: relative;
  min-height: 690px;
  align-self: end;
}

.ceg-machine::before {
  position: absolute;
  width: 520px;
  height: 520px;
  top: 80px;
  left: -50px;
  content: "";
  border-radius: 50%;
  background: var(--ceg-yellow);
}

.ceg-machine figure {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: -100px;
  width: min(76%, 410px);
  margin: 0;
  filter: drop-shadow(20px 25px 0 rgba(16, 20, 23, .2));
  transform: rotate(3deg);
}

.ceg-machine-number {
  position: absolute;
  z-index: 3;
  top: 38px;
  right: 0;
  font-family: Impact, sans-serif;
  font-size: 90px;
  line-height: 1;
  -webkit-text-stroke: 2px #fff;
  color: transparent;
}

.ceg-machine-note {
  position: absolute;
  z-index: 4;
  bottom: 36px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  color: var(--ceg-ink);
  background: #fff;
  box-shadow: 8px 8px 0 var(--ceg-ink);
  transform: rotate(-3deg);
}

.ceg-machine-note b {
  font-family: Impact, sans-serif;
  font-size: 34px;
}

.ceg-machine-note span {
  max-width: 80px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.ceg-ticker {
  position: relative;
  z-index: 5;
  min-width: max-content;
  display: flex;
  gap: 26px;
  padding: 17px 25px;
  color: var(--ceg-ink);
  background: var(--ceg-yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ceg-ticker i {
  font-style: normal;
}

.ceg-mission {
  padding: 145px 0;
  background: #f1f0eb;
}

.ceg-mission-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 100px;
}

.ceg-mission h2 {
  max-width: 700px;
  font-size: clamp(62px, 7vw, 100px);
}

.ceg-mission-grid > div:last-child > p {
  margin: 35px 0 55px;
  font-size: 20px;
}

.ceg-facts {
  margin: 0;
  border-top: 4px solid var(--ceg-ink);
}

.ceg-facts div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid #a9a9a4;
}

.ceg-facts dt {
  font-weight: 900;
  text-transform: uppercase;
}

.ceg-facts dd {
  margin: 0;
  color: #555853;
}

.ceg-workflow {
  padding: 125px 0;
  color: #fff;
  background: var(--ceg-ink);
}

.ceg-workflow-heading {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.ceg-workflow-heading h2 {
  font-size: clamp(62px, 7.7vw, 110px);
}

.ceg-screen-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.ceg-screen-card {
  overflow: hidden;
  min-height: 550px;
  padding: 22px;
  border: 1px solid #4c5053;
  background: #1a2024;
}

.ceg-screen-card > span,
.ceg-screen-card div > span {
  display: block;
  margin-bottom: 20px;
  color: var(--ceg-yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ceg-screen-card figure {
  width: 72%;
  margin: 35px auto -120px;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .3));
}

.ceg-screen-card-main {
  background: var(--ceg-blue);
}

.ceg-screen-card-main figure {
  width: 66%;
}

.ceg-screen-card-wide {
  grid-column: 1 / -1;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 50px;
  align-items: center;
  padding: 50px;
  color: var(--ceg-ink);
  background: var(--ceg-yellow);
}

.ceg-screen-card-wide div > span {
  color: var(--ceg-ink);
}

.ceg-screen-card-wide h3 {
  max-width: 700px;
  margin: 0;
  font-family: Impact, sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
}

.ceg-news-pair {
  position: relative;
  min-height: 570px;
}

.ceg-screen-card-wide .ceg-news-pair figure {
  position: absolute;
  width: 62%;
  margin: 0;
}

.ceg-screen-card-wide .ceg-news-pair figure:first-child {
  z-index: 2;
  left: 0;
  bottom: -140px;
  transform: rotate(-3deg);
}

.ceg-screen-card-wide .ceg-news-pair figure:last-child {
  right: -5%;
  bottom: -105px;
  transform: rotate(4deg);
}

.ceg-built {
  padding: 130px 0;
  color: #fff;
  background: var(--ceg-blue);
}

.ceg-built-grid {
  display: grid;
  grid-template-columns: .3fr 1fr .55fr;
  gap: 60px;
}

.ceg-built h2 {
  font-size: clamp(58px, 7vw, 95px);
}

.ceg-built-grid > p:last-child {
  margin: 0;
  font-size: 18px;
}

/* MenuBar Notes — native Mac, glass and utility */
.notes-page {
  --notes-blue: #3081b8;
  --notes-ink: #1f2225;
  --notes-silver: #ececeb;
  color: var(--notes-ink);
  background: #e7e7e4;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.notes-desktop {
  position: relative;
  overflow: hidden;
  min-height: 890px;
  background:
    radial-gradient(circle at 67% 22%, rgba(255,255,255,.55), transparent 22%),
    linear-gradient(135deg, #6f8d8a, #c1aa89 46%, #9b7d78);
}

.notes-desktop-menu {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #111;
  background: rgba(244, 244, 242, .84);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px rgba(0,0,0,.12);
  font-size: 12px;
}

.notes-desktop-menu div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.notes-hero {
  min-height: 860px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 50px;
  align-items: center;
}

.notes-hero-copy {
  position: relative;
  z-index: 3;
  padding: 80px 0 100px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.notes-hero-copy .back-link {
  margin-bottom: 65px;
  color: #fff;
}

.notes-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 35px;
}

.notes-title-row img {
  width: 60px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.notes-title-row p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: none;
}

.notes-title-row span {
  font-size: 12px;
  font-weight: 400;
}

.notes-hero-copy h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(58px, 6.5vw, 92px);
  letter-spacing: -.06em;
  line-height: .96;
}

.notes-lede {
  max-width: 520px;
  margin: 28px 0 35px;
  font-size: 20px;
}

.notes-contact-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 45px;
  padding: 12px 18px;
  border-radius: 9px;
  color: #111;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
}

.notes-app-scene {
  position: relative;
  height: 700px;
  align-self: end;
}

.notes-scene-popover,
.notes-scene-editor,
.notes-shortcut,
.notes-status-window {
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(247, 247, 245, .9);
  backdrop-filter: blur(28px) saturate(1.2);
  box-shadow: 0 30px 70px rgba(23, 29, 29, .27);
}

.notes-scene-popover {
  position: absolute;
  z-index: 3;
  top: 40px;
  right: -5%;
  width: 300px;
  padding: 15px;
  border-radius: 15px;
}

.notes-popover-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 3px 12px;
}

.notes-popover-title b {
  font-size: 17px;
}

.notes-popover-title button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 7px;
  background: #dededb;
  font-size: 18px;
}

.notes-search {
  margin-bottom: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 7px;
  color: #777;
  background: rgba(225,225,222,.8);
  font-size: 12px;
}

.notes-list-item {
  display: flex;
  flex-direction: column;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 12px;
}

.notes-list-item span {
  overflow: hidden;
  color: #727272;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notes-list-item.selected {
  color: #fff;
  background: var(--notes-blue);
}

.notes-list-item.selected span {
  color: #e5f2fa;
}

.notes-list-item.protected strong::after {
  content: "  🔒";
  font-size: 10px;
}

.notes-scene-editor {
  position: absolute;
  left: 0;
  bottom: 55px;
  width: 78%;
  min-height: 500px;
  overflow: hidden;
  border-radius: 14px;
}

.notes-window-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(0,0,0,.14);
  background: rgba(225,225,223,.9);
}

.notes-window-bar i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bcbcb8;
}

.notes-window-bar b {
  margin: 0 auto;
  font-size: 12px;
}

.notes-window-bar span {
  color: #666;
}

.notes-editor-body {
  padding: 50px;
  color: #282a2c;
}

.notes-editor-date {
  margin: 0 0 20px;
  color: #8a8a87;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
}

.notes-editor-body h2 {
  margin: 0 0 18px;
  font-size: 36px;
  letter-spacing: -.04em;
}

.notes-editor-body p,
.notes-editor-body li {
  font-size: 16px;
}

.notes-cursor {
  width: 2px;
  height: 20px;
  display: block;
  margin-top: 32px;
  background: var(--notes-blue);
}

.notes-shortcut {
  position: absolute;
  z-index: 5;
  right: 8%;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 16px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 650;
}

.notes-shortcut span {
  margin-right: 15px;
}

.notes-page kbd {
  display: inline-grid;
  min-width: 28px;
  min-height: 27px;
  place-items: center;
  padding: 3px 8px;
  border: 1px solid #b8b8b4;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: linear-gradient(#fff, #e7e7e4);
  color: #303234;
  font-family: inherit;
  font-size: 11px;
  box-shadow: 0 1px 1px rgba(0,0,0,.09);
}

.notes-philosophy {
  padding: 130px 0;
  background: #f5f5f2;
}

.notes-philosophy-grid {
  display: grid;
  grid-template-columns: .25fr 1fr .55fr;
  gap: 70px;
}

.notes-section-label {
  margin: 0;
  color: #727471;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.notes-philosophy h2,
.notes-status h2 {
  margin: 0;
  font-size: clamp(48px, 5.7vw, 76px);
  letter-spacing: -.055em;
  line-height: 1;
}

.notes-philosophy-grid > p:last-child {
  margin: 0;
  color: #666966;
  font-size: 18px;
}

.notes-features {
  padding: 30px 0 120px;
  background: #f5f5f2;
}

.notes-feature-row {
  display: grid;
  grid-template-columns: 50px .5fr 1fr 110px;
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid #b8b9b6;
}

.notes-feature-row:last-child {
  border-bottom: 1px solid #b8b9b6;
}

.notes-feature-row > span {
  color: #777;
  font-size: 11px;
}

.notes-feature-row h3,
.notes-feature-row p {
  margin: 0;
}

.notes-feature-row h3 {
  font-size: 28px;
  letter-spacing: -.03em;
}

.notes-feature-row p {
  color: #666966;
}

.notes-feature-row kbd {
  justify-self: end;
}

.notes-feature-protected {
  margin-inline: -24px;
  padding-inline: 24px;
  border-radius: 12px;
  color: #fff;
  background: #272a2d;
}

.notes-feature-protected p,
.notes-feature-protected > span {
  color: #babdbf;
}

.notes-status {
  padding: 120px 0;
  background: linear-gradient(135deg, #c8cac8, #e7e5df);
}

.notes-status-window {
  position: relative;
  min-height: 460px;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 55px;
  align-items: center;
  overflow: hidden;
  padding: 100px 70px 65px;
  border-radius: 15px;
}

.notes-status-window > .notes-window-bar {
  position: absolute;
  inset: 0 0 auto;
}

.notes-status-window > img {
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,.16);
}

.notes-status h2 {
  margin-top: 15px;
  max-width: 850px;
}

.notes-status-window div:last-child > p:last-child {
  max-width: 730px;
  color: #626462;
}

@media (max-width: 980px) {
  .peef-hero-grid,
  .ceg-hero-grid,
  .notes-hero {
    grid-template-columns: 1fr;
  }

  .peef-hero-copy {
    padding-bottom: 10px;
  }

  .peef-phone-cluster {
    width: min(100%, 680px);
    min-height: 660px;
    margin: 0 auto;
  }

  .ceg-machine {
    width: min(100%, 650px);
    min-height: 620px;
    margin: 0 auto;
  }

  .ceg-mission-grid,
  .ceg-built-grid,
  .notes-philosophy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ceg-built-grid > .ceg-section-number,
  .notes-philosophy-grid > .notes-section-label {
    grid-column: 1 / -1;
  }

  .ceg-screen-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ceg-screen-card-main {
    grid-column: 1 / -1;
  }

  .notes-hero-copy {
    padding-bottom: 20px;
  }

  .notes-app-scene {
    width: min(100%, 760px);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .peef-hero-grid {
    gap: 0;
  }

  .peef-hero-copy {
    padding-top: 55px;
  }

  .peef-hero-copy h1,
  .ceg-hero-copy h1,
  .notes-hero-copy h1 {
    font-size: clamp(55px, 16vw, 76px);
  }

  .app-feature-icon {
    width: 72px;
    height: 72px;
  }

  .peef-app-id img,
  .ceg-app-id img {
    width: 72px;
    height: 72px;
  }

  .peef-promises {
    gap: 15px;
    justify-content: space-between;
  }

  .peef-promises li {
    max-width: 30%;
  }

  .peef-phone-cluster {
    min-height: 530px;
  }

  .peef-phone {
    width: 54%;
  }

  .peef-paw {
    top: 45px;
    width: 75px;
    height: 75px;
    font-size: 30px;
  }

  .peef-caption {
    right: 25%;
    bottom: -20px;
  }

  .peef-care,
  .peef-gallery,
  .peef-origin,
  .ceg-mission,
  .ceg-workflow,
  .ceg-built,
  .notes-philosophy,
  .notes-status {
    padding: 80px 0;
  }

  .peef-care-grid,
  .peef-gallery-heading,
  .peef-origin-grid,
  .ceg-mission-grid,
  .ceg-built-grid,
  .notes-philosophy-grid,
  .notes-status-window {
    grid-template-columns: 1fr;
  }

  .peef-care-card,
  .peef-care-card-wide,
  .peef-care-card-yellow {
    grid-column: auto;
    min-height: 300px;
  }

  .peef-gallery-heading {
    gap: 30px;
  }

  .peef-gallery-track {
    margin-top: 45px;
  }

  .peef-shot-low {
    margin-top: 35px !important;
  }

  .peef-origin-grid {
    gap: 50px;
  }

  .ceg-utility {
    grid-template-columns: 1fr auto;
  }

  .ceg-utility span:last-child {
    display: none;
  }

  .ceg-hero-grid {
    gap: 0;
  }

  .ceg-hero-copy {
    padding: 65px 0 0;
  }

  .ceg-machine {
    min-height: 560px;
  }

  .ceg-machine::before {
    width: 390px;
    height: 390px;
    left: -30px;
  }

  .ceg-machine figure {
    right: 10%;
    width: 65%;
    border-width: 6px;
    border-radius: 42px;
  }

  .ceg-mission-grid,
  .ceg-built-grid {
    gap: 35px;
  }

  .ceg-mission h2,
  .ceg-workflow-heading h2,
  .ceg-built h2 {
    font-size: clamp(55px, 16vw, 78px);
  }

  .ceg-workflow-heading,
  .ceg-screen-grid,
  .ceg-screen-card-wide {
    grid-template-columns: 1fr;
  }

  .ceg-screen-card-main,
  .ceg-screen-card-wide {
    grid-column: auto;
  }

  .ceg-screen-card {
    min-height: 500px;
  }

  .ceg-screen-card-wide {
    padding: 30px;
  }

  .ceg-screen-card-wide h3 {
    font-size: 48px;
  }

  .ceg-screen-card-wide figure {
    width: 62%;
    margin-bottom: -150px;
  }

  .ceg-news-pair {
    min-height: 540px;
  }

  .ceg-screen-card-wide .ceg-news-pair figure {
    width: 58%;
    margin: 0;
  }

  .notes-desktop {
    min-height: auto;
  }

  .notes-desktop-menu {
    font-size: 10px;
  }

  .notes-desktop-menu div:first-child span,
  .notes-desktop-menu div:last-child span:not(:last-child) {
    display: none;
  }

  .notes-hero {
    min-height: auto;
  }

  .notes-hero-copy {
    padding: 60px 0 25px;
  }

  .notes-hero-copy .back-link {
    margin-bottom: 45px;
  }

  .notes-app-scene {
    height: 610px;
  }

  .notes-scene-popover {
    right: -6%;
    width: 230px;
  }

  .notes-scene-editor {
    width: 86%;
    min-height: 420px;
  }

  .notes-editor-body {
    padding: 38px 25px;
  }

  .notes-shortcut {
    right: 0;
  }

  .notes-feature-row {
    grid-template-columns: 35px 1fr auto;
    gap: 16px;
  }

  .notes-feature-row p {
    grid-column: 2 / -1;
  }

  .notes-feature-row kbd {
    grid-column: 3;
    grid-row: 1;
  }

  .notes-status-window {
    gap: 35px;
    padding: 90px 30px 45px;
  }

  .notes-status-window > img {
    width: 100px;
  }
}


/* Peef standalone site chrome and supporting pages */
.peef-site-brand {
  text-transform: none;
}

.peef-site-brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(34, 64, 115, 0.16);
}

.peef-praise {
  padding: 120px 0 135px;
  background: #f4ce66;
}

.peef-praise .peef-section-intro {
  margin-bottom: 55px;
}

.peef-praise-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 20px;
}

.peef-praise-grid blockquote {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 36px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 35px rgba(82, 59, 18, .12);
}

.peef-praise-grid blockquote:nth-child(2) {
  background: #dceefc;
  transform: translateY(22px) rotate(1deg);
}

.peef-praise-grid blockquote:nth-child(3) {
  background: #ffd2d7;
  transform: rotate(-1deg);
}

.peef-praise-grid blockquote > p {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 37px);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.peef-praise-grid blockquote footer {
  display: grid;
  gap: 4px;
  margin-top: 34px;
}

.peef-praise-grid blockquote strong {
  font-size: 14px;
}

.peef-praise-grid blockquote a {
  width: max-content;
  color: #3081b8;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 13px;
}

.footer-brand div {
  display: grid;
}

.footer-brand span {
  color: #a6a49e;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.site-footer nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-footer .footer-grid > p {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #a6a49e;
  font-size: 12px;
}

.info-page {
  min-height: 78vh;
  padding: 120px 0 130px;
  background: #fff;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr);
  gap: clamp(60px, 10vw, 150px);
}

.info-grid aside {
  position: sticky;
  top: 50px;
  align-self: start;
}

.info-page h1,
.not-found h1 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}

.info-grid aside > p:last-child,
.info-content p,
.not-found p:not(.eyebrow) {
  color: var(--muted);
}

.info-content {
  max-width: 760px;
}

.info-content h2 {
  margin: 48px 0 10px;
  font-size: 24px;
  letter-spacing: -.035em;
}

.info-content h2:first-child {
  margin-top: 0;
}

.info-content p {
  margin: 0 0 20px;
}

.info-content a {
  color: #3081b8;
  font-weight: 750;
}

.support-callout {
  padding: 30px;
  background: #dceefc;
}

.support-callout h2 {
  margin-top: 0;
}

.text-button {
  display: inline-flex;
  gap: 28px;
  padding: 13px 17px;
  color: #fff !important;
  background: #3081b8;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.not-found {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 100px;
  text-align: center;
  background: #dceefc;
}

.not-found > div {
  max-width: 700px;
}

@media (max-width: 980px) {
  .peef-praise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .peef-praise-grid blockquote:first-child {
    grid-column: 1 / -1;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-grid aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .peef-praise {
    padding: 80px 0 95px;
  }

  .peef-praise-grid {
    grid-template-columns: 1fr;
  }

  .peef-praise-grid blockquote:first-child {
    grid-column: auto;
  }

  .peef-praise-grid blockquote:nth-child(2) {
    transform: rotate(1deg);
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-page {
    padding: 80px 0 90px;
  }
}

/* Keep the Peef screenshot group compact and scrollbar-free. */
.peef-gallery-track {
  width: min(calc(100% - 48px), var(--max));
  max-width: var(--max);
  justify-content: center;
  gap: 0;
  margin-inline: auto;
  padding-inline: 0;
  overflow: visible;
  scrollbar-width: none;
}

.peef-gallery-track::-webkit-scrollbar {
  display: none;
}

.peef-gallery-track figure {
  width: clamp(220px, 18vw, 280px);
}

.peef-gallery-track figure + figure {
  margin-left: clamp(-42px, -2.25vw, -28px);
}

.peef-gallery-track figure:nth-child(odd) {
  z-index: 2;
}

.peef-gallery-track figure:nth-child(even) {
  z-index: 1;
}

@media (max-width: 760px) {
  .peef-gallery-track {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 42px;
  }

  .peef-gallery-track figure {
    width: min(42vw, 230px);
  }

  .peef-gallery-track figure + figure {
    margin-left: -25vw;
  }
}

/* Compact quote cards. */
.peef-praise {
  padding: 90px 0 105px;
}

.peef-praise .peef-section-intro {
  max-width: 720px;
  margin-bottom: 42px;
}

.peef-praise-grid {
  width: min(100%, 980px);
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-inline: auto;
}

.peef-praise-grid blockquote {
  min-height: 205px;
  padding: 25px;
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(82, 59, 18, .1);
}

.peef-praise-grid blockquote:nth-child(2) {
  transform: translateY(10px) rotate(1deg);
}

.peef-praise-grid blockquote > p,
.peef-praise-grid blockquote:not(:first-child) > p {
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.15;
}

.peef-praise-grid blockquote footer {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .peef-praise-grid {
    grid-template-columns: 1fr;
  }

  .peef-praise-grid blockquote {
    min-height: 175px;
  }
}

/* Explicit spacing for the standalone footer navigation. */
.site-footer .peef-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 32px;
  row-gap: 14px;
}

.site-footer .peef-footer-nav a {
  display: inline-block;
  color: #fff;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .site-footer .peef-footer-nav {
    justify-content: flex-start;
    column-gap: 24px;
  }
}

/* Keep every footer link on one line. */
.site-footer .footer-grid {
  grid-template-columns: minmax(240px, 1fr) auto;
}

.site-footer .peef-footer-nav {
  flex-wrap: nowrap;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .peef-footer-nav {
    flex-wrap: nowrap;
    column-gap: clamp(10px, 4vw, 20px);
  }

  .site-footer .peef-footer-nav a {
    font-size: clamp(10px, 3.1vw, 12px);
  }
}
