/* ==========================================================================
   Vaco TV — shared stylesheet
   Teal + apricot brand. Mobile-first responsive design.
   ========================================================================== */

:root {
  --teal: #187a82;
  --teal-dark: #105a61;
  --apricot: #fa9c58;
  --apricot-deep: #f5713e;
  --ink: #1c2330;
  --cream: #fdf8f1;
  --text: #1c2330;
  --text-soft: #4a5371;
  --muted: #8893ad;
  --bg: #fdf8f1;
  --surface: #ffffff;
  --line: rgba(28, 35, 48, 0.08);
  --shadow-sm: 0 4px 12px rgba(28, 35, 48, 0.05);
  --shadow-md: 0 14px 40px rgba(28, 35, 48, 0.08);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color .2s ease;
}
a:hover { border-bottom-color: var(--teal); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Navigation -------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 241, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px;
  color: var(--ink);
  border: none;
  letter-spacing: 0.5px;
}
.nav__logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(24, 122, 130, 0.35);
  position: relative;
}
.nav__logo::after {
  content: "";
  position: absolute;
  top: 4px; right: 4px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--apricot);
}
.nav__logo svg {
  width: 18px; height: 12px;
  fill: white;
  opacity: 0.9;
}
.nav__links {
  display: flex; gap: 22px; align-items: center;
  list-style: none; padding: 0; margin: 0;
}
.nav__links a {
  font-size: 14px; font-weight: 600;
  color: var(--text-soft);
  border: none;
}
.nav__links a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav__links { gap: 14px; }
  .nav__links a { font-size: 13px; }
}

/* ----- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--ink), #2a3344);
  color: #fff;
  overflow: hidden;
  padding: 80px 0 90px;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: -1;
}
.hero::before {
  background: var(--teal);
  width: 380px; height: 380px;
  top: -120px; right: -120px;
}
.hero::after {
  background: var(--apricot);
  width: 320px; height: 320px;
  bottom: -160px; left: -120px;
  opacity: 0.45;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin: 14px 0 18px;
  letter-spacing: -0.5px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--apricot), var(--apricot-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  max-width: 580px;
  margin: 0 auto 24px;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(250, 156, 88, 0.20);
  border: 1px solid rgba(250, 156, 88, 0.45);
  color: var(--apricot);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px;
}
.hero__inner { text-align: center; }

/* ----- Section ----------------------------------------------------------- */

.section { padding: 70px 0; }
.section--soft { background: var(--surface); }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.section__sub {
  font-size: 16px;
  color: var(--text-soft);
}

/* ----- Feature grid ------------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(24, 122, 130, 0.4);
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: grid; place-items: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 17px; font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}
.feature p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

/* ----- Doc page ---------------------------------------------------------- */

.page { padding: 50px 0 80px; }
.page__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}
.page__head h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  margin: 8px 0 12px;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.page__head .meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.page__head p {
  font-size: 16px;
  color: var(--text-soft);
}

.doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .doc { padding: 24px 18px; border-radius: 22px; } }

.doc h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 32px 0 10px;
  color: var(--ink);
}
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li {
  font-size: 15px;
  color: var(--text-soft);
}
.doc ul { padding-inline-start: 22px; }
.doc li + li { margin-top: 6px; }

/* ----- FAQ accordion ----------------------------------------------------- */

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 18px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(24, 122, 130, 0.45); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 0;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: var(--text-soft); font-size: 14px; }

/* ----- Footer ------------------------------------------------------------ */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 36px 0 24px;
  font-size: 14px;
  text-align: center;
}
.footer a { color: rgba(255,255,255,.65); border: none; }
.footer a:hover { color: #fff; }
.footer__links {
  display: flex; gap: 18px; justify-content: center;
  margin-top: 14px;
  list-style: none; padding: 0;
}
.footer__copy {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
