/* Giant Concepts – styles for the Cyber Risk & Safety, checkout and downloads pages.
   Works alongside styles.css (header, footer and base styles). */

:root {
  --ink: #1E2329;
  --body: #3A414A;
  --muted: #525A63;
  --rule: #DDE1E6;
  --bg: #F6F7F9;
  --card: #FFFFFF;
  --accent: #1C6FA8;
  --accent-dark: #134E78;
  --sky: #52ABE2;
  --navy: #17324A;
  --navy-line: #2E4D66;
  --ok: #1E7A4C;
  --warn: #9A5B00;
}

.p-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.p-section { padding: 88px 0; }
.p-section--white { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.p-section--navy { background: var(--navy); color: #FFFFFF; }
.p-eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.p-section--navy .p-eyebrow { color: var(--sky); }
.p-h1 { margin: 0; max-width: 980px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: clamp(2.4rem, 5.5vw, 4.25rem); line-height: 1.04; letter-spacing: -.03em; }
.p-h2 { margin: 0 0 16px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; }
.p-h3 { margin: 0 0 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 21px; line-height: 1.25; }
.p-lead { margin: 0; max-width: 760px; font-size: 20px; line-height: 1.55; color: var(--body); }
.p-section--navy .p-lead { color: #D2DAE2; }
.p-text { margin: 0 0 14px; color: var(--muted); }
.p-section--navy .p-text { color: #C8D3DD; }
.p-small { font-size: 14px; color: var(--muted); }
.p-section--navy .p-small { color: #A8BACB; }

.p-hero { padding: 88px 0 72px; }
.p-hero .p-lead { margin-top: 28px; }
.p-breadcrumb { margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.p-breadcrumb a { color: var(--accent); }

.p-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.p-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: Inter, system-ui, sans-serif; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 0; }
.p-btn--primary { background: var(--accent); color: #FFFFFF; }
.p-btn--primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.p-btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.p-btn--ghost:hover { color: var(--ink); background: #EEF1F4; }
.p-btn--sky { background: var(--sky); color: #0D2233; }
.p-btn--sky:hover { background: #8CCBF0; color: #0D2233; }
.p-btn--light { background: #FFFFFF; color: var(--ink); }
.p-btn--light:hover { background: #E7EAEE; color: var(--ink); }
.p-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.p-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.p-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px 64px; align-items: start; }
.p-card { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 28px; }
.p-card .p-text:last-child { margin-bottom: 0; }
.p-card--navy { background: #10263A; border-color: var(--navy-line); }
.p-icon { width: 44px; height: 44px; border-radius: 12px; background: #E3F1FB; color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

.p-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.p-ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.p-ticks svg { flex: none; margin-top: 4px; color: var(--sky); }
.p-section--navy .p-ticks li { color: #E7EAEE; }

/* Tiers */
.p-tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: 40px; }
.p-tier { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.p-tier img { width: 88px; height: 88px; }
.p-tier h3 { margin: 6px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.p-tier p { margin: 0; font-size: 15px; color: var(--muted); }
.p-tag { align-self: start; display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #EEF1F4; color: var(--body); }
.p-tag--audit { background: #FFF1DD; color: var(--warn); }
.p-tierstrip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.p-tierstrip img { width: 72px; height: 72px; }

/* Steps */
.p-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.p-steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 8px 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.p-steps li::before { content: counter(s, decimal-leading-zero); font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; color: var(--accent); padding-top: 2px; }
.p-steps h3 { margin: 0 0 4px; font-family: 'Space Grotesk', sans-serif; font-size: 19px; }
.p-steps p { margin: 0; color: var(--muted); }

/* Quiz */
.p-quiz { background: var(--card); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(24px, 4vw, 48px); }
.p-quiz fieldset { border: 0; margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid var(--rule); }
.p-quiz legend { padding: 0; margin-bottom: 14px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--ink); }
.p-qnum { color: var(--accent); margin-right: 6px; }
.p-options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.p-option { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; min-height: 44px; border: 1.5px solid var(--rule); border-radius: 12px; cursor: pointer; background: #FBFCFD; color: var(--body); font-size: 15.5px; line-height: 1.4; }
.p-option:hover { border-color: #AFC7DA; }
.p-option input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.p-option:has(input:checked) { border-color: var(--accent); background: #EEF6FC; color: var(--ink); }
.p-option input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-quiz-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.p-progress { font-size: 14px; color: var(--muted); }
.p-error { margin: 12px 0 0; color: #A61B1B; font-weight: 500; }
.p-result { margin-top: 32px; border-radius: 22px; padding: clamp(24px, 4vw, 44px); background: var(--navy); color: #FFFFFF; }
.p-result[hidden] { display: none; }
.p-result-head { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.p-result-head img { width: 112px; height: 112px; }
.p-result h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.1; }
.p-result .p-eyebrow { margin-bottom: 8px; }
.p-result p { color: #D2DAE2; }
.p-result ul { margin: 0; padding-left: 20px; color: #E7EAEE; display: grid; gap: 8px; }
.p-result-cols { display: grid; gap: 28px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 28px; }
.p-result h4 { margin: 0 0 10px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.p-note { font-size: 13.5px; color: #A8BACB; margin: 24px 0 0; }

/* Teaser */
.p-teaser { position: relative; }
.p-locked { position: relative; border-radius: 18px; overflow: hidden; }
.p-locked-body { filter: blur(3.5px); user-select: none; pointer-events: none; opacity: .75; }
.p-locked-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; background: linear-gradient(180deg, rgba(246,247,249,0) 0%, rgba(246,247,249,.92) 38%, rgba(246,247,249,1) 100%); }
.p-locked-cover strong { font-family: 'Space Grotesk', sans-serif; font-size: 20px; color: var(--ink); }
.p-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.p-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.p-filecard { display: flex; gap: 18px; align-items: center; padding: 20px 22px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
.p-filecard .p-fileicon { flex: none; width: 48px; height: 58px; border-radius: 8px; background: #E3F1FB; color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.p-filecard h3 { margin: 0 0 2px; font-size: 17px; font-family: 'Space Grotesk', sans-serif; }
.p-filecard p { margin: 0; font-size: 14px; color: var(--muted); }
.p-filecard .p-btn { margin-left: auto; }
@media (max-width: 560px) { .p-filecard { flex-wrap: wrap; } .p-filecard .p-btn { margin-left: 0; width: 100%; } }

/* Checkout */
.p-summary { display: grid; gap: 0; }
.p-summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--body); }
.p-summary-row--total { border-bottom: 0; font-weight: 700; color: var(--ink); font-size: 18px; }
.p-check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; font-size: 15px; color: var(--body); cursor: pointer; }
.p-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.p-secure { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 16px; }
.p-alert { padding: 16px 18px; border-radius: 12px; background: #FFF6E5; border: 1px solid #F1D29B; color: #5C3A00; font-size: 15px; }
.p-alert[hidden] { display: none; }
.p-alert--ok { background: #E8F6EE; border-color: #A9D9BE; color: #14512F; }

.p-disclaimer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--muted); }
.p-section--navy .p-disclaimer { border-top-color: var(--navy-line); color: #A8BACB; }

/* Home page teaser section */
.p-home-cyber { display: grid; gap: 40px 64px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: center; }

@media print {
  header, footer, .p-actions, .p-quiz-foot { display: none !important; }
}

/* Utilities and variants */
.u-mt12 { margin-top: 12px; } .u-mt16 { margin-top: 16px; } .u-mt18 { margin-top: 18px; } .u-mt20 { margin-top: 20px; }
.u-mt24 { margin-top: 24px; } .u-mt32 { margin-top: 32px; } .u-mt36 { margin-top: 36px; } .u-mt40 { margin-top: 40px; }
.u-mt0 { margin-top: 0; } .u-mb8 { margin-bottom: 8px; } .u-mb24 { margin-bottom: 24px; }
.p-hero--tight { padding: 64px 0 24px; }
.p-h1--sm { font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
.p-section--top0 { padding-top: 24px; }
.p-btn--block { display: flex; width: 100%; }
.p-h3--file { font-size: 17px; margin: 0 0 2px; }
.p-steps--flush { border-top: 0; }
.p-steps--navy { border-top-color: var(--navy-line); }
.p-steps--navy li { border-bottom-color: var(--navy-line); }
.p-steps--navy p { color: #C8D3DD; }
.p-result-summary { margin: 10px 0 0; }

[hidden] { display: none !important; }
.p-hero--home { padding: 80px 0 88px; }
.p-hero--home .p-h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); }
@media (min-width: 960px) { .p-hero--home .p-home-cyber { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

/* Shop: example reports and packs */
.p-peek { margin-top: 40px; }
.p-peek-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 16px; }
.p-peek-row figure { margin: 0; }
.p-peek-row img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: top; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.p-peek-row figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.p-products { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 40px; align-items: stretch; }
.p-product { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.p-product-head { display: flex; gap: 14px; align-items: center; }
.p-product-head img { width: 64px; height: 64px; }
.p-product h4 { margin: 0 0 4px; font-family: 'Space Grotesk', sans-serif; font-size: 17px; color: var(--ink); }
.p-product-item { display: flex; gap: 14px; align-items: flex-start; padding-top: 18px; border-top: 1px solid var(--rule); }
.p-product-item p { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); }
.p-product-item--pack { flex-direction: column; gap: 10px; flex: 1; }
.p-product-item--pack .p-btn { margin-top: auto; }
.p-product-thumb { flex: none; width: 92px; height: 120px; object-fit: cover; object-position: left top; border: 1px solid var(--rule); border-radius: 8px; }
.p-mini { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--body); display: grid; gap: 4px; }
.p-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.p-card--wide { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.p-card--wide > div:nth-child(2) { flex: 1 1 360px; }
.p-card--wide .p-tierstrip img { width: 64px; height: 64px; }
.p-product .p-price { font-size: 36px; margin: 6px 0; }
.p-choose { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 24px; }
.p-choose a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; min-height: 44px; }
.p-choose a:hover { border-color: var(--accent); }
.p-choose span { color: var(--muted); font-weight: 500; }

/* Landing page header: on phones keep just the logo and call button */
@media (max-width: 720px) {
  .p-landing-nav { display: none; }
}

/* Giant Secure brand, done-for-you plans and documents list */
.p-brandtag { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .02em; color: var(--accent-dark); padding: 6px 12px; border-radius: 999px; background: #E3F1FB; white-space: nowrap; }
.p-grid--plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.p-plan { display: flex; flex-direction: column; }
.p-plan .p-btn--block { margin-top: auto; }
.p-plan .p-ticks { margin-bottom: 24px; }
.p-docs li { grid-template-columns: 56px 1fr auto; align-items: start; }
.p-docs .p-tag { margin-top: 2px; }
@media (max-width: 560px) {
  .p-docs li { grid-template-columns: 40px 1fr; }
  .p-docs .p-tag { grid-column: 2; justify-self: start; }
  .p-brandtag { font-size: 13px; padding: 4px 10px; }
}
.p-grid--files { grid-template-columns: 1fr; gap: 12px; max-width: 820px; }

/* In-app browser help and "keep this link" */
.u-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.u-mb16 { margin-bottom: 16px; }
.p-inapp { margin-top: 24px; padding: 22px 24px; border-radius: 16px; background: #FFF6E0; border: 1px solid #F0CF7A; max-width: 820px; }
.p-inapp .p-text { margin: 8px 0 0; }
.p-keep { max-width: 820px; box-sizing: border-box; }
.p-copyrow { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.p-copyfield { flex: 1 1 260px; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 0 14px; border: 1px solid var(--rule); border-radius: 10px; background: #FFFFFF; font: 14px/1.2 Inter, system-ui, sans-serif; color: var(--body); }
.p-copyrow .p-btn { flex: none; }
button.p-btn { font-family: Inter, system-ui, sans-serif; }
.p-alert--test { background: #FDE8E8; border-color: #E9A3A3; color: #7A1414; }
@media (min-width: 721px) and (max-width: 1180px) { .p-brandtag { display: none; } }
