:root {
  --background: #f7f8fc;
  --surface: #ffffff;
  --ink: #07183b;
  --muted: #52617b;
  --border: #d9deea;
  --accent: #4b3ff0;
  --accent-dark: #3428c8;
  --pro: #d98200;
  --panel: #0c1728;
  --radius: 16px;
  --shadow: 0 24px 64px rgba(7, 24, 59, .15);
  --max-width: 1320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--background); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.site-header, .site-footer, main > section { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); font-size: 20px; font-weight: 760; text-decoration: none; letter-spacing: -.03em; }
.brand.compact { font-size: 15px; }
.brand-mark { width: 25px; height: 36px; display: inline-block; background: var(--accent); clip-path: polygon(0 0,100% 0,100% 100%,50% 74%,0 100%); }
.brand-mark.small { width: 18px; height: 26px; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.site-header nav a, .site-footer nav a { color: var(--ink); font-size: 14px; font-weight: 620; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--accent); }
.language-button { padding: 8px 0; border: 0; color: var(--ink); background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }
.language-button::before { content: "◎"; margin-right: 8px; color: var(--accent); }

.hero { min-height: 700px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(44px, 4vw, 60px); position: relative; padding: 72px 24px 112px; }
.hero-copy { align-self: center; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 690px; margin-bottom: 26px; font-size: clamp(50px, 5.6vw, 76px); line-height: .99; letter-spacing: -.065em; }
.hero-copy > p { max-width: 585px; margin-bottom: 32px; color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary { color: white; background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { color: var(--pro); border-color: var(--pro); background: transparent; }
.button-outline { color: var(--accent); border-color: var(--accent); background: transparent; }
.button:disabled { opacity: .68; cursor: not-allowed; }

.product-window { align-self: center; overflow: hidden; color: #eef2ff; background: var(--panel); border: 1px solid #33435d; border-radius: var(--radius); box-shadow: var(--shadow); }
.window-header { min-height: 76px; display: flex; align-items: center; gap: 13px; padding: 0 22px; border-bottom: 1px solid #344158; }
.window-header strong { font-size: 16px; }
.window-actions { margin-left: auto; color: #a9b4c7; font-size: 25px; word-spacing: 14px; }
.window-body { padding: 22px; }
.save-demo { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 0; border-radius: 9px; color: white; background: var(--accent); font-size: 16px; font-weight: 750; cursor: pointer; }
.save-demo svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.save-demo.saved { background: #14805e; }
.saved-heading { display: flex; justify-content: space-between; padding: 24px 0 13px; color: #bac4d6; font-size: 13px; }
.saved-heading span:last-child { padding: 5px 9px; border: 1px solid #43516a; border-radius: 7px; }
.saved-record { display: grid; grid-template-columns: 128px 1fr auto; gap: 16px; position: relative; padding: 14px 14px 30px; border: 1px solid #344158; border-radius: 10px; }
.video-still { min-height: 84px; display: grid; place-items: center; border-radius: 7px; background: #172950; }
.video-still::before { content: ""; width: 70%; height: 55%; border: 2px solid #6e66ff; border-width: 0 0 2px 2px; transform: skewY(-24deg); opacity: .7; }
.video-still span { position: absolute; width: 36px; height: 36px; display: grid; place-items: center; padding-left: 2px; border-radius: 50%; color: white; background: rgba(7,24,59,.82); font-size: 12px; }
.record-copy { display: grid; align-content: center; gap: 5px; }
.record-copy strong { font-size: 15px; }
.record-copy span { color: #aeb9cc; font-size: 12px; }
.record-copy div { margin-top: 5px; font-size: 13px; }
.record-copy em { color: #857dff; font-style: normal; }
.more-button { align-self: center; border: 0; color: #aeb9cc; background: transparent; cursor: pointer; }
.progress-track { position: absolute; right: 14px; bottom: 13px; left: 14px; height: 4px; overflow: hidden; background: #46536a; border-radius: 4px; }
.progress-track span { width: 26%; height: 100%; display: block; background: #6e66ff; transition: width .25s ease; }
.window-footer { padding: 18px 22px; border-top: 1px solid #344158; color: #aeb9cc; font-size: 12px; }
.hero-timeline { position: absolute; right: 0; bottom: 56px; left: 0; height: 2px; background: #a5a0ff; }
.hero-timeline::before { content: "▶"; position: absolute; left: -20px; top: -16px; width: 31px; height: 31px; display: grid; place-items: center; padding-left: 2px; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); background: var(--background); font-size: 10px; }
.hero-timeline::after { content: ""; position: absolute; right: 0; top: -14px; width: 18px; height: 29px; border: 2px solid var(--accent); background: var(--background); clip-path: polygon(0 0,100% 0,100% 100%,50% 75%,0 100%); }
.hero-timeline span, .hero-timeline b, .hero-timeline i { position: absolute; top: -5px; width: 12px; height: 12px; border: 2px solid var(--background); border-radius: 50%; background: #aaa6ff; }
.hero-timeline span { left: 38%; width: 18px; height: 18px; top: -8px; background: var(--accent); }
.hero-timeline b { left: 67%; }.hero-timeline i:first-child { left: 52%; }.hero-timeline i:last-child { left: 85%; }

.features-section { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(56px, 8vw, 112px); padding: 112px 24px 128px; }
.features-section h2, .pricing-section > h2 { max-width: 850px; margin-bottom: 24px; font-size: clamp(40px, 5vw, 66px); line-height: 1.05; letter-spacing: -.055em; }
.feature-copy > p { max-width: 670px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.language-note { color: var(--accent) !important; font-size: 14px !important; }
.feature-timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 40px; position: relative; margin: 54px 0 0; padding: 0; list-style: none; }
.feature-timeline::before, .feature-timeline::after { content: ""; position: absolute; right: 0; left: 0; height: 0; border-top: 1px dashed var(--accent); }
.feature-timeline::before { top: 17px; }.feature-timeline::after { bottom: calc(50% - 35px); }
.feature-timeline li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; position: relative; z-index: 1; }
.feature-timeline li > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-size: 12px; font-weight: 800; }
.feature-timeline h3 { margin: 49px 0 7px; font-size: 17px; }
.feature-timeline p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.control-demo { align-self: center; padding: 22px; background: var(--surface); border: 1px solid #776fff; border-radius: var(--radius); }
.demo-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.video-demo { overflow: hidden; padding: 16px 16px 12px; color: #746bff; background: var(--ink); border-radius: 10px; }
.video-demo > svg { width: 100%; height: 180px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.video-controls { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 13px; color: white; font-size: 12px; }
.video-controls i { height: 4px; background: #69758b; border-radius: 4px; }
.video-controls i b { width: 53%; height: 100%; display: block; background: #736aff; }
.position-row, .last-saved { display: flex; justify-content: space-between; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.position-row strong { color: var(--accent); }
.control-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.control-buttons button { min-height: 48px; border: 1px solid #7a72ff; border-radius: 8px; color: var(--accent); background: white; font-size: 13px; font-weight: 700; cursor: pointer; }
.control-buttons button:hover, .control-buttons button.active { color: white; background: var(--accent); }
.last-saved { border: 0; }.last-saved strong { font-weight: 650; }
.demo-status { margin: 8px 0 0; color: var(--muted); font-size: 12px; }

.pricing-section { padding: 112px 24px 96px; }
.pricing-section > h2 { margin-inline: auto; text-align: center; }
.pricing-comparison { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 1060px; margin: 50px auto 0; overflow: hidden; background: var(--surface); border: 1px solid #bec5d4; border-radius: var(--radius); }
.pricing-comparison article { display: flex; flex-direction: column; padding: 36px; }
.pricing-comparison article + article { border-left: 1px solid #bec5d4; }
.pricing-comparison .pro-plan { border-top: 3px solid var(--pro); }
.pricing-comparison h3 { margin-bottom: 19px; font-size: 24px; letter-spacing: -.03em; }
.pricing-comparison ul { flex: 1; margin: 0 0 30px; padding: 0; list-style: none; }
.pricing-comparison li { position: relative; padding: 18px 0 18px 42px; border-bottom: 1px solid var(--border); font-size: 15px; }
.pricing-comparison li::before { content: "✓"; position: absolute; left: 0; top: 14px; width: 25px; height: 25px; display: grid; place-items: center; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 12px; font-weight: 800; }
.pricing-comparison .button { width: 100%; }
.privacy-band { width: 100%; max-width: none; display: flex; align-items: center; justify-content: center; gap: 30px; padding: 46px 24px; color: white; background: var(--ink); }
.privacy-band svg { width: 52px; flex: 0 0 auto; fill: none; stroke: white; stroke-width: 2; }
.privacy-band h2 { margin-bottom: 6px; font-size: 25px; }
.privacy-band p { max-width: 700px; margin: 0; color: #d6deef; font-size: 15px; line-height: 1.55; }
.site-footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.site-footer > p { justify-self: end; margin: 0; color: var(--muted); font-size: 13px; }

.legal-main { min-height: calc(100vh - 208px); }
.legal-page { max-width: 860px; padding: 80px 24px 110px; }
.legal-page h1 { margin-bottom: 18px; font-size: clamp(42px, 6vw, 68px); }
.legal-page .updated { margin-bottom: 50px; color: var(--muted); }
.legal-page h2 { margin: 42px 0 14px; font-size: 24px; letter-spacing: -.03em; }
.legal-page p, .legal-page li { color: #3f4f69; font-size: 16px; line-height: 1.75; }
.legal-page a { color: var(--accent); }
.support-panel { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: white; }

@media (max-width: 920px) {
  .site-header { min-height: 74px; }
  .site-header nav a { display: none; }
  .hero, .features-section { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .product-window { width: min(100%, 620px); justify-self: center; }
  .features-section { padding-top: 84px; }
  .feature-copy { order: 0; }.control-demo { width: min(100%, 620px); justify-self: center; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding: 34px 0; }
  .site-footer > p { justify-self: center; }
}

@media (max-width: 640px) {
  .site-header, .site-footer, main > section { width: min(calc(100% - 28px), var(--max-width)); }
  .site-header { gap: 12px; }.brand { font-size: 15px; gap: 9px; }.brand-mark { width: 18px; height: 27px; }
  .site-header nav { gap: 0; }
  .hero { min-height: auto; gap: 44px; padding: 48px 4px 96px; }
  h1 { font-size: clamp(43px, 13vw, 60px); }
  .hero-actions { display: grid; }.button { width: 100%; }
  .window-header { min-height: 62px; padding: 0 15px; }.window-header strong { font-size: 13px; }
  .window-body { padding: 15px; }.saved-record { grid-template-columns: 92px 1fr; gap: 12px; }.more-button { display: none; }
  .features-section, .pricing-section { padding: 76px 4px 84px; }
  .features-section h2, .pricing-section > h2 { font-size: 39px; }
  .feature-timeline { grid-template-columns: 1fr; gap: 32px; }.feature-timeline::after { display: none; }
  .feature-timeline h3 { margin-top: 45px; }
  .control-demo { padding: 15px; }.video-demo > svg { height: 130px; }
  .control-buttons { grid-template-columns: 1fr; }
  .pricing-comparison { grid-template-columns: 1fr; }.pricing-comparison article { padding: 28px 22px; }
  .pricing-comparison article + article { border-left: 0; border-top: 1px solid #bec5d4; }.pricing-comparison .pro-plan { border-top: 3px solid var(--pro); }
  .privacy-band { width: 100%; flex-direction: column; align-items: flex-start; padding: 42px 28px; }
  .site-footer nav { flex-wrap: wrap; justify-content: center; gap: 18px 26px; }
  .legal-page { padding: 58px 2px 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
/* Browser-extension authentication callback */
.auth-callback-body { min-height: 100vh; background: radial-gradient(circle at 50% 0, #17265a 0, #08162f 42%, #050b18 100%); }
.auth-callback-main { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-callback-card { width: min(520px, 100%); padding: 48px; text-align: center; border: 1px solid rgba(143, 156, 255, .25); border-radius: 24px; background: rgba(8, 22, 47, .94); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.auth-callback-mark { display: inline-block; width: 34px; height: 48px; }
.auth-callback-kicker { margin: 18px 0 8px; color: #8f9cff; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.auth-callback-card h1 { margin: 0; color: #f7f9ff; font-size: clamp(26px, 6vw, 40px); }
.auth-callback-card p:not(.auth-callback-kicker) { margin: 16px auto 28px; color: #aeb9d0; line-height: 1.7; }
.auth-callback-card .button { display: inline-flex; justify-content: center; }
html[data-uvr-auth-state="success"] .auth-callback-card { border-color: rgba(52, 211, 153, .45); }
html[data-uvr-auth-state="error"] .auth-callback-card { border-color: rgba(251, 113, 133, .55); }
@media (max-width: 560px) { .auth-callback-card { padding: 34px 22px; border-radius: 18px; } }
