:root {
  --ink: #191817;
  --muted: #65615d;
  --paper: #f4f1ed;
  --card: #fbfaf8;
  --line: #dcd6cf;
  --warm: #d9d1c8;
  --dark: #1c1b1a;
  --dark-muted: #bcb7b1;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(38, 34, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #2f76d2;
  outline-offset: 4px;
  border-radius: 6px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 7.2vw, 6.75rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.3vw, 4.25rem);
  font-weight: 730;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

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

.narrow {
  width: min(980px, calc(100% - 48px));
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(80, 74, 68, 0.14);
  background: rgba(244, 241, 237, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav,
.footer-inner nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header nav > a:not(.button),
.footer-inner a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 590;
  text-decoration: none;
}

.site-header nav > a:hover,
.footer-inner a:hover {
  color: var(--ink);
}

.repo-banner {
  display: block;
  color: white;
  background: #2a2826;
  text-decoration: none;
}

.repo-banner-inner {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.repo-banner strong {
  font-size: 1.02rem;
}

.repo-banner-inner > span:not(.repo-banner-arrow) {
  color: #c9c3bd;
  font-size: 0.9rem;
}

.repo-banner-arrow {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #65605b;
  border-radius: 50%;
  font-size: 1.05rem;
  transition: transform 150ms ease, background 150ms ease;
}

.repo-banner:hover .repo-banner-arrow {
  background: #46423e;
  transform: translate(2px, -2px);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--dark);
  color: white;
  background: var(--dark);
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(28, 27, 26, 0.16);
  font-size: 0.96rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  box-shadow: 0 14px 30px rgba(28, 27, 26, 0.22);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
  border-radius: 10px;
  box-shadow: none;
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

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

.button-dark-ghost {
  border-color: #625e59;
  color: white;
  background: transparent;
  box-shadow: none;
}

.hero {
  min-height: calc(100svh - 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  align-items: center;
  gap: 64px;
  padding-block: 88px 102px;
}

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

.eyebrow,
.section-label {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #55a85b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(85, 168, 91, 0.14);
}

.lede {
  max-width: 720px;
  margin-bottom: 18px;
  color: #4e4a46;
  font-size: clamp(1.16rem, 1.8vw, 1.38rem);
  line-height: 1.55;
}

kbd {
  display: inline-block;
  padding: 0.08em 0.42em 0.14em;
  border: 1px solid #bdb7b0;
  border-bottom-width: 2px;
  background: #ebe7e2;
  border-radius: 6px;
  font: 0.78em ui-monospace, SFMono-Regular, Menlo, monospace;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

.plain-promise {
  margin-bottom: 30px;
}

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

.release-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.release-note a {
  font-weight: 650;
}

.status-symbol {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 30px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 5px;
  color: currentColor;
}

.status-symbol::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 1px;
  left: 1px;
  height: 2px;
  background: currentColor;
}

.status-symbol > span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 10px;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
}

.status-symbol > span::before,
.status-symbol > span::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.status-symbol > span::before {
  right: 0;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.status-symbol > span::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: left center;
}

.status-symbol-small {
  width: 25px;
  height: 19px;
  border-width: 1.75px;
  border-radius: 4px;
}

.status-symbol-small::before {
  top: 4px;
  height: 1.75px;
}

.status-symbol-small > span {
  top: 6px;
  width: 1.75px;
  height: 9px;
}

.status-symbol-small > span::before,
.status-symbol-small > span::after {
  width: 6px;
  height: 1.75px;
}

.status-symbol-large {
  width: 62px;
  height: 46px;
  border-width: 3px;
  border-radius: 9px;
}

.status-symbol-large::before {
  top: 10px;
  height: 3px;
}

.status-symbol-large > span {
  top: 16px;
  width: 3px;
  height: 20px;
}

.status-symbol-large > span::before,
.status-symbol-large > span::after {
  width: 13px;
  height: 3px;
}

.status-symbol-light {
  color: #f8f6f3;
}

.status-preview {
  position: relative;
  margin: 0;
  width: 100%;
}

.status-preview-link {
  display: block;
  text-decoration: none;
  transition: transform 160ms ease;
}

.status-preview-link:hover {
  transform: translateY(-3px);
}

.mock-menu-bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #f8f6f3;
  background: #242321;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 18px 42px rgba(38, 34, 30, 0.2);
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}

.mock-menu-left,
.mock-menu-right {
  display: flex;
  align-items: center;
  gap: 13px;
}

.mock-apple {
  font-size: 0.55rem;
  opacity: 0.8;
}

.mock-wifi {
  font-size: 1.2rem;
  line-height: 1;
  transform: rotate(-20deg);
}

.mock-clock {
  font-variant-numeric: tabular-nums;
}

.mock-desktop {
  position: relative;
  display: block;
  min-height: 246px;
  border: 1px solid #cac3bb;
  border-top: 0;
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.62), transparent 27%),
    linear-gradient(145deg, #ddd7d0, #b9b1a8);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 25px 58px rgba(38, 34, 30, 0.14);
  overflow: hidden;
}

.protected-edge {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #77716a;
}

.protected-edge > span {
  position: absolute;
  top: 13px;
  right: 14px;
  padding: 4px 8px;
  color: #5f5a55;
  background: rgba(250, 248, 245, 0.66);
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gate-arrow {
  position: absolute;
  top: 67px;
  left: 50%;
  width: 46px;
  height: 80px;
  transform: translateX(-50%);
}

.gate-arrow::before,
.gate-arrow::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 25px;
  height: 4px;
  background: #302e2b;
  border-radius: 4px;
}

.gate-arrow::before {
  left: 2px;
  transform: rotate(-42deg);
}

.gate-arrow::after {
  right: 2px;
  transform: rotate(42deg);
}

.gate-arrow > i {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 64px;
  background: #302e2b;
  border-radius: 4px;
  transform: translateX(-50%);
}

.gate-key {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #4e4a46;
  font-size: 0.84rem;
  font-weight: 650;
}

.gate-key kbd {
  background: rgba(255, 255, 255, 0.56);
}

.status-preview-caption {
  display: grid;
  gap: 3px;
  padding: 20px 6px 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.status-preview-caption strong {
  color: var(--ink);
  font-size: 1rem;
}

.section {
  padding-block: 120px;
}

.problem {
  border-block: 1px solid var(--line);
  background: var(--card);
}

.two-column {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: start;
}

.two-column h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.body-copy {
  padding-top: 38px;
  color: var(--muted);
  font-size: 1.08rem;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 50px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(44, 39, 35, 0.05);
}

.card-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 58px;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 50%;
  font: 0.72rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

.card-source {
  margin-top: auto;
  padding-top: 26px;
  color: #4f4a45;
  font-size: 0.82rem;
  font-weight: 690;
  line-height: 1.4;
}

.section-dark {
  color: #f5f2ee;
  background: var(--dark);
}

.heading-light > p,
.section-dark .section-label {
  color: var(--dark-muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #42403e;
}

.steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding-block: 34px;
  border-bottom: 1px solid #42403e;
}

.steps li > span {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #5d5955;
  color: #c9c4be;
  border-radius: 50%;
  font-size: 0.82rem;
}

.steps h3 {
  margin-bottom: 7px;
  color: white;
}

.steps p {
  max-width: 750px;
  margin-bottom: 0;
  color: var(--dark-muted);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.source-links a {
  padding: 8px 13px;
  border: 1px solid #4d4946;
  color: #d7d2cc;
  border-radius: 9px;
  font: 0.77rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-decoration: none;
}

.source-links a:hover {
  border-color: #8e8881;
  color: white;
}

.repo-callout-section {
  padding-block: 54px;
  background: var(--dark);
}

.repo-callout {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 7vw, 82px);
  border: 1px solid #55514d;
  color: white;
  background: radial-gradient(circle at 85% 12%, #4e4944, transparent 36%), #292725;
  border-radius: 34px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.repo-callout:hover {
  border-color: #928a82;
  transform: translateY(-3px);
}

.repo-callout-kicker {
  margin-bottom: 18px;
  color: #c6c0ba;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.repo-callout > h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.repo-callout > span:nth-of-type(2) {
  max-width: 720px;
  color: #c6c0ba;
  font-size: 1.05rem;
}

.repo-callout-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 13px 17px;
  color: var(--ink);
  background: white;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 720;
}

.comparison-wrap {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: 0 18px 45px rgba(44, 39, 35, 0.06);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: #ebe6e0;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

tbody th {
  width: 17%;
  font-size: 0.9rem;
}

tbody td {
  width: 41.5%;
  color: var(--muted);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.permission-section {
  padding-top: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust-card {
  padding: clamp(34px, 5vw, 64px);
}

.trust-card + .trust-card {
  border-left: 1px solid var(--line);
}

.trust-card h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.trust-card p {
  color: var(--muted);
}

.privacy-card {
  background: #e8e3dd;
}

.check-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px solid rgba(72, 67, 62, 0.12);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
}

.text-link {
  font-weight: 680;
}

.install-section {
  padding-top: 0;
}

.install-box {
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 30px;
}

.install-steps {
  margin: 18px 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.install-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.install-steps span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #aaa39c;
  border-radius: 50%;
  font-size: 0.76rem;
}

.install-steps p {
  margin: 0;
}

.disclosure {
  margin-bottom: 30px;
  padding: 17px 19px;
  border: 1px solid #cfc4b9;
  background: #eee8e1;
  border-radius: 14px;
  color: #554f49;
  font-size: 0.9rem;
}

.faq-section {
  border-top: 1px solid var(--line);
  background: var(--card);
}

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 690;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--muted);
  font-size: 1.65rem;
  font-weight: 350;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--muted);
}

.final-cta {
  padding-block: 80px;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.final-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

footer {
  padding-block: 34px;
  border-top: 1px solid #393735;
  color: var(--dark-muted);
  background: var(--dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.84rem;
}

.footer-inner a {
  color: #d2cdc7;
}

@media (max-width: 900px) {
  .site-header nav > a:not(.button) {
    display: none;
  }

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

  .repo-banner-inner {
    grid-template-columns: 1fr auto;
    padding-block: 12px;
  }

  .repo-banner-inner > span:not(.repo-banner-arrow) {
    display: none;
  }

  .status-preview {
    width: min(560px, 100%);
    margin-inline: auto;
  }

  .two-column,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .two-column {
    gap: 28px;
  }

  .body-copy {
    padding-top: 0;
  }

  .trust-card + .trust-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

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

  .shell,
  .narrow {
    width: min(100% - 30px, 1180px);
  }

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

  .brand-name {
    display: none;
  }

  .site-header nav {
    gap: 0;
  }

  .button-small {
    min-height: 38px;
  }

  .hero {
    gap: 45px;
    padding-block: 55px 70px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .section {
    padding-block: 82px;
  }

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

  .card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 38px;
  }

  .steps li {
    grid-template-columns: 48px 1fr;
  }

  .permission-section,
  .install-section {
    padding-top: 0;
  }

  .final-cta-inner {
    grid-template-columns: auto 1fr;
  }

  .final-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .final-cta .button {
    width: 100%;
  }

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

  .footer-inner nav {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}

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

  .button {
    transition: none;
  }

  .repo-banner-arrow,
  .status-preview-link,
  .repo-callout {
    transition: none;
  }
}
