:root {
  --fvr-brand-blue: #0b78ff;
  --fvr-brand-blue-dark: #0a54cc;
  --fvr-brand-orange: #ff5a12;
  --fvr-brand-green: #72c600;
  --fvr-brand-navy: #071b4b;
  --fvr-brand-soft: #f6f9fe;
}

/* Home landing refresh */
#view-home.view.active {
  padding: 0;
  background: #fff;
}
.home-refresh {
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 6%, rgba(11,120,255,.08), transparent 22rem),
    radial-gradient(circle at 100% 12%, rgba(255,90,18,.08), transparent 22rem),
    #fff;
}
.home-refresh-inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}
.home-landing-hero {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(560px, 1.34fr);
  gap: clamp(32px, 4vw, 70px);
  align-items: center;
  min-height: 620px;
  padding: 48px 0 34px;
}
.home-copy { align-self: center; }
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--fvr-brand-blue-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fvr-brand-blue), var(--fvr-brand-orange));
}
.home-copy h1 {
  margin: 0;
  color: var(--fvr-brand-navy);
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}
.home-copy h1 .accent-blue { color: var(--fvr-brand-blue); }
.home-copy h1 .accent-orange { color: var(--fvr-brand-orange); }
.home-copy .home-tagline {
  margin: 20px 0 0;
  max-width: 610px;
  color: #40506a;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
  font-weight: 620;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.home-hero-actions .primary-button,
.home-hero-actions .secondary-button {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 16px;
}
.home-hero-actions .primary-button {
  background: var(--fvr-brand-blue);
  box-shadow: 0 12px 26px rgba(11,120,255,.22);
}
.home-hero-actions .secondary-button {
  border-color: #a9c8ff;
  color: var(--fvr-brand-navy);
}
.home-proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
  padding: 14px;
  background: rgba(255,255,255,.86);
  border: 1px solid #dfe8f5;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(7,27,75,.06);
}
.home-proof-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  text-align: center;
  color: #283a5b;
  font-size: 11px;
  font-weight: 800;
}
.home-proof-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef5ff;
  color: var(--fvr-brand-blue);
  font-size: 16px;
}
.home-proof-item:nth-child(3) .home-proof-icon { color: var(--fvr-brand-orange); background: #fff2eb; }
.home-proof-item:nth-child(5) .home-proof-icon { color: #5da900; background: #f2fbe7; }
.home-app-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.home-app-link {
  border: 0;
  background: transparent;
  color: #53657f;
  font-weight: 750;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-app-link:hover { color: var(--fvr-brand-blue); }

.home-recorder-window {
  position: relative;
  padding: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid #dce6f4;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(7,27,75,.15);
}
.home-recorder-window::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(11,120,255,.18), transparent 30%, transparent 70%, rgba(255,90,18,.14));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}
.home-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.home-window-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--fvr-brand-navy);
  font-weight: 850;
}
.home-window-brand img { width: 34px; height: 34px; object-fit: contain; }
.home-window-actions { display: flex; gap: 6px; }
.home-window-actions button {
  width: 36px;
  min-height: 36px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  color: #42516a;
  font-weight: 800;
}
.home-recorder-window .capability-banner { margin-bottom: 12px; }
.home-recorder-window .mode-grid { gap: 10px; }
.home-recorder-window .mode-card {
  min-height: 124px;
  padding: 14px;
  border-radius: 14px;
}
.home-recorder-window .mode-card strong { font-size: 15px; }
.home-recorder-window .mode-card span:last-child { font-size: 11px; }
.home-recorder-window .quick-settings-card {
  grid-template-columns: minmax(145px,1.25fr) minmax(145px,1.25fr) minmax(120px,.85fr) auto auto;
  box-shadow: none;
  margin-top: 12px;
  padding: 12px;
}
.home-recorder-window .start-row {
  align-items: flex-start;
  margin: 12px 0 0;
}
.home-recorder-window #homeStartBtn {
  min-width: 190px;
  min-height: 48px;
  background: var(--fvr-brand-blue);
}
.home-recorder-window .session-status {
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 6px;
  margin: 12px 0 0;
}
.home-recorder-window .session-status > div { padding: 8px; }
.home-recorder-window .session-status strong { font-size: 11px; }
.home-recorder-window .session-status span { font-size: 10px; }

.home-section {
  padding: 48px 0;
}
.home-section-head {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}
.home-section-head h2 {
  margin: 0;
  color: var(--fvr-brand-navy);
  font-size: clamp(28px, 3.3vw, 42px);
  letter-spacing: -.035em;
}
.home-section-head p {
  margin: 10px auto 0;
  color: #607089;
  font-size: 16px;
  line-height: 1.55;
}
.home-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.home-benefit-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid #e0e8f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7,27,75,.055);
  text-align: center;
}
.home-benefit-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: #edf5ff;
  color: var(--fvr-brand-blue);
  font-size: 25px;
  font-weight: 900;
}
.home-benefit-card:nth-child(2) .home-benefit-icon { color: var(--fvr-brand-orange); background: #fff1e9; }
.home-benefit-card:nth-child(3) .home-benefit-icon { color: #5aa600; background: #f2fbe7; }
.home-benefit-card:nth-child(4) .home-benefit-icon { color: #02a8b8; background: #eafcff; }
.home-benefit-card h3 { margin: 0; color: var(--fvr-brand-navy); font-size: 17px; }
.home-benefit-card p { margin: 8px 0 0; color: #63728a; font-size: 14px; line-height: 1.55; }

.home-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.home-how-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid #e0e8f4;
  border-radius: 18px;
  background: #fff;
}
.home-step-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fvr-brand-blue);
  color: #fff;
  font-weight: 900;
}
.home-how-step:nth-child(2) .home-step-number { background: var(--fvr-brand-orange); }
.home-how-step:nth-child(3) .home-step-number { background: #64b600; }
.home-how-step h3 { margin: 0; color: var(--fvr-brand-navy); font-size: 17px; }
.home-how-step p { margin: 6px 0 0; color: #63728a; line-height: 1.5; font-size: 14px; }

.home-privacy-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px,.7fr));
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(115deg, #06163d, #092a68 56%, #0b4698);
  color: #fff;
  box-shadow: 0 20px 42px rgba(7,27,75,.19);
}
.home-privacy-band::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: -150px;
  border-radius: 50%;
  background: rgba(11,120,255,.24);
}
.home-privacy-lead { position: relative; z-index: 1; }
.home-privacy-lead h2 { margin: 0; font-size: 28px; }
.home-privacy-lead h2 span { color: #6db0ff; }
.home-privacy-lead p { margin: 8px 0 0; color: #d9e8ff; line-height: 1.55; }
.home-privacy-point { position: relative; z-index: 1; }
.home-privacy-point strong { display: block; margin-bottom: 5px; }
.home-privacy-point span { color: #c6d9f7; font-size: 13px; line-height: 1.45; }

.home-price-grid {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}
.home-price-card {
  position: relative;
  padding: 26px;
  background: #fff;
  border: 1px solid #c9daf7;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(7,27,75,.06);
}
.home-price-card.pro { border-color: #ffc2ad; }
.home-price-card h3 { margin: 0; color: var(--fvr-brand-navy); font-size: 22px; }
.home-price-card .price { margin: 10px 0 4px; color: var(--fvr-brand-navy); font-size: 34px; font-weight: 900; }
.home-price-card .price small { font-size: 14px; font-weight: 700; color: #65738a; }
.home-price-card ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 9px; }
.home-price-card li { color: #40506a; font-size: 14px; }
.home-price-card li::before { content: "✓"; color: var(--fvr-brand-blue); font-weight: 900; margin-inline-end: 8px; }
.home-price-card.pro li::before { color: var(--fvr-brand-orange); }
.home-price-card .primary-button,
.home-price-card .secondary-button { width: 100%; }
.home-price-card.pro .primary-button { background: linear-gradient(90deg, #ff5a12, #ff3825); }
.home-best-value {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff1e8;
  color: #d94600;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-feedback-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border: 1px solid #dbe6f4;
  border-radius: 22px;
  background: linear-gradient(120deg, #f7fbff, #fff8f4);
}
.home-feedback-cta h2 { margin: 0; color: var(--fvr-brand-navy); font-size: 28px; }
.home-feedback-cta p { margin: 8px 0 0; color: #607089; line-height: 1.55; }
.home-feedback-cta .primary-button { min-height: 48px; white-space: nowrap; text-decoration: none; }

.home-demo-card-modern {
  padding: 18px;
  border: 1px solid #dfe7f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7,27,75,.07);
}
.home-demo-card-modern .home-demo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1f4d;
}
.home-demo-card-modern .home-demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b1f4d;
}
.home-demo-howto {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  color: #1565d8;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.home-demo-howto:hover,
.home-demo-howto:focus-visible {
  text-decoration: underline;
}

.home-refresh .site-footer.home-site-footer {
  margin: 0;
  border-radius: 0;
}
.home-refresh .footer-grid,
.home-refresh .footer-copy { width: min(1440px, calc(100% - 40px)); }

@media (min-width: 821px) {
  body[data-app-view="home"] .app-body { grid-template-columns: minmax(0,1fr); }
  body[data-app-view="home"] .sidebar { display: none; }
}

/* Feedback & Reviews */
.reviews-page .site-main {
  width: min(1120px, calc(100% - 32px));
  padding-top: 38px;
}
.reviews-hero {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0 18px;
}
.reviews-hero h1 { margin: 0; color: var(--fvr-brand-navy); font-size: clamp(38px, 5vw, 60px); letter-spacing: -.045em; }
.reviews-hero p { margin: 12px 0 0; color: #586a83; font-size: 18px; line-height: 1.55; }
.reviews-trust {
  padding: 20px;
  border: 1px solid #dbe6f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7,27,75,.06);
}
.reviews-trust strong { display: block; color: var(--fvr-brand-navy); }
.reviews-trust span { display: block; margin-top: 6px; color: #66758b; line-height: 1.5; }
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(340px,.78fr);
  gap: 22px;
  align-items: start;
  margin: 20px 0 48px;
}
.reviews-list-panel,
.feedback-panel {
  border: 1px solid #dfe7f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7,27,75,.055);
}
.reviews-list-panel { padding: 24px; }
.feedback-panel { padding: 24px; position: sticky; top: 84px; }
.reviews-list-panel h2,
.feedback-panel h2 { margin: 0; color: var(--fvr-brand-navy); font-size: 24px; }
.reviews-list-panel > p,
.feedback-panel > p { color: #66758b; line-height: 1.5; }
.reviews-grid { display: grid; gap: 12px; margin-top: 18px; }
.review-card {
  padding: 18px;
  border: 1px solid #e3e9f2;
  border-radius: 16px;
  background: #fbfdff;
}
.review-stars { color: #ff8a00; letter-spacing: 2px; font-size: 17px; }
.review-card blockquote { margin: 10px 0 0; color: #34445e; line-height: 1.55; }
.review-meta { margin-top: 12px; color: #68788e; font-size: 13px; }
.reviews-empty {
  padding: 34px 20px;
  border: 1px dashed #bed0e9;
  border-radius: 16px;
  text-align: center;
  color: #607089;
  background: #f8fbff;
}
.feedback-form { display: grid; gap: 14px; margin-top: 18px; }
.feedback-form .field { display: grid; gap: 6px; }
.feedback-form label { color: #31415a; font-size: 13px; font-weight: 800; }
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cad6e7;
  border-radius: 10px;
  background: #fff;
  color: #12203a;
  font: inherit;
}
.feedback-form textarea { min-height: 130px; resize: vertical; }
.feedback-rating { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.feedback-rating input { position: absolute; opacity: 0; pointer-events: none; }
.feedback-rating label {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d7e0ec;
  border-radius: 10px;
  background: #fff;
  color: #98a3b3;
  cursor: pointer;
  font-size: 20px;
}
.feedback-rating input:checked + label,
.feedback-rating label:hover { border-color: #ffb17e; background: #fff5ef; color: #ff6a14; }
.feedback-consent { display: flex; gap: 9px; align-items: flex-start; color: #5e6f86; font-size: 13px; line-height: 1.45; }
.feedback-consent input { width: 18px; height: 18px; margin-top: 2px; }
.feedback-status { min-height: 20px; color: #53657f; font-size: 13px; }
.feedback-status.is-ok { color: #087a4c; font-weight: 800; }
.feedback-status.is-error { color: #b42318; font-weight: 800; }
.feedback-form .primary-button { width: 100%; min-height: 48px; }
.feedback-note { margin: 12px 0 0; color: #7b8799; font-size: 12px; line-height: 1.45; }

@media (max-width: 1180px) {
  .home-landing-hero { grid-template-columns: 1fr; min-height: 0; }
  .home-copy { text-align: center; }
  .home-copy .home-tagline { margin-inline: auto; }
  .home-hero-actions, .home-app-links { justify-content: center; }
  .home-proof-strip { width: min(720px,100%); margin-inline: auto; }
  .home-recorder-window { width: min(900px,100%); margin-inline: auto; }
  .home-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-privacy-band { grid-template-columns: 1fr 1fr; }
  .reviews-layout { grid-template-columns: 1fr; }
  .feedback-panel { position: static; }
}

@media (max-width: 820px) {
  .home-refresh-inner { width: min(100% - 24px, 720px); }
  .home-landing-hero { padding: 26px 0 20px; gap: 24px; }
  .home-copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .home-copy .home-tagline { font-size: 16px; }
  .home-proof-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-recorder-window { padding: 14px; border-radius: 18px; }
  .home-recorder-window .mode-grid,
  .home-recorder-window .quick-settings-card { grid-template-columns: 1fr; }
  .home-recorder-window .mode-card { min-height: 0; }
  .home-recorder-window .start-row { align-items: stretch; }
  .home-recorder-window .session-status { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-benefit-grid,
  .home-how-grid,
  .home-price-grid { grid-template-columns: 1fr; }
  .home-privacy-band { grid-template-columns: 1fr; padding: 24px; }
  .home-feedback-cta { grid-template-columns: 1fr; text-align: center; }
  .home-feedback-cta .primary-button { justify-self: stretch; }
  .home-section { padding: 34px 0; }
  .home-refresh .footer-grid,
  .home-refresh .footer-copy { width: min(100% - 24px,720px); }
  .reviews-hero { grid-template-columns: 1fr; }
  .reviews-page .site-main { width: min(100% - 24px,720px); }
}

@media (max-width: 520px) {
  .home-proof-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-window-actions { display: none; }
  .home-recorder-window .session-status { grid-template-columns: 1fr 1fr; }
  .home-benefit-card { min-height: 0; }
  .reviews-list-panel,
  .feedback-panel { padding: 18px; }
}
.home-hero-actions a.secondary-button,
.home-price-card a.primary-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.home-benefit-card:nth-child(2) .home-benefit-icon { font-size: 13px; letter-spacing: -.04em; }
.home-refresh [hidden],
.reviews-page [hidden] { display: none !important; }
