:root {
  color-scheme: light;
  --paper: #f2f3ef;
  --paper-bright: #fbfcf7;
  --ink: #101218;
  --ink-soft: #555b66;
  --blue: #2847ff;
  --orange: #ff5e36;
  --signal: #dfff00;
  --line: #1c2029;
  --line-soft: rgba(16, 18, 24, 0.18);
  --panel-dark: #12151b;
  --panel-dark-2: #1a1e26;
  --white: #ffffff;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(16, 18, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 24, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 60;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 6px;
  transform: translateY(-180%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 243, 239, 0.9);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  min-height: 72px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  font-size: 0.95rem;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 3px 3px 0 var(--ink);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 17px;
  height: 4px;
  content: "";
  background: var(--white);
  border-radius: 99px;
  transform: rotate(-22deg);
}

.brand-mark::after {
  width: 8px;
  margin: 8px 0 0 8px;
  background: var(--signal);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-actions {
  justify-self: end;
}

.nav-links a,
.text-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 650;
}

.nav-links a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.language-toggle {
  min-width: 50px;
  min-height: 40px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  border-radius: 7px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.language-toggle:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px);
}

.hero {
  display: grid;
  min-height: calc(100svh - 72px);
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding: 72px 0 88px;
}

.hero > div:first-child {
  position: relative;
}

.hero > div:first-child::before {
  display: block;
  width: 82px;
  margin-bottom: 26px;
  padding: 5px 7px;
  content: "MAC / 001";
  color: var(--white);
  background: var(--ink);
  font: 750 0.65rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue);
  font: 800 0.78rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 13px;
  height: 13px;
  content: "";
  background: var(--signal);
  border: 2px solid var(--ink);
  border-radius: 2px;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 7.6vw, 7.3rem);
  font-weight: 840;
  letter-spacing: -0.085em;
  line-height: 0.86;
}

h1 em {
  position: relative;
  z-index: 0;
  color: var(--white);
  font-family: inherit;
  font-style: normal;
  font-weight: 840;
  white-space: nowrap;
}

h1 em::before {
  position: absolute;
  inset: 10% -0.08em 0 -0.02em;
  z-index: -1;
  content: "";
  background: var(--blue);
  transform: rotate(-1.5deg);
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.3vw, 1.17rem);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

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

.button[aria-disabled="true"] {
  color: #737782;
  background: #d8dad5;
  box-shadow: 3px 3px 0 #737782;
  cursor: not-allowed;
  filter: saturate(0.25);
}

.button[aria-disabled="true"]:hover {
  box-shadow: 3px 3px 0 #737782;
  transform: none;
}

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

.release-note {
  margin: 18px 0 0;
  color: #69707a;
  font: 650 0.76rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.monitor-stage {
  position: relative;
  isolation: isolate;
  padding: clamp(32px, 5vw, 68px) clamp(20px, 4vw, 52px);
  background: var(--blue);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 25px 25px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 12px 12px 0 var(--ink);
}

.monitor-stage::before {
  position: absolute;
  top: -15px;
  right: 32px;
  z-index: 2;
  padding: 7px 11px;
  content: "LIVE / NO CACHE";
  color: var(--ink);
  background: var(--signal);
  border: 2px solid var(--ink);
  font: 800 0.65rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  transform: rotate(2deg);
}

.monitor-window {
  overflow: hidden;
  color: #f7f8f3;
  background: var(--panel-dark);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 8px 8px 0 rgba(16, 18, 24, 0.8);
  transform: rotate(-1.2deg);
}

.window-bar {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.window-title {
  font-size: 0.86rem;
  font-weight: 780;
}

.window-meta {
  color: #a7acb5;
  font: 600 0.7rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.usage-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.usage-card {
  padding: 23px;
  background: var(--panel-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.usage-card.claude {
  background: #241a18;
  border-color: rgba(255, 94, 54, 0.6);
}

.usage-head,
.usage-main,
.usage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.provider {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 800 0.74rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.provider-symbol {
  color: #70ffd0;
  font-size: 1.1rem;
}

.claude .provider-symbol {
  color: #ff805e;
}

.live-pill {
  padding: 5px 8px;
  color: var(--signal);
  background: transparent;
  border: 1px solid rgba(223, 255, 0, 0.6);
  border-radius: 4px;
  font: 750 0.62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.usage-main {
  align-items: end;
  margin: 17px 0 14px;
}

.usage-number {
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 790;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.usage-number small {
  color: #afb4bc;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
}

.reset {
  color: #afb4bc;
  font: 600 0.69rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: right;
}

.progress {
  overflow: hidden;
  height: 8px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.progress > span {
  display: block;
  width: var(--progress);
  height: 100%;
  background: #70ffd0;
}

.claude .progress > span {
  background: var(--orange);
}

.usage-foot {
  color: #979da6;
  font: 600 0.69rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.usage-foot strong {
  color: #f7f8f3;
  font-size: 0.78rem;
}

.monitor-stage > .release-note {
  color: rgba(255, 255, 255, 0.8);
}

.trust-strip {
  background: var(--signal);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

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

.trust-item {
  min-height: 126px;
  padding: 28px;
  border-right: 2px solid var(--ink);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.03rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.trust-item span {
  font-size: 0.83rem;
  font-weight: 570;
}

.section {
  padding: clamp(88px, 11vw, 150px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  gap: 48px;
  margin-bottom: 64px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.section-index {
  color: var(--blue);
  font: 800 0.78rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5.1vw, 5.2rem);
  font-weight: 830;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.section-intro {
  max-width: 630px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

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

.feature {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 28px;
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink);
}

.feature:nth-child(2) {
  color: var(--white);
  background: var(--blue);
}

.feature:nth-child(2) p {
  color: rgba(255, 255, 255, 0.8);
}

.feature:nth-child(3) {
  background: var(--signal);
}

.feature-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  font: 800 0.73rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.feature h3 {
  margin: 54px 0 12px;
  font-size: 1.45rem;
  font-weight: 820;
  letter-spacing: -0.045em;
}

.feature p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.step {
  position: relative;
  padding: 28px 0 0;
  border-top: 5px solid var(--ink);
}

.step::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 38%;
  height: 5px;
  content: "";
  background: var(--orange);
}

.step:nth-child(2)::before {
  width: 64%;
  background: var(--blue);
}

.step:nth-child(3)::before {
  width: 100%;
  background: #84b700;
}

.step-label {
  display: block;
  margin-bottom: 54px;
  color: var(--blue);
  font: 800 0.73rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  font-weight: 800;
}

.step p {
  color: var(--ink-soft);
}

.privacy-block {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 8vw, 88px);
  color: var(--white);
  background: var(--blue);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 10px 10px 0 var(--ink);
}

.privacy-block::after {
  position: absolute;
  right: -65px;
  bottom: -105px;
  width: 280px;
  height: 280px;
  content: "0";
  color: var(--signal);
  font-size: 18rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.12em;
  opacity: 0.96;
}

.privacy-block .eyebrow {
  color: var(--signal);
}

.privacy-block .eyebrow::before {
  background: var(--orange);
  border-color: var(--white);
}

.privacy-block h2,
.privacy-block p,
.privacy-block a {
  position: relative;
  z-index: 1;
}

.privacy-block h2 {
  max-width: 780px;
}

.privacy-block p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
}

.privacy-block .text-link {
  display: inline-block;
  margin-top: 13px;
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.faq-list {
  max-width: 870px;
  margin-left: auto;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 7px 7px 0 var(--ink);
  overflow: hidden;
}

details {
  background: var(--paper-bright);
  border-bottom: 2px solid var(--ink);
}

details:last-child {
  border-bottom: 0;
}

details[open] {
  background: var(--signal);
}

summary {
  padding: 24px;
  font-size: 1.05rem;
  font-weight: 780;
  cursor: pointer;
}

details p {
  max-width: 700px;
  padding: 0 24px 24px;
  color: #363b44;
}

.cta {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 44px;
  align-items: end;
  padding: 0 0 110px;
}

.cta h2 {
  margin-bottom: 0;
}

.cta-action {
  justify-self: end;
}

.site-footer {
  padding: 34px 0 46px;
  color: var(--white);
  background: var(--ink);
  border-top: 2px solid var(--ink);
}

.site-footer .brand-mark {
  border-color: var(--white);
  box-shadow: 3px 3px 0 var(--white);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-note {
  color: #aeb4be;
  font: 600 0.75rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.legal-main {
  padding: 72px 0 120px;
}

.legal-hero {
  max-width: 940px;
  padding: 30px 0 72px;
}

.legal-hero h1 {
  font-size: clamp(3.3rem, 7vw, 6.4rem);
}

.legal-hero h1 em::before {
  display: none;
}

.legal-meta {
  color: var(--ink-soft);
  font: 650 0.78rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.legal-content {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 48px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.legal-aside {
  color: var(--blue);
  font: 800 0.78rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose {
  max-width: 800px;
}

.prose section {
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
}

.prose h2 {
  margin-bottom: 13px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.05em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

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

.callout {
  margin: 0 0 26px;
  padding: 24px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 680;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.support-card {
  min-height: 230px;
  padding: 28px;
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--ink);
}

.support-card:nth-child(2) {
  background: var(--signal);
}

.support-card:nth-child(3) {
  color: var(--white);
  background: var(--blue);
}

.support-card:nth-child(3) p {
  color: rgba(255, 255, 255, 0.8);
}

.support-card h2 {
  font-size: 1.42rem;
}

.support-card p {
  color: var(--ink-soft);
}

@media (max-width: 940px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .monitor-stage {
    width: min(680px, 100%);
    margin: 0 auto;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 2px solid var(--ink);
  }

  .feature:last-child,
  .step:last-child {
    grid-column: 1 / -1;
  }

  .section-heading,
  .legal-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .cta-action {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1240px);
  }

  .nav {
    min-height: 66px;
  }

  .brand span:last-child {
    max-width: 126px;
    line-height: 1.05;
  }

  .hero {
    padding: 50px 0 72px;
  }

  .hero > div:first-child::before {
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 4.9rem);
  }

  h1 em {
    white-space: normal;
  }

  .monitor-stage {
    padding: 34px 10px 18px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .monitor-stage::before {
    right: 12px;
  }

  .monitor-window {
    border-radius: 11px;
    box-shadow: 4px 4px 0 rgba(16, 18, 24, 0.8);
    transform: none;
  }

  .usage-card {
    padding: 18px;
  }

  .usage-number {
    font-size: 3rem;
  }

  .trust-grid,
  .feature-grid,
  .steps,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .feature:last-child,
  .step:last-child {
    grid-column: auto;
  }

  .feature {
    min-height: 290px;
  }

  .privacy-block {
    border-radius: 10px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .privacy-block::after {
    right: -80px;
    bottom: -110px;
    opacity: 0.35;
  }

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

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