/* Vantage Systems Digital: shared styles for every page. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
  --paper: #F2F5F7;
  --sheet: #FFFFFF;
  --ink: #10243A;
  --steel: #4E6074;      /* 6.3:1 on paper, 6.8:1 on white */
  --line: #C9D3DC;
  --canary: #FFD21F;
  --canary-soft: #FFE98A;
  --deep: #0B1A2B;
  --on-ink: #D7E0E8;     /* body text on ink: 11:1 */
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.6rem; font-weight: 600; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }

/* Focus: a thick canary ring on dark, ink on light. Always visible for keyboard users. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-ink :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--canary); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--canary); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--ink); color: #fff; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  font-family: var(--display); font-weight: 700; font-size: 1.7rem;
  text-decoration: none; line-height: 1; padding: 11px 0; display: inline-block;
}
.brand b { font-weight: inherit; white-space: nowrap; }
.brand span { color: var(--canary); }
.site-nav { display: flex; gap: 24px; align-items: center; font-size: 1rem; }
.site-nav a { text-decoration: none; color: var(--on-ink); padding: 10px 0; }
.site-nav a:hover { color: #fff; text-decoration: underline; }
.site-nav .call {
  background: var(--canary); color: var(--ink);
  padding: 10px 16px; font-weight: 600; white-space: nowrap;
}
.site-nav .call:hover { text-decoration: none; background: #fff; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  text-decoration: none; font-weight: 600; font-size: 1.1rem; padding: 12px 22px; border: 2px solid transparent;
}
.btn-primary { background: var(--canary); color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--deep); }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 56px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero p.lede { font-size: 1.3rem; margin-top: 22px; color: var(--on-ink); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-ink); font-size: 1rem; }
.hero-facts li::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--canary); margin-right: 9px; vertical-align: 2px; }

/* Estimate sheet: white top copy over a canary carbon copy (the page's one bold moment) */
.estimate { position: relative; margin: 0 18px 18px 0; }
.estimate::before { content: ""; position: absolute; inset: 0; background: var(--canary); transform: translate(18px, 18px); }
.estimate-sheet { position: relative; background: var(--sheet); color: var(--ink); padding: 28px 28px 24px; }
.estimate-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 4px 16px; border-bottom: 3px solid var(--ink); padding-bottom: 12px;
}
.estimate-head strong { font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.estimate-head span { font-size: 0.95rem; color: var(--steel); }
.estimate-for { display: flex; gap: 10px; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--line); color: var(--steel); }
.estimate-for b { color: var(--ink); font-weight: 600; }
.estimate-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.estimate-row .item { font-weight: 600; font-size: 1.15rem; }
.estimate-row .when { color: var(--steel); font-size: 0.98rem; grid-column: 1; }
.estimate-row .price {
  grid-row: 1 / span 2; grid-column: 2; align-self: center;
  font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1;
  background: var(--canary-soft); padding: 6px 10px; white-space: nowrap;
}
.estimate-note { font-size: 0.98rem; color: var(--steel); padding-top: 16px; }

/* Sections */
.section { padding: 84px 0; }
.section-sheet { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { margin-top: 16px; font-size: 1.2rem; color: var(--steel); }

.included { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.included li { padding: 20px 0 20px 34px; border-top: 1px solid var(--line); position: relative; }
.included li::before {
  content: ""; position: absolute; left: 0; top: 29px;
  width: 14px; height: 14px; background: var(--canary); border: 2px solid var(--ink);
}
.included b { display: block; font-weight: 600; font-size: 1.15rem; }
.included span { color: var(--steel); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 84px 1fr; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 0.9; color: var(--ink); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--steel); }

/* Samples: phone-sized previews, each plainly labeled */
.samples { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sample-card { display: block; text-decoration: none; }
.sample-phone {
  position: relative; border: 10px solid var(--ink); border-radius: 30px; overflow: hidden;
  background: var(--ink); aspect-ratio: 390 / 760;
}
.sample-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sample-tag {
  position: absolute; left: 10px; bottom: 10px; background: var(--canary); color: var(--ink);
  font-weight: 600; font-size: 0.85rem; padding: 3px 9px; letter-spacing: 0.02em;
}
.sample-card h3 { margin-top: 16px; font-size: 1.45rem; }
.sample-card p { color: var(--steel); font-size: 1rem; margin-top: 4px; }
.sample-card .open { display: inline-block; margin-top: 8px; font-weight: 600; text-decoration: underline; }
.sample-card:hover .open { color: var(--steel); }
.samples-note { margin-top: 28px; font-size: 1rem; color: var(--steel); }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.price-block { background: var(--paper); border: 2px solid var(--ink); padding: 30px; }
.price-block .amount { font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; margin: 12px 0 4px; }
.price-block .unit { color: var(--steel); margin-bottom: 16px; }
.price-block p + p { margin-top: 10px; }
.price-delivery { margin-top: 28px; font-weight: 600; font-size: 1.2rem; }
.price-after { margin-top: 10px; color: var(--steel); }

.policies { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; margin-top: 40px; }
.policies h3 { margin-bottom: 10px; }
.policies p { color: var(--steel); }
.policies p + p { margin-top: 10px; }
.policies .more { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--ink); padding: 4px 0; }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: 84px 0; }
.contact .intro { color: var(--on-ink); }
.contact-lines { margin-top: 36px; display: grid; gap: 18px; justify-items: start; }
.contact-lines a.phone {
  font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1; color: var(--canary); text-decoration: none; padding: 4px 0;
}
.contact-lines a.phone:hover { color: #fff; }
.contact-lines a.email { font-size: 1.3rem; padding: 6px 0; }
.contact-lines address { font-style: normal; color: var(--on-ink); }

/* Footer */
.site-footer { background: var(--deep); color: #B9C6D2; font-size: 0.98rem; padding: 34px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-nav a { color: #fff; padding: 8px 0; }

/* Policy and legal pages */
.doc-hero { background: var(--ink); color: #fff; padding: 52px 0 44px; }
.doc-hero h1 { font-size: clamp(2.5rem, 6vw, 3.8rem); }
.doc-hero p { color: var(--on-ink); margin-top: 12px; }
.crumb { font-size: 1rem; margin-bottom: 14px; }
.crumb a { color: var(--on-ink); }
.doc { background: var(--sheet); padding: 56px 0 72px; }
.doc .wrap { max-width: 820px; }
.doc h2 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin: 44px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #23384e; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; margin: 12px 0 0; max-width: 62ch; }
.doc li + li { margin-top: 8px; }
.summary-box { border: 2px solid var(--ink); background: var(--paper); padding: 22px 24px; margin-bottom: 8px; }
.summary-box h2 { margin: 0 0 8px; font-size: 1.6rem; }
.summary-box ul { margin-top: 6px; }
.doc-contact { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 880px) {
  body { font-size: 18px; }
  .site-nav a:not(.call) { display: none; }
  .hero { padding: 40px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero p.lede { max-width: none; }
  .included, .prices, .policies { grid-template-columns: 1fr; }
  /* Phones: a swipeable row instead of three tall stacked screens. */
  .samples {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 36px -24px 0; padding: 0 24px 14px; scroll-padding: 0 24px;
  }
  .samples li { flex: 0 0 min(72%, 300px); scroll-snap-align: start; }
  .section, .contact { padding: 60px 0; }
  .steps li { grid-template-columns: 60px 1fr; }
  .steps li::before { font-size: 2.8rem; }
}
@media (max-width: 460px) {
  .wrap { padding: 0 18px; }
  .samples { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; scroll-padding: 0 18px; }
  .estimate-row { grid-template-columns: 1fr; }
  .estimate-row .price { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 6px; }
  .brand { font-size: 1.3rem; }
  .site-header .wrap { gap: 12px; }
  .site-nav .call { padding: 10px 12px; font-size: 0.95rem; }
  .estimate-sheet { padding: 22px 20px 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
