:root {
  --ink: #111214;
  --paper: #f7f8f9;
  --white: #fff;
  --soft: #eef0f2;
  --line: #dfe3e7;
  --muted: #63676f;
  --purple: #7c3aed;
  --red: #d53236;
  --navy: #263f70;
  --green: #3f934e;
  --sky: #69a8dd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; }

.site-header { position: sticky; top: 0; z-index: 20; color: #fff; background: #121315; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; color: #fff; text-decoration: none; }
.brand strong { font: 700 1.8rem/1 Caveat, cursive; }
.brand small { margin-top: 4px; font: italic .56rem Playfair Display, serif; opacity: .72; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links > a { position: relative; color: rgba(255,255,255,.8); font-size: .75rem; font-weight: 600; text-decoration: none; }
.nav-links > a:not(.quote-link)::after { position: absolute; right: 50%; bottom: -27px; left: 50%; height: 2px; background: var(--purple); content: ""; transition: left .2s, right .2s; }
.nav-links > a:hover, .nav-links > a:focus-visible, .nav-links > a.active { color: #fff; }
.nav-links > a:hover::after, .nav-links > a:focus-visible::after, .nav-links > a.active::after { right: 0; left: 0; }
.quote-link { display: inline-flex; min-height: 40px; align-items: center; gap: 10px; padding: 0 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.menu-button { display: none; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: transparent; }

.services-hero { padding: 100px 0 92px; background: var(--paper); }
.section-heading { max-width: 730px; margin: 0 auto 64px; text-align: center; }
.section-heading .eyebrow { margin: 0 0 10px; color: var(--purple); font-size: .66rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-heading h1, .section-heading h2 { margin: 0 0 16px; font: 700 clamp(2.65rem, 6vw, 4.7rem)/.98 Playfair Display, Georgia, serif; letter-spacing: -.045em; }
.section-heading h1 em { color: var(--purple); font-weight: 600; }
.section-heading > p:last-child { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: .92rem; }
.section-heading.compact { margin-bottom: 50px; }
.section-heading.compact h2 { font-size: clamp(2.25rem, 4.7vw, 3.8rem); }

.service-packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.service-package { --accent: var(--red); display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: 10px; background: var(--white); box-shadow: 0 14px 30px rgba(27,30,34,.08); }
.service-package.plus { --accent: var(--navy); }
.service-package.essential { --accent: var(--green); }
.service-package.starter { --accent: var(--sky); }
.package-cap { position: relative; min-height: 148px; padding: 48px 20px 22px; color: #fff; background: var(--accent); text-align: center; }
.package-icon { position: absolute; top: 20px; left: 50%; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: var(--accent); background: #fff; font-size: 19px; transform: translateX(-50%); }
.package-cap > span:not(.package-icon) { display: block; margin-top: 10px; font-size: .62rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.package-cap h2 { margin: 3px 0 0; font: 700 1.65rem/1 Playfair Display, serif; }
.package-content { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 22px; }
.package-content ul { margin: 0 0 24px; padding: 0; list-style: none; }
.package-content li { position: relative; padding: 8px 0 8px 17px; color: #4f555e; font-size: .77rem; line-height: 1.45; }
.package-content li::before { position: absolute; top: 10px; left: 0; width: 7px; height: 7px; border: 1.5px solid var(--accent); border-radius: 50%; content: ""; }
.package-action { display: grid; min-height: 42px; margin-top: auto; place-items: center; border-radius: 999px; color: #fff; background: var(--accent); font-size: .74rem; font-weight: 800; text-decoration: none; transition: transform .18s, filter .18s; }
.package-action:hover { filter: brightness(.9); transform: translateY(-2px); }

.comparison { padding: 94px 0 104px; background: #fff; }
.comparison-shell { max-width: 1040px; }
.comparison-scroll { overflow-x: auto; }
table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .75rem; }
th, td { padding: 17px 15px; border-bottom: 1px solid var(--line); text-align: center; }
thead th { color: var(--muted); font-size: .66rem; font-weight: 800; }
thead th:nth-child(2), tbody td:nth-child(2) { color: var(--red); }
thead th:nth-child(3), tbody td:nth-child(3) { color: var(--navy); }
thead th:nth-child(4), tbody td:nth-child(4) { color: var(--green); }
thead th:nth-child(5), tbody td:nth-child(5) { color: var(--sky); }
th:first-child { width: 40%; color: var(--ink); text-align: left; }
tbody th { font-weight: 500; }
.yes { font-weight: 800; }
.muted-mark { color: #a6abb2; }

.application-services { padding: 96px 0 110px; background: #eceeef; }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.application-grid article { min-height: 275px; padding: 34px; border-radius: 12px; background: #fff; box-shadow: 0 14px 32px rgba(24,27,31,.06); }
.application-grid .material-symbols-outlined { margin-bottom: 34px; font-size: 30px; }
.red-icon { color: var(--red); }
.blue-icon { color: var(--navy); }
.green-icon { color: var(--green); }
.application-grid h3 { max-width: 250px; margin: 0 0 14px; font: 700 1.7rem/1.06 Playfair Display, serif; }
.application-grid p { margin: 0; color: var(--muted); font-size: .82rem; }

.closing { padding: 110px 0; background: var(--paper); }
.closing-card { position: relative; overflow: hidden; min-height: 360px; padding: 70px 30px; border-radius: 12px; color: #fff; background: #17191c; text-align: center; }
.closing-card h2 { position: relative; z-index: 1; margin: 0 0 16px; font: 700 clamp(2.4rem, 5vw, 4.25rem)/1 Playfair Display, serif; }
.closing-card p { position: relative; z-index: 1; margin: 0 0 28px; color: rgba(255,255,255,.75); }
.closing-card a { position: relative; z-index: 1; display: inline-flex; min-height: 46px; align-items: center; gap: 12px; padding: 0 24px; border-radius: 999px; color: #fff; background: var(--purple); font-size: .76rem; font-weight: 800; text-decoration: none; }
.closing-cookie { position: absolute; right: -50px; bottom: -54px; color: var(--purple); font-size: 190px; transform: rotate(-18deg); opacity: .82; }

footer { padding: 78px 0; color: rgba(255,255,255,.7); background: #292c2d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .75fr); gap: 58px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid p, .footer-grid a, .footer-grid small { display: block; margin: 0 0 9px; color: rgba(255,255,255,.66); font-size: .74rem; text-decoration: none; }
.footer-grid > div:first-child p { max-width: 260px; margin-bottom: 30px; }
.footer-grid h2 { margin: 9px 0 18px; color: #bfa9ff; font: 800 .62rem/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a:hover { color: #fff; }

a:focus-visible, button:focus-visible { outline: 3px solid #b995ff; outline-offset: 4px; }

@media (max-width: 920px) {
  .nav-links { gap: 17px; }
  .nav-links > a:not(.quote-link) { display: none; }
  .service-packages { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: 1fr; }
  .application-grid article { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), 1120px); }
  .nav { min-height: 72px; }
  .nav-links { position: absolute; top: 72px; right: 14px; left: 14px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #181a1d; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.quote-link) { display: flex; min-height: 46px; align-items: center; padding: 0 12px; }
  .nav-links > a::after { display: none; }
  .quote-link { margin-top: 6px; justify-content: center; }
  .menu-button { display: grid; }
  .services-hero { padding: 72px 0 70px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .service-packages { grid-template-columns: 1fr; }
  .package-cap { min-height: 132px; }
  .comparison, .application-services { padding: 72px 0; }
  .comparison-scroll { margin-right: -14px; padding-right: 14px; }
  .application-grid { gap: 18px; }
  .closing { padding: 72px 0; }
  .closing-card { min-height: 330px; padding: 64px 20px; }
  .closing-cookie { right: -55px; font-size: 150px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
