:root {
  --ink: #171716;
  --ink-soft: #2b2a28;
  --paper: #f4f0e7;
  --paper-deep: #e7e1d5;
  --white: #fffdf8;
  --yellow: #e2e2e2;
  --yellow-bright: #f1f1f1;
  --green: #38a86b;
  --line: rgba(23, 23, 22, 0.19);
  --muted: #706d67;
  --danger: #b73c2e;
  --display: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --shadow: 0 24px 70px rgba(20, 19, 17, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--yellow);
  transform: translateY(-160%);
}

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

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

.section-shell,
.site-header,
.site-footer {
  width: min(1480px, calc(100% - 64px));
  margin-inline: auto;
}

.marketing-page {
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(23, 23, 22, 0.048) 0.65px, transparent 0.65px),
    radial-gradient(rgba(255, 255, 255, 0.48) 0.65px, transparent 0.65px);
  background-position: 0 0, 5px 6px;
  background-size: 9px 9px;
}

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1.8px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border-radius: 50%;
}

.brand-mark svg {
  width: 32px;
  fill: currentColor;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-mark .brand-mark-paper {
  fill: var(--ink);
}

.brand-light {
  color: var(--paper);
}

.brand-light .brand-mark {
  color: var(--ink);
  background: var(--paper);
}

.brand-light .brand-mark-paper {
  fill: var(--paper);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.nav-links a,
.site-footer nav a {
  position: relative;
}

.nav-links a::after,
.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.site-footer nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header > .button {
  justify-self: end;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--yellow);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 11px;
}

.button-ink {
  color: var(--paper);
  background: var(--ink);
}

.button-outline,
.button-ghost {
  background: transparent;
}

.button-yellow {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--ink);
}

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(420px, 0.87fr);
  align-items: center;
  gap: 72px;
  padding-block: 64px 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 9.2vw, 154px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.088em;
  text-transform: uppercase;
}

.marker-word {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.marker-word::after {
  position: absolute;
  z-index: -1;
  right: -0.02em;
  bottom: 0.01em;
  left: -0.02em;
  height: 0.19em;
  content: "";
  background: var(--yellow);
  transform: rotate(-1.6deg);
  clip-path: polygon(0 20%, 98% 0, 100% 72%, 2% 100%);
}

.hero-intro {
  max-width: 620px;
  margin: 44px 0 0;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.47;
  letter-spacing: -0.02em;
}

.hero-intro strong {
  padding: 0 0.13em;
  background: linear-gradient(transparent 62%, rgba(244, 207, 24, 0.72) 62%);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 36px;
}

.text-link {
  padding-block: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.micro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
}

.micro-proof span {
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-art::before {
  position: absolute;
  z-index: -1;
  width: min(34vw, 510px);
  aspect-ratio: 1;
  content: "";
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 49% 51% 47% 53% / 54% 42% 58% 46%;
  transform: rotate(4deg);
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(33vw, 465px);
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(17px 22px 0 rgba(23, 23, 22, 0.1));
  transform: rotate(1.5deg);
}

.scribble {
  position: absolute;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scribble-sun {
  z-index: 0;
  width: 115%;
  inset: 3% -7% auto;
  stroke-width: 7;
}

.scribble-loop {
  z-index: 3;
  right: -2%;
  bottom: 9%;
  width: 160px;
  stroke-width: 4;
  transform: rotate(-8deg);
}

.hero-stamp {
  position: absolute;
  z-index: 4;
  padding: 8px 12px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.stamp-top {
  top: 12%;
  right: 2%;
  transform: rotate(5deg);
}

.stamp-bottom {
  bottom: 12%;
  left: -3%;
  transform: rotate(-4deg);
}

.ticker {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  border-block: 2px solid var(--ink);
}

.ticker-track {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 18px 0;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 31px);
  letter-spacing: -0.04em;
  animation: ticker 22s linear infinite;
}

.ticker-track i {
  color: var(--yellow);
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-44%); }
}

.manifesto {
  display: grid;
  grid-template-columns: 90px 1.15fr 0.85fr;
  gap: 50px;
  align-items: end;
  padding-block: 150px 90px;
}

.section-number {
  align-self: start;
  padding-top: 13px;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.manifesto h2,
.workspace-copy h2,
.principles-intro h2,
.cta-copy h2,
.split-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6.2vw, 101px);
  line-height: 0.89;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.manifesto-heading h2 {
  text-transform: none;
}

.manifesto-copy {
  max-width: 470px;
  padding-bottom: 4px;
}

.manifesto-copy > p:first-child,
.workspace-copy > p:not(.eyebrow),
.split-heading > p,
.cta-copy > p:not(.eyebrow) {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.hand-note {
  width: max-content;
  margin: 40px 0 0;
  padding: 8px 14px 10px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 47% 53% 41% 59% / 50% 45% 55% 50%;
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 18px;
  transform: rotate(-2deg);
}

.address-stage {
  position: relative;
  min-height: 580px;
  padding-block: 80px 150px;
}

.address-stage::before {
  position: absolute;
  inset: 22px 6% 80px;
  content: "";
  border: 1px solid rgba(23, 23, 22, 0.35);
  transform: rotate(-0.6deg);
}

.address-card {
  border: 2px solid var(--ink);
  background: var(--white);
}

.address-card-main {
  position: relative;
  z-index: 3;
  width: min(930px, 78%);
  margin-inline: auto;
  box-shadow: 12px 12px 0 var(--yellow), 15px 15px 0 var(--ink);
  transform: rotate(-1deg);
}

.address-card-top {
  min-height: 130px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 25px 30px;
}

.avatar {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

.avatar-yellow {
  background: var(--yellow);
}

.card-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.address-card-top strong {
  display: block;
  overflow: hidden;
  font-family: var(--mono);
  font-size: clamp(17px, 2.6vw, 32px);
  letter-spacing: -0.055em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-chip i,
.safe-mode i,
.live-pulse {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--green);
  border-radius: 50%;
}

.address-card-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  padding: 18px 30px;
  border-top: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.address-card-bottom a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.address-card-shadow {
  position: absolute;
  z-index: 1;
  width: 54%;
  padding: 34px;
  font-family: var(--mono);
  font-size: 17px;
  opacity: 0.7;
}

.shadow-one {
  top: 24px;
  right: 4%;
  transform: rotate(4deg);
}

.shadow-two {
  bottom: 80px;
  left: 3%;
  transform: rotate(-5deg);
}

.address-arrow {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 12px;
  width: 160px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.address-note {
  position: absolute;
  right: 15%;
  bottom: 26px;
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 20px;
  line-height: 1.15;
  transform: rotate(-5deg);
}

.route-section {
  color: var(--paper);
  background: var(--ink);
  border-block: 1px solid var(--ink);
}

.route-section .section-shell {
  padding-block: 130px 140px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  align-items: end;
}

.eyebrow-light {
  color: var(--yellow);
}

.split-heading h2 {
  font-size: clamp(49px, 5.8vw, 94px);
}

.split-heading > p {
  max-width: 520px;
  padding-bottom: 6px;
  color: #c9c4ba;
}

.route-grid {
  margin: 95px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid rgba(244, 240, 231, 0.27);
  border-bottom: 1px solid rgba(244, 240, 231, 0.27);
}

.route-grid li {
  position: relative;
  min-height: 365px;
  padding: 28px 28px 34px;
  border-right: 1px solid rgba(244, 240, 231, 0.27);
}

.route-grid li:first-child {
  border-left: 1px solid rgba(244, 240, 231, 0.27);
}

.route-index {
  color: #817d76;
  font-family: var(--mono);
  font-size: 11px;
}

.route-icon {
  width: 88px;
  height: 88px;
  margin: 51px 0 35px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.08em;
  transition: transform 220ms ease;
}

.route-grid li:hover .route-icon {
  transform: rotate(-7deg) scale(1.08);
}

.route-grid h3 {
  margin: 0 0 13px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.route-grid p {
  margin: 0;
  color: #aaa69e;
  font-size: 14px;
  line-height: 1.55;
}

.workspace-section {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(320px, 0.65fr) minmax(580px, 1.35fr);
  gap: 50px;
  padding-block: 160px;
}

.workspace-copy {
  align-self: center;
}

.workspace-copy h2 {
  font-size: clamp(46px, 4.8vw, 78px);
}

.workspace-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin-top: 32px;
}

.workspace-copy .button {
  margin-top: 35px;
}

.mini-app {
  overflow: hidden;
  align-self: center;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--yellow);
  transform: rotate(0.7deg);
}

.mini-app-bar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--paper);
  background: var(--ink);
}

.mini-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.prototype-tag {
  display: inline-flex;
  padding: 5px 8px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mini-app-body {
  min-height: 460px;
  display: grid;
  grid-template-columns: 155px 245px 1fr;
}

.mini-sidebar {
  padding: 20px 12px;
  color: var(--paper);
  background: #222220;
}

.mini-label {
  display: block;
  margin: 2px 10px 16px;
  color: #8e8a82;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.mini-group {
  width: 100%;
  height: 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  font-size: 10px;
}

.mini-group.active {
  color: var(--ink);
  background: var(--paper);
}

.mini-group > span {
  color: #8e8a82;
  font-family: var(--mono);
  font-size: 8px;
}

.group-dot {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.dot-black { color: var(--paper); background: var(--ink); border: 1px solid #5c5953; }
.dot-yellow { color: var(--ink); background: var(--yellow); }
.dot-paper { color: var(--ink); background: var(--paper-deep); }

.mini-list {
  border-right: 1px solid var(--line);
}

.mini-list-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.mini-list-header span,
.mini-list-header strong {
  display: block;
}

.mini-list-header span {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mini-list-header strong {
  font-size: 19px;
}

.mini-list-header button {
  padding: 7px 9px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
}

.mini-message {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: start;
  gap: 8px;
  padding: 18px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.mini-message.active {
  background: rgba(20, 20, 20, 0.06);
}

.unread-dot {
  width: 6px;
  height: 6px;
  margin-top: 3px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.mini-message strong,
.mini-message small {
  display: block;
}

.mini-message strong {
  font-size: 11px;
}

.mini-message small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
}

.mini-message time {
  color: var(--muted);
  font-size: 8px;
}

.mini-reader {
  position: relative;
  padding: 32px 28px;
}

.reader-safe {
  display: inline-flex;
  padding: 5px 7px;
  color: #236a48;
  background: #dff0e6;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
}

.reader-from {
  margin: 34px 0 8px;
  color: var(--muted);
  font-size: 9px;
}

.mini-reader h3 {
  margin: 0 0 24px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.mini-reader > p:last-of-type {
  font-size: 11px;
  line-height: 1.6;
}

.demo-code {
  display: block;
  margin: 26px 0;
  font-family: var(--mono);
  font-size: 26px;
  letter-spacing: 0.16em;
}

.attachment-pill {
  padding: 11px 12px;
  border: 1px solid var(--line);
  font-size: 9px;
}

.attachment-pill span {
  float: right;
  color: var(--muted);
}

.principles-section {
  padding-block: 145px;
  color: var(--paper);
  background: var(--ink);
}

.principles-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.principles-intro h2 {
  font-size: clamp(50px, 6vw, 98px);
}

.dark-note {
  margin-bottom: 12px;
  color: var(--ink);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  border-top: 1px solid rgba(244, 240, 231, 0.32);
}

.principle-grid article {
  min-height: 330px;
  padding: 30px 28px;
  border-right: 1px solid rgba(244, 240, 231, 0.32);
}

.principle-grid article:first-child {
  border-left: 1px solid rgba(244, 240, 231, 0.32);
}

.principle-grid article > span {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 10px;
}

.principle-grid h3 {
  margin: 110px 0 18px;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.principle-grid p {
  margin: 0;
  color: #aaa69e;
  font-size: 14px;
  line-height: 1.55;
}

.cta-section {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 90px;
  padding-block: 130px;
}

.cta-copy h2 {
  font-size: clamp(61px, 8.2vw, 132px);
}

.cta-copy h2 span {
  position: relative;
  z-index: 0;
}

.cta-copy h2 span::before {
  position: absolute;
  z-index: -1;
  inset: 5% -2% -4%;
  content: "";
  background: var(--yellow);
  transform: rotate(1deg);
  clip-path: polygon(2% 8%, 100% 0, 97% 100%, 0 89%);
}

.cta-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 35px;
}

.cta-copy .button {
  margin-top: 35px;
}

.cta-art {
  position: relative;
  min-height: 560px;
}

.cta-art img {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 0;
  width: min(28vw, 390px);
  max-height: 540px;
  object-fit: contain;
}

.mail-shape {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--yellow);
  font-family: var(--display);
}

.mail-one {
  top: 10%;
  left: 0;
  width: 240px;
  height: 155px;
  font-size: 50px;
  transform: rotate(-8deg);
}

.mail-two {
  right: 0;
  bottom: 11%;
  width: 190px;
  height: 125px;
  font-size: 35px;
  transform: rotate(7deg);
}

.site-footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--ink);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-note {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Inbox application */
.app-page {
  height: 100vh;
  overflow: hidden;
  color: var(--ink);
  background: var(--ink);
}

.app-shell {
  height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: 72px 1fr;
}

.app-header {
  z-index: 20;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid #353430;
}

.app-header .brand {
  padding-left: 24px;
}

.app-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9d9990;
  font-size: 10px;
}

.verification-link {
  padding: 4px 8px;
  color: #151515;
  background: #f2d94e;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
}

.verification-link:disabled {
  cursor: wait;
  opacity: 0.6;
}

.prototype-tag-dark {
  color: var(--paper);
  background: #353430;
  border-color: #56534d;
}

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 22px;
}

.header-home-link {
  color: #aaa69e;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.profile-button {
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 900;
}

.mobile-nav-button {
  display: none !important;
}

.workspace-sidebar {
  position: relative;
  z-index: 15;
  grid-row: 2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 14px 18px;
  overflow-y: auto;
  color: var(--paper);
  background: var(--ink);
  border-right: 1px solid #353430;
}

.workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 15px;
  color: #77736d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.icon-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(127, 123, 115, 0.12);
  border-color: currentColor;
}

.icon-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-heading .icon-button {
  width: 28px;
  height: 28px;
  color: #a39f96;
  border-color: #44423d;
  font-size: 18px;
}

.workspace-list {
  display: grid;
  gap: 4px;
}

.workspace-button {
  width: 100%;
  height: 54px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  color: #bbb7ad;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
}

.workspace-button:hover {
  background: #232321;
}

.workspace-button.active {
  color: var(--ink);
  background: var(--paper);
}

.workspace-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--avatar-ink, var(--ink));
  background: var(--avatar-bg, var(--yellow));
  border: 1px solid var(--avatar-border, transparent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.workspace-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-count {
  min-width: 22px;
  padding: 3px 6px;
  color: #77736d;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
}

.workspace-button.active .workspace-count {
  color: var(--ink);
  background: var(--yellow);
}

.sidebar-rule {
  height: 1px;
  margin: 22px 10px 16px;
  background: #353430;
}

.utility-links {
  display: grid;
  gap: 2px;
}

.utility-links button {
  min-height: 42px;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #98948c;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
}

.utility-links button:hover {
  color: var(--paper);
  background: #232321;
}

.utility-links i {
  padding: 3px 5px;
  color: var(--ink);
  background: #89857d;
  border-radius: 3px;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.sidebar-note {
  margin-top: auto;
  display: grid;
  gap: 7px;
  padding: 14px;
  background: #232321;
  border: 1px solid #3f3d38;
  border-radius: 4px;
}

.sidebar-note strong {
  font-size: 11px;
}

.sidebar-note span {
  color: #8f8b83;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.sidebar-note i {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  font-size: 8px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.sidebar-note b {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: var(--yellow);
  border-radius: 50%;
}

.inbox-app {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(390px, 0.72fr) minmax(530px, 1.28fr);
  overflow: hidden;
  background: var(--paper);
}

.inbox-column {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #f7f4ed;
  border-right: 1px solid var(--line);
}

.inbox-toolbar {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.toolbar-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.inbox-toolbar h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.05em;
}

.app-create-button {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 9px;
}

.address-strip {
  position: relative;
  margin: 18px 20px 14px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--paper);
}

.address-strip-top {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 10px 0 14px;
}

.live-pulse {
  box-shadow: 0 0 0 4px rgba(56, 168, 107, 0.12);
}

.current-address {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  text-align: left;
}

.current-address span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.current-address svg {
  width: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.address-menu-button {
  width: 30px;
  height: 28px;
  padding: 0;
  color: #aaa69e;
  background: transparent;
  border: 0;
  cursor: pointer;
  letter-spacing: 1px;
}

.address-strip-bottom {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: #9e9a92;
  border-top: 1px solid #3b3935;
  font-size: 9px;
}

.address-strip-bottom > [data-address-label] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expiry-label {
  color: var(--yellow);
  font-family: var(--mono);
}

.address-strip.revoked .live-pulse {
  background: var(--danger);
  box-shadow: none;
}

.address-strip.revoked .expiry-label {
  color: #e78e82;
}

.address-popover {
  position: absolute;
  z-index: 20;
  top: 42px;
  right: 8px;
  width: 190px;
  padding: 6px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 var(--yellow);
}

.address-popover button {
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 11px;
}

.address-popover button:hover {
  background: var(--paper);
}

.address-switch-list {
  display: grid;
}

.popover-heading {
  padding: 7px 10px 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.address-popover .address-switch-button {
  display: grid;
  gap: 3px;
  padding-block: 8px;
}

.address-switch-button.active {
  background: rgba(20, 20, 20, 0.06);
}

.address-switch-button span {
  overflow: hidden;
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-switch-button small {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popover-rule {
  height: 1px;
  margin: 5px 6px;
  background: var(--line);
}

.danger-text {
  color: var(--danger) !important;
}

.filter-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  align-self: stretch;
  display: flex;
  gap: 22px;
}

.filter-tabs button {
  position: relative;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.filter-tabs button.active {
  color: var(--ink);
}

.filter-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--ink);
}

.filter-tabs span {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: 8px;
}

.search-button {
  width: 30px;
  height: 30px;
}

.search-field {
  display: block;
  padding: 9px 20px;
  border-bottom: 1px solid var(--line);
}

.search-field input {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 12px;
}

.message-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.inbox-loading {
  min-height: 180px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.inbox-loading i {
  width: 20px;
  height: 20px;
  border: 2px solid #d5d5d0;
  border-top-color: #202020;
  border-radius: 50%;
  animation: inbox-spin 0.8s linear infinite;
}

@keyframes inbox-spin {
  to { transform: rotate(360deg); }
}

.message-row {
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 10px;
  padding: 17px 20px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.message-row:hover {
  background: var(--white);
}

.message-row.active {
  background: rgba(20, 20, 20, 0.055);
  box-shadow: inset 3px 0 var(--yellow);
}

.message-unread-dot {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
}

.message-row.unread .message-unread-dot {
  opacity: 1;
}

.message-copy {
  min-width: 0;
}

.message-sender,
.message-subject,
.message-snippet {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-sender {
  font-size: 12px;
  font-weight: 760;
}

.message-subject {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 650;
}

.message-row.unread .message-subject {
  font-weight: 850;
}

.message-snippet {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.message-meta {
  display: grid;
  justify-items: end;
  align-content: space-between;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
}

.paperclip {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.empty-state {
  flex: 1;
  min-height: 240px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 30px;
  text-align: center;
}

.empty-state > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.empty-state strong {
  font-size: 16px;
}

.empty-state p {
  max-width: 270px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.reader-column {
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow-y: auto;
  background-color: var(--white);
  background-image: radial-gradient(rgba(23, 23, 22, 0.035) 0.55px, transparent 0.55px);
  background-size: 8px 8px;
}

.message-reader {
  min-height: 100%;
}

.reader-toolbar {
  position: sticky;
  z-index: 5;
  top: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.reader-toolbar-right {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.reader-back {
  display: none;
}

.safe-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px;
  padding: 5px 8px;
  color: #236a48;
  background: #e3f1e9;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.safe-mode i {
  width: 6px;
  height: 6px;
}

.message-header,
.message-body,
.attachment-area,
.reader-footer {
  width: min(720px, calc(100% - 70px));
  margin-inline: auto;
}

.message-header {
  padding: 68px 0 38px;
  border-bottom: 1px solid var(--line);
}

.message-date {
  margin: 0 0 15px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.message-header h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 49px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.sender-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
}

.sender-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.sender-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.sender-row button {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
}

.envelope-details {
  margin: 18px 0 0 50px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 10px;
}

.envelope-details div {
  display: grid;
  grid-template-columns: 60px 1fr;
  padding: 4px 0;
}

.envelope-details dt {
  color: var(--muted);
}

.envelope-details dd {
  margin: 0;
  font-family: var(--mono);
}

.message-body {
  padding-block: 46px;
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.message-body p {
  margin: 0 0 22px;
}

.message-body .message-code {
  width: max-content;
  display: block;
  margin: 34px 0;
  padding: 15px 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 var(--yellow);
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.attachment-area {
  display: grid;
  gap: 10px;
  padding: 4px 0 42px;
}

.attachment-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.attachment-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
}

.attachment-card strong,
.attachment-card small {
  display: block;
}

.attachment-card strong {
  font-size: 11px;
}

.attachment-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.attachment-card button {
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid var(--ink);
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.reader-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 9px;
}

.reader-footer button {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reader-empty {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 50px;
  text-align: center;
}

.reader-empty img {
  width: 145px;
  height: 180px;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(1);
}

.reader-empty h2 {
  margin: 20px 0 7px;
  font-size: 24px;
}

.reader-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.create-dialog {
  width: min(560px, calc(100% - 30px));
  max-height: min(760px, calc(100vh - 30px));
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--yellow);
}

.create-dialog::backdrop {
  background: rgba(23, 23, 22, 0.72);
  backdrop-filter: blur(3px);
}

.create-dialog form {
  padding: 32px;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.dialog-header h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -0.05em;
}

.dialog-close {
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-size: 22px;
}

.dialog-intro {
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-field > span,
.duration-field legend {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-field input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
}

.duration-field {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.duration-field > label {
  display: inline-block;
  margin: 0 5px 6px 0;
}

.duration-field input {
  position: absolute;
  opacity: 0;
}

.duration-field label span {
  display: inline-flex;
  padding: 10px 13px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
}

.duration-field input:checked + span {
  background: var(--yellow);
  border-color: var(--ink);
}

.duration-field input:focus-visible + span {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.generated-preview {
  margin-top: 24px;
  padding: 15px;
  color: var(--paper);
  background: var(--ink);
}

.generated-preview span,
.generated-preview strong {
  display: block;
}

.generated-preview span {
  margin-bottom: 8px;
  color: #98948c;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.generated-preview strong {
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 12px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.dialog-actions .button {
  min-height: 44px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(370px, calc(100% - 48px));
  padding: 13px 17px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--yellow);
  box-shadow: 6px 6px 0 rgba(20, 20, 20, 0.12);
  font-size: 11px;
  line-height: 1.45;
  animation: toast-in 180ms ease-out;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
}

.manifesto,
.address-stage,
.route-grid,
.workspace-section,
.principle-grid,
.cta-section {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .marketing-page .manifesto:not(.in-view),
  .marketing-page .address-stage:not(.in-view),
  .marketing-page .route-grid:not(.in-view),
  .marketing-page .workspace-section:not(.in-view),
  .marketing-page .principle-grid:not(.in-view),
  .marketing-page .cta-section:not(.in-view) {
    opacity: 0;
    transform: translateY(22px);
  }

  .marketing-page .manifesto,
  .marketing-page .address-stage,
  .marketing-page .route-grid,
  .marketing-page .workspace-section,
  .marketing-page .principle-grid,
  .marketing-page .cta-section {
    transition: opacity 600ms ease, transform 600ms ease;
  }
}

@media (max-width: 1180px) {
  .section-shell,
  .site-header,
  .site-footer {
    width: min(100% - 40px, 1100px);
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
  }

  .hero-art img {
    width: min(38vw, 430px);
  }

  .manifesto {
    grid-template-columns: 50px 1fr 0.78fr;
    gap: 32px;
  }

  .workspace-section {
    grid-template-columns: 40px 0.7fr 1.3fr;
    gap: 28px;
  }

  .mini-app-body {
    grid-template-columns: 125px 210px 1fr;
  }

  .mini-sidebar {
    padding-inline: 7px;
  }

  .app-shell {
    grid-template-columns: 220px 1fr;
  }

  .app-header {
    grid-template-columns: 220px 1fr auto;
  }

  .inbox-app {
    grid-template-columns: minmax(360px, 0.8fr) minmax(440px, 1.2fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 72px 80px;
  }

  .hero h1 {
    font-size: clamp(72px, 15vw, 120px);
  }

  .hero-intro {
    max-width: 660px;
  }

  .hero-art {
    min-height: 560px;
    margin-top: 10px;
  }

  .hero-art::before {
    width: min(65vw, 500px);
  }

  .hero-art img {
    width: min(58vw, 420px);
  }

  .manifesto {
    grid-template-columns: 45px 1fr;
  }

  .manifesto-copy {
    grid-column: 2;
  }

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

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

  .route-grid li:nth-child(3) {
    border-left: 1px solid rgba(244, 240, 231, 0.27);
  }

  .workspace-section {
    grid-template-columns: 45px 1fr;
  }

  .workspace-copy,
  .mini-app {
    grid-column: 2;
  }

  .mini-app {
    margin-top: 30px;
  }

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

  .principle-grid article:nth-child(3) {
    border-left: 1px solid rgba(244, 240, 231, 0.32);
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

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

  .cta-art img {
    width: min(50vw, 370px);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding-block: 50px;
  }

  .site-footer nav,
  .footer-note {
    justify-self: end;
  }

  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 64px 1fr;
  }

  .app-header {
    grid-template-columns: 1fr auto;
  }

  .app-header .brand {
    padding-left: 16px;
  }

  .app-header-center,
  .header-home-link {
    display: none;
  }

  .mobile-nav-button {
    display: grid !important;
  }

  .workspace-sidebar {
    position: fixed;
    z-index: 30;
    top: 64px;
    bottom: 0;
    left: 0;
    width: 260px;
    transform: translateX(-103%);
    transition: transform 180ms ease;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.28);
  }

  .workspace-sidebar.open {
    transform: translateX(0);
  }

  .inbox-app {
    grid-row: 2;
    grid-template-columns: minmax(340px, 0.78fr) minmax(440px, 1.22fr);
  }
}

@media (max-width: 700px) {
  .section-shell,
  .site-header,
  .site-footer {
    width: calc(100% - 28px);
  }

  .site-header {
    min-height: 74px;
  }

  .brand {
    font-size: 23px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .site-header > .button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 9px;
  }

  .hero {
    padding-block: 56px 60px;
  }

  .hero h1 {
    font-size: clamp(58px, 17.5vw, 92px);
    line-height: 0.82;
  }

  .hero-intro {
    margin-top: 30px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .micro-proof {
    margin-top: 40px;
  }

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

  .hero-art img {
    width: min(76vw, 350px);
    max-height: 410px;
  }

  .hero-art::before {
    width: min(78vw, 370px);
  }

  .scribble-sun {
    width: 105%;
  }

  .hero-stamp {
    font-size: 8px;
  }

  .stamp-top { right: 0; }
  .stamp-bottom { left: 0; }

  .manifesto {
    grid-template-columns: 1fr;
    padding-block: 100px 50px;
  }

  .manifesto .section-number,
  .workspace-section .section-number {
    width: 42px;
  }

  .manifesto-heading,
  .manifesto-copy {
    grid-column: 1;
  }

  .manifesto-heading h2,
  .workspace-copy h2,
  .principles-intro h2,
  .split-heading h2 {
    font-size: clamp(43px, 13vw, 66px);
  }

  .address-stage {
    min-height: 480px;
    padding-block: 60px 120px;
  }

  .address-card-main {
    width: 92%;
  }

  .address-card-top {
    min-height: 120px;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px;
  }

  .address-card-top .status-chip {
    grid-column: 2;
    width: max-content;
  }

  .address-card-top strong {
    font-size: 13px;
  }

  .avatar {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .address-card-bottom {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 15px 18px;
  }

  .address-card-shadow {
    width: 75%;
    padding: 24px;
    font-size: 11px;
  }

  .address-note {
    right: 22%;
    font-size: 16px;
  }

  .address-arrow {
    width: 100px;
  }

  .route-section .section-shell,
  .principles-section {
    padding-block: 95px;
  }

  .route-grid {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .route-grid li,
  .route-grid li:nth-child(3) {
    min-height: auto;
    border-left: 1px solid rgba(244, 240, 231, 0.27);
    border-bottom: 1px solid rgba(244, 240, 231, 0.27);
  }

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

  .route-icon {
    margin-block: 35px 24px;
  }

  .workspace-section {
    grid-template-columns: 1fr;
    padding-block: 100px;
  }

  .workspace-copy,
  .mini-app {
    grid-column: 1;
  }

  .mini-app-body {
    min-height: 450px;
    grid-template-columns: 92px 1fr;
  }

  .mini-sidebar {
    overflow: hidden;
  }

  .mini-group {
    grid-template-columns: auto 1fr;
    gap: 5px;
    padding-inline: 5px;
    font-size: 8px;
  }

  .mini-group > span {
    display: none;
  }

  .group-dot {
    width: 21px;
    height: 21px;
  }

  .mini-reader {
    display: none;
  }

  .principles-intro {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .principle-grid article,
  .principle-grid article:nth-child(3) {
    min-height: 240px;
    border-left: 1px solid rgba(244, 240, 231, 0.32);
    border-bottom: 1px solid rgba(244, 240, 231, 0.32);
  }

  .principle-grid article:last-child {
    border-bottom: 0;
  }

  .principle-grid h3 {
    margin-top: 65px;
  }

  .cta-section {
    min-height: auto;
    gap: 40px;
    padding-block: 100px;
  }

  .cta-copy h2 {
    font-size: clamp(57px, 16.5vw, 90px);
  }

  .cta-art {
    min-height: 380px;
  }

  .cta-art img {
    right: 10%;
    width: min(65vw, 310px);
    max-height: 370px;
  }

  .mail-one {
    width: 160px;
    height: 100px;
  }

  .mail-two {
    width: 125px;
    height: 85px;
  }

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

  .site-footer nav,
  .footer-note {
    justify-self: start;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .inbox-app {
    position: relative;
    display: block;
    overflow: hidden;
  }

  .inbox-column,
  .reader-column {
    position: absolute;
    inset: 0;
  }

  .reader-column {
    z-index: 5;
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .inbox-app.reader-open .reader-column {
    transform: translateX(0);
  }

  .reader-back {
    display: grid;
  }

  .reader-toolbar {
    padding-inline: 14px;
  }

  .message-header,
  .message-body,
  .attachment-area,
  .reader-footer {
    width: calc(100% - 36px);
  }

  .message-header {
    padding-top: 42px;
  }

  .message-header h2 {
    font-size: 32px;
  }

  .reader-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .create-dialog form {
    padding: 22px;
  }

  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Dedicated account pages */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #111;
  background: #f1f1ef;
}

.auth-header,
.auth-main,
.auth-footer {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.auth-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #111;
}

.auth-back {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}

.auth-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: clamp(50px, 10vw, 150px);
  align-items: center;
  padding-block: 70px;
}

.auth-intro {
  max-width: 650px;
}

.auth-kicker {
  margin: 0 0 28px;
  font-size: 13px;
}

.auth-intro h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(64px, 8vw, 122px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.auth-intro > p:last-child {
  max-width: 540px;
  margin: 34px 0 0;
  color: #5d5d59;
  font-size: 18px;
  line-height: 1.45;
}

.auth-card {
  padding: 32px;
  background: #fff;
  border: 1px solid #111;
}

.auth-form {
  display: grid;
  gap: 20px;
}

.auth-form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  height: 58px;
  padding: 0 15px;
  color: #111;
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  outline: 0;
  font: inherit;
  font-size: 16px;
}

.auth-form input:focus {
  box-shadow: 0 0 0 3px #d5d5d0;
}

.auth-form button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  color: #fff;
  background: #111;
  border: 1px solid #111;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.auth-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.auth-status {
  min-height: 20px;
  margin: -5px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

.auth-status.error {
  color: #9f2d24;
}

.auth-switch {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid #d5d5d0;
  color: #5d5d59;
  font-size: 13px;
}

.auth-switch a {
  margin-left: 4px;
  color: #111;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.auth-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #111;
  color: #666;
  font-size: 12px;
}

.auth-footer a {
  color: #111;
}

@media (max-width: 820px) {
  .auth-header,
  .auth-main,
  .auth-footer {
    width: calc(100% - 32px);
  }

  .auth-main {
    grid-template-columns: 1fr;
    gap: 45px;
    align-content: center;
    padding-block: 55px;
  }

  .auth-intro h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .auth-intro > p:last-child {
    margin-top: 24px;
    font-size: 16px;
  }

  .auth-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header,
  .ticker,
  .hero-actions,
  .site-footer,
  .app-header,
  .workspace-sidebar,
  .inbox-column { display: none !important; }
  .marketing-page,
  .app-page { background: #fff; color: #000; overflow: visible; }
  .app-shell,
  .inbox-app { display: block; height: auto; }
  .reader-column { position: static; overflow: visible; }
}

/* Clean editorial landing page */
.editorial-page {
  --editorial-width: 1280px;
  color: #0c0c0c;
  background: #fff;
}

.editorial-header,
.editorial-main,
.editorial-footer {
  width: min(var(--editorial-width), calc(100% - 64px));
  margin-inline: auto;
}

.editorial-header {
  position: sticky;
  z-index: 50;
  top: 14px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 14px;
  padding: 0 18px;
  background: rgba(242, 242, 242, 0.94);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.editorial-brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.editorial-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.editorial-mark svg {
  width: 25px;
  fill: currentColor;
}

.editorial-mark .mark-envelope {
  fill: #0c0c0c;
}

.editorial-mark img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.editorial-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}

.editorial-nav a,
.editorial-app-link,
.editorial-footer a {
  transition: opacity 150ms ease;
}

.editorial-nav a:hover,
.editorial-app-link:hover,
.editorial-footer a:hover {
  opacity: 0.5;
}

.editorial-app-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.editorial-account-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.editorial-account-links > a:first-child {
  font-weight: 500;
}

.editorial-hero {
  padding: 90px 0 105px;
}

.editorial-hero > .editorial-label {
  margin: 0 0 26px;
  color: #656565;
}

.editorial-label {
  margin: 13px 0 0;
  font-size: 13px;
  line-height: 1.3;
}

.editorial-hero h1,
.editorial-statement h2,
.editorial-route h2,
.demo-heading h2,
.editorial-principles h2,
.editorial-cta h2 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.07em;
}

.editorial-hero h1 {
  max-width: 1040px;
  font-size: clamp(58px, 7.2vw, 104px);
  line-height: 0.94;
}

.editorial-hero-deck {
  width: min(600px, 54%);
  margin: 52px 0 0 auto;
}

.editorial-hero-deck > p {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.editorial-hero-deck > p strong {
  font-weight: 600;
}

.editorial-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.editorial-hero-actions a {
  padding-bottom: 4px;
  border-bottom: 1px solid #0c0c0c;
  font-size: 13px;
  font-weight: 700;
}

.editorial-hero-actions .hero-primary-link {
  display: inline-flex;
  gap: 20px;
  padding: 15px 17px;
  color: #fff;
  background: #0c0c0c;
  border: 1px solid #0c0c0c;
}

.editorial-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 40px 0 45px;
  border-top: 1px solid #0c0c0c;
}

.editorial-intro h2 {
  margin: 0;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.editorial-intro > div {
  max-width: 560px;
}

.editorial-intro p,
.route-copy > p:last-child {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.editorial-intro a,
.demo-heading a {
  width: max-content;
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid #0c0c0c;
  font-size: 13px;
  font-weight: 700;
}

.yellow-stage {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  place-items: end center;
  background: #e6e6e6;
}

.yellow-stage img {
  position: relative;
  z-index: 3;
  width: min(46%, 540px);
  max-height: 670px;
  object-fit: contain;
  object-position: bottom;
}

.yellow-rings {
  position: absolute;
  z-index: 1;
  bottom: -2px;
  left: 50%;
  width: min(83%, 980px);
  fill: none;
  stroke: #0c0c0c;
  stroke-width: 4;
  transform: translateX(-50%);
}

.yellow-spark {
  position: absolute;
  z-index: 2;
  width: 78px;
  fill: #0c0c0c;
}

.spark-one {
  top: 10%;
  left: 27%;
  transform: rotate(8deg);
}

.spark-two {
  top: 27%;
  right: 24%;
  width: 45px;
  fill: none;
  stroke: #0c0c0c;
  stroke-width: 5;
}

.yellow-note {
  position: absolute;
  z-index: 4;
  margin: 0;
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 23px;
}

.yellow-note-left {
  top: 18%;
  left: 9%;
  transform: rotate(-7deg);
}

.yellow-note-right {
  right: 8%;
  bottom: 14%;
  transform: rotate(5deg);
}

.yellow-address {
  position: absolute;
  z-index: 5;
  right: 3%;
  top: 5%;
  width: min(330px, 32%);
  padding: 18px;
  background: #fff;
  border: 1px solid #0c0c0c;
  transform: rotate(2deg);
}

.yellow-address span,
.yellow-address strong,
.yellow-address i {
  display: block;
}

.yellow-address span {
  margin-bottom: 9px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.yellow-address strong {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yellow-address i {
  margin-top: 15px;
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.yellow-address b {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 5px;
  background: #2d9e62;
  border-radius: 50%;
}

.editorial-statement {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 135px 0 120px;
}

.editorial-statement h2 {
  font-size: clamp(52px, 6.1vw, 95px);
  line-height: 0.99;
}

.editorial-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #0c0c0c;
  border-bottom: 1px solid #0c0c0c;
}

.editorial-feature-grid article {
  min-height: 310px;
  padding: 25px 28px 35px 0;
  border-right: 1px solid #0c0c0c;
}

.editorial-feature-grid article + article {
  padding-left: 28px;
}

.editorial-feature-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.editorial-feature-grid article > span,
.route-list li > span {
  font-family: var(--mono);
  font-size: 10px;
}

.editorial-feature-grid h3 {
  margin: 120px 0 14px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.editorial-feature-grid p,
.route-list p,
.principle-copy p {
  margin: 0;
  max-width: 360px;
  color: #4e4e4e;
  font-size: 14px;
  line-height: 1.45;
}

.editorial-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 150px 0;
}

.route-copy h2,
.demo-heading h2,
.editorial-principles h2 {
  margin-top: 48px;
  font-size: clamp(52px, 5.5vw, 84px);
  line-height: 0.98;
}

.route-copy > p:last-child {
  max-width: 520px;
  margin-top: 35px;
}

.route-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #0c0c0c;
}

.route-list li {
  display: grid;
  grid-template-columns: 48px 0.7fr 1fr;
  gap: 16px;
  align-items: start;
  padding: 25px 0 28px;
  border-bottom: 1px solid #0c0c0c;
}

.route-list strong {
  font-size: 18px;
  font-weight: 500;
}

.route-list code {
  font-size: 0.9em;
}

.editorial-demo {
  padding: 60px 0 150px;
}

.demo-heading {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 60px;
}

.demo-heading h2 {
  margin-top: 0;
}

.demo-heading a {
  margin: 0 0 8px;
}

.clean-app-preview {
  min-height: 620px;
  display: grid;
  grid-template-columns: 200px 340px 1fr;
  overflow: hidden;
  border: 1px solid #0c0c0c;
  background: #fff;
  box-shadow: 12px 12px 0 #e6e6e6;
}

.clean-app-preview > aside {
  padding: 28px 16px;
  color: #fff;
  background: #0c0c0c;
}

.clean-app-preview > aside > span {
  display: block;
  margin: 0 11px 20px;
  color: #888;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.clean-app-preview aside div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 10px;
  color: #aaa;
  border-radius: 3px;
  font-size: 12px;
}

.clean-app-preview aside div.active {
  color: #0c0c0c;
  background: #fff;
}

.clean-app-preview aside i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #0c0c0c;
  background: #e6e6e6;
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
}

.clean-app-preview aside b {
  font-family: var(--mono);
  font-size: 8px;
}

.clean-message-list {
  border-right: 1px solid #d1d1d1;
}

.clean-message-list header {
  min-height: 95px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  padding: 0 22px;
  border-bottom: 1px solid #d1d1d1;
}

.clean-message-list header span,
.clean-message-list header strong {
  display: block;
  grid-column: 1;
}

.clean-message-list header span {
  margin-bottom: 4px;
  color: #777;
  font-size: 8px;
  text-transform: uppercase;
}

.clean-message-list header strong {
  font-size: 23px;
}

.clean-message-list header button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 9px 11px;
  background: #e6e6e6;
  border: 1px solid #0c0c0c;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.clean-address {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: #fff;
  background: #0c0c0c;
}

.clean-address i {
  width: 7px;
  height: 7px;
  background: #2d9e62;
  border-radius: 50%;
}

.clean-address code {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clean-address span {
  color: #d2d2d2;
  font-family: var(--mono);
  font-size: 8px;
}

.clean-message-list article {
  min-height: 116px;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 9px;
  align-items: start;
  padding: 24px 18px;
  border-bottom: 1px solid #d1d1d1;
}

.clean-message-list article.selected {
  background: rgba(255, 243, 62, 0.26);
}

.clean-message-list article > b {
  width: 6px;
  height: 6px;
  margin-top: 4px;
  background: #d2d2d2;
  border: 1px solid #0c0c0c;
  border-radius: 50%;
}

.clean-message-list article strong,
.clean-message-list article span {
  display: block;
}

.clean-message-list article strong {
  font-size: 13px;
}

.clean-message-list article span {
  margin-top: 8px;
  color: #777;
  font-size: 9px;
}

.clean-message-list article time {
  color: #777;
  font-size: 8px;
}

.clean-reader {
  padding: 45px 48px;
}

.clean-safe {
  display: inline-block;
  padding: 5px 8px;
  color: #1b6f45;
  background: #e1f0e7;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
}

.clean-reader > p:first-of-type {
  margin: 48px 0 10px;
  color: #666;
  font-size: 10px;
}

.clean-reader h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.clean-rule {
  margin: 30px 0 38px;
  border-top: 1px solid #b8b8b8;
}

.clean-reader > p:not(:first-of-type) {
  margin: 0 0 18px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
}

.clean-code {
  display: block;
  width: max-content;
  margin-top: 30px;
  padding: 14px 18px;
  border: 1px solid #0c0c0c;
  box-shadow: 5px 5px 0 #d8d8d8;
  font-family: var(--mono);
  font-size: 24px;
  letter-spacing: 0.17em;
}

.editorial-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 130px 0;
  border-top: 1px solid #0c0c0c;
}

.editorial-principles h2 {
  margin-top: 45px;
}

.principle-copy {
  border-top: 1px solid #0c0c0c;
}

.principle-copy article {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 25px;
  padding: 25px 0 30px;
  border-bottom: 1px solid #0c0c0c;
}

.principle-copy h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.editorial-cta {
  min-height: 550px;
  display: grid;
  grid-template-columns: 130px minmax(300px, 0.85fr) minmax(360px, 0.65fr);
  gap: 18px;
  align-items: center;
  padding: 90px 0;
  background: #e6e6e6;
  box-shadow: 0 0 0 100vmax #e6e6e6;
  clip-path: inset(0 -100vmax);
}

.editorial-cta h2 {
  font-size: clamp(54px, 6.5vw, 94px);
  line-height: 0.92;
}

.editorial-cta a {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #0c0c0c;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.signup-copy > p {
  max-width: 470px;
  margin: 25px 0 0;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.signup-form {
  display: grid;
  gap: 14px;
  align-self: center;
}

.auth-panel {
  display: grid;
  gap: 20px;
  align-self: center;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #0c0c0c;
}

.auth-tabs button {
  padding: 0 0 10px;
  color: #676767;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-align: left;
}

.auth-tabs button.active {
  color: #0c0c0c;
  border-bottom-color: #0c0c0c;
  font-weight: 700;
}

.signup-form[hidden] {
  display: none;
}

.signup-form label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 650;
}

.signup-form input {
  width: 100%;
  height: 50px;
  padding: 0 13px;
  color: #0c0c0c;
  background: #fff;
  border: 1px solid #0c0c0c;
  border-radius: 0;
  font-size: 14px;
}

.signup-form button {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  color: #fff;
  background: #0c0c0c;
  border: 1px solid #0c0c0c;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.signup-status {
  min-height: 18px;
  margin: 0;
  color: #555;
  font-size: 11px;
}

.signup-status.error {
  color: #9f2d24;
}

.landing-auth-actions {
  display: grid;
  gap: 12px;
  align-self: center;
}

.landing-auth-actions a {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid #0c0c0c;
  font-size: 14px;
  font-weight: 700;
}

.landing-auth-actions .auth-primary-link {
  color: #fff;
  background: #0c0c0c;
}

.landing-auth-actions .auth-secondary-link {
  justify-content: flex-start;
  background: transparent;
}

.product-screenshot {
  margin: 0;
  overflow: hidden;
  border: 1px solid #0c0c0c;
  background: #f3f2ed;
}

.product-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.editorial-footer {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid #0c0c0c;
}

.editorial-footer p,
.editorial-footer > span {
  margin: 0;
  color: #666;
  font-size: 11px;
}

.editorial-footer nav {
  display: flex;
  gap: 18px;
  font-size: 11px;
}

.privacyprobe-badge {
  display: block;
  line-height: 0;
}

.privacyprobe-badge img {
  display: block;
  width: 224px;
  max-width: 100%;
  height: auto;
}

.unoutline-ad {
  width: min(var(--editorial-width), calc(100% - 64px));
  margin: 0 auto 18px;
  padding-top: 14px;
  border-top: 1px solid #d8d8d8;
}

.unoutline-ad a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  color: #686868;
  font-size: 10px;
  letter-spacing: 0.01em;
  transition: color 150ms ease;
}

.unoutline-ad a:hover {
  color: #0c0c0c;
}

.unoutline-ad strong {
  color: #0c0c0c;
  font-size: 11px;
}

@media (prefers-reduced-motion: no-preference) {
  .editorial-reveal:not(.in-view) {
    opacity: 0;
    transform: translateY(20px);
  }

  .editorial-reveal {
    transition: opacity 550ms ease, transform 550ms ease;
  }
}

@media (max-width: 980px) {
  .editorial-header,
  .editorial-main,
  .editorial-footer,
  .unoutline-ad {
    width: min(100% - 40px, var(--editorial-width));
  }

  .editorial-hero,
  .editorial-statement {
    grid-template-columns: 110px 1fr;
  }

  .yellow-stage {
    min-height: 600px;
  }

  .yellow-stage img {
    width: min(56%, 470px);
  }

  .clean-app-preview {
    grid-template-columns: 150px 300px 1fr;
  }

  .clean-reader {
    padding: 36px 30px;
  }

  .demo-heading {
    grid-template-columns: 110px 1fr;
  }

  .demo-heading a {
    grid-column: 2;
  }

  .editorial-cta {
    grid-template-columns: 110px 1fr;
  }

  .editorial-cta a {
    grid-column: 2;
    width: max-content;
  }

  .signup-form {
    grid-column: 2;
  }

  .auth-panel {
    grid-column: 2;
  }

  .landing-auth-actions {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .editorial-header,
  .editorial-main,
  .editorial-footer,
  .unoutline-ad {
    width: calc(100% - 28px);
  }

  .editorial-header {
    top: 8px;
    min-height: 52px;
    grid-template-columns: 1fr auto;
    margin-top: 8px;
    padding-inline: 12px;
  }

  .editorial-brand {
    font-size: 21px;
  }

  .editorial-nav {
    display: none;
  }

  .editorial-app-link {
    font-size: 11px;
  }

  .editorial-hero,
  .editorial-statement,
  .demo-heading,
  .editorial-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-hero {
    padding: 55px 0 80px;
  }

  .editorial-label {
    margin: 0;
  }

  .editorial-hero h1 {
    font-size: clamp(49px, 14.6vw, 74px);
  }

  .editorial-hero-deck {
    width: 100%;
    margin-top: 38px;
  }

  .editorial-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .editorial-intro,
  .editorial-route,
  .editorial-principles {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .editorial-intro {
    padding-block: 30px 38px;
  }

  .editorial-intro p {
    font-size: 16px;
  }

  .yellow-stage {
    min-height: 510px;
  }

  .yellow-stage img {
    width: min(80%, 390px);
    max-height: 460px;
  }

  .yellow-address {
    top: 16px;
    right: 16px;
    width: min(260px, 72%);
  }

  .yellow-note-left {
    top: 28%;
    left: 5%;
    font-size: 17px;
  }

  .yellow-note-right {
    right: 5%;
    bottom: 8%;
    font-size: 17px;
  }

  .spark-one {
    top: 21%;
    left: 13%;
    width: 53px;
  }

  .spark-two {
    top: 35%;
    right: 8%;
    width: 32px;
  }

  .editorial-statement {
    padding-block: 90px 80px;
  }

  .editorial-statement h2,
  .route-copy h2,
  .demo-heading h2,
  .editorial-principles h2 {
    font-size: clamp(43px, 12.4vw, 64px);
  }

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

  .editorial-feature-grid article,
  .editorial-feature-grid article + article {
    min-height: 230px;
    padding: 22px 0 30px;
    border-right: 0;
    border-bottom: 1px solid #0c0c0c;
  }

  .editorial-feature-grid article:last-child {
    border-bottom: 0;
  }

  .editorial-feature-grid h3 {
    margin-top: 65px;
  }

  .editorial-route {
    padding-block: 100px;
  }

  .route-copy h2,
  .editorial-principles h2 {
    margin-top: 25px;
  }

  .route-list li {
    grid-template-columns: 38px 1fr;
  }

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

  .editorial-demo {
    padding: 20px 0 100px;
  }

  .demo-heading a {
    grid-column: 1;
  }

  .clean-app-preview {
    min-height: 520px;
    grid-template-columns: 88px 1fr;
    box-shadow: 7px 7px 0 #e6e6e6;
  }

  .clean-app-preview > aside {
    padding-inline: 7px;
  }

  .clean-app-preview aside div {
    grid-template-columns: auto;
    justify-items: center;
    padding-block: 8px;
    font-size: 8px;
    text-align: center;
  }

  .clean-app-preview aside b {
    display: none;
  }

  .clean-reader {
    display: none;
  }

  .clean-message-list {
    border-right: 0;
  }

  .editorial-principles {
    padding-block: 90px;
  }

  .principle-copy article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .editorial-cta {
    min-height: 500px;
    align-content: center;
    padding-block: 80px;
  }

  .editorial-cta h2 {
    font-size: clamp(56px, 15vw, 82px);
  }

  .editorial-cta a {
    grid-column: 1;
  }

  .signup-form {
    grid-column: 1;
  }

  .auth-panel {
    grid-column: 1;
  }

  .landing-auth-actions {
    grid-column: 1;
  }

  .editorial-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 45px;
  }

  .editorial-footer nav {
    flex-wrap: wrap;
  }
}

/* Inbox refinement: practical, quiet, human */
.app-page {
  --paper: #f5f5f2;
  --paper-deep: #e8e8e4;
  --white: #ffffff;
  --line: rgba(20, 20, 20, 0.12);
  --muted: #73736d;
}

.app-header {
  background: #151515;
  border-bottom-color: #292929;
}

.app-header .brand {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.app-header-center {
  gap: 9px;
  color: #a6a6a1;
  font-size: 11px;
}

.demo-pill {
  padding: 3px 7px;
  color: #d5d5d1;
  border: 1px solid #444;
  border-radius: 999px;
  font-size: 9px;
}

.profile-button {
  color: #161616;
  background: #e2e2df;
}

.workspace-sidebar {
  background: #151515;
  border-right-color: #292929;
}

.workspace-button.active {
  background: #f5f5f2;
}

.workspace-button.active .workspace-count {
  color: #fff;
  background: #222;
}

.utility-links i,
.sidebar-note {
  display: none;
}

.inbox-column {
  background: #f7f7f4;
}

.inbox-toolbar {
  min-height: 88px;
  padding: 18px 24px;
}

.inbox-toolbar h1 {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.app-create-button {
  min-height: 36px;
  color: #fff;
  background: #202020;
  border-color: #202020;
  border-radius: 5px;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.app-create-button:hover {
  box-shadow: none;
  transform: none;
  background: #3a3a3a;
}

.address-strip {
  margin: 16px 18px 12px;
  color: #202020;
  background: #fff;
  border-color: #d4d4cf;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04);
}

.address-strip-top {
  min-height: 44px;
}

.address-strip-bottom {
  min-height: 32px;
  color: #77776f;
  border-top-color: #e2e2de;
}

.expiry-label {
  color: #5d5d57;
  font-family: var(--sans);
}

.current-address {
  font-family: var(--mono);
  font-size: 10px;
}

.address-menu-button {
  color: #77776f;
}

.filter-row {
  min-height: 48px;
  padding-inline: 18px;
}

.filter-tabs button {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.filter-tabs button.active::after {
  background: #202020;
}

.message-row {
  min-height: 94px;
  padding: 15px 18px;
}

.message-row:hover {
  background: #fff;
}

.message-row.active {
  background: #ecece8;
  box-shadow: inset 2px 0 #202020;
}

.message-unread-dot {
  background: #272727;
  border: 0;
}

.message-sender {
  font-size: 11px;
  font-weight: 650;
}

.message-subject {
  margin-top: 7px;
  font-size: 12px;
}

.message-snippet {
  margin-top: 6px;
  font-size: 10px;
}

.reader-column {
  background: #fff;
  background-image: none;
}

.reader-toolbar {
  min-height: 54px;
  padding-inline: 26px;
  background: rgba(255, 255, 255, 0.95);
}

.safe-mode {
  color: #5c5c57;
  background: #f0f0ed;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.safe-mode i {
  background: #73736d;
}

.message-header {
  padding-top: 52px;
}

.message-date {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.message-header h2 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 620;
  letter-spacing: -0.045em;
}

.sender-avatar {
  color: #202020;
  background: #e8e8e4;
  border-color: #cacac4;
}

.message-body {
  padding-block: 38px;
  font-size: 14px;
  line-height: 1.7;
}

.message-body .message-code {
  background: #f2f2ef;
  border-color: #c9c9c3;
  box-shadow: none;
}

.attachment-card {
  background: #fafaf8;
  border-color: #d7d7d2;
  border-radius: 5px;
}

.attachment-icon {
  background: #282828;
  border-radius: 3px;
}

.attachment-card button {
  background: #fff;
  border-color: #c3c3bd;
  border-radius: 4px;
  font-size: 8px;
  text-transform: none;
}

.reader-footer {
  color: #96968f;
}

.reader-footer button {
  color: #686862;
  text-decoration: none;
}

.create-dialog {
  border: 1px solid #bdbdb7;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(20, 20, 20, 0.22);
}

.generated-preview {
  color: #f5f5f2;
  background: #202020;
  border-radius: 5px;
}

.duration-field input:checked + span {
  background: #e7e7e3;
}

.toast {
  color: #fff;
  background: #202020;
  border-color: #4a4a47;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.18);
}

@media (max-width: 700px) {
  .app-header .brand {
    font-size: 21px;
  }

  .inbox-toolbar {
    min-height: 80px;
    padding-inline: 18px;
  }

  .app-create-button {
    padding-inline: 12px;
  }

  .app-header-center {
    display: none;
  }
}

/* Product transparency page */
.policy-page {
  color: #111;
  background: #f5f5f2;
}

.policy-main {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) 0;
}

.policy-main > header {
  padding-bottom: 48px;
  border-bottom: 1px solid #111;
}

.policy-main h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(58px, 10vw, 112px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.policy-lede {
  max-width: 680px;
  margin: 32px 0 0;
  color: #555550;
  font-size: 20px;
  line-height: 1.5;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.policy-grid article {
  padding: 38px 0;
  border-bottom: 1px solid #cecec8;
}

.policy-grid h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.policy-grid p,
.policy-grid li {
  color: #555550;
  font-size: 15px;
  line-height: 1.65;
}

.policy-grid ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 700px) {
  .policy-main { width: calc(100% - 32px); }
  .policy-grid { grid-template-columns: 1fr; }
}
