/* Ambrivon VPN — shared website and legal document styles */
:root { color-scheme: light; --navy: #101b38; --ink: #172444; --muted: #52617c; --lime: #d2f46b; --line: #dbe2ee; --paper: #f3f6fa; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: #2552a3; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid #6c95ec; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.topbar, .legal-topbar { background: var(--navy); color: #fff; }
.nav, .legal-topbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand, .legal-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 750; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; flex: none; color: var(--navy); background: var(--lime); border-radius: 10px 10px 10px 2px; font-size: 22px; font-weight: 900; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.nav-links a, .legal-home { color: #eef3ff; text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-links a:hover, .legal-home:hover { color: var(--lime); }
.nav-links .nav-button { color: var(--navy); background: var(--lime); padding: 10px 18px; border-radius: 5px; }
.site-page .hero { color: white; background: var(--navy); overflow: hidden; }
.hero-inner { position: relative; padding-block: 88px 118px; }
.hero-inner::after { content: ""; position: absolute; right: 2%; top: 40px; width: min(31vw, 330px); aspect-ratio: 1; border: 1px solid #8ca8d0; border-radius: 50%; box-shadow: 0 0 0 38px #ffffff08, 0 0 0 76px #ffffff08; opacity: .65; pointer-events: none; }
.kicker, .eyebrow { display: inline-block; color: #c5e980; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-page h1 { position: relative; z-index: 1; max-width: 760px; margin: 24px 0 20px; font-size: clamp(48px, 7.4vw, 88px); letter-spacing: -.065em; line-height: 1.02; }
.hero-copy { position: relative; z-index: 1; max-width: 560px; color: #c6d0e6; font-size: 18px; }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { display: inline-block; padding: 12px 17px; border: 1px solid #7a8eaf; border-radius: 5px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.button-primary { border-color: var(--lime); background: var(--lime); color: var(--navy); }
.button:hover { transform: translateY(-2px); }
.summary-band { position: relative; margin-top: -42px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border: 1px solid var(--line); box-shadow: 0 16px 35px #14274c16; }
.summary-item { padding: 23px 28px; min-width: 0; }
.summary-item + .summary-item { border-left: 1px solid var(--line); }
.label, .info-row > span { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.value { margin-top: 4px; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.site-page .section { padding-top: 82px; }
.section-header { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-header h2 { max-width: 550px; margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.section-note { max-width: 470px; margin: 0; color: var(--muted); }
.product-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 38px; background: #e5ecf7; }
.product-lead p { margin-top: 0; font-size: 19px; }
.product-note { padding-left: 16px; border-left: 3px solid #82ad24; color: var(--muted); }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 16px; }
.metric { display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: 14px; }
.metric strong { font-size: 19px; }
.metric span { color: var(--muted); font-size: 13px; }
.info-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.info-panel { min-width: 0; background: white; padding: 30px; border: 1px solid var(--line); }
.info-title { margin-bottom: 20px; font-size: 20px; font-weight: 800; }
.info-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.info-row strong { font-size: 14px; overflow-wrap: anywhere; }
.legal-list { display: grid; gap: 12px; }
.legal-link { display: flex; flex-direction: column; gap: 6px; padding: 18px; color: var(--ink); background: #f0f4fa; text-decoration: none; }
.legal-link:hover { background: #e4eccf; }
.legal-link span { color: #52617c; font-size: 12px; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; padding: 26px 30px; background: #d2f46b; }
.contact-panel strong, .contact-panel span { display: block; }
.contact-panel span { font-size: 14px; }
.contact-panel a { color: var(--navy); font-weight: 800; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 55px 35px; color: var(--muted); font-size: 13px; }
/* Legal documents use a broad header and a single reading column. */
.legal-topbar { padding-inline: max(24px, calc((100% - 1160px) / 2)); }
.legal-page .page { counter-reset: legal-section; padding-bottom: 75px; }
.legal-page .hero { padding: 74px max(24px, calc((100% - 1000px) / 2)) 55px; color: white; background: var(--navy); }
.legal-page .hero h1 { margin: 16px 0; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.055em; line-height: 1.05; }
.legal-page .summary { max-width: 680px; color: #c6d0e6; font-size: 17px; }
.meta-grid { display: flex; flex-wrap: wrap; gap: 24px 38px; margin-top: 38px; padding-top: 25px; border-top: 1px solid #ffffff35; }
.meta-card { min-width: 125px; max-width: 100%; }
.meta-label { display: block; color: #a8bad5; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.meta-value { margin-top: 5px; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.legal-page .section { width: min(1000px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0; border-bottom: 1px solid #ced9e8; }
.legal-page .section h2 { counter-increment: legal-section; display: flex; align-items: baseline; gap: 20px; margin: 0 0 18px; font-size: clamp(23px, 3vw, 29px); letter-spacing: -.03em; line-height: 1.25; }
.legal-page .section h2::before { content: counter(legal-section, decimal-leading-zero); flex: none; color: #769137; font-size: 13px; letter-spacing: .05em; }
.legal-page .section p, .legal-page .section ul { max-width: 850px; margin: 0 0 16px 44px; }
.legal-page .section p:last-child { margin-bottom: 0; }
.legal-page .section li { margin-bottom: 8px; }
.note, .contact-card { margin: 24px 0 24px 44px; padding: 23px; border-left: 4px solid #b4db4c; background: white; }
.legal-page .note p, .legal-page .note ul, .legal-page .contact-card p { margin-left: 0; }
.legal-page .contact-card p:last-child { margin-bottom: 0; }
.legal-page hr { border: 0; }
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .nav { padding-block: 16px; align-items: flex-start; }
  .nav-links { justify-content: flex-end; gap: 10px 16px; }
  .nav-links a { font-size: 12px; }
  .nav-links .nav-button { padding: 5px 10px; }
  .hero-inner { padding-block: 70px 105px; }
  .hero-inner::after { width: 180px; right: -100px; opacity: .3; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-item { padding: 15px 20px; }
  .summary-item + .summary-item { border-left: 0; border-top: 1px solid var(--line); }
  .section-header, .product-panel, .info-layout { grid-template-columns: 1fr; }
  .section-header { gap: 15px; }
  .site-page .section { padding-top: 58px; }
  .product-panel { padding: 24px; gap: 24px; }
  .contact-panel, .footer { align-items: flex-start; flex-direction: column; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .legal-page .hero { padding-block: 52px 40px; }
  .legal-page .section { width: calc(100% - 32px); padding-block: 30px; }
  .legal-page .section h2 { gap: 12px; }
  .legal-page .section p, .legal-page .section ul { margin-left: 0; }
  .note, .contact-card { margin-left: 0; padding: 18px; }
  .meta-grid { gap: 20px; }
}
