:root {
  --canvas: #f4f0e6;
  --surface: #fbfaf6;
  --ink: #20221f;
  --muted: #666a62;
  --line: #d8d5cc;
  --moss: #49604b;
  --moss-soft: #dfe7dc;
  --clay: #9b5f43;
  --clay-soft: #eee0d7;
  --white: #ffffff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.32;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M0 40h160M0 120h160M40 0v160M120 0v160' fill='none' stroke='%23d8d5cc' stroke-width='.45'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-160%);
}

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

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 88px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark-mark {
  width: 34px;
  height: 34px;
  fill: var(--moss-soft);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  min-height: 720px;
  padding-block: 96px;
}

.eyebrow,
.section-label,
.card-index,
.plan-header {
  margin: 0;
  color: var(--moss);
  font-family: "SF Mono", "Roboto Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1,
.statement h2,
.section-heading h2,
.resources h2,
.directory-main h1,
.empty-directory h2,
.not-found h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(58px, 7vw, 98px);
}

.hero-intro {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #393b37;
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface);
  border-color: var(--ink);
}

.land-plan {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.plan-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.plan-field {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  min-height: 390px;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: #f7f5ef;
  overflow: hidden;
}

.plan-field::before,
.plan-field::after {
  position: absolute;
  content: "";
  background: var(--line);
}

.plan-field::before {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.plan-field::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.field-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 24px;
  padding: 22px;
  border: 1px solid var(--ink);
}

.field-digital {
  align-self: start;
  min-height: 152px;
  background: var(--moss-soft);
}

.field-physical {
  grid-column: 3;
  align-self: end;
  min-height: 170px;
  background: var(--clay-soft);
}

.field-block strong {
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

.field-block small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.field-number {
  align-self: flex-start;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 11px;
}

.field-path {
  position: relative;
  z-index: 3;
  grid-column: 2;
  width: 1px;
  height: 72%;
  align-self: center;
  justify-self: center;
  background: var(--clay);
  transform: rotate(-24deg);
}

.field-marker {
  position: absolute;
  right: 29%;
  bottom: 31%;
  z-index: 4;
  width: 16px;
  height: 16px;
  background: var(--clay);
  border: 4px solid var(--surface);
  border-radius: 50%;
}

.plan-note {
  margin: 18px 2px 0;
  color: var(--muted);
  font-size: 13px;
}

.statement {
  padding-block: 128px;
  background: var(--ink);
  color: var(--white);
}

.statement-inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 48px 80px;
}

.statement .section-label {
  color: #b8c5b4;
}

.statement h2 {
  max-width: 880px;
  font-size: clamp(48px, 6vw, 82px);
}

.statement p:last-child {
  grid-column: 2;
  max-width: 700px;
  margin: 0;
  color: #c9cbc6;
  font-size: 20px;
}

.process {
  padding-block: 128px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.section-heading h2,
.resources h2 {
  font-size: clamp(44px, 5vw, 68px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-card {
  min-height: 330px;
  padding: 28px;
  background: rgba(251, 250, 246, 0.56);
  border-right: 1px solid var(--line);
}

.process-card:last-child {
  border-right: 0;
}

.process-card h3 {
  max-width: 280px;
  margin: 80px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.process-card p {
  margin: 0;
  color: var(--muted);
}

.resources {
  padding-bottom: 128px;
}

.resources-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: end;
  padding: clamp(32px, 6vw, 72px);
  background: var(--moss-soft);
  border: 1px solid #becbb9;
  border-radius: 12px;
}

.resources-card > div {
  max-width: 760px;
}

.resources h2 {
  margin-top: 18px;
}

.resources-card p:not(.section-label) {
  max-width: 650px;
  margin: 24px 0 0;
  color: #4d594d;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--clay);
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  padding-block: 38px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.directory-main {
  min-height: calc(100vh - 177px);
  padding-block: 110px 128px;
}

.directory-main h1,
.not-found h1 {
  max-width: 850px;
  margin-top: 20px;
  font-size: clamp(62px, 8vw, 108px);
}

.directory-intro,
.not-found > p:not(.eyebrow) {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.empty-directory {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 28px;
  max-width: 900px;
  margin-top: 72px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.status-mark {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  background: var(--moss-soft);
  border: 1px solid var(--moss);
  border-radius: 50%;
}

.empty-directory h2 {
  margin-top: 16px;
  font-size: clamp(34px, 4vw, 50px);
}

.empty-directory p:last-child {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
}

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

.app-directory-grid {
  display: grid;
  gap: 18px;
  margin-top: 72px;
}

.directory-app-card {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.directory-app-card:hover,
.directory-app-card:focus-visible {
  border-color: var(--moss);
  box-shadow: 0 18px 45px rgba(32, 34, 31, 0.08);
  transform: translateY(-2px);
}

.directory-app-card img {
  width: 124px;
  height: 124px;
  object-fit: contain;
}

.directory-app-copy h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.directory-app-copy > p:not(.section-label) {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
}

.directory-app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.directory-app-links span,
.screen-choice-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.directory-arrow {
  color: var(--moss);
  font-size: 34px;
}

.directory-safeguard {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: clamp(56px, 8vw, 108px);
  align-items: center;
  min-height: 720px;
  padding-block: 92px;
}

.app-title-row {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}

.app-icon-large {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(7, 22, 31, 0.18));
}

.release-status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  color: var(--moss);
  font-family: "SF Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.release-status span,
.running-indicator span {
  width: 7px;
  height: 7px;
  background: #63d6c7;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(99, 214, 199, 0.14);
}

.app-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(68px, 9vw, 116px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.app-tagline {
  max-width: 720px;
  margin: 36px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.app-intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.safewake-visual {
  padding: 22px;
  background: linear-gradient(145deg, #06151e, #0b2931 58%, #103c3b);
  border: 1px solid #29464b;
  border-radius: 22px;
  color: #f7fbfb;
  box-shadow: 0 30px 80px rgba(7, 22, 31, 0.18);
}

.steps-visual {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px;
  background: #d8d0f0;
  border: 1px solid #bdb2df;
  border-radius: 22px;
  color: #20221f;
  box-shadow: 0 30px 80px rgba(68, 57, 105, 0.16);
}

.steps-visual > img {
  width: min(64%, 300px);
  border-radius: 24%;
  filter: drop-shadow(0 24px 34px rgba(43, 36, 65, 0.18));
}

.steps-visual > p {
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.steps-visual > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.steps-visual span {
  padding: 7px 12px;
  background: rgba(251, 250, 246, 0.55);
  border: 1px solid rgba(32, 34, 31, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.safewake-visual-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.55);
  font-family: "SF Mono", Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.safewake-shield-stage {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.safewake-shield-stage > img {
  width: min(60%, 280px);
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.28));
}

.running-indicator {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 650;
}

.screen-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.screen-choice-list span {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.58);
}

.app-trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.app-trust-grid > div {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: center;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
}

.app-trust-grid > div:last-child {
  border-right: 0;
}

.app-trust-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.app-trust-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.app-feature-section,
.use-cases,
.app-resource-section {
  padding-block: 128px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.mode-card {
  min-height: 360px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.mode-card-dark {
  background: #0a222b;
  border-color: #25454a;
  color: #f8fbfb;
}

.mode-card-dark .card-index,
.mode-card-dark p {
  color: #c4ddda;
}

.mode-card-minimal {
  background: #161b1e;
  border-color: #2e3539;
  color: #f8fbfb;
}

.mode-card-minimal .card-index,
.mode-card-minimal p {
  color: #c7ccce;
}

.mode-card h3 {
  margin: 112px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mode-card p {
  margin: 0;
  color: var(--muted);
}

.use-cases {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 100px;
  border-top: 1px solid var(--line);
}

.use-case-intro h2 {
  max-width: 520px;
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.use-case-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.use-case-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.use-case-list span {
  color: var(--moss);
  font-family: "SF Mono", Menlo, monospace;
  font-size: 11px;
}

.security-clarity {
  padding-block: 128px;
  background: #111719;
  color: #f8fbfb;
}

.security-clarity .section-label {
  color: #92b6b3;
}

.security-clarity h2 {
  max-width: 900px;
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.security-clarity p:last-child {
  max-width: 720px;
  margin: 32px 0 0 auto;
  color: #b9c1c2;
  font-size: 19px;
}

.resource-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.resource-link-grid a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  min-height: 170px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

.resource-link-grid a:hover,
.resource-link-grid a:focus-visible {
  border-color: var(--moss);
}

.resource-link-grid span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.resource-link-grid small {
  grid-column: 1;
  color: var(--muted);
  font-size: 13px;
}

.resource-link-grid b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--moss);
  font-size: 24px;
}

.legal-main {
  padding-block: 104px 128px;
}

.legal-main > h1 {
  max-width: 940px;
  margin: 20px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 102px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.legal-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.release-note {
  max-width: 900px;
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--moss-soft);
  border: 1px solid #becbb9;
  border-radius: 10px;
}

.release-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.release-note p {
  margin: 8px 0 0;
  color: #4d594d;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 80px;
  align-items: start;
  margin-top: 80px;
}

.legal-toc {
  position: sticky;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: rgba(251, 250, 246, 0.65);
  border: 1px solid var(--line);
}

.legal-toc a {
  color: var(--muted);
  font-size: 13px;
  text-underline-offset: 4px;
}

.legal-content-single {
  max-width: 780px;
  margin-top: 80px;
}

.legal-content section {
  padding-block: 0 54px;
  scroll-margin-top: 30px;
}

.legal-content section + section {
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.legal-content h3 {
  margin: 28px 0 0;
  font-size: 16px;
}

.legal-content p,
.legal-content li {
  color: #4e524c;
}

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

.legal-content ol {
  margin: 20px 0 0;
  padding-left: 24px;
}

.legal-content li + li {
  margin-top: 10px;
}

.privacy-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 960px;
  margin-top: 56px;
  background: var(--line);
  border: 1px solid var(--line);
}

.privacy-summary-grid > div {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: var(--surface);
}

.privacy-summary-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
}

.privacy-summary-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.legal-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-related a {
  padding: 9px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .app-hero,
  .use-cases {
    grid-template-columns: 1fr;
  }

  .safewake-visual {
    max-width: 650px;
  }

  .mode-grid,
  .resource-link-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: auto;
  }

  .mode-card h3 {
    margin-top: 60px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 620px) {
  .directory-app-card {
    grid-template-columns: 78px 1fr;
    gap: 20px;
    padding: 24px;
  }

  .directory-app-card img {
    width: 78px;
    height: 78px;
  }

  .directory-arrow {
    display: none;
  }

  .app-hero {
    padding-block: 64px 80px;
  }

  .app-title-row {
    align-items: flex-start;
  }

  .app-icon-large {
    width: 78px;
    height: 78px;
  }

  .release-status {
    max-width: 170px;
    line-height: 1.35;
  }

  .app-hero h1 {
    font-size: clamp(58px, 19vw, 82px);
  }

  .safewake-shield-stage {
    min-height: 300px;
  }

  .app-trust-grid,
  .privacy-summary-grid {
    grid-template-columns: 1fr;
  }

  .app-trust-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-trust-grid > div:last-child {
    border-bottom: 0;
  }

  .app-feature-section,
  .use-cases,
  .app-resource-section,
  .security-clarity {
    padding-block: 88px;
  }

  .use-case-list li {
    font-size: 22px;
  }

  .legal-main {
    padding-block: 72px 92px;
  }

  .legal-main > h1 {
    font-size: clamp(52px, 16vw, 72px);
  }
}

.back-link {
  margin-top: 52px;
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding-block: 80px;
}

.not-found .button {
  margin-top: 36px;
}

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

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

  .land-plan {
    max-width: 620px;
  }

  .statement-inner,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .statement p:last-child {
    grid-column: 1;
  }

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

  .process-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-card:last-child {
    border-bottom: 0;
  }

  .process-card h3 {
    margin-top: 48px;
  }

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

@media (max-width: 620px) {
  .shell,
  .site-header {
    width: min(calc(100% - 32px), var(--max-width));
  }

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

  .wordmark span {
    max-width: 120px;
    line-height: 1.15;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .hero {
    gap: 54px;
    padding-block: 64px 80px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .land-plan {
    padding: 14px;
  }

  .plan-field {
    grid-template-columns: 1fr 22px 1fr;
    min-height: 300px;
  }

  .field-block {
    margin: 12px;
    padding: 14px;
  }

  .field-block strong {
    font-size: 20px;
  }

  .field-marker {
    display: none;
  }

  .statement,
  .process {
    padding-block: 88px;
  }

  .resources {
    padding-bottom: 88px;
  }

  .resources-card {
    padding: 30px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .directory-main {
    padding-block: 72px 92px;
  }

  .empty-directory {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

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

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