/* Tech Checkup — senior-friendly styles. Mobile-first, high contrast, big text. */
:root {
  --ink: #111111;
  --ink-soft: #3D5A73;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --brand: #174A7C;       /* deep blue, 8.6:1 on white */
  --brand-dark: #0F355B;
  --accent: #ffd23f;      /* focus ring / highlight */
  --ok: #0E6E70;
  --border: #c9d3df;
  --radius: 14px;
  --max: 56rem;
}

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

html { font-size: 125%; /* 20px base */ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: Verdana, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
p, li { font-size: 1rem; max-width: 40em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin-bottom: 0.5em; }
strong { font-weight: 700; }

a { color: var(--brand); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 0.14em; }

:focus-visible {
  outline: 4px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 8px var(--accent);
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 0.5rem; top: -10rem;
  background: var(--accent); color: var(--ink);
  padding: 0.8rem 1.2rem; font-weight: 700; z-index: 10; border-radius: 8px;
}
.skip-link:focus { top: 0.5rem; }

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

/* Header */
.site-header { background: var(--brand); color: #fff; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.8rem; padding-bottom: 0.8rem; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: none; min-height: 48px; }
.logo:hover { color: #fff; }
.logo svg { width: 40px; height: 40px; flex: none; }
.header-link { color: #fff; font-weight: 700; display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.3rem; }
.header-link:hover { color: #fff; }

/* Sections */
section { padding: 2.6rem 0; scroll-margin-top: 1rem; }
section:nth-of-type(even) { background: var(--bg-alt); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* Hero */
.hero { background: #EAF3FA; padding: 2.8rem 0 3rem; border-bottom: 4px solid var(--brand); }
.hero h1 { font-size: 2.1rem; }
.hero .lead { font-size: 1.2rem; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; align-items: stretch; }
.trust-line { margin-top: 1.4rem; font-size: 0.95rem; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 60px; padding: 0.85rem 1.5rem;
  font-size: 1.1rem; font-weight: 700; font-family: inherit; text-align: center;
  border-radius: var(--radius); border: 3px solid var(--brand);
  text-decoration: none; cursor: pointer; line-height: 1.3;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand); }
.btn-secondary:hover { background: #EAF3FA; color: var(--brand-dark); }
.btn-play { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-play:hover { background: #333; color: #fff; }
.btn small { display: block; font-weight: 400; font-size: 0.85rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.2rem; counter-reset: step; }
.steps li { max-width: none; margin: 0; background: #fff; border: 2px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.2rem 4.6rem; position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 1.1rem; top: 1.1rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; }

/* Cards */
.cards { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.card { background: #fff; border: 2px solid var(--border); border-radius: var(--radius); padding: 1.3rem; }
.card p:last-child { margin-bottom: 0; }
.price { font-size: 2rem; font-weight: 700; color: var(--brand); margin: 0 0 0.3em; line-height: 1.1; }
.price-note { font-size: 0.95rem; color: var(--ink-soft); }

/* Callout */
.callout { background: #fff8db; border-left: 8px solid #b38600; border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.checklist li { max-width: none; margin: 0; background: #fff; border: 2px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem 1rem 3.4rem; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 1rem; top: 0.95rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--ok); color: #fff; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}

/* Download */
.download-box { background: #fff; border: 3px solid var(--brand); border-radius: var(--radius); padding: 1.5rem 1.3rem; text-align: center; }
.download-box p { margin-left: auto; margin-right: auto; }
.badge-soon { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; padding: 0.3rem 0.9rem; border-radius: 999px; margin-bottom: 1rem; font-size: 0.95rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 1.2rem; }
.contact-list li { max-width: none; margin: 0; }
.contact-list a { display: flex; flex-direction: column; min-height: 60px; justify-content: center; padding: 0.8rem 1.1rem; border: 2px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 1.1rem; font-weight: 700; overflow-wrap: break-word; }
.contact-list a { text-decoration: none; }
.contact-list .value { text-decoration: underline; text-underline-offset: 0.18em; }
.contact-list .label { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; text-decoration: none; }

/* Footer */
.site-footer { background: #111; color: #fff; padding: 2rem 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { font-size: 0.95rem; }
.footer-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0 0 1rem; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }

/* Policy page */
.policy { padding: 2rem 0 3rem; }
.policy h2 { margin-top: 2rem; font-size: 1.4rem; padding-top: 1rem; border-top: 2px solid var(--border); }
.policy .meta { color: var(--ink-soft); }
.policy .toc { background: var(--bg-alt); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.policy .toc h2 { border: 0; margin-top: 0; padding-top: 0; font-size: 1.2rem; }
.policy .toc li { margin-bottom: 0.2em; }
.policy .toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.2rem 0; }
.placeholder { background: #fff3b0; padding: 0 0.25em; border-radius: 4px; outline: 2px dashed #b38600; }

/* Larger screens */
@media (min-width: 700px) {
  h1, .hero h1 { font-size: 2.7rem; }
  h2 { font-size: 1.9rem; }
  .hero { padding: 4rem 0 4.2rem; }
  .hero-actions { flex-direction: row; align-items: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 4.4rem 1.3rem 1.3rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .contact-list { grid-template-columns: repeat(2, 1fr); }
  section { padding: 3.5rem 0; }
}

/* Why different: comparison */
.compare { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.compare-col { border-radius: var(--radius); padding: 1.3rem; border: 2px solid var(--border); background: #fff; }
.compare-us { border: 3px solid var(--ok); background: #eef8f0; }
.compare-col h3 { margin-bottom: 0.8em; }
.xlist { list-style: none; padding: 0; margin: 0; }
.xlist li { position: relative; padding-left: 2.6rem; margin-bottom: 1rem; max-width: none; }
.xlist li:last-child { margin-bottom: 0; }
.xlist li::before {
  content: "✕"; position: absolute; left: 0; top: 0.05rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: #8a1c1c; color: #fff; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.checklist.plain { margin: 0; gap: 0; }
.checklist.plain li { background: none; border: 0; padding: 0 0 0 2.6rem; margin-bottom: 1rem; }
.checklist.plain li:last-child { margin-bottom: 0; }
.checklist.plain li::before { left: 0; top: 0.05rem; }

/* Bio */
.bio { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-top: 1rem; }
.bio-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; flex: none; border: 5px solid var(--brand); }
.bio-initials { display: flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-size: 3.4rem; font-weight: 700; letter-spacing: 0.05em; border-color: var(--accent); }
.bio-text p:last-child { margin-bottom: 0; }

/* Pricing groups */
.group-title { font-size: 1.35rem; margin: 2.2rem 0 0; padding-bottom: 0.3em; border-bottom: 3px solid var(--brand); display: inline-block; }
.price-unit { font-size: 1rem; font-weight: 700; color: var(--ink-soft); margin-top: -0.3em; }
.price-per { font-size: 1.1rem; color: var(--ink-soft); }
.price .placeholder { outline-width: 3px; }
.card .btn { width: 100%; }

@media (min-width: 700px) {
  .compare { grid-template-columns: 1fr 1fr; }
  .bio { flex-direction: row; align-items: flex-start; gap: 2.2rem; }
  .bio-photo { width: 200px; height: 200px; }
  .card .btn { width: auto; }
}
.checklist.plain { grid-template-columns: 1fr; }
.price-per { margin-left: 0.3em; }
.price-unit .placeholder { margin-right: 0.15em; }
.price-sub { font-size: 1rem; color: var(--ink-soft); }
.price-sub strong { color: var(--ink); }
li > ul { margin-top: 0.5em; }

.contact-list.single { grid-template-columns: 1fr; max-width: 32rem; }

/* ===== Brand (approved logo, Oct 2026) ===== */
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-bold.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --brand-grad: linear-gradient(135deg, #1E6FB8, #17A2A4);        /* decorative only */
  --brand-grad-strong: linear-gradient(135deg, #1A5E9E, #0E6E70); /* behind white text (>= 6:1) */
  --tech: #174A7C;
  --checkup: #138E90;
  --teal-text: #0E6E70;
  --tagline: #3D5A73;
}
h1, h2, h3, .price, .btn, .badge-soon { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2 { letter-spacing: -0.01em; }

/* Header: white so the full-colour logo reads well; brand gradient as a bar */
.site-header { background: #fff; color: var(--ink); border-bottom: 5px solid transparent; border-image: var(--brand-grad) 1; box-shadow: 0 2px 10px rgba(23, 74, 124, 0.08); }
.site-header .container { flex-wrap: nowrap; }
.logo { min-height: 48px; display: inline-flex; align-items: center; border-radius: 8px; }
.logo img { display: block; height: 44px; width: auto; }
.header-tagline { display: none; margin: 0 auto 0 1.2rem; color: var(--tagline); font-size: 0.9rem; font-weight: 600; }
.header-link { color: var(--tech); border: 2px solid var(--tech); background: #fff; border-radius: 999px; padding: 0 1rem; text-decoration: none; }
.header-link:hover { color: #fff; background: var(--tech); }

/* Hero tint from the brand banners */
.hero { background: linear-gradient(135deg, #F3F8FC, #E4F5F5); border-bottom: 0; }
.hero::after { content: ""; display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--brand-grad); }
.hero { position: relative; }

.btn-primary { background: var(--brand-grad-strong); border-color: transparent; color: #fff; }
.btn-primary:hover { background: var(--tech); border-color: var(--tech); color: #fff; }
.steps li::before, .bio-initials { background: var(--brand-grad-strong); }

/* Footer brand line */
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.2rem; font-size: 1rem; color: #fff; }
.footer-brand img { width: 40px; height: 40px; flex: none; border-radius: 10px; }

@media (min-width: 900px) {
  .header-tagline { display: block; }
}
@media (max-width: 699px) {
  .logo img { height: 40px; }
  .header-link { padding: 0 0.85rem; font-size: 0.95rem; }
}
@media (max-width: 359px) { .logo img { height: 34px; } .header-link { padding: 0 0.7rem; font-size: 0.9rem; } .site-header .container { gap: 0.5rem; } }
