/* Covians website */
:root {
  /* Fonts already on the visitor's device: nothing is loaded from Google */
  --font-head: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", sans-serif;
  --navy: #14214d;
  --navy-2: #1d2d63;
  --ink: #18213f;
  --text: #2f3856;
  --muted: #5b6380;
  --line: #e4e7f0;
  --orange: #f6661a;
  --orange-2: #ff8a1f;
  --peach: #fff3ec;
  --mist: #f4f6fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(20, 33, 77, 0.35);
  --grad: linear-gradient(135deg, var(--orange-2), var(--orange));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font: 17px/1.6 var(--font-body);
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--grad); color: #fff; font: 600 17px/1 var(--font-head); text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(246, 102, 26, 0.7); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(246, 102, 26, 0.8); }
.btn:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand-name { font: 700 32px/1 var(--font-head); color: var(--navy); letter-spacing: -0.03em; }
.brand-tag { display: block; font-size: 12.5px; color: var(--navy); margin-top: 4px; letter-spacing: 0; font-weight: 500; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 42%; z-index: -1;
  background: radial-gradient(60% 70% at 70% 40%, #eef2fb 0%, #ffffff 70%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.eyebrow { font: 700 13px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }
.eyebrow::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--orange); margin-top: 16px; }
.hero h1 { font-size: clamp(42px, 5.2vw, 64px); line-height: 1.04; margin: 22px 0 22px; color: var(--navy); }
.hero .lead { font-size: 19px; color: var(--text); max-width: 34em; }
.hero .lead strong { color: var(--orange); font-weight: 700; }
.hero .btn { margin-top: 30px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.checks li, .why-list li { display: flex; align-items: center; gap: 10px; }
.tick { width: 18px; height: 18px; flex: none; color: var(--orange); }

/* Laptop preview, drawn in HTML */
.laptop { position: relative; filter: drop-shadow(0 30px 40px rgba(20,33,77,.25)); }
.screen {
  aspect-ratio: 16 / 10; border-radius: 16px 16px 6px 6px; padding: 12px; background: #0e1530;
  border: 1px solid #2a3561;
}
.display { position: relative; height: 100%; border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1.35fr 1fr; background: #dfe5ef; }
.call { position: relative; background: linear-gradient(160deg, #cfd8e6, #aebbd0 60%, #8d9bb5); overflow: hidden; }
.call .room { position: absolute; inset: 0; background:
  radial-gradient(30% 40% at 20% 20%, rgba(255,255,255,.55), transparent 70%),
  linear-gradient(90deg, transparent 62%, rgba(255,255,255,.25) 62% 66%, transparent 66%); }
.person { position: absolute; left: 50%; bottom: -6%; width: 64%; transform: translateX(-50%); }
.call-tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(14,21,48,.6); color: #fff; font-size: 11px; }
.self { position: absolute; right: 10px; top: 10px; width: 26%; aspect-ratio: 4/3; border-radius: 6px; background: linear-gradient(160deg, #3a4775, #1d2850); border: 2px solid rgba(255,255,255,.6); }
.panel { background: var(--navy); color: #fff; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; font-size: 11px; }
.panel-brand { display: flex; align-items: center; gap: 6px; font: 600 13px var(--font-head); }
.panel-brand img { width: 16px; height: 16px; }
.tabs { display: flex; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 6px; color: rgba(255,255,255,.65); }
.tabs .on { color: #fff; box-shadow: 0 7px 0 -5px var(--orange); }
.panel h4 { margin: 4px 0 0; font: 600 11.5px var(--font-body); }
.opp { display: flex; gap: 8px; align-items: center; padding: 8px 9px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); line-height: 1.3; }
.opp i { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); display: grid; place-items: center; font-style: normal; font-size: 10px; }
.opp.live { border-color: rgba(255,138,31,.7); background: rgba(255,138,31,.12); }
.base { height: 16px; margin: 0 -5%; border-radius: 0 0 16px 16px; background: linear-gradient(#c9cfdc, #9aa3b8); }
.base::after { content: ""; display: block; width: 16%; height: 6px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #7f88a0; }

/* Built for strip */
.audience { background: var(--mist); padding: 30px 0 34px; text-align: center; }
.audience .eyebrow { display: block; font-size: 12.5px; }
.audience .eyebrow::after { display: none; }
.audience ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 52px; color: var(--ink); font-weight: 500; font-size: 15.5px; }
.audience li { display: flex; align-items: center; gap: 10px; }
.audience svg { width: 22px; height: 22px; color: var(--navy); }

/* Features */
.section { padding: 84px 0; }
.section-title { text-align: center; font-size: clamp(30px, 3.4vw, 40px); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-top: 52px; }
.icon-tile { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: var(--peach); color: var(--orange); }
.icon-tile img { width: 32px; height: 32px; }
.feature h3 { font-size: 20px; margin: 20px 0 8px; }
.feature p { font-size: 16px; color: var(--muted); }

/* How it works */
.how { background: var(--peach); padding: 52px 0; }
.how .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 3fr); gap: 40px; align-items: center; }
.how h2 { font-size: clamp(30px, 3.2vw, 38px); line-height: 1.1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step { position: relative; }
.step + .step::before { content: "→"; position: absolute; left: -24px; top: 6px; color: var(--orange); font-size: 22px; }
.step-head { display: flex; align-items: center; gap: 14px; color: var(--orange); }
.step-head b { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 700 15px var(--font-body); }
.step-head img { width: 30px; height: 30px; }
.step h3 { font-size: 19px; margin: 14px 0 6px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* Why */
.why .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.why h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; padding-right: 40px; border-right: 1px solid var(--line); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 18px; color: var(--ink); }

/* Testimonial */
.quote-box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 40px 56px; border-radius: 18px; color: #fff;
  background: #041e40 url("img/testimonial-background.svg") right bottom / auto 100% no-repeat;
}
.quote-box blockquote { margin: 0; font-size: 21px; line-height: 1.5; font-style: italic; position: relative; padding-left: 56px; }
.quote-box blockquote::before { content: "“"; position: absolute; left: 0; top: -14px; font: 800 72px/1 var(--font-head); color: var(--orange-2); }
.quote-person { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.2); }
.quote-person img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); }
.quote-person strong { display: block; font-size: 18px; }
.quote-person span { color: rgba(255,255,255,.8); font-size: 15px; }

/* Waitlist */
.join { position: relative; padding: 84px 0 96px; text-align: center; overflow: hidden; }
.join { background: url("img/cta-waves.svg") center bottom / 100% auto no-repeat; }
.join h2 { font-size: clamp(30px, 3.6vw, 42px); }
.join .sub { margin: 14px auto 0; max-width: 34em; font-size: 18.5px; }
.form { margin: 34px auto 0; max-width: 760px; display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 12px; text-align: left; }
.form label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.form input[type=text], .form input[type=email] {
  min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid #cfd5e4; background: #fff; font: inherit; color: var(--ink);
}
.form input:focus { border-color: var(--navy); outline: none; }
.form .btn { align-self: end; white-space: nowrap; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.form-msg { grid-column: 1 / -1; min-height: 24px; font-size: 15px; }
.form-msg.error { color: #b3261e; }
.thanks { margin: 34px auto 0; max-width: 520px; padding: 26px 28px; border-radius: 16px; background: var(--peach); color: var(--ink); }
.thanks strong { display: block; font: 700 20px var(--font-head); margin-bottom: 6px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 26px 0; font-size: 14px; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand-name, .site-footer .brand-tag { color: #fff; }
.site-footer .brand-name { font-size: 24px; }
.site-footer .brand img { width: 36px; height: 36px; }
.site-footer nav { display: flex; gap: 22px; align-items: center; }

/* Privacy page */
.doc { max-width: 760px; padding: 56px 0 80px; }
.doc h1 { font-size: 40px; margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { margin: 0 0 10px; }
.doc .note { padding: 14px 16px; border-radius: 10px; background: var(--peach); font-size: 15px; }

/* Smaller screens */
@media (max-width: 980px) {
  .hero .wrap, .why .wrap, .how .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 32px; }
  .hero::before { inset: 45% 0 0 0; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why h2 { border-right: 0; padding-right: 0; }
  .quote-box { grid-template-columns: minmax(0, 1fr); padding: 34px 28px; }
  .quote-person { border-left: 0; padding-left: 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: min(1160px, 100% - 32px); }
  .site-header .wrap { height: 72px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 26px; }
  .brand-tag { display: none; }
  .site-header .btn { padding: 0 14px; font-size: 14px; }
  .site-header .btn .long { display: none; }
  .features, .steps { grid-template-columns: minmax(0, 1fr); }
  .step + .step::before { display: none; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; }
  .quote-box blockquote { font-size: 18px; padding-left: 40px; }
  .audience ul { gap: 12px 28px; }
}
/* Mockup match */
.hero { padding: 40px 0 0; }
.hero::before { display: none; }
.hero .wrap > div:first-child { padding: 16px 0 36px; }
/* Fixed page width: the photo stays inside the same 1160px column as everything else */
.hero-photo { position: relative; margin-right: 0; align-self: center; }
.hero-photo img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
  mask-image: linear-gradient(to right, transparent 0, #000 22%);
}
.audience { padding: 26px 0 28px; }
.join .btn#open-form { margin-top: 28px; }
.join .form { margin-top: 26px; }
.quiet-link { color: rgba(255,255,255,.6); text-decoration: none; }
.quiet-link:hover { color: #fff; text-decoration: underline; }
.initials {
  width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad); color: #fff; font: 700 26px var(--font-head); border: 3px solid rgba(255,255,255,.85);
}
.testimonial { padding: 8px 0 0; }
.section { padding: 52px 0; }
.features { margin-top: 40px; gap: 28px; }
.how { padding: 36px 0; }
.why { padding: 28px 0 32px; }
.join { padding: 40px 0 clamp(80px, 12vw, 150px); }
@media (max-width: 980px) {
  .hero-photo { margin: 0 -24px; height: auto; }
  .hero-photo img { -webkit-mask-image: none; mask-image: none; height: auto; }
}
@media (max-width: 680px) {
  .hero-photo { margin: 0 -16px; }
}

/* Testimonial: photo and name sit at the right of the box */
.quote-person { justify-content: flex-end; }
.quote-box blockquote::before { content: "“"; top: -10px; }
/* Closing mark: same big orange glyph, right after the last word */
.quote-box .q-end { white-space: nowrap; }
.quote-box .q-end::after {
  content: "”"; display: inline-block; height: 0; margin-left: 6px; line-height: 0;
  font: 800 72px/0 var(--font-head); color: var(--orange-2); vertical-align: -0.42em; font-style: normal;
}
@media (max-width: 980px) {
  .quote-person { justify-content: flex-start; }
  /* Keep the arcs in the corner, not behind the quote */
  .quote-box { background-size: 640px auto; }
}
@media (min-width: 981px) {
  .hero .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
  .how .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 2.8fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .arrow { transition: none; }
}
