/*
Theme Name: Zavrenn
Theme URI: https://zavrenn.com
Author: Zavrenn
Description: Commercial product site for Zavrenn, the simple power dialer for Quo.
Version: 3.0.6
Requires at least: 6.5
Requires PHP: 8.2
Text Domain: qpd
*/

:root {
  --ink: #071318;
  --ink-2: #0d222a;
  --ink-3: #17333a;
  --paper: #f3f6f5;
  --white: #ffffff;
  --muted: #566c71;
  --muted-light: #a9bdc0;
  --line: #cad6d4;
  --line-dark: rgba(255, 255, 255, .16);
  --signal: #63f2b4;
  --signal-dark: #1ca874;
  --cyan: #59c8ff;
  --violet: #6d60e8;
  --danger: #bd4d4d;
  --shell: 1240px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 10px 14px; color: var(--ink); background: white; border: 1px solid var(--ink); }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: #edf5f3;
  background: var(--ink);
  border-bottom: 3px solid var(--signal);
}
.admin-bar .site-header { top: 32px; }
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; }
.brand-lockup { display: grid; gap: 3px; line-height: 1; }
.brand-lockup strong { font-size: 14px; font-weight: 850; letter-spacing: .16em; }
.brand-lockup small { color: #94aaae; font-size: 9px; font-weight: 650; letter-spacing: .035em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 700; }
.site-nav > a:not(.button) { color: #bacacb; border-bottom: 2px solid transparent; }
.site-nav > a:not(.button):hover { color: white; border-color: var(--signal); }
.nav-toggle { display: none; border: 1px solid var(--line-dark); background: transparent; padding: 7px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: white; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: background-color .16s, border-color .16s, color .16s;
}
.button-primary { color: var(--ink); background: var(--signal); border-color: var(--signal); }
.button-primary:hover { background: #83f7c5; border-color: #83f7c5; }
.button-ghost { color: white; border-color: rgba(255, 255, 255, .38); background: transparent; }
.button-ghost:hover { border-color: white; background: rgba(255, 255, 255, .07); }
.button-small { min-height: 40px; padding-inline: 18px; color: white; background: var(--violet); border-color: var(--violet); }
.button-small:hover { background: #7d72ee; border-color: #7d72ee; }
.button-wide { width: 100%; }

.hero {
  position: relative;
  min-height: 790px;
  padding: 150px 0 96px;
  overflow: hidden;
  color: white;
  background: var(--ink);
  border-bottom: 8px solid var(--signal);
}
.hero::after {
  content: "";
  position: absolute;
  top: 72px;
  right: 0;
  width: min(34vw, 520px);
  height: 76px;
  background: var(--ink-3);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(42px, 5vw, 74px); }
.eyebrow, .kicker { color: var(--violet); font-size: 12px; line-height: 1.25; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; color: var(--signal); border-bottom: 2px solid var(--signal); }
.status-dot { width: 7px; height: 7px; background: var(--signal); }
.hero h1 { max-width: 650px; margin: 26px 0 24px; font-size: clamp(54px, 6.5vw, 82px); line-height: .96; letter-spacing: -.048em; }
.hero h1 span { color: var(--signal); }
.hero-lead { max-width: 590px; margin: 0 0 32px; color: #b5c8ca; font-size: clamp(17px, 2vw, 20px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0; margin: 27px 0 0; padding: 0; list-style: none; color: #9eb3b6; font-size: 11px; font-weight: 700; }
.hero-proof li { display: flex; align-items: center; }
.hero-proof li + li::before { content: "/"; margin: 0 12px; color: var(--signal); }
.hero-glow { display: none; }

.demo-reel { position: relative; margin: 0; overflow: hidden; background: #0a1b20; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius); }
.demo-topbar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; color: #52686d; background: #e8eeed; border-bottom: 1px solid #c5d1cf; }
.demo-topbar > span { width: 8px; height: 8px; background: #e67575; border-radius: 1px; }
.demo-topbar > span:nth-child(2) { background: #d9a63d; }
.demo-topbar > span:nth-child(3) { background: #38b77b; }
.demo-topbar b { margin-left: 8px; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.demo-stage { position: relative; height: 430px; overflow: hidden; background: #071318; }
.demo-slide { position: absolute; inset: 0; opacity: 0; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.demo-slide picture { display: block; width: 100%; height: 100%; min-height: 0; }
.demo-slide img { width: 100%; height: 100%; min-height: 0; padding: 12px; object-fit: contain; object-position: center; }
.scene-one img, .scene-two img, .scene-five img { transform: none; }
.demo-callout { position: relative; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 13px 16px; color: var(--ink); background: rgba(255, 255, 255, .97); border-top: 1px solid #c8d2d0; }
.demo-callout strong { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; color: white; background: var(--violet); font-size: 10px; }
.demo-callout span, .demo-callout b, .demo-callout small { display: block; }
.demo-callout b { font-size: 13px; }
.demo-callout small { margin-top: 1px; color: var(--muted); font-size: 10px; }
.scene-one { animation: sceneOne 20s infinite; }
.scene-two { animation: sceneTwo 20s infinite; }
.scene-three { animation: sceneThree 20s infinite; }
.scene-four { animation: sceneFour 20s infinite; }
.scene-five { animation: sceneFive 20s infinite; }
@keyframes sceneOne { 0%, 17% { opacity: 1; } 20%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sceneTwo { 0%, 17%, 40%, 100% { opacity: 0; } 20%, 37% { opacity: 1; } }
@keyframes sceneThree { 0%, 37%, 60%, 100% { opacity: 0; } 40%, 57% { opacity: 1; } }
@keyframes sceneFour { 0%, 57%, 80%, 100% { opacity: 0; } 60%, 77% { opacity: 1; } }
@keyframes sceneFive { 0%, 77%, 100% { opacity: 0; } 80%, 97% { opacity: 1; } }
.demo-flow { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 10px 14px; color: #c6d4d4; background: var(--ink-2); border-top: 1px solid var(--line-dark); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.demo-flow i { color: var(--signal); font-style: normal; }

.section { padding: 100px 0; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .privacy-copy h2, .pricing-copy h2, .closing-cta h2 { margin: 12px 0 17px; font-size: clamp(38px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -.04em; }
.section-heading p, .privacy-copy p, .pricing-copy > p { margin: 0; color: var(--muted); font-size: 17px; }

.pain-section { background: white; }
.pain-section .section-heading { max-width: 790px; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.comparison-card { min-width: 0; padding: 34px; background: white; }
.comparison-card + .comparison-card { border-left: 1px solid var(--line); }
.comparison-card.without { box-shadow: inset 0 5px 0 #d98585; }
.comparison-card.with { box-shadow: inset 0 5px 0 var(--signal-dark); }
.comparison-label { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 13px; font-weight: 850; }
.comparison-label span { width: 28px; height: 28px; display: grid; place-items: center; color: white; }
.without .comparison-label span { background: var(--danger); }
.with .comparison-label span { background: var(--signal-dark); }
.workflow-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #2e454a; }
.workflow-chain span { font-size: 12px; font-weight: 760; }
.workflow-chain i { color: #879b9f; font-style: normal; font-size: 11px; }
.comparison-card p { margin: 24px 0 0; padding-top: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }

.features-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { min-width: 0; min-height: 220px; padding: 30px; background: white; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-number { display: block; color: var(--violet); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.feature-card h3 { margin: 28px 0 10px; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.privacy-section { padding: 0; background: var(--paper); }
.privacy-card { display: grid; grid-template-columns: auto 1fr .78fr; align-items: center; gap: 38px; padding: 54px 58px; color: white; background: var(--ink); border-left: 8px solid var(--signal); }
.privacy-mark { width: 64px; height: 64px; display: grid; place-items: center; color: var(--ink); background: var(--signal); font-size: 27px; font-weight: 900; }
.privacy-copy .kicker { color: var(--signal); }
.privacy-copy h2 { margin: 9px 0 12px; font-size: clamp(31px, 4vw, 45px); }
.privacy-copy p { color: var(--muted-light); font-size: 15px; }
.privacy-points { margin: 0; padding: 0; list-style: none; }
.privacy-points li { position: relative; margin: 12px 0; padding-left: 24px; color: #e2ecea; font-size: 13px; font-weight: 700; }
.privacy-points li::before { content: "✓"; position: absolute; left: 0; color: var(--signal); }

.pricing-section { background: white; }
.pricing-grid { display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: clamp(55px, 9vw, 118px); }
.pricing-copy { max-width: 650px; }
.pricing-copy .regular-price { margin-top: 25px; font-size: 14px; }
.price-card { position: relative; padding: 38px; background: var(--paper); border: 1px solid var(--line); border-top: 7px solid var(--signal); }
.price-badge { display: inline-flex; padding: 6px 9px; color: white; background: var(--signal-dark); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.price { display: flex; align-items: flex-start; margin: 22px 0 0; line-height: 1; }
.price > span { margin-top: 10px; font-size: 22px; font-weight: 800; }
.price strong { font-size: 67px; letter-spacing: -.055em; }
.price small { align-self: flex-end; margin: 0 0 8px 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.trial-line { margin: 8px 0 0; color: var(--violet); font-size: 15px; font-weight: 850; }
.price-detail { margin: 13px 0 22px; color: var(--muted); font-size: 13px; }
.price-card ul { margin: 0 0 25px; padding: 20px 0; list-style: none; border-top: 1px solid var(--line); }
.price-card li { position: relative; margin: 9px 0; padding-left: 25px; font-size: 13px; font-weight: 700; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--signal-dark); }
.faq-section { background: var(--paper); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .64fr 1.36fr; gap: 80px; }
.faq-section .section-heading { margin-bottom: 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 21px 42px 21px 0; cursor: pointer; font-weight: 780; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 17px; color: var(--violet); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: -5px 45px 22px 0; color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 19px; color: var(--violet); font-size: 13px; font-weight: 820; }
.text-link span { transition: transform .16s; }
.text-link:hover span { transform: translateX(4px); }
.closing-cta { display: flex; align-items: center; justify-content: space-between; gap: 45px; margin-top: 90px; padding: 50px 54px; color: white; background: var(--ink); border-top: 7px solid var(--signal); }
.closing-cta .kicker { color: var(--signal); }
.closing-cta h2 { margin: 10px 0 8px; }
.closing-cta p { margin: 0; color: #a9bdc0; }
.closing-cta .button { flex: 0 0 auto; }

.site-footer { padding: 55px 0 25px; color: #8ca4a9; background: #040c0f; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-grid { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 40px; }
.footer-brand { color: white; }
.footer-grid p { max-width: 430px; margin: 14px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 23px; align-items: flex-start; color: #c7d7d5; font-size: 12px; font-weight: 700; }
.footer-links a:hover { color: var(--signal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 35px; padding-top: 21px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 10px; }
.footer-bottom p { margin: 0; }
.article-shell { padding-block: 130px 80px; min-height: 70vh; }

.reveal, .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .text-link span { transition: none; }
  .demo-slide { animation: none; opacity: 0; }
  .demo-slide.scene-one { opacity: 1; }
}

@media (max-width: 1040px) {
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: .84fr 1.16fr; gap: 38px; }
  .demo-stage { height: 390px; }
}

@media (max-width: 900px) {
  .hero { padding-top: 132px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .demo-reel { max-width: 760px; }
  .demo-stage { height: 540px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-card { grid-template-columns: auto 1fr; }
  .privacy-points { grid-column: 2; }
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .admin-bar .site-header { top: 46px; }
  .nav-shell { min-height: 66px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; display: none; flex-direction: column; align-items: stretch; gap: 2px; left: 24px; right: 24px; top: 66px; padding: 12px; background: var(--ink); border: 1px solid rgba(255, 255, 255, .22); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .hero { min-height: auto; padding: 118px 0 70px; }
  .hero::after { display: none; }
  .hero h1 { font-size: clamp(51px, 15vw, 72px); }
  .demo-stage { height: 480px; }
  .section { padding: 78px 0; }
  .comparison-grid, .pricing-grid { grid-template-columns: 1fr; }
  .comparison-card + .comparison-card { border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .privacy-card { grid-template-columns: 1fr; padding: 38px 30px; }
  .privacy-points { grid-column: auto; }
  .price-card { max-width: 540px; }
  .closing-cta { align-items: flex-start; flex-direction: column; padding: 40px 30px; }
  .closing-cta .button { width: 100%; }
  .footer-grid, .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand-lockup small { display: none; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 6px; }
  .hero-proof li + li::before { display: none; }
  .demo-stage { height: 310px; }
  .demo-flow { gap: 5px; font-size: 8px; }
  .demo-callout { min-height: 68px; padding: 11px 12px; }
  .demo-callout small { max-width: 240px; }
  .comparison-card { padding: 26px; }
  .workflow-chain { gap: 6px; }
  .feature-card { padding: 26px; }
  .privacy-card { padding: 34px 24px; }
  .price-card { padding: 30px 25px; }
  .price strong { font-size: 59px; }
  .faq-list p { margin-right: 15px; }
}

/* Public legal navigation; existing page presentation remains unchanged. */
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 22px; border-top: 1px solid var(--line-dark); color: #c7d7d5; font-size: 13px; font-weight: 700; }
.footer-legal a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer-legal a:hover { color: var(--signal); }
.footer-legal a:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }
