/* Proxxy Media: dark navy and signal orange. */
:root {
  --bg: #0a1020;
  --bg-2: #0f1830;
  --surface: #131d38;
  --surface-2: #18244a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --text-soft: #a7b0c6;
  --text-faint: #7d879f;
  --orange: #ff7a1a;
  --orange-hover: #ff9142;
  --orange-ink: #1a0d02;
  --orange-tint: rgba(255, 122, 26, 0.12);
  --focus: #ffb37a;
  --radius: 10px;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--orange); color: var(--orange-ink); padding: 8px 12px; z-index: 20; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Page to page transitions (browsers that support it; off for reduced motion) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-variation-settings: "wdth" 120; letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-variation-settings: "wdth" 114; }
h3 { font-size: 1.3rem; font-variation-settings: "wdth" 106; line-height: 1.25; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--text-soft); max-width: 38em; }
.muted { color: var(--text-soft); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(10, 16, 32, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-variation-settings: "wdth" 115; font-size: 1.15rem; }
.brand-mark { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.975rem; color: var(--text-soft); }
.nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 880px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: var(--orange-ink); text-decoration: none; border: 0;
  font: inherit; font-weight: 650; font-size: 1.025rem; padding: 14px 24px;
  border-radius: 999px; cursor: pointer; transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--orange-hover); }
.btn:active { transform: translateY(1px); }
.nav .btn { color: var(--orange-ink); }
.btn-small { padding: 9px 18px; font-size: 0.95rem; }
.text-link { font-weight: 600; text-underline-offset: 5px; color: var(--text); }
@media (max-width: 480px) {
  .site-header .wrap { min-height: 62px; }
  .brand { font-size: 1rem; }
  .nav .btn { white-space: nowrap; font-size: 0.875rem; padding: 8px 14px; }
}

/* Sections */
section { padding: 96px 0; position: relative; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.section-head { max-width: 44em; margin-bottom: 44px; }
.section-head p { margin-top: 14px; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--orange); font-weight: 600; font-size: 1rem; margin-bottom: 14px; }

/* Hero */
.hero { padding: 104px 0 96px; overflow: hidden; isolation: isolate; }
@media (max-width: 700px) { .hero { padding: 64px 0 64px; } }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 122, 26, 0.22), rgba(255, 122, 26, 0) 70%);
  z-index: -1; pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 65%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: drift 14s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 6%, 0) scale(1.08); } }
}
.hero h1 { max-width: 12.5em; }
.hero h1 .accent { color: var(--orange); }
.hero .lede { margin: 26px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 0; list-style: none; }
.proof li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; font-size: 0.925rem; color: var(--text-soft); }
.proof strong { color: var(--text); font-weight: 650; }

/* Services: what clients get */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px;
  display: flex; flex-direction: column; transition: border-color .2s ease, background-color .2s ease;
}
.service:hover { border-color: rgba(255, 122, 26, 0.45); background: var(--surface-2); }
.service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-tint); color: var(--orange); display: grid; place-items: center; margin-bottom: 20px; }
.service-icon svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: 10px; }
.service > p { color: var(--text-soft); }
.gets { margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.gets-title { font-weight: 650; font-size: 0.95rem; margin-bottom: 10px; color: var(--text); }
.gets li { position: relative; padding-left: 26px; color: var(--text-soft); font-size: 0.975rem; }
.gets li + li { margin-top: 8px; }
.gets li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

/* Why it matters */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 30px; } }
.why-item { border-top: 2px solid var(--orange); padding-top: 22px; }
.why-item h3 { margin-bottom: 12px; }
.why-item p { color: var(--text-soft); }
.why-item .source { font-size: 0.85rem; color: var(--text-faint); }
.why-item .source a { color: var(--text-soft); }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 28px; } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--orange-ink);
  font-weight: 700; margin-bottom: 18px;
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--text-soft); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 24px; } }
.about-body p { max-width: 38em; color: var(--text-soft); }
.about-body p:first-child { color: var(--text); font-size: 1.15rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stat-num { font-size: 2rem; font-weight: 700; font-variation-settings: "wdth" 115; color: var(--orange); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-soft); font-size: 0.925rem; }

/* FAQ */
.faq { max-width: 50em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; font-size: 1.125rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 17px; font-size: 1.6rem; font-weight: 400; color: var(--orange); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-soft); padding-bottom: 10px; max-width: 42em; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 28px; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
@media (max-width: 600px) { .form { padding: 20px; } }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--text-faint); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 13px;
}
select { appearance: auto; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 16px; color: var(--text-soft); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.check a { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; background: rgba(255, 90, 70, 0.12); color: #ffb4a8; border: 1px solid rgba(255, 90, 70, 0.4); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px; font-weight: 500; }
.form-error.show { display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.95rem; color: var(--text-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer a { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Simple pages */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 20px; }
.page h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.page p, .page li { color: var(--text-soft); }
.page ul { padding-left: 1.2em; }
.page a { color: var(--text); }
