:root {
  color-scheme: light dark;
  font-family: "Segoe UI Variable", "Microsoft YaHei UI", system-ui, sans-serif;
  --page: #f5f7fb;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-soft: #f0f4fa;
  --surface-tint: #e9f3ff;
  --text: #121827;
  --muted: #657087;
  --subtle: #8e98aa;
  --line: rgba(31, 48, 80, 0.11);
  --brand: #087df1;
  --brand-strong: #0068d7;
  --brand-soft: #dcecff;
  --accent: #7657ed;
  --success: #0b8f62;
  --warning: #b85e00;
  --danger: #bc3b4f;
  --shadow-sm: 0 10px 30px rgba(24, 45, 86, 0.08);
  --shadow-lg: 0 28px 80px rgba(31, 57, 108, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -8%, rgba(82, 163, 255, 0.17), transparent 34rem),
    radial-gradient(circle at 88% 2%, rgba(118, 87, 237, 0.1), transparent 28rem),
    var(--page);
  color: var(--text);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(8, 125, 241, 0.35);
  outline-offset: 3px;
}

img,
video {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 251, 0.82);
  backdrop-filter: blur(20px) saturate(150%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--text);
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 7px 13px rgba(70, 111, 255, 0.25));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-glass);
  color: var(--text);
}

.header-state {
  justify-self: end;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(8, 125, 241, 0.16);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 720;
}

main {
  padding: 44px 0 88px;
}

.home-page main {
  padding-top: 0;
}

.product-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  padding-block: 76px 70px;
}

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

.hero-badge,
.eyebrow,
.status-pill,
.media-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 730;
}

.hero-badge {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(8, 125, 241, 0.15);
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-strong);
  box-shadow: var(--shadow-sm);
}

.hero-badge span {
  color: var(--success);
  font-size: 10px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

h1 {
  margin: 24px 0 0;
  font-size: clamp(46px, 5.8vw, 76px);
}

h1 span {
  background: linear-gradient(105deg, var(--brand), var(--accent));
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.2vw, 46px);
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

.hero-lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(115deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: 0 16px 34px rgba(47, 103, 226, 0.25);
}

.button-primary:hover {
  color: #fff;
  box-shadow: 0 20px 40px rgba(47, 103, 226, 0.33);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface-glass);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.hero-facts span {
  color: var(--success);
  font-weight: 800;
}

.product-visual {
  position: relative;
  min-width: 0;
  padding: 30px 14px;
}

.visual-glow {
  position: absolute;
  inset: 5% 0;
  border-radius: 50%;
  background: linear-gradient(130deg, rgba(60, 156, 255, 0.3), rgba(118, 87, 237, 0.24));
  filter: blur(50px);
}

.browser-mockup {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  background: #f8faff;
  box-shadow: 0 35px 90px rgba(35, 66, 124, 0.22), 0 4px 18px rgba(27, 50, 93, 0.1);
  transform: perspective(1300px) rotateY(-3deg) rotateX(1deg);
}

.browser-bar {
  height: 45px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(37, 58, 98, 0.09);
  background: rgba(255, 255, 255, 0.94);
}

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

.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccd3df;
}

.browser-dots i:first-child {
  background: #ff7272;
}

.browser-dots i:nth-child(2) {
  background: #ffc35d;
}

.browser-dots i:nth-child(3) {
  background: #48c88a;
}

.address-bar {
  width: min(290px, 64%);
  height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: #eef2f8;
  color: #8b95a7;
  font-size: 11px;
}

.browser-content {
  min-height: 438px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 0;
}

.video-stage {
  position: relative;
  min-height: 438px;
  overflow: hidden;
  background: #0f1622;
}

.video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 14, 28, 0.7), transparent 55%);
}

.video-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #172033;
  box-shadow: 0 12px 35px rgba(6, 12, 26, 0.25);
  transform: translate(-50%, -50%);
}

.video-quality {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(8, 13, 25, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.extension-panel {
  padding: 15px 12px;
  background: #f3f5fb;
  color: #182033;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mock-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
}

.mock-brand img {
  width: 23px;
  height: 23px;
}

.mock-quota {
  padding: 4px 7px;
  border-radius: 999px;
  background: #dcecff;
  color: #0874df;
  font-size: 8px;
  font-weight: 800;
}

.mock-status {
  margin-top: 13px;
  padding: 8px 9px;
  border-radius: 9px;
  background: #fff;
  color: #627086;
  font-size: 9px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(11, 143, 98, 0.13);
}

.mock-card {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(34, 56, 98, 0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(32, 53, 95, 0.08);
}

.mock-label {
  display: block;
  margin-bottom: 6px;
  color: #0874df;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mock-card strong {
  display: block;
  font-size: 13px;
}

.mock-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.mock-meta span {
  padding: 7px 2px;
  border-radius: 7px;
  background: #f1f3f7;
  color: #526076;
  font-size: 8px;
  text-align: center;
}

.mock-confirm {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--success);
  font-size: 8px;
}

.mock-progress {
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ebf2;
}

.mock-progress i {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--success), #3bd490);
}

.mock-download {
  margin-top: 11px;
  padding: 9px;
  border-radius: 8px;
  background: linear-gradient(110deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #334059;
  box-shadow: 0 16px 38px rgba(34, 62, 116, 0.17);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 720;
}

.floating-chip span {
  color: var(--brand);
}

.chip-top {
  top: 7px;
  right: -5px;
}

.chip-bottom {
  bottom: 6px;
  left: -7px;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

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

.trust-grid div {
  min-width: 0;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.trust-grid div:first-child {
  padding-left: 0;
}

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

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-size: 14px;
}

.trust-grid span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.home-section {
  padding-top: 112px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.centered-heading {
  margin-inline: auto;
  text-align: center;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  min-width: 0;
  min-height: 290px;
  padding: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-glass);
  box-shadow: var(--shadow-sm);
}

.bento-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.bento-wide {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  align-items: center;
  gap: 30px;
  grid-column: 1 / -1;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 820;
}

.source-card {
  background:
    radial-gradient(circle at 90% 20%, rgba(8, 125, 241, 0.12), transparent 20rem),
    var(--surface-glass);
}

.source-stack {
  position: relative;
  min-height: 210px;
}

.source-item {
  position: absolute;
  left: 8%;
  width: 86%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.source-item:nth-child(1) {
  top: 0;
  z-index: 3;
}

.source-item:nth-child(2) {
  top: 72px;
  z-index: 2;
  transform: scale(0.95);
  opacity: 0.76;
}

.source-item:nth-child(3) {
  top: 137px;
  z-index: 1;
  transform: scale(0.9);
  opacity: 0.47;
}

.source-item i {
  padding: 8px 4px;
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--brand-strong);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.source-item b {
  color: var(--text);
  font-size: 13px;
}

.source-item em {
  color: var(--subtle);
  font-size: 11px;
  font-style: normal;
}

.source-item.active {
  border-color: rgba(8, 125, 241, 0.3);
}

.source-item.active em {
  color: var(--success);
  font-weight: 700;
}

.privacy-card {
  background:
    radial-gradient(circle at 78% 50%, rgba(118, 87, 237, 0.14), transparent 18rem),
    var(--surface-glass);
}

.privacy-orbit {
  position: relative;
  width: 188px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(8, 125, 241, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(8, 125, 241, 0.05), 0 0 0 70px rgba(118, 87, 237, 0.035);
}

.privacy-orbit span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 30px;
  font-weight: 850;
  box-shadow: 0 15px 35px rgba(61, 99, 225, 0.28);
}

.privacy-orbit i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
}

.privacy-orbit i:first-of-type {
  top: 18px;
  left: 28px;
}

.privacy-orbit i:nth-of-type(2) {
  right: 8px;
  bottom: 57px;
}

.privacy-orbit i:nth-of-type(3) {
  bottom: 2px;
  left: 70px;
}

.workflow-wrap {
  margin-top: 112px;
  background: #0d1422;
  color: #f7f9ff;
}

.workflow-section {
  padding-bottom: 100px;
}

.workflow-section .eyebrow {
  color: #72b8ff;
}

.workflow-section .section-heading p {
  color: #9da9bd;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.12);
  list-style: none;
}

.workflow-list li {
  min-height: 250px;
  padding: 32px;
  background: #111b2d;
}

.workflow-list .step-number {
  display: block;
  margin-bottom: 70px;
  color: #6ab4ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.workflow-list p {
  margin: 0;
  color: #9da9bd;
}

.standards-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(450px, 1.15fr);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.standards-copy p:not(.eyebrow) {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 760;
  text-decoration: none;
}

.standard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  transform: rotate(-2deg);
}

.standard-cards div {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.standard-cards div:nth-child(2) {
  transform: translateY(20px);
}

.standard-cards span {
  margin-bottom: auto;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 850;
}

.standard-cards strong,
.standard-cards small {
  display: block;
}

.standard-cards small {
  margin-top: 6px;
  color: var(--muted);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(35px, 8vw, 110px);
  align-items: start;
}

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

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

.faq-grid summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  font-weight: 740;
  list-style: none;
}

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

.faq-grid summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 5px;
  color: var(--brand);
  font-size: 22px;
  font-weight: 400;
}

.faq-grid details[open] summary::after {
  content: "−";
}

.faq-grid p {
  margin: -6px 0 22px;
  color: var(--muted);
}

.final-cta {
  margin-top: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(8, 125, 241, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0, rgba(118, 87, 237, 0.18), transparent 20rem),
    linear-gradient(135deg, rgba(8, 125, 241, 0.09), rgba(255, 255, 255, 0.8));
  box-shadow: var(--shadow-lg);
}

.final-cta h2 {
  max-width: 680px;
}

.final-cta p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.final-cta .hero-actions {
  margin-top: 0;
}

.site-footer {
  margin-top: 90px;
  padding: 52px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(110px, 1fr));
  gap: 40px;
}

.footer-brand p,
.footer-brand > span {
  display: block;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand > span {
  margin-top: 3px;
  color: var(--subtle);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.footer-column a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 13px;
}

/* Shared secondary pages */
.page-layout {
  width: min(860px, calc(100% - 32px));
  margin-inline: auto;
}

.page-card,
.panel,
.feature-card,
.step-card,
.media-card {
  border: 1px solid var(--line);
  background: var(--surface-glass);
  box-shadow: var(--shadow-sm);
}

.page-card {
  padding: clamp(24px, 5vw, 50px);
  border-radius: 25px;
}

.page-card h1 {
  margin-top: 0;
  font-size: clamp(34px, 5vw, 50px);
}

.page-card h2 {
  margin-top: 36px;
  font-size: 22px;
}

.page-card p,
.page-card li {
  color: var(--muted);
}

.note,
.danger {
  padding: 16px 18px;
  border-radius: 14px;
}

.note {
  background: var(--surface-tint);
}

.danger {
  background: #fff0ed;
  color: #8c303e !important;
}

.media-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.media-card {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: none;
}

.media-card video,
.media-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #101727;
}

.media-body {
  padding: 22px;
}

.media-body h2 {
  margin-top: 0;
}

.media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.media-meta span {
  min-height: 30px;
  padding: 0 10px;
  background: var(--surface-soft);
  color: var(--muted);
}

.media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.license-box {
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--success);
  border-radius: 0 14px 14px 0;
  background: rgba(11, 143, 98, 0.08);
}

.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-copy {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

code {
  font-family: ui-monospace, "Cascadia Code", monospace;
}

@media (max-width: 980px) {
  .product-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero-message {
    max-width: 760px;
  }

  .product-visual {
    width: min(700px, 100%);
    margin-inline: auto;
  }

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

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

  .trust-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-grid div:first-child,
  .trust-grid div:nth-child(3) {
    padding-left: 0;
  }

  .standards-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .standards-copy {
    max-width: 700px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 64px;
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-state {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .product-hero {
    gap: 36px;
    padding-block: 52px;
  }

  .browser-content {
    min-height: 400px;
    grid-template-columns: minmax(0, 1fr) 200px;
  }

  .video-stage {
    min-height: 400px;
  }

  .floating-chip {
    display: none;
  }

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

  .bento-wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .source-stack {
    margin-top: 10px;
  }

  .privacy-orbit {
    margin-block: 35px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li {
    min-height: auto;
  }

  .workflow-list .step-number {
    margin-bottom: 35px;
  }

  .standard-cards {
    grid-template-columns: 1fr;
    transform: none;
  }

  .standard-cards div {
    min-height: 155px;
  }

  .standard-cards div:nth-child(2) {
    transform: none;
  }

  .final-cta,
  .footer-main,
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
  }

  .final-cta .hero-actions {
    margin-top: 10px;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
  }

  .product-visual {
    margin-inline: -8px;
    padding: 8px 0;
  }

  .browser-mockup {
    border-radius: 19px;
    transform: none;
  }

  .browser-content {
    min-height: 460px;
    grid-template-columns: 1fr;
  }

  .video-stage {
    min-height: 180px;
  }

  .extension-panel {
    min-height: 280px;
  }

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

  .trust-grid div,
  .trust-grid div:first-child,
  .trust-grid div:nth-child(3) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .home-section {
    padding-top: 82px;
  }

  .bento-card {
    min-height: 0;
    padding: 24px;
    border-radius: 20px;
  }

  .card-icon {
    margin-bottom: 30px;
  }

  .source-item {
    left: 0;
    width: 100%;
  }

  .workflow-wrap,
  .final-cta {
    margin-top: 82px;
  }

  .workflow-section {
    padding-bottom: 70px;
  }

  .final-cta {
    border-radius: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

  .page-layout {
    width: min(100% - 20px, 860px);
  }

  main {
    padding-top: 24px;
  }

  .page-card {
    border-radius: 20px;
  }

  .media-links {
    display: grid;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #090b11;
    --surface: #151a25;
    --surface-glass: rgba(21, 26, 37, 0.84);
    --surface-soft: #1e293a;
    --surface-tint: #162a43;
    --text: #f4f7fd;
    --muted: #a4aec0;
    --subtle: #768195;
    --line: rgba(182, 201, 234, 0.13);
    --brand: #4ba5ff;
    --brand-strong: #77bcff;
    --brand-soft: #153252;
    --accent: #9c87ff;
    --shadow-sm: none;
    --shadow-lg: none;
  }

  body {
    background:
      radial-gradient(circle at 12% -8%, rgba(50, 139, 239, 0.14), transparent 34rem),
      radial-gradient(circle at 88% 2%, rgba(118, 87, 237, 0.1), transparent 28rem),
      var(--page);
  }

  .site-header {
    background: rgba(9, 11, 17, 0.84);
  }

  .hero-badge,
  .trust-strip,
  .floating-chip {
    background: rgba(21, 26, 37, 0.76);
    border-color: var(--line);
  }

  .browser-mockup,
  .browser-bar,
  .mock-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: #111724;
  }

  .address-bar,
  .mock-meta span,
  .extension-panel {
    background: #1b2433;
    color: #aab4c6;
  }

  .mock-status {
    background: #151c29;
  }

  .mock-card,
  .mock-card strong {
    color: #f4f7fd;
  }

  .mock-quota {
    background: #153252;
    color: #77bcff;
  }

  .workflow-wrap {
    background: #080c14;
  }

  .final-cta {
    background:
      radial-gradient(circle at 90% 0, rgba(118, 87, 237, 0.2), transparent 20rem),
      linear-gradient(135deg, rgba(8, 125, 241, 0.11), rgba(21, 26, 37, 0.88));
  }

  .site-footer {
    background: rgba(14, 18, 27, 0.55);
  }

  .danger {
    background: #3a2028;
    color: #ffb7c2 !important;
  }
}

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

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

@media (forced-colors: active) {
  .bento-card,
  .browser-mockup,
  .page-card,
  .media-card,
  .final-cta,
  .workflow-list {
    border: 1px solid CanvasText;
  }
}
