/* Varaico static landing pages: shared stylesheet for the SEO pages in public/ */
:root {
  --accent: #8B5CF6;
  --btn: #7C3AED;
  --btn-hover: #6D28D9;
  --accent-soft: #EDE9FE;
  --accent-line: #DDD6FE;
  --accent-on-dark: #C4B5FD;
  --primary: #2D1B69;
  --deep: #120B30;
  --deep-2: #1A0F2E;
  --text: #111111;
  --body: #262630;
  --muted: #4B5563;
  --light: #F5F5F5;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(17, 17, 17, 0.10), 0 1px 2px rgba(17, 17, 17, 0.06);
  --shadow-hover: 0 8px 20px rgba(45, 27, 105, 0.14), 0 2px 6px rgba(17, 17, 17, 0.08);
  --head: 'Raleway', 'Segoe UI', Arial, sans-serif;
  --sans: 'Open Sans', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--btn); text-underline-offset: 3px; }
a:hover { color: var(--btn-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--text); line-height: 1.2; margin: 0; }
h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 18px; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
@media (min-width: 900px) { h2 { font-size: 36px; margin-bottom: 22px; } h3 { font-size: 21px; } }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }
strong { color: var(--text); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--text); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.prose { max-width: 760px; }
.center { text-align: center; }
.prose.center, .center .prose { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.08em; color: var(--muted); }
.prose > * + h2 { margin-top: 44px; }
.nowrap { white-space: nowrap; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #1a1040 0%, #221350 10%, #2D1B69 25%, #332072 40%, #38247a 50%, #332072 60%, #2D1B69 75%, #221350 90%, #1a1040 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo {
  font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: 4px;
  text-decoration: none; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); white-space: nowrap;
}
.logo .l1 { color: rgba(255, 255, 255, 0.95); }
.logo .l2 { color: var(--accent); }
.logo:hover .l1 { color: #fff; }
.head-nav { display: flex; align-items: center; gap: 6px; }
.head-link {
  color: rgba(255, 255, 255, 0.82); text-decoration: none; font-family: var(--head); font-weight: 600;
  font-size: 14px; padding: 7px 10px; border-radius: 50px; white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.head-link:hover, .head-link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.12); }
.head-link .long, .head-phone { display: none; }
.btn.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 38px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
@media (min-width: 760px) {
  .logo { font-size: 19px; letter-spacing: 5px; }
  .head-link .long { display: inline; }
  .head-link .short { display: none; }
  .head-phone { display: inline-block; }
  .head-nav { gap: 10px; }
  .btn.btn-sm { padding: 9px 22px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn); color: #fff; font-family: var(--head); font-weight: 700; font-size: 16px;
  letter-spacing: 0.3px; text-decoration: none; padding: 14px 30px; border-radius: 50px; border: 2px solid var(--btn);
  min-height: 50px; box-shadow: 0 2px 6px rgba(124, 58, 237, 0.30); transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: #fff; box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; box-shadow: none; }
.btn-outline { background: #fff; color: var(--btn); border-color: var(--accent-line); box-shadow: var(--shadow); }
.btn-outline:hover { background: var(--accent-soft); color: var(--btn-hover); border-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }
@media (max-width: 559px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(ellipse at 50% 35%, #2D1B69 0%, #1d1248 45%, #120B30 75%, #0A0618 100%);
  padding: 44px 0 92px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px);
}
.hero::before { width: 340px; height: 340px; top: -60px; left: -80px; background: rgba(139, 92, 246, 0.20); }
.hero::after { width: 300px; height: 300px; bottom: -40px; right: -60px; background: rgba(139, 92, 246, 0.14); }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 {
  color: #fff; font-size: 33px; font-weight: 700; letter-spacing: -0.8px; line-height: 1.15;
  max-width: 860px; margin: 0 auto; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.hero .sub { font-size: 18px; color: rgba(255, 255, 255, 0.82); max-width: 680px; margin: 16px auto 0; line-height: 1.6; }
.hero .btn-row { justify-content: center; margin-top: 28px; }
.hero .hero-call { margin: 16px 0 0; font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.hero .hero-call a { color: #fff; font-weight: 600; }
.hero .updated { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 14px 0 0; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; z-index: 1; display: block; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 120px; }
  .hero h1 { font-size: 52px; letter-spacing: -1.2px; }
  .hero .sub { font-size: 21px; }
  .hero-wave { height: 60px; }
}

.crumbs { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 0 0 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: rgba(255, 255, 255, 0.4); }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Sections ---------- */
.sec { padding: 52px 0; }
.sec-alt { background: var(--light); }
.sec-dark {
  background: radial-gradient(ellipse at 50% 50%, #2D1B69 0%, #120B30 100%);
  color: rgba(255, 255, 255, 0.85);
}
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark a:not(.btn) { color: var(--accent-on-dark); }
.sec-head { margin-bottom: 28px; }
.sec-head p { color: var(--muted); }
@media (min-width: 900px) { .sec { padding: 84px 0; } .sec-head { margin-bottom: 40px; } }

/* Needs list */
.needs { list-style: none; padding: 0; margin: 26px 0 0; }
.needs li { position: relative; padding: 0 0 0 30px; margin: 0 0 22px; }
.needs li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft);
}
.needs h3 { display: inline; font-size: 1em; font-family: var(--head); }
.needs p { display: inline; margin: 0; }
.note {
  background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0;
  padding: 16px 18px; margin: 24px 0 22px; color: var(--text);
}
.note:last-child { margin-bottom: 0; }
.note p:last-child { margin-bottom: 0; }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover, .card.hoverable:hover { box-shadow: var(--shadow-hover); border-color: var(--accent-line); transform: translateY(-2px); }
a.card h3 { color: var(--text); }
a.card:hover h3 { color: var(--btn); }
.card p:last-child { margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 10px; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--btn); }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 .card { padding: 18px 16px; }
.grid-4 .card h3 { font-size: 17px; }
.grid-4 .card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 960px) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .grid-4 .card { padding: 22px 20px; }
}
.related .card p { color: var(--muted); font-size: 16px; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 4px 28px; }
.checks li { position: relative; padding-left: 32px; margin: 0 0 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%237C3AED' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.sec-dark .checks li::before { background-color: rgba(255, 255, 255, 0.12); }
@media (min-width: 760px) { .checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.included-card { padding: 26px 22px; }
@media (min-width: 760px) { .included-card { padding: 34px 36px; } }

/* Pricing */
.price-card { max-width: 560px; margin: 0 auto; background: #fff; color: var(--body); border-radius: 18px; padding: 30px 22px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25); text-align: left; }
.price-card .from { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--muted); letter-spacing: 0.4px; margin: 0; }
.price-card .amount { font-family: var(--head); font-weight: 800; font-size: 50px; line-height: 1.05; color: var(--text); letter-spacing: -1px; margin: 2px 0 18px; }
.price-card .amount span { font-size: 20px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .checks { margin-bottom: 18px; }
.price-card .fine { font-size: 15px; color: var(--muted); margin: 0 0 22px; }
.price-card .btn { width: 100%; }
@media (min-width: 760px) { .price-card { padding: 38px 40px; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
.steps li { margin: 0; display: flex; gap: 16px; align-items: flex-start; }
.steps .num {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--accent); color: var(--btn); font-family: var(--head); font-weight: 800; font-size: 18px; background: #fff;
}
.steps h3 { font-size: 18px; margin: 8px 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { flex-direction: column; gap: 10px; }
  .steps h3 { margin-top: 4px; }
}

/* Work cards */
.card.work-card { display: grid; grid-template-columns: 1fr; padding: 0; overflow: hidden; }
.work-card .shot { background: #eee; aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 1px solid var(--border); }
.work-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.3s; }
a.work-card:hover .shot img { transform: scale(1.03); }
.work-card .body { padding: 20px 22px 22px; }
.work-card .tag { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.work-single { max-width: 860px; }
@media (min-width: 760px) {
  .card.work-single { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .work-single .shot { aspect-ratio: auto; height: 100%; min-height: 260px; border-bottom: 0; border-right: 1px solid var(--border); }
  .work-single .body { align-self: center; }
  .work-single .body { padding: 26px 30px; }
}

/* Figure (case studies) */
.shot-figure { margin: 0; }
.shot-figure .frame {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 2px 10px rgba(17, 17, 17, 0.12); background: #fff;
}
.shot-figure .bar { height: 26px; background: #EFEFF3; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot-figure .bar i { width: 9px; height: 9px; border-radius: 50%; background: #D1D5DB; display: block; }
.shot-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }
.overlap { margin-top: -64px; position: relative; z-index: 3; }
@media (min-width: 900px) { .overlap { margin-top: -96px; } }

/* Built list (case studies) */
.built { display: grid; gap: 16px; grid-template-columns: 1fr; }
.built .card h3 { font-size: 18px; }
.built .card p { font-size: 16px; color: var(--muted); line-height: 1.6; }
@media (min-width: 760px) { .built { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 20px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--text); min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 12px; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-4px); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { color: var(--btn); }
.faq .answer { padding: 0 0 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .faq { padding: 6px 32px; } .faq summary { font-size: 18px; } }

/* Cost table */
.table-wrap { margin: 8px 0 12px; }
.cost-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-size: 16px; line-height: 1.55; }
.cost-table caption { caption-side: bottom; text-align: left; font-size: 14px; color: var(--muted); padding-top: 10px; }
.cost-table th, .cost-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.cost-table thead th { background: var(--primary); color: #fff; font-family: var(--head); font-weight: 700; font-size: 15px; }
.cost-table tbody th { font-family: var(--head); color: var(--text); font-weight: 700; }
.cost-table tbody tr:last-child th, .cost-table tbody tr:last-child td { border-bottom: 0; }
.cost-table tr.ours { background: #FAF8FF; }
@media (max-width: 759px) {
  .cost-table, .cost-table tbody, .cost-table tr, .cost-table th, .cost-table td { display: block; width: 100%; }
  .cost-table thead { position: absolute; left: -9999px; }
  .cost-table { border: 0; box-shadow: none; background: transparent; overflow: visible; }
  .cost-table tr { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
  .cost-table tbody th { background: var(--primary); color: #fff; }
  .cost-table td { border-bottom: 1px solid var(--border); padding: 10px 16px; }
  .cost-table td:last-child { border-bottom: 0; }
  .cost-table td::before { content: attr(data-label); display: block; font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--muted); letter-spacing: 0.3px; }
  .cost-table caption { display: block; padding: 0 0 4px; }
}
.guide h2 { margin-top: 44px; font-size: 26px; }
.guide h3 { margin-top: 28px; margin-bottom: 10px; }
@media (min-width: 900px) { .guide h2 { margin-top: 56px; font-size: 31px; } }
.callout h2 { font-size: 24px; }
@media (min-width: 900px) { .callout h2 { font-size: 28px; } }
.guide ul li { margin-bottom: 10px; }
.sources { font-size: 15px; line-height: 1.6; padding-left: 20px; }
.sources li { margin-bottom: 10px; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.callout { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 760px) { .callout { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; } .callout .btn { flex: 0 0 auto; } }

/* Final CTA */
.cta { text-align: center; }
.cta h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.cta p { max-width: 620px; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.82); }
.cta .btn-row { justify-content: center; margin-top: 26px; }
@media (min-width: 560px) { .cta .btn { min-width: 250px; } }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #150E30 0%, #100C22 100%); color: rgba(255, 255, 255, 0.72); padding: 44px 0 24px; font-size: 15px; line-height: 1.6; border-top: 1px solid rgba(139, 92, 246, 0.25); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.foot-brand { grid-column: 1 / -1; }
.foot-grid h2 { font-family: var(--head); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255, 255, 255, 0.55); margin: 0 0 12px; font-weight: 700; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0 0 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-brand .logo { font-size: 16px; }
.foot-brand p { margin: 10px 0 0; max-width: 300px; color: rgba(255, 255, 255, 0.62); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.10); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; } .foot-brand { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
