/* shadcn/ui look (zinc theme, new-york style) for a static page: same tokens, same component shapes. */
:root {
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 240 10% 3.9%;
  --popover: 0 0% 100%;
  --primary: 240 5.9% 10%;
  --primary-foreground: 0 0% 98%;
  --secondary: 240 4.8% 95.9%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 46.1%;
  --accent: 240 4.8% 95.9%;
  --border: 240 5.9% 90%;
  --ring: 240 5.9% 10%;
  --live: 0 72.2% 50.6%;
  --warning: 38 92% 50%;
  --caution: 24.6 95% 53.1%;
  --radius: 0.5rem;
  /* The privacy panel: inverted in light mode, a raised surface in dark mode. */
  --panel: var(--primary);
  --panel-foreground: var(--primary-foreground);
  --panel-border: var(--primary);

  /* The diagram: whoever streams is the primary color, viewers the muted one. */
  --stream: hsl(var(--primary));
  --stream-ink: hsl(var(--primary-foreground));
  --watch: hsl(var(--muted-foreground));

  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 3.9%;
    --primary: 0 0% 98%;
    --primary-foreground: 240 5.9% 10%;
    --secondary: 240 3.7% 15.9%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --accent: 240 3.7% 15.9%;
    --border: 240 3.7% 15.9%;
    --ring: 240 4.9% 83.9%;
    --live: 0 72% 51%;
    --panel: 240 6% 10%;
    --panel-foreground: 0 0% 98%;
    --panel-border: 240 3.7% 20%;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; border-color: hsl(var(--border)); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "rlig" 1, "calt" 1;
}
main > section { padding: clamp(56px, 8vw, 96px) 24px; max-width: 1120px; margin: 0 auto; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3vw, 30px); font-weight: 600; line-height: 1.2; max-width: 28ch; }
h3 { font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
b { font-weight: 600; }
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; border-radius: calc(var(--radius) - 2px); }
.fine { color: hsl(var(--muted-foreground)); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Button: default, outline (.btn-ghost) and sm (.btn-small) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font: 500 14px var(--font); text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 2px rgb(0 0 0 / .05);
  transition: background-color .15s, opacity .15s;
}
.btn:hover { opacity: .9; }
.btn-ghost { background: hsl(var(--background)); color: hsl(var(--foreground)); border: 1px solid hsl(var(--border)); }
.btn-ghost:hover { background: hsl(var(--accent)); opacity: 1; }
.btn-small { height: 36px; padding: 0 14px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  height: 56px; padding: 0 24px;
  background: hsl(var(--background) / .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.brand svg { width: 22px; height: 22px; }
.brand circle { fill: hsl(var(--foreground)); }
.brand circle:nth-child(2) { fill: hsl(var(--muted-foreground)); }
.brand path { stroke: hsl(var(--foreground)); stroke-width: 2.5; stroke-linecap: round; }
.top nav { display: flex; gap: 20px; margin-left: 8px; }
.top nav a { color: hsl(var(--muted-foreground)); text-decoration: none; font-size: 14px; transition: color .15s; }
.top nav a:hover { color: hsl(var(--foreground)); }
.lang-menu { margin-left: auto; position: relative; }

/* Dropdown menu (language) */
.lang-menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 10px; border-radius: calc(var(--radius) - 2px);
  font-size: 14px; color: hsl(var(--foreground)); white-space: nowrap;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: hsl(var(--accent)); }
.lang-menu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 20;
  list-style: none; margin: 0; padding: 4px; min-width: 144px;
  background: hsl(var(--popover)); border: 1px solid hsl(var(--border)); border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
}
.lang-menu a { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: calc(var(--radius) - 4px); text-decoration: none; font-size: 14px; }
.lang-menu a:hover { background: hsl(var(--accent)); }
.lang-menu a[aria-current="page"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--foreground)); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-top: clamp(48px, 8vw, 104px) !important;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; }
.lead { margin-top: 20px; font-size: 18px; color: hsl(var(--muted-foreground)); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine { margin-top: 16px; }

.wire {
  margin: 0; padding: 24px; border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(hsl(var(--border)) 1px, transparent 1px) 0 0 / 18px 18px,
    hsl(var(--card));
}
.wire svg { width: 100%; height: auto; display: block; overflow: visible; }
.wire figcaption { color: hsl(var(--muted-foreground)); font-size: 13px; margin-top: 12px; padding-top: 12px; border-top: 1px solid hsl(var(--border)); }
.paths path { fill: none; stroke: hsl(var(--border)); stroke-width: 8; stroke-linecap: round; }
.flow path {
  fill: none; stroke: hsl(var(--foreground)); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 2 20; animation: flow 1.1s linear infinite;
}
.flow path:nth-child(2) { animation-delay: -.35s; }
.flow path:nth-child(3) { animation-delay: -.7s; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.node rect { stroke-width: 1; }
.node-stream rect { fill: hsl(var(--primary)); stroke: hsl(var(--primary)); }
.node-stream text { fill: hsl(var(--primary-foreground)); }
.node-stream .rec { fill: hsl(var(--live)); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.node-watch rect { fill: hsl(var(--card)); stroke: hsl(var(--border)); }
.node-watch text { fill: hsl(var(--foreground)); }
.n-title { font: 600 16px var(--font); }
.n-sub { font: 400 13px var(--font); opacity: .75; }
.no-server rect { fill: hsl(var(--card)); stroke: hsl(var(--border)); stroke-width: 1; stroke-dasharray: 3 3; }
.no-server text { fill: hsl(var(--muted-foreground)); font: 500 13px var(--font); text-anchor: middle; }
.no-server path { stroke: hsl(var(--muted-foreground)); stroke-width: 1.5; }

/* Card */
.specs dl > div, .feature, .plan, .calc, .limit-list, .table-wrap, .license-how, .fair-body {
  background: hsl(var(--card)); color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 1px 2px rgb(0 0 0 / .04);
}

/* Specs */
.specs { padding-top: 0 !important; }
.specs dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.specs dl > div { padding: 20px; }
.specs dt { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.specs dd { margin: 4px 0 0; color: hsl(var(--muted-foreground)); font-size: 14px; }

/* Table */
.table-wrap { margin-top: 32px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid hsl(var(--border)); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:hover { background: hsl(var(--muted) / .5); }
.compare thead th { color: hsl(var(--muted-foreground)); font-weight: 500; height: 44px; padding-top: 12px; padding-bottom: 12px; }
.compare thead th:last-child { color: hsl(var(--foreground)); font-weight: 600; }
.compare tbody th { font-weight: 500; width: 22%; }
.compare tbody td { color: hsl(var(--muted-foreground)); }
.compare tbody td:last-child { color: hsl(var(--foreground)); font-weight: 500; }

/* Privacy: the one inverted panel on the page (a raised one in dark mode) */
/* The panel is the section box itself: no vertical padding inside it, spacing outside. */
.privacy { padding-top: 0 !important; padding-bottom: clamp(32px, 4vw, 48px) !important; margin: clamp(32px, 5vw, 56px) auto !important; }
.privacy {
  --shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}
.privacy > * { position: relative; }
.privacy::before {
  content: ""; position: absolute; z-index: 0; inset: 0 24px;
  background: hsl(var(--panel)); border-radius: calc(var(--radius) + 8px);
  border: 1px solid hsl(var(--panel-border));
}
.privacy { position: relative; color: hsl(var(--panel-foreground)); }
.privacy > h2, .privacy > .section-lead, .privacy > .privacy-grid, .privacy > .privacy-note { margin-left: clamp(24px, 4vw, 48px); margin-right: clamp(24px, 4vw, 48px); }
.privacy > h2 { padding-top: clamp(32px, 4vw, 48px); max-width: 24ch; }
.section-lead { margin-top: 12px; font-size: 17px; max-width: 62ch; opacity: .75; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.privacy-card {
  padding: 22px 24px 22px 60px; position: relative;
  border: 1px solid hsl(var(--panel-foreground) / .14); border-radius: calc(var(--radius) + 4px);
  background: hsl(var(--panel-foreground) / .04);
}
.privacy-card::before {
  content: ""; position: absolute; left: 22px; top: 23px; width: 22px; height: 22px;
  background: currentColor; -webkit-mask: var(--shield) center / contain no-repeat; mask: var(--shield) center / contain no-repeat;
}
.privacy-card p { margin-top: 6px; font-size: 14px; opacity: .72; }
.privacy-note { margin-top: 16px; margin-bottom: 0; padding: 20px 24px; border-radius: calc(var(--radius) + 4px); border: 1px dashed hsl(var(--panel-foreground) / .25); }
.privacy-note h3 { font-size: 15px; }
.privacy-note ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; opacity: .78; }
@media (max-width: 760px) {
  .privacy::before { inset: 0 16px; }
}
@media (max-width: 560px) {
  .privacy::before { inset: 0; border-radius: 0; }
  .privacy > h2, .privacy > .section-lead, .privacy > .privacy-grid, .privacy > .privacy-note { margin-left: 20px; margin-right: 20px; }
  .privacy-card { padding: 18px 18px 18px 52px; }
  .privacy-card::before { left: 18px; top: 19px; }
}

/* Steps: a real sequence, so numbered */
.steps ol { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 14px var(--mono);
  border: 1px solid hsl(var(--border)); background: hsl(var(--muted));
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 18px; left: 48px; right: -20px; height: 1px; background: hsl(var(--border));
}
.steps p { color: hsl(var(--muted-foreground)); margin-top: 6px; font-size: 14px; }

/* Features */
/* One wide card, then two rows of two. */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.feature { padding: 24px; }
.feature p { color: hsl(var(--muted-foreground)); margin-top: 6px; font-size: 14px; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px 40px; align-items: start; background: hsl(var(--muted) / .5); }
.feature.wide h3 { font-size: 20px; }
.feature.wide p { margin-top: 0; font-size: 15px; }

/* Limitations: alerts */
.limits-head p { color: hsl(var(--muted-foreground)); margin-top: 12px; max-width: 64ch; }
.limits-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; margin-top: 32px; align-items: start; }
.limit-list { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.limit-list li { padding: 16px 20px 16px 52px; position: relative; }
.limit-list li + li { border-top: 1px solid hsl(var(--border)); }
.limit-list li::before {
  content: "!"; position: absolute; left: 20px; top: 17px;
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font: 700 11px var(--font); color: hsl(var(--warning)); border: 1.5px solid hsl(var(--warning));
}
.limit-list p { color: hsl(var(--muted-foreground)); margin-top: 4px; font-size: 14px; }

/* Calculator card */
.calc { position: sticky; top: 80px; padding: 24px; }
.calc h3 { font-size: 18px; }
.calc fieldset { border: 0; padding: 0; margin: 20px 0 0; }
.calc legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
/* Tabs list */
.seg { display: flex; background: hsl(var(--muted)); border-radius: var(--radius); padding: 4px; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 6px 4px; border-radius: calc(var(--radius) - 2px); font-weight: 500; font-size: 14px; color: hsl(var(--muted-foreground)); transition: background .15s, color .15s; }
.seg input:checked + span { background: hsl(var(--background)); color: hsl(var(--foreground)); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.seg input:focus-visible + span { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.range { display: block; margin-top: 20px; font-size: 14px; font-weight: 500; }
.range input { width: 100%; margin-top: 10px; accent-color: hsl(var(--primary)); }
.result { display: block; margin-top: 20px; padding-top: 20px; border-top: 1px solid hsl(var(--border)); }
.result-num { display: block; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.result-num b { font-weight: 700; }
.result-note { display: block; margin-top: 8px; color: hsl(var(--muted-foreground)); font-size: 14px; }
/* Progress */
.bar { height: 8px; border-radius: 99px; background: hsl(var(--secondary)); margin: 16px 0 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 30%; background: hsl(var(--primary)); border-radius: inherit; transition: width .25s; }
.calc[data-level="high"] .result-num, .calc[data-level="high"] .result-note { color: hsl(var(--live)); }
.calc[data-level="high"] .bar i { background: hsl(var(--live)); }
.calc[data-level="wifi"] .result-num, .calc[data-level="wifi"] .result-note { color: hsl(var(--caution)); }
.calc[data-level="wifi"] .bar i { background: hsl(var(--caution)); }

/* Pricing */
.pricing h2 { max-width: 30ch; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; align-items: stretch; }
.plan { padding: 28px; display: flex; flex-direction: column; }
.plan-paid { border: 2px solid hsl(var(--primary)); box-shadow: 0 10px 30px -12px rgb(0 0 0 / .25); }
.plan h3 { font-size: 16px; color: hsl(var(--muted-foreground)); font-weight: 500; }
.price { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-top: 8px; }
.price small { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; color: hsl(var(--muted-foreground)); margin-top: 4px; }
.plan ul { list-style: none; margin: 24px 0 28px; padding: 24px 0 0; border-top: 1px solid hsl(var(--border)); flex: 1; display: grid; gap: 10px; align-content: start; font-size: 14px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
.plan .btn { width: 100%; }
/* Badge */
.launch {
  display: inline-flex; align-self: flex-start; margin-top: 12px;
  padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
}
.launch + .price { margin-top: 10px; }
.was-price { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: hsl(var(--muted-foreground)); text-decoration-thickness: 2px; margin-right: 4px; }

.license-how { margin-top: 16px; padding: 24px 28px; }
.license-how ol { margin: 12px 0 16px; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.license-how ol li::marker { color: hsl(var(--muted-foreground)); font-family: var(--mono); }
.license-how .fine { max-width: 72ch; }

/* Fair use: alert */
.fair-body { margin-top: 24px; padding: 20px 24px 20px 56px; position: relative; max-width: 760px; }
.fair-body::before {
  content: ""; position: absolute; left: 22px; top: 23px; width: 16px; height: 16px;
  border: 1.5px solid hsl(var(--foreground)); border-radius: 50%;
  background: linear-gradient(135deg, transparent calc(50% - 1px), hsl(var(--foreground)) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}
.fair-body > p:first-child { font-weight: 500; }
.fair-body ul { margin: 12px 0; padding-left: 18px; color: hsl(var(--muted-foreground)); display: grid; gap: 6px; font-size: 14px; }

/* Accordion */
.faq details { border-bottom: 1px solid hsl(var(--border)); max-width: 760px; }
.faq h2 + details { margin-top: 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 32px 16px 0; position: relative;
  font-weight: 500; font-size: 15px;
}
.faq summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 7px; height: 7px;
  border-right: 1.5px solid hsl(var(--muted-foreground)); border-bottom: 1.5px solid hsl(var(--muted-foreground));
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: hsl(var(--muted-foreground)); padding: 0 32px 16px 0; font-size: 14px; max-width: 72ch; }

/* Footer */
.foot { padding: 24px; max-width: 1120px; margin: 0 auto; color: hsl(var(--muted-foreground)); font-size: 13px; border-top: 1px solid hsl(var(--border)); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .specs dl { grid-template-columns: repeat(2, 1fr); }
  .steps ol { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2)::after { display: none; }
  .feature.wide { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .limits-body { grid-template-columns: 1fr; }
  .calc { position: static; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .top nav { display: none; }
  .top { gap: 8px; padding: 0 16px; }
  main > section { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tr { padding: 16px; border-bottom: 1px solid hsl(var(--border)); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th, .compare tbody td { border: 0; padding: 0; }
  .compare tbody th { width: auto; font-weight: 600; margin-bottom: 8px; }
  .compare tbody td { margin-top: 6px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 500; color: hsl(var(--muted-foreground)); }
}
@media (max-width: 560px) {
  .steps ol, .feature-grid { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .feature.wide { grid-column: auto; }
  .privacy { padding-left: 0; padding-right: 0; }
  .specs dl { gap: 12px; }
  .plan, .calc { padding: 20px; }
  .lang-menu summary span { display: none; }
  /* Too small to read once the diagram shrinks; the caption says it. */
  .n-sub { display: none; }
  .wire { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow path, .node-stream .rec { animation: none; }
  .flow path { stroke-dasharray: none; opacity: .5; }
}

/* Checkout pages (pt/comprar/, pt/licenca/) */
.checkout { min-height: calc(100vh - 56px - 90px); }
.buy { max-width: 640px !important; }
.buy h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 600; line-height: 1.15; }
.buy .btn { margin-top: 8px; align-self: flex-start; cursor: pointer; border: 0; }
.buy-form {
  margin-top: 32px; padding: 24px; display: flex; flex-direction: column; gap: 10px;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 1px 2px rgb(0 0 0 / .04);
}
.buy-form label { font-size: 14px; font-weight: 500; }
.buy-form input {
  height: 40px; padding: 0 12px; border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border)); background: hsl(var(--background)); color: hsl(var(--foreground));
  font: 500 15px var(--mono); letter-spacing: .02em;
}
.buy-form input:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.buy-form input[aria-describedby~="discord_id_error"] { border-color: hsl(var(--live)); }
.form-error { color: hsl(var(--live)); font-size: 14px; font-weight: 500; }
.license-box {
  margin-top: 28px; padding: 12px 12px 12px 16px; display: flex; align-items: center; gap: 12px;
  background: hsl(var(--muted)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) + 4px);
}
.license-box code { flex: 1; min-width: 0; font: 500 13px/1.5 var(--mono); word-break: break-all; user-select: all; }
.license-box .btn { margin: 0; }
.buy-steps { margin: 24px 0 16px; padding-left: 20px; display: grid; gap: 6px; }
.buy-steps li::marker { color: hsl(var(--muted-foreground)); font-family: var(--mono); }
.buy > .btn { margin-top: 24px; }

/* Admin (/admin/) */
.admin { max-width: 960px !important; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-head .btn { margin: 0; }
.admin-h2 { font-size: 18px; }
.admin-orders { margin-top: 48px; }
.admin-link { margin-top: 10px; word-break: break-all; }
.admin-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.admin-search input {
  flex: 1; min-width: 220px; height: 36px; padding: 0 12px; border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border)); background: hsl(var(--background)); color: hsl(var(--foreground)); font: 500 14px var(--mono);
}
.admin-search .btn { margin: 0; }
.admin-table { overflow-x: auto; margin-top: 0; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid hsl(var(--border)); white-space: nowrap; }
.admin-table th { color: hsl(var(--muted-foreground)); font-weight: 500; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td:nth-child(2) { font-family: var(--mono); }
.status { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; background: hsl(var(--muted)); }
.status-paid { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

/* Download page (/download/, /pt/download/, /es/download/) */
.dl > section { max-width: 880px; scroll-margin-top: 56px; }
.dl-hero { padding-bottom: 32px !important; }
.dl-hero h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.dl-cta { margin: 28px 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn-large { height: 48px; padding: 0 24px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-meta { font-family: var(--mono); font-size: 13px; }
.dl-install, .dl-sac, .dl-why, .dl-safe, .dl-uninstall { padding-top: 32px !important; padding-bottom: 32px !important; }
.dl-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px; align-items: start; }
.dl-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.dl-steps li { counter-increment: step; position: relative; padding-left: 44px; font-size: 15px; color: hsl(var(--muted-foreground)); }
.dl-steps li b { color: hsl(var(--foreground)); font-weight: 600; }
.dl-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font: 600 13px var(--mono);
  background: hsl(var(--secondary)); color: hsl(var(--foreground)); border: 1px solid hsl(var(--border));
}
/* Illustration of the SmartScreen prompt: not a screenshot, just where to click. */
.smartscreen { margin: 0; position: sticky; top: 80px; }
.ss-window { background: #1b5aa6; color: #fff; padding: 22px 22px 18px; border-radius: calc(var(--radius) + 4px); box-shadow: 0 10px 30px -12px rgb(0 0 0 / .35); font-size: 13px; }
.ss-title { font-size: 19px; font-weight: 600; line-height: 1.25; margin-bottom: 12px; }
.ss-body { opacity: .9; }
.ss-link { margin-top: 10px; text-decoration: underline; }
.ss-buttons { margin-top: 28px; display: flex; gap: 8px; justify-content: flex-end; }
.ss-btn { padding: 6px 12px; border: 1px solid rgb(255 255 255 / .7); font-size: 12px; white-space: nowrap; }
.ss-mark { outline: 2px solid #ffd43b; outline-offset: 3px; border-radius: 2px; }
.smartscreen figcaption { margin-top: 12px; display: grid; gap: 2px; font-size: 13px; color: hsl(var(--muted-foreground)); }
.dl-why-body {
  display: flex; gap: 18px; padding: 24px 28px; background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 4px); box-shadow: 0 1px 2px rgb(0 0 0 / .04);
}
.dl-why-body h2 { font-size: 20px; max-width: none; margin-bottom: 12px; }
.dl-why-body p + p { margin-top: 12px; }
.dl-why-body p { color: hsl(var(--muted-foreground)); }
.dl-why-body p:nth-of-type(2) { color: hsl(var(--foreground)); font-weight: 500; }
.dl-icon svg { width: 28px; height: 28px; fill: none; stroke: hsl(var(--foreground)); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dl-safe ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 10px; color: hsl(var(--muted-foreground)); }
.dl-safe code, .dl-uninstall code { font: 500 13px var(--mono); background: hsl(var(--muted)); padding: 1px 6px; border-radius: 4px; color: hsl(var(--foreground)); }
.dl-safe code.hash { word-break: break-all; }
.dl-uninstall p { margin-top: 12px; color: hsl(var(--muted-foreground)); }
.dl-sac p { margin-top: 12px; color: hsl(var(--muted-foreground)); max-width: 72ch; }
.dl-sac p b { color: hsl(var(--foreground)); font-weight: 600; }
.dl-vt {
  margin-top: 16px; display: flex; gap: 20px; align-items: flex-start; padding: 20px 24px;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) + 4px);
}
.dl-vt-score { display: flex; align-items: baseline; gap: 4px; font-family: var(--mono); white-space: nowrap; }
.dl-vt-score b { font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.dl-vt-score span { color: hsl(var(--muted-foreground)); font-size: 15px; }
.dl-vt h3 { margin-bottom: 6px; }
.dl-vt p { color: hsl(var(--muted-foreground)); font-size: 14px; }
.dl-vt p b { color: hsl(var(--foreground)); }
.dl-vt p + p { margin-top: 10px; }
.dl-vt a { color: hsl(var(--foreground)); font-weight: 500; }
@media (max-width: 760px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-vt { flex-direction: column; gap: 10px; padding: 18px; }
  .smartscreen { position: static; }
  .dl-why-body { flex-direction: column; padding: 20px; }
}
