/* ===== Tokens ===== */
:root {
  --purple: #7b12d4;
  --purple-light: #a24dff;
  --blue: #2346a8;
  --bg: #0b0a14;
  --bg-alt: #120f20;
  --surface: #191530;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f2f0f8;
  --muted: #a7a2bd;
  --radius: 16px;
  --header-h: 72px;
  --logo-font: "Aharoni", "Heebo", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Heebo", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.logo-mark {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #9b3cff 0%, var(--purple) 55%, #4a0a8f 100%);
  box-shadow: 0 6px 20px rgba(123, 18, 212, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s, box-shadow .25s;
}
.logo-mark svg { width: 44px; height: 44px; }
.logo-mark .cloud { fill: #fff; }
.logo-mark .infinity { fill: none; stroke: var(--purple); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); box-shadow: 0 8px 26px rgba(123, 18, 212, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }

.logo-text { display: grid; gap: 3px; }
.logo-name {
  font-family: var(--logo-font);
  font-weight: 900;
  font-size: 1.85rem;
  line-height: .95;
  background: linear-gradient(180deg, #b066ff 0%, var(--purple) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(123, 18, 212, .35));
}
.logo-tag {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .12em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 24px rgba(123, 18, 212, .35); }
.btn-primary:hover { background: #8a22e6; box-shadow: 0 10px 30px rgba(123, 18, 212, .5); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-outline { background: transparent; border-color: var(--purple); color: #fff; }
.btn-outline:hover { background: var(--purple); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled,
.site-header.open {
  background: rgba(11, 10, 20, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { color: var(--muted); font-weight: 500; transition: color .2s; }
.main-nav a:not(.btn):hover { color: #fff; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 10px;
  cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.site-header.open .menu-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.site-header.open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .menu-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding-bottom: 72px; }

.hero-media {
  position: relative;
  height: min(100svh, 56.25vw);   /* full screen on PC, never taller than the 16:9 video */
  min-height: 480px;
  overflow: hidden;
  background: #000 url("hero-notext-poster.jpg") center / cover no-repeat;
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 10, 20, .75) 0%, transparent 18%),
    linear-gradient(to top, var(--bg) 0%, transparent 30%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  margin-top: -40px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 20px;
}
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--purple-light), #5b7bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 640px; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.stats {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stats li { padding: 24px 16px; text-align: center; display: grid; gap: 2px; }
.stats li + li { border-inline-start: 1px solid var(--border); }
.stats strong { font-size: 1.8rem; font-weight: 900; color: var(--purple-light); }
.stats span { color: var(--muted); font-size: .95rem; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; display: grid; gap: 12px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { color: var(--purple-light); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: grid; gap: 12px; align-content: start;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(162, 77, 255, .5); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; }
.soon {
  position: absolute; top: 20px; inset-inline-end: 20px;
  font-size: .8rem; font-weight: 700; color: var(--purple-light);
  background: rgba(162, 77, 255, .15); border: 1px solid rgba(162, 77, 255, .4);
  padding: 2px 12px; border-radius: 999px;
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); }
.icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(123, 18, 212, .3), rgba(35, 70, 168, .3));
  margin-bottom: 6px;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--purple-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Plans */
.billing-toggle {
  display: flex; width: fit-content; margin: -24px auto 40px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px;
}
.billing-toggle button {
  font: inherit; font-weight: 700; color: var(--muted);
  background: none; border: 0; border-radius: 999px;
  padding: 9px 22px; cursor: pointer; transition: background .2s, color .2s;
}
.billing-toggle button.active { background: var(--purple); color: #fff; }
.billing-toggle em { font-style: normal; font-size: .8rem; opacity: .85; margin-inline-start: 4px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan.featured {
  border: 2px solid var(--purple);
  background: linear-gradient(180deg, rgba(123, 18, 212, .18), var(--surface) 45%);
  transform: scale(1.03);
}
.badge {
  position: absolute; top: -14px; inset-inline-start: 50%; translate: 50% 0;
  background: var(--purple); color: #fff; font-weight: 700; font-size: .85rem;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.5rem; }
.plan-desc { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 6px; }
.price .amount { font-size: 3rem; font-weight: 900; line-height: 1; }
.price .cur { font-size: 1.5rem; font-weight: 700; }
.price .per { color: var(--muted); margin-inline-start: 6px; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan .specs b { font-weight: 700; color: #fff; }
.plan .specs li { color: var(--muted); }
.plan li.no::before {
  background: rgba(255, 92, 122, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5c7a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.plan-builder { border-style: dashed; border-color: rgba(162, 77, 255, .5); }
.price .amount.quote { font-size: 2rem; }

.custom-cta {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(90deg, rgba(123, 18, 212, .22), rgba(35, 70, 168, .18));
  border: 1px solid rgba(162, 77, 255, .35);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.custom-cta h3 { font-size: 1.35rem; margin-bottom: 6px; }
.custom-cta p { color: var(--muted); }
.plan li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(162, 77, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a24dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.why-text { display: grid; gap: 16px; justify-items: start; }
.why-text p { color: var(--muted); font-size: 1.1rem; margin-bottom: 8px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-list li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 10px;
}
.why-list .num { font-family: var(--logo-font); font-weight: 900; font-size: 1.6rem; color: var(--purple-light); }
.why-list h3 { font-size: 1.2rem; margin-bottom: 4px; }
.why-list p { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 24px; transition: border-color .2s;
}
.faq details[open] { border-color: rgba(162, 77, 255, .5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  font-weight: 700; font-size: 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--purple-light); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-info > p { color: var(--muted); font-size: 1.1rem; }
.contact-info ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.contact-info li { display: flex; gap: 16px; }
.contact-info li span { color: var(--muted); min-width: 56px; }
.contact-info a { color: var(--purple-light); font-weight: 700; }

.contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form label, .summary-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.contact-form input, .contact-form select, .contact-form textarea,
.summary-form input, .summary-form textarea {
  font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input[dir="ltr"], .summary-form input[dir="ltr"] { text-align: right; }
.contact-form textarea { resize: vertical; }
.contact-form :is(input, select, textarea):focus, .summary-form :is(input, textarea):focus { outline: none; border-color: var(--purple-light); box-shadow: 0 0 0 3px rgba(162, 77, 255, .2); }
.lead-form .invalid { border-color: #ff5c7a; }
.form-status { min-height: 1.5em; text-align: center; font-weight: 700; color: #7be0a4; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: #fff; }
.copy { color: var(--muted); font-size: .9rem; }

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .cards, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
  .why, .contact { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Mobile ===== */
@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 24px;
    background: rgba(11, 10, 20, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .site-header.open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 16px 4px; font-size: 1.1rem; color: var(--text); border-bottom: 1px solid var(--border); }
  .nav-cta { margin-top: 20px; padding: 14px; }
}

@media (max-width: 640px) {
  .logo { gap: 10px; }
  .logo-mark { width: 40px; height: 40px; border-radius: 12px; }
  .logo-mark svg { width: 38px; height: 38px; }
  .logo-name { font-size: 1.6rem; }
  .logo-tag { font-size: .7rem; }

  /* Show the whole 16:9 video so the logo in it isn't cropped */
  .hero-media { height: auto; min-height: 0; aspect-ratio: 16 / 9; margin-top: var(--header-h); }
  .hero-fade { background: linear-gradient(to top, var(--bg) 0%, transparent 35%); }
  .site-header { background: rgba(11, 10, 20, .92); backdrop-filter: blur(12px); }

  .hero { padding-bottom: 56px; }
  .hero-content { margin-top: 8px; gap: 16px; }
  .lead { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .stats li { padding: 18px 10px; }
  .stats li + li { border-inline-start: 0; }
  .stats li:nth-child(even) { border-inline-start: 1px solid var(--border); }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .stats strong { font-size: 1.5rem; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .cards, .cards-4 { grid-template-columns: 1fr; gap: 16px; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .plan { padding: 28px 24px; }
  .custom-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; }
  .card { padding: 24px 22px; }
  .why-list { grid-template-columns: 1fr; gap: 14px; }
  .faq details { padding: 0 18px; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .site-footer nav { justify-content: center; }
}

/* ===== Build-your-own page ===== */
.subpage .site-header { background: rgba(11, 10, 20, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }
.page-head { padding: calc(var(--header-h) + 48px) 0 0; }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; }
.page-head .section-head { margin-bottom: 0; }
.back-link { display: inline-block; color: var(--muted); font-weight: 500; margin-bottom: 24px; }
.back-link:hover { color: #fff; }
.build-section { padding-top: 48px; }

.build { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.build-options { display: grid; gap: 20px; }
.build-options fieldset {
  margin: 0; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 22px 24px 24px;
}
.build-options legend { float: right; width: 100%; font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; min-width: 64px; text-align: center;
  padding: 10px 18px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border);
  font-weight: 700; color: var(--muted);
  transition: border-color .15s, background .15s, color .15s;
}
.chips label:hover span { border-color: rgba(162, 77, 255, .5); color: #fff; }
.chips input:checked + span { background: rgba(123, 18, 212, .25); border-color: var(--purple-light); color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(162, 77, 255, .35); }

.slider-row { clear: both; display: flex; align-items: center; gap: 18px; }
.slider-row input[type="range"] {
  --p: 50%;
  flex: 1; min-width: 0; height: 8px; margin: 0;
  -webkit-appearance: none; appearance: none;
  border-radius: 999px; cursor: pointer;
  background: linear-gradient(to left, var(--purple-light) var(--p), var(--bg) var(--p));
  border: 1px solid var(--border);
}
.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 4px solid var(--purple);
  box-shadow: 0 2px 10px rgba(123, 18, 212, .6);
}
.slider-row input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--purple);
  box-shadow: 0 2px 10px rgba(123, 18, 212, .6);
}
.slider-row input[type="range"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(162, 77, 255, .35); }
.num {
  flex: none; width: 104px; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 6px 10px;
}
.num:focus-within { border-color: var(--purple-light); }
.num input {
  width: 4ch; font: inherit; font-size: 1.15rem; font-weight: 700; color: #fff;
  background: none; border: 0; padding: 0; text-align: center; -moz-appearance: textfield;
}
.num input::-webkit-inner-spin-button, .num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.num input:focus { outline: none; }
.num span { color: var(--muted); font-weight: 700; font-size: .9rem; }
.num span:empty { display: none; }
.scale { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: .8rem; padding-inline-end: 122px; }

.build-summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: linear-gradient(180deg, rgba(123, 18, 212, .18), var(--surface) 40%);
  border: 2px solid var(--purple); border-radius: var(--radius);
  padding: 26px 24px; display: grid; gap: 18px;
}
.build-summary h2 { font-size: 1.4rem; }
.build-price {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(123, 18, 212, .2); border: 1px solid rgba(162, 77, 255, .4);
  border-radius: 12px; padding: 14px 18px;
}
.build-price .label { font-weight: 700; }
.build-price .price { margin: 0; }
.build-price .amount { font-size: 2.4rem; }
.build-summary dl { margin: 0; display: grid; gap: 10px; }
.build-summary dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.build-summary dt { color: var(--muted); }
.build-summary dd { margin: 0; font-weight: 700; }
.included { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.included li { display: flex; gap: 8px; align-items: center; }
.included li::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(162, 77, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a24dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.summary-form { display: grid; gap: 12px; }
.summary-form .btn { margin-top: 4px; }

@media (max-width: 1024px) {
  .build { grid-template-columns: 1fr; }
  .build-summary { position: static; }
}
@media (max-width: 640px) {
  .page-head { padding-top: calc(var(--header-h) + 32px); }
  .build-section { padding-top: 32px; }
  .build-options fieldset { padding: 18px 16px 20px; }
  .chips span { min-width: 56px; padding: 9px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.price .per.from { margin: 0 0 0 6px; }

/* Service card that links to a page */
.card-link { display: grid; }
.card-more { color: var(--purple-light); font-weight: 700; margin-top: 4px; }
.card-link:hover .card-more { color: #fff; }

/* Personal-area button in the header */
.nav-account { padding: 9px 16px; }
.nav-account svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* "All packages" link under the home page plans */
.more-plans { display: flex; justify-content: center; margin-top: 36px; }

/* Login / register box on the packages page */
.account-cta {
  margin-top: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(90deg, rgba(123, 18, 212, .22), rgba(35, 70, 168, .18));
  border: 1px solid rgba(162, 77, 255, .35);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.account-cta h3 { font-size: 1.35rem; margin-bottom: 6px; }
.account-cta p { color: var(--muted); }
.account-cta-actions { display: flex; gap: 12px; flex: none; }

@media (max-width: 1100px) and (min-width: 861px) {
  .main-nav { gap: 18px; }
  .main-nav a:not(.btn) { font-size: .95rem; }
}
@media (max-width: 860px) {
  .nav-account { margin-top: 20px; padding: 14px; }
  .nav-account + .nav-cta { margin-top: 10px; }
}
@media (max-width: 640px) {
  .account-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; }
  .account-cta-actions { flex-direction: column; }
}

/* Home page: big logo in the middle of the video, drawn at full size (no scaling = sharp) */
.logo-hero {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 1; gap: 28px; pointer-events: none;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, .55));
}
.logo-hero .logo-mark { width: 150px; height: 150px; border-radius: 44px; }
.logo-hero .logo-mark svg { width: 144px; height: 144px; }
.logo-hero .logo-text { gap: 10px; }
.logo-hero .logo-name { font-size: clamp(3.5rem, 7vw, 6.5rem); }
.logo-hero .logo-tag { font-size: clamp(1.1rem, 2vw, 1.7rem); color: #fff; letter-spacing: .14em; }
/* Black glow behind the text so it reads clearly over the video */
.logo-hero .logo-name { filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 14px #000) drop-shadow(0 0 30px rgba(0, 0, 0, .9)); }
.logo-hero .logo-tag { text-shadow: 0 0 4px #000, 0 0 12px #000, 0 0 26px rgba(0, 0, 0, .9); }
.logo-hero .logo-text {
  padding: 60px 80px; margin: -60px -80px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .9), rgba(0, 0, 0, .6) 55%, transparent);
}
@media (max-width: 640px) {
  .logo-hero { gap: 16px; }
  .logo-hero .logo-mark { width: 84px; height: 84px; border-radius: 25px; }
  .logo-hero .logo-mark svg { width: 80px; height: 80px; }
  .logo-hero .logo-name { font-size: 3.2rem; }
  .logo-hero .logo-tag { font-size: 1rem; }
}

/* Header logo stays hidden while the big one is on screen */
.site-header .logo { transition: opacity .3s, visibility .3s; }
body.hero-brand-visible .site-header:not(.open) .logo { opacity: 0; visibility: hidden; }
.slider-field .hint { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.breakdown { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.breakdown li { display: flex; justify-content: space-between; color: var(--muted); }
.breakdown li span:last-child { color: var(--text); font-weight: 500; }
