:root {
  --canvas: #f5f7fa;
  --paper: #ffffff;
  --ink: #101318;
  --muted: #667085;
  --blue: #196cff;
  --green: #1b8f5a;
  --rule: rgba(16, 19, 24, 0.12);
  --soft-rule: rgba(16, 19, 24, 0.07);
  --stage: #101318;
  --stage-soft: #171c25;
  --stage-muted: #9aa4b2;
  --platform-accent: var(--blue);
  --display: "Sora", "Avenir Next", sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1120px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 7%, rgba(25, 108, 255, 0.07), transparent 27rem),
    var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(25, 108, 255, 0.18);
  color: var(--ink);
}

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

button,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(25, 108, 255, 0.4);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 19, 24, 0.08);
  background: rgba(245, 247, 250, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(25, 108, 255, 0.18);
}

.brand-version {
  margin-left: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.desktop-nav a,
.text-button {
  transition: color 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.text-button svg {
  width: 15px;
  height: 15px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button--small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.82rem;
}

.button--primary {
  background: var(--blue);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(25, 108, 255, 0.2);
}

.button--primary:hover {
  background: #0f5fe9;
  box-shadow: 0 13px 28px rgba(25, 108, 255, 0.27);
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(16, 19, 24, 0.16);
}

.button--dark:hover {
  background: #262d38;
}

.button--outline {
  border-color: rgba(16, 19, 24, 0.18);
  background: transparent;
  color: var(--ink);
}

.button--outline:hover {
  border-color: rgba(16, 19, 24, 0.35);
  background: var(--paper);
}

.icon-arrow {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.button:hover .icon-arrow {
  transform: translateX(3px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 122px) 0 72px;
}

.hero::after {
  position: absolute;
  right: -12rem;
  bottom: -8rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: rgba(27, 143, 90, 0.055);
  content: "";
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.hero-title {
  max-width: 660px;
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6.1vw, 5.55rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.hero-title em {
  color: var(--blue);
  font-style: normal;
}

.hero-lede {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.15rem);
  line-height: 1.65;
}

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

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin: 20px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.commit-console {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--stage);
  box-shadow: 0 30px 70px rgba(16, 19, 24, 0.18);
}

.commit-console::before {
  position: absolute;
  top: -10rem;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(25, 108, 255, 0.12);
  content: "";
  filter: blur(44px);
  pointer-events: none;
}

.console-top,
.console-footer,
.console-status,
.commit-row {
  position: relative;
  z-index: 1;
}

.console-top,
.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.console-top {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #697384;
}

.window-dots span:first-child { background: #f46d67; }
.window-dots span:nth-child(2) { background: #f3ba4c; }
.window-dots span:last-child { background: #4fc27a; }

.console-kicker,
.console-version {
  color: var(--stage-muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.console-version {
  color: #7ed5a7;
}

.console-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 22px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.console-status strong {
  color: #7ed5a7;
  font-weight: 500;
}

.status-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fda91;
  box-shadow: 0 0 0 5px rgba(95, 218, 145, 0.11);
}

.commit-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.commit-node {
  min-width: 0;
  padding: 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, background 180ms ease;
}

.commit-node.is-live {
  border-color: color-mix(in srgb, var(--platform-accent) 72%, white 12%);
  background: color-mix(in srgb, var(--platform-accent) 13%, transparent);
}

.node-eyebrow {
  display: block;
  overflow: hidden;
  color: var(--stage-muted);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.node-title {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-detail {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--stage-muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-rail {
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.flow-rail__fill {
  position: absolute;
  inset: 0;
  background: var(--platform-accent);
  transform-origin: left center;
}

.flow-rail__traveler {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--stage);
  border-radius: 50%;
  background: var(--platform-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--platform-accent) 20%, transparent);
  transform: translate(-1px, -50%);
}

.console-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.console-path {
  min-width: 0;
  color: var(--stage-muted);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.console-path code {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--paper);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.replay-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.66rem;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.replay-button:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.replay-button svg {
  width: 13px;
  height: 13px;
}

.commit-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding: 12px 13px;
  border: 1px solid rgba(95, 218, 145, 0.26);
  border-radius: 13px;
  background: rgba(95, 218, 145, 0.08);
}

.commit-check {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #5fda91;
  color: var(--stage);
  font-weight: 800;
}

.commit-row p {
  margin: 0;
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
}

.commit-row code {
  display: block;
  margin-top: 3px;
  color: #9ae5b8;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
}

.section {
  padding: 86px 0;
}

.section--tight {
  padding-top: 10px;
  padding-bottom: 74px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}

.section-heading h2 {
  max-width: 650px;
  margin: 13px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.section-heading p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.platform-pill {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 13px 14px;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.platform-pill:hover,
.platform-pill:focus-visible,
.platform-pill[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--platform-accent) 55%, var(--rule));
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-2px);
}

.platform-pill::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--platform-accent);
  content: "";
}

.platform-pill[data-platform="leetcode"]::before { background: #f29e39; }
.platform-pill[data-platform="geeksforgeeks"]::before { background: #2f9d50; }
.platform-pill[data-platform="codeforces"]::before { background: #278acb; }
.platform-pill[data-platform="codechef"]::before { background: #9a6b45; }
.platform-pill[data-platform="neetcode"]::before { background: #16b6b1; }

.platform-pill small {
  display: block;
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  font-weight: 500;
  white-space: nowrap;
}

.proof-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--stage);
  color: var(--paper);
  box-shadow: 0 26px 62px rgba(16, 19, 24, 0.14);
}

.proof-copy .section-label {
  color: #83a9ff;
}

.proof-copy h2 {
  max-width: 460px;
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.065em;
  line-height: 1.03;
}

.proof-copy > p {
  max-width: 410px;
  margin: 20px 0 0;
  color: var(--stage-muted);
  line-height: 1.65;
}

.proof-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #e6eaf0;
  font-size: 0.88rem;
}

.proof-list li::before {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(95, 218, 145, 0.42);
  border-radius: 50%;
  background: rgba(95, 218, 145, 0.1);
  color: #76dfa1;
  content: "✓";
  font-size: 0.69rem;
  font-weight: 700;
}

.product-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: #090c11;
  box-shadow: 0 17px 40px rgba(0, 0, 0, 0.3);
}

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

.product-frame figcaption {
  padding: 11px 14px;
  color: var(--stage-muted);
  font-family: var(--mono);
  font-size: 0.63rem;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.steps::before {
  position: absolute;
  top: 31px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: var(--rule);
  content: "";
}

.step-card {
  position: relative;
  z-index: 1;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
}

.step-number {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 600;
}

.step-card h3 {
  margin: 32px 0 0;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.step-card code {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8em;
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.privacy-copy h2 {
  max-width: 530px;
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.065em;
  line-height: 1.03;
}

.privacy-copy > p {
  max-width: 490px;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.privacy-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(16, 19, 24, 0.07);
}

.route-node {
  padding: 17px;
  border: 1px solid var(--soft-rule);
  border-radius: 13px;
  background: var(--canvas);
}

.route-node strong,
.route-node span {
  display: block;
}

.route-node strong {
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: -0.03em;
}

.route-node span {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.route-arrow {
  color: var(--green);
  text-align: center;
}

.route-arrow svg {
  width: 22px;
  height: 22px;
}

.route-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.route-note strong {
  color: var(--ink);
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.faq-list {
  max-width: 820px;
  margin: 30px auto 0;
}

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

.faq-list details:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--blue);
  content: "+";
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-list details a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.closing {
  padding: 0 0 88px;
}

.closing-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--blue);
  color: var(--paper);
}

.closing-card::after {
  position: absolute;
  right: -4rem;
  bottom: -8rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.04), 0 0 0 80px rgba(255, 255, 255, 0.025);
  content: "";
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.closing-content h2 {
  max-width: 600px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.closing-content p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.closing-actions .button--primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 19, 24, 0.15);
}

.closing-actions .button--primary:hover {
  background: #edf1f7;
}

.closing-actions .button--outline {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--paper);
}

.closing-actions .button--outline:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.78rem;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-brand img {
  width: 25px;
  height: 25px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--soft-rule);
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.6;
}

.ai-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(780px, calc(100dvh - 28px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(16, 19, 24, 0.28);
}

.ai-dialog::backdrop {
  background: rgba(16, 19, 24, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dialog-card {
  position: relative;
  overflow: auto;
  max-height: min(780px, calc(100dvh - 28px));
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #fbfcfe 100%);
}

.dialog-topline,
.dialog-actions-heading,
.dialog-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dialog-topline {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.dialog-kicker {
  color: var(--blue);
  font-weight: 700;
}

.dialog-context {
  padding: 5px 8px;
  border: 1px solid var(--soft-rule);
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.dialog-header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  letter-spacing: -0.05em;
}

.dialog-header p {
  max-width: 52ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.dialog-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.dialog-close:hover {
  background: var(--canvas);
  color: var(--ink);
  transform: rotate(4deg);
}

.dialog-close svg {
  width: 15px;
  height: 15px;
}

.dialog-fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.dialog-fieldset legend,
.dialog-label {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.dialog-fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.prompt-chip {
  display: flex;
  width: 100%;
  min-height: 76px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.prompt-chip:hover,
.prompt-chip:focus-visible {
  border-color: rgba(25, 108, 255, 0.45);
  background: #eef4ff;
  transform: translateX(2px);
}

.prompt-chip[aria-pressed="true"] {
  border-color: rgba(25, 108, 255, 0.55);
  background: #eef4ff;
  box-shadow: inset 3px 0 0 var(--blue);
}

.prompt-chip span:last-child {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dialog-input {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--soft-rule);
}

.dialog-label-row {
  margin-bottom: 8px;
}

.dialog-editable {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dialog-textarea {
  display: block;
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 13px 14px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.55;
}

.dialog-textarea:focus {
  border-color: rgba(25, 108, 255, 0.6);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(25, 108, 255, 0.12);
}

.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.dialog-status {
  margin-left: auto;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.64rem;
  text-align: right;
}

.dialog-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.dialog-actions-heading {
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dialog-actions-heading span:first-child {
  color: var(--ink);
  font-weight: 700;
}

.dialog-actions .button {
  min-height: 56px;
  justify-content: flex-start;
  border-radius: 14px;
  font-size: 0.8rem;
  text-align: left;
}

.ai-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.dialog-actions .button--chatgpt {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.dialog-actions .button--claude {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--paper);
}

.dialog-actions .button--gemini {
  border-color: #4058d6;
  background: #4058d6;
  color: var(--paper);
}

.dialog-actions .button--perplexity {
  border-color: #166b67;
  background: #166b67;
  color: var(--paper);
}

.dialog-actions .button--grok {
  border-color: #2b2f38;
  background: #2b2f38;
  color: var(--paper);
}

.dialog-actions .button--copy {
  border-color: var(--rule);
  background: var(--canvas);
  color: var(--ink);
}

.dialog-actions .button--copy:hover {
  border-color: rgba(16, 19, 24, 0.35);
  background: var(--paper);
}

.dialog-actions .button--grok .ai-logo {
  filter: brightness(0) invert(1);
}

.dialog-actions .button:hover {
  box-shadow: 0 10px 22px rgba(16, 19, 24, 0.13);
}

.dialog-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--soft-rule);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .desktop-nav {
    gap: 14px;
  }

  .hero-grid,
  .proof-stage,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .proof-stage {
    gap: 34px;
  }

  .proof-copy h2,
  .privacy-copy h2 {
    max-width: 680px;
  }

  .platform-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .site-header {
    background: rgba(245, 247, 250, 0.95);
  }

  .nav-shell {
    min-height: 64px;
    gap: 10px;
  }

  .desktop-nav {
    gap: 8px;
    margin-left: auto;
  }

  .desktop-nav a {
    display: none;
  }

  .text-button {
    width: 36px;
    height: 36px;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: 50%;
  }

  .text-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .button--small {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 0.75rem;
  }

  .brand-version {
    display: none;
  }

  .hero {
    padding: 56px 0 56px;
  }

  .hero-title {
    font-size: clamp(2.85rem, 14vw, 4.3rem);
  }

  .hero-lede {
    margin-top: 21px;
    font-size: 0.98rem;
  }

  .hero-actions,
  .privacy-actions,
  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .privacy-actions .button,
  .closing-actions .button {
    width: 100%;
  }

  .hero-note {
    gap: 7px 12px;
    font-size: 0.65rem;
  }

  .commit-console {
    padding: 16px;
    border-radius: 21px;
  }

  .commit-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .commit-node {
    padding: 13px;
  }

  .flow-rail {
    width: 2px;
    height: 28px;
    margin-left: 25px;
  }

  .flow-rail__fill {
    transform-origin: center top;
  }

  .flow-rail__traveler {
    top: 0;
    left: 50%;
    transform: translate(-50%, -1px);
  }

  .console-footer {
    align-items: flex-end;
  }

  .section {
    padding: 66px 0;
  }

  .section--tight {
    padding-top: 0;
    padding-bottom: 58px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 2.15rem;
  }

  .section-heading p {
    margin-top: 15px;
  }

  .platform-strip {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin-inline: -14px;
    padding: 5px 14px 9px;
    scrollbar-width: none;
  }

  .platform-strip::-webkit-scrollbar {
    display: none;
  }

  .platform-pill {
    min-width: max-content;
    padding: 12px;
  }

  .platform-pill small {
    display: none;
  }

  .proof-stage {
    padding: 22px 16px 16px;
    border-radius: 21px;
  }

  .proof-copy h2,
  .privacy-copy h2 {
    font-size: 2.2rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .steps::before {
    top: 10%;
    bottom: 10%;
    left: 31px;
    width: 1px;
    height: auto;
  }

  .step-card {
    min-height: auto;
    padding: 19px;
  }

  .step-card h3 {
    margin-top: 19px;
  }

  .privacy-route {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  .route-arrow {
    transform: rotate(90deg);
  }

  .route-note {
    margin-top: 7px;
  }

  .closing {
    padding-bottom: 66px;
  }

  .closing-card {
    padding: 28px 20px;
    border-radius: 21px;
  }

  .closing-content h2 {
    font-size: 2.65rem;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .dialog-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .dialog-card {
    padding: 22px;
  }

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

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

  .dialog-topline,
  .dialog-actions-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .dialog-context {
    align-self: flex-start;
  }
}

@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;
  }
}
