/* Atlas X VPN — cartographic theme
   Palette: chart navy, deep sea, route signal, glacier, slate */
:root {
	--navy: #0E2A47;
	--sea: #071A2E;
	--signal: #F2C230;
	--signal-dark: #D9A915;
	--glacier: #EAF0F4;
	--slate: #4E6478;
	--line: #C9D5DF;
	--white: #FFFFFF;
	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
	--radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--navy);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--slate); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
h1, h2, h3 { font-stretch: 125%; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--signal); color: var(--sea); padding: 8px 14px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: .8em 1.4em; border-radius: var(--radius);
	font-weight: 700; font-stretch: 110%; text-decoration: none;
	border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
	cursor: pointer;
}
.btn-small { padding: .5em 1em; font-size: .95rem; }
.btn-signal { background: var(--signal); color: var(--sea); }
.btn-signal:hover { background: var(--signal-dark); color: var(--sea); }
.btn-ink { background: var(--navy); color: var(--white); }
.btn-ink:hover { background: var(--sea); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sea); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 800; font-stretch: 125%; font-size: 1.15rem; }
.brand:hover { color: var(--white); }
.brand-logo { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.site-nav nav, .site-nav > .menu { margin-right: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav .current-menu-item a { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { color: var(--sea); }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 5px; border-radius: 10px; background: rgba(255,255,255,.15); font-size: .75rem; font-weight: 700; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: var(--white); margin: auto; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; } .nav-toggle-bars::after { top: 7px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--sea); color: var(--white); padding: 96px 0 104px; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.contour { fill: none; stroke: #5D8BB3; stroke-width: 1; opacity: .28; }
.contour.c0 { stroke: var(--signal); opacity: .9; stroke-width: 1.5; }
.contour.c1 { stroke: var(--signal); opacity: .5; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 850; line-height: 1.02; max-width: 12ch; margin-bottom: .45em; }
.hero-text { font-size: 1.2rem; color: rgba(255,255,255,.8); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Atlas index: the signature element */
.atlas-index { background: rgba(7,26,46,.82); border: 1px solid rgba(242,194,48,.45); border-radius: var(--radius); padding: 22px 24px 10px; backdrop-filter: blur(4px); }
.atlas-index-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--signal); padding-bottom: 10px; margin-bottom: 4px; }
.atlas-index-head h2 { font-size: 1.1rem; margin: 0; }
.atlas-index-head p { margin: 0; color: var(--signal); font-size: .9rem; font-weight: 600; }
.atlas-index table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.atlas-index thead th { text-align: left; font-weight: 500; font-size: .8rem; color: rgba(255,255,255,.55); padding: 10px 0 6px; }
.atlas-index tbody th, .atlas-index td { text-align: left; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.atlas-index tbody th { font-weight: 700; }
.atlas-index td { color: rgba(255,255,255,.75); }
.atlas-index .coord { text-align: right; font-variant-numeric: tabular-nums; font-stretch: 85%; white-space: pre; }

/* Sections */
.section { padding: 96px 0; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; }
.section-head p { max-width: 42ch; color: var(--slate); margin: 0; }

.steps { list-style: none; counter-reset: step; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.steps li { counter-increment: step; padding: 0 32px 0 0; position: relative; }
.steps li::before {
	content: counter(step); display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy);
	font-weight: 800; font-stretch: 125%; margin-bottom: 20px; background: var(--white); position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; border-top: 2px dashed var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--slate); max-width: 32ch; }

.plans { background: var(--glacier); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan-featured { border: 2px solid var(--navy); box-shadow: 8px 8px 0 var(--signal); }
.plan-flag { align-self: flex-start; background: var(--signal); color: var(--sea); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 3px; margin-bottom: 14px; }
.plan-name { font-size: 1.35rem; margin-bottom: 8px; }
.plan-price { font-size: 2.1rem; font-weight: 800; font-stretch: 125%; margin-bottom: 14px; }
.plan-price del { font-size: 1.1rem; color: var(--slate); font-weight: 500; margin-right: 6px; }
.plan-price ins { text-decoration: none; }
.plan-desc { color: var(--slate); flex: 1; }
.plan-desc ul { padding-left: 1.1em; margin: 0 0 1em; }
.plan-btn { margin-top: 12px; width: 100%; }
.notice-admin { background: #FFF6D6; border-left: 4px solid var(--signal); padding: 14px 18px; }

.device-list { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); }
.device-list > div { padding: 22px 20px 0 0; }
.device-list dt { font-weight: 800; font-stretch: 115%; margin-bottom: 6px; }
.device-list dd { margin: 0; color: var(--slate); }

.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; font-size: 1.1rem; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--slate); max-width: 62ch; padding-bottom: 20px; margin: 0; }

.closing { background: var(--navy); color: var(--white); padding: 72px 0; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.closing h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; max-width: 20ch; }

/* Inner pages */
.page-head { background: var(--sea); color: var(--white); padding: 64px 0 48px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.content-area { padding: 56px 0 88px; }
.entry { max-width: 72ch; }
.entry h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry img { border-radius: var(--radius); }
.entry code { background: var(--glacier); padding: 2px 6px; border-radius: 3px; font-size: .92em; }
.post-list { display: grid; gap: 32px; max-width: 72ch; }
.post-item h2 { font-size: 1.4rem; margin-bottom: .3em; }
.post-item h2 a { text-decoration: none; }

/* Footer */
.site-footer { background: var(--sea); color: rgba(255,255,255,.75); padding: 64px 0 24px; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 36ch; margin-top: 14px; }
.footer-title { font-size: 1rem; color: var(--white); font-stretch: 110%; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* WooCommerce harmonisation */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: var(--navy); color: var(--white); border-radius: var(--radius); font-family: var(--font); font-weight: 700; padding: .8em 1.4em;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--sea); color: var(--white); }
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order, .woocommerce .checkout-button.button.alt {
	background: var(--signal); color: var(--sea); font-size: 1.1rem;
}
.woocommerce #payment #place_order:hover, .woocommerce .checkout-button.button.alt:hover { background: var(--signal-dark); color: var(--sea); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	border: 1px solid var(--line); border-radius: var(--radius); padding: .7em .8em; font-family: var(--font);
}
.woocommerce-message, .woocommerce-info { border-top-color: var(--signal); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--signal-dark); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--navy); font-weight: 800; font-size: 1.8rem; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--slate); }
.woocommerce table.shop_table { border-radius: var(--radius); border-color: var(--line); }

/* One orchestrated moment: the route rings draw in once on load */
@media (prefers-reduced-motion: no-preference) {
	.contour { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 2.4s ease-out forwards; }
	.contour.c1 { animation-delay: .1s; } .contour.c2 { animation-delay: .2s; } .contour.c3 { animation-delay: .3s; }
	.contour.c4 { animation-delay: .4s; } .contour.c5 { animation-delay: .5s; } .contour.c6 { animation-delay: .6s; }
	.contour.c7 { animation-delay: .7s; } .contour.c8 { animation-delay: .8s; }
	@keyframes draw { to { stroke-dashoffset: 0; } }
}

/* Responsive */
@media (max-width: 960px) {
	.hero-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
	.device-list { grid-template-columns: repeat(2, 1fr); }
	.section-head { flex-direction: column; align-items: start; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.nav-toggle { display: block; }
	.site-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--sea); padding: 8px 20px 24px; border-bottom: 1px solid rgba(255,255,255,.1);
	}
	.site-nav.is-open { display: flex; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.header-actions { flex-wrap: wrap; padding-top: 18px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 640px) {
	.hero { padding: 64px 0 72px; }
	.section { padding: 64px 0; }
	.steps { grid-template-columns: 1fr; gap: 28px; }
	.steps li::after { display: none; }
	.device-list { grid-template-columns: 1fr; }
	.atlas-index { padding: 18px 16px 6px; }
	.contour.c0, .contour.c1 { stroke: #5D8BB3; opacity: .28; stroke-width: 1; }
	.atlas-index thead .coord, .atlas-index td.coord { display: none; }
}
.section-head .section-title { margin: 0; }

/* Comparison */
.compare { border-top: 1px solid var(--line); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .98rem; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-stretch: 115%; font-weight: 800; font-size: 1.05rem; border-bottom: 2px solid var(--navy); vertical-align: bottom; }
.compare-table tbody th { font-weight: 700; width: 22%; position: sticky; left: 0; background: var(--white); }
.compare-table td { color: var(--slate); }
.compare-table .is-us { background: var(--sea); color: var(--white); }
.compare-table thead th.is-us { color: var(--signal); border-bottom-color: var(--signal); border-radius: var(--radius) var(--radius) 0 0; }
.compare-table tbody td.is-us { font-weight: 600; border-bottom-color: rgba(255,255,255,.12); }
.compare-table tbody tr:last-child td.is-us { border-radius: 0 0 var(--radius) var(--radius); }
.compare-table .is-missing { color: #B3261E; font-weight: 700; background: #FDECEA; }
.compare-legal { margin-top: 20px; font-size: .85rem; color: var(--slate); max-width: 90ch; }
