/* Data Protect Canada storefront */
:root {
  --navy: #13325b;
  --navy-deep: #0b2140;
  --red: #d52b1e;
  --ink: #1b2333;
  --muted: #5b6577;
  --line: #e3e7ee;
  --soft: #f4f6f9;
  --white: #fff;
  --ok: #1d7a46;
  --radius: 12px;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 8px 24px rgb(16 24 40 / 6%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3, .h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #4d8fe8; outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin-bottom: 0.8em; }
.fine { font-size: 0.85rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { border-color: #c5cdd9; color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-small { padding: 6px 12px; font-size: 0.85rem; border-color: #c5cdd9; background: #fff; color: var(--navy); }
.btn-small:hover { border-color: var(--navy); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 92%); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 84px; height: auto; mix-blend-mode: multiply; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-name span { color: var(--red); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current] { background: var(--soft); color: var(--navy); }
.nav-phone { color: var(--navy) !important; font-weight: 600 !important; }
@media (max-width: 640px) {
  .brand-name { display: none; }
  .nav a { padding: 6px 8px; font-size: 0.95rem; }
  .nav-phone { display: none; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #e6eefb 0%, transparent 60%), linear-gradient(180deg, #f8fafd, #fff); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding: 72px 0 80px; }
.hero h1 { max-width: 16ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-visual { display: flex; justify-content: center; }
.hero-logo { display: block; width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 18px 30px rgb(19 50 91 / 12%)); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 56px; gap: 40px; }
}

/* Sections */
.section { padding: 72px 0; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd7e3; color: inherit; }
.product-media { aspect-ratio: 16 / 10; background: var(--soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.product-body h3 { margin: 4px 0 8px; font-size: 1.15rem; }
.product-body p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.price { font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.price small { font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.options { font-size: 0.85rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Trust */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.trust p { color: var(--muted); }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-list li { border-left: 3px solid var(--red); padding: 4px 0 4px 14px; }
.trust-list strong { display: block; }
.trust-list span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 860px) { .trust, .trust-list { grid-template-columns: 1fr; gap: 32px; } .trust-list { gap: 16px; } }

/* Product page */
.crumbs { font-size: 0.85rem; color: var(--muted); padding: 20px 0 0; }
.crumbs a { color: var(--muted); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; padding: 24px 0 80px; align-items: start; }
.product-hero-media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soft); margin-bottom: 28px; aspect-ratio: 16 / 9; }
.product-hero-media img { width: 100%; height: 100%; object-fit: contain; }
.product-main h1 { margin-top: 4px; }
.product-main h2 { font-size: 1.25rem; margin-top: 2em; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 28px; position: relative; margin: 8px 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: #e5f4ec; }
.checklist li::after { content: ""; position: absolute; left: 7px; top: calc(0.35em + 4px); width: 5px; height: 8px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.numbered { padding-left: 1.3em; }
.numbered li { margin: 6px 0; }
.faq h3 { font-size: 1.05rem; margin: 20px 0 6px; }
.faq p, .faq ul { margin: 0 0 8px; }

.buy-box { position: sticky; top: 92px; }
.buy-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.buy-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.buy-form legend { font-weight: 700; margin-bottom: 10px; }
.option-list { display: grid; gap: 8px; }
.option { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.option:hover { border-color: #b8c3d3; }
.option:has(input:checked) { border-color: var(--navy); background: #f2f6fc; }
.option input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.option-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.option-devices { font-weight: 600; }
.option-term { font-size: 0.85rem; color: var(--muted); }
.option-price { font-weight: 700; color: var(--navy); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 0.9rem; font-weight: 600; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea { font: 400 1rem var(--font); padding: 10px 12px; border: 1.5px solid #cfd6e1; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgb(19 50 91 / 15%); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding: 14px 0 4px; font-size: 1.05rem; }
.total-row strong { font-size: 1.4rem; color: var(--navy); }
.total-row small { color: var(--muted); }
.paypal-buttons { margin-top: 14px; min-height: 50px; }
.form-error { background: #fdecea; color: #8a1c13; border-radius: 8px; padding: 10px 12px; font-size: 0.9rem; margin: 10px 0; }
.notice { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-top: 14px; font-size: 0.95rem; }
.notice-success { background: #e9f6ef; border-color: #bfe3cd; color: #134e2c; }
.buy-assurances { list-style: none; padding: 0; margin: 18px 4px 0; font-size: 0.9rem; color: var(--muted); display: grid; gap: 6px; }
.buy-assurances li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
@media (max-width: 920px) {
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .buy-box { position: static; order: -1; }
  .product-hero-media { display: none; }
}

/* Generic pages */
.page { padding: 48px 0 80px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 4px 0; }
.stack { display: flex; flex-direction: column; }
.hp { position: absolute; left: -9999px; }
.contact-grid { display: grid; grid-template-columns: 1fr 220px; gap: 48px; margin-top: 24px; }
.contact-aside h2 { margin-top: 0; margin-bottom: 2px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* Order page */
.progress { list-style: none; display: flex; padding: 0; margin: 28px 0; gap: 6px; counter-reset: s; }
.progress li { flex: 1; text-align: center; font-size: 0.85rem; padding: 10px 6px; border-radius: 8px; background: var(--soft); color: var(--muted); }
.progress .done { background: var(--navy); color: #fff; }
.progress .current { background: #e6eefb; color: var(--navy); font-weight: 600; }
.order-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
.order-item-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.key-row { display: flex; gap: 10px; align-items: center; margin: 8px 0 14px; }
.license-key { flex: 1; font: 1.05rem var(--mono); background: var(--soft); border: 1px dashed #c5cdd9; border-radius: 8px; padding: 12px 14px; word-break: break-all; color: var(--navy); }
.order-total { margin: 8px 0 24px; }
.order-total div { display: flex; justify-content: space-between; padding: 6px 4px; }
.order-total .grand { font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c6d0de; font-size: 0.92rem; }
.site-footer a { color: #e3e9f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; padding: 56px 0 36px; }
.footer-brand { font-weight: 700; color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand span { color: #ff6b5e; }
.site-footer h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / 12%); padding: 18px 0 28px; font-size: 0.8rem; color: #93a1b6; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
.buy-title { display: none; }
@media (max-width: 920px) {
  .buy-title { display: flex; flex-direction: column; margin-bottom: 14px; }
  .buy-title strong { font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.2; }
}
