@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #070706;
  --surface: #11110f;
  --surface-2: #171612;
  --text: #f7f4ee;
  --muted: #b8b1a6;
  --soft: #8f887d;
  --gold: #d1ad62;
  --gold-light: #ecd59d;
  --line: rgba(235, 222, 190, 0.15);
  --line-strong: rgba(235, 222, 190, 0.26);
  --max: 1220px;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 450;
  letter-spacing: -0.006em;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.55) 58%, transparent);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7,7,6,.88);
  box-shadow: 0 18px 50px rgba(0,0,0,.26);
  backdrop-filter: blur(18px) saturate(1.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(236,213,157,.22);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(209,173,98,.2);
}

.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 15px; font-weight: 700; line-height: 1.2; }
.brand-copy small { color: var(--gold); font-size: 10px; font-weight: 650; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #c5c0b7;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  padding: 11px 15px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible { background: rgba(255,255,255,.055); color: #fff; }

.main-nav .nav-cta {
  margin-left: 8px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #15120c;
  padding-inline: 18px;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible { background: var(--gold-light); color: #11100d; }
.nav-toggle { display: none; }

.page-main { overflow: hidden; }

.premium-page-hero {
  position: relative;
  display: grid;
  min-height: 820px;
  align-items: center;
  padding: 142px max(28px, calc((100vw - var(--max)) / 2)) 82px;
}

.premium-page-hero::before {
  position: absolute;
  top: 3%;
  right: -15%;
  width: min(820px, 68vw);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(209,173,98,.11), transparent 33%), radial-gradient(circle, transparent 48%, rgba(209,173,98,.045) 49%, transparent 67%);
  pointer-events: none;
}

.page-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(0, .95fr) minmax(430px, .85fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: center;
}

.page-copy { max-width: 690px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  content: "";
  background: var(--gold);
  box-shadow: 0 0 14px rgba(209,173,98,.5);
}

.page-copy h1 {
  max-width: 780px;
  margin-bottom: 26px;
  color: #fbfaf6;
  font-size: clamp(52px, 5.35vw, 76px);
  font-weight: 650;
  letter-spacing: -.048em;
  line-height: 1.01;
  text-wrap: balance;
}

.page-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: #c2bbb0;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 420;
  line-height: 1.7;
}

.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px 21px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-primary { border-color: var(--gold); background: var(--gold); color: #15120c; box-shadow: 0 18px 38px rgba(209,173,98,.16); }
.button-primary:hover,
.button-primary:focus-visible { background: var(--gold-light); }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.035); color: #f3efe7; }
.button-secondary:hover,
.button-secondary:focus-visible { background: rgba(255,255,255,.07); border-color: rgba(236,213,157,.4); }

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.proof-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  padding: 8px 11px;
  color: #aaa398;
  font-size: 12px;
  font-weight: 550;
}

.visual-shell {
  position: relative;
  width: min(530px, 100%);
  min-height: 520px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: radial-gradient(circle at 50% 42%, rgba(209,173,98,.11), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.045), transparent 52%), #0d0d0b;
  box-shadow: 0 42px 100px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.05);
}

.visual-shell::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(rgba(236,213,157,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(236,213,157,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}

.visual-head {
  position: relative;
  z-index: 6;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 19px;
  border-bottom: 1px solid var(--line);
  color: #d6d0c6;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #b8d7b6; box-shadow: 0 0 14px rgba(184,215,182,.55); animation: softPulse 3s ease-in-out infinite; }
.visual-head small { color: var(--soft); font-size: 10px; font-weight: 550; }

.content-section { padding: 116px max(28px, calc((100vw - var(--max)) / 2)); }
.content-section.compact { padding-top: 24px; }

.section-heading {
  display: grid;
  max-width: var(--max);
  margin: 0 auto 48px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .55fr);
  gap: clamp(38px, 8vw, 112px);
  align-items: end;
}

.section-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
  color: #f6f3ec;
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 650;
  letter-spacing: -.043em;
  line-height: 1.06;
  text-wrap: balance;
}

.section-heading > p {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.card-grid { display: grid; max-width: var(--max); margin: 0 auto; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }

.info-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.04), transparent 48%), var(--surface);
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

a.info-card:hover,
a.info-card:focus-visible { border-color: rgba(236,213,157,.34); background: linear-gradient(145deg, rgba(209,173,98,.075), transparent 48%), #15140f; transform: translateY(-4px); }

.info-card::after { position: absolute; right: -72px; bottom: -88px; width: 200px; height: 200px; border: 1px solid rgba(209,173,98,.08); border-radius: 50%; content: ""; box-shadow: 0 0 0 30px rgba(209,173,98,.018); }
.info-card > span { color: var(--gold); font-size: 12px; font-weight: 650; letter-spacing: .06em; }
.info-card h3 { position: relative; z-index: 1; margin: 66px 0 12px; color: #f0ece4; font-size: 25px; font-weight: 650; letter-spacing: -.03em; line-height: 1.18; }
.info-card p { position: relative; z-index: 1; margin-bottom: 0; color: #aea79c; font-size: 15.5px; line-height: 1.68; }
.info-card strong.card-link { position: absolute; left: 28px; bottom: 26px; z-index: 2; color: var(--gold-light); font-size: 12px; font-weight: 650; }
.service-card { scroll-margin-top: 100px; min-height: 340px; }

.cta-panel {
  display: grid;
  max-width: var(--max);
  margin: 10px auto 100px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: radial-gradient(circle at 86% 30%, rgba(209,173,98,.15), transparent 30%), linear-gradient(135deg, #171510, #0d0d0b 68%);
  padding: clamp(38px, 6vw, 70px);
  grid-template-columns: minmax(0,1fr) auto;
  gap: 44px;
  align-items: end;
}

.cta-panel h2 { max-width: 820px; margin: 0; font-size: clamp(38px, 4vw, 58px); font-weight: 650; letter-spacing: -.043em; line-height: 1.06; }

.site-footer {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 38px 0 42px;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 11px; }
.footer-brand div { display: grid; gap: 2px; }
.footer-brand strong { color: #e8e3da; font-size: 14px; font-weight: 650; }
.footer-brand span,
.site-footer p { color: var(--soft); font-size: 11px; font-weight: 550; letter-spacing: .05em; text-transform: uppercase; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; color: #a19a90; font-size: 12px; font-weight: 550; }
.site-footer nav a { border-radius: 999px; padding: 8px 10px; }
.site-footer nav a:hover,
.site-footer nav a:focus-visible { background: rgba(255,255,255,.05); color: #fff; }
.site-footer p { grid-column: 1 / -1; margin: 0; }

/* AWS architecture */
.aws-map { position: absolute; inset: 58px 0 82px; }
.aws-core { position: absolute; top: 48%; left: 50%; z-index: 4; display: grid; width: 132px; height: 132px; place-items: center; border: 1px solid rgba(236,213,157,.34); border-radius: 34px; background: rgba(7,7,6,.94); box-shadow: 0 0 60px rgba(209,173,98,.12); transform: translate(-50%,-50%); }
.aws-core strong { font-size: 30px; font-weight: 750; letter-spacing: -.04em; }
.aws-core span { position: absolute; bottom: 20px; color: var(--gold); font-size: 11px; font-weight: 650; }
.aws-orbit { position: absolute; top: 48%; left: 50%; border: 1px solid rgba(236,213,157,.14); border-radius: 50%; transform: translate(-50%,-50%); }
.aws-orbit.one { width: 250px; height: 250px; border-style: dashed; animation: rotateOrbit 20s linear infinite; }
.aws-orbit.two { width: 380px; height: 380px; animation: rotateOrbitReverse 30s linear infinite; }
.aws-orbit::after { position: absolute; top: 28px; left: 42px; width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--gold-light); box-shadow: 0 0 16px rgba(236,213,157,.7); }
.aws-node { position: absolute; z-index: 5; display: grid; min-width: 94px; gap: 2px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(12,12,10,.92); padding: 10px 12px; box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.aws-node strong { font-size: 12px; font-weight: 650; }
.aws-node span { color: var(--soft); font-size: 10px; }
.aws-node.web { top: 15%; left: 7%; }
.aws-node.api { top: 15%; right: 7%; }
.aws-node.data { bottom: 11%; left: 8%; }
.aws-node.security { right: 6%; bottom: 11%; }
.aws-metrics { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; border-top: 1px solid var(--line); background: rgba(7,7,6,.78); grid-template-columns: repeat(3,1fr); }
.aws-metrics div { display: grid; min-height: 82px; align-content: center; gap: 3px; padding: 13px 17px; }
.aws-metrics div + div { border-left: 1px solid var(--line); }
.aws-metrics strong { color: var(--gold-light); font-size: 17px; font-weight: 650; }
.aws-metrics span { color: var(--soft); font-size: 11px; }

/* Services dashboard */
.services-dashboard { position: absolute; inset: 78px 24px 24px; display: grid; gap: 14px; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr .82fr; }
.dash-panel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: rgba(7,7,6,.72); padding: 17px; }
.dash-panel strong { position: relative; z-index: 2; font-size: 13px; font-weight: 650; }
.dash-panel small { display: block; color: var(--soft); font-size: 10px; }
.dash-main { grid-row: 1 / -1; }
.dash-bars { position: absolute; left: 18px; right: 18px; bottom: 24px; display: flex; height: 160px; align-items: flex-end; gap: 11px; }
.dash-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--gold-light), rgba(209,173,98,.22)); animation: barBreathe 4s ease-in-out infinite; }
.dash-bars i:nth-child(1){height:32%}.dash-bars i:nth-child(2){height:54%;animation-delay:-.8s}.dash-bars i:nth-child(3){height:44%;animation-delay:-1.6s}.dash-bars i:nth-child(4){height:78%;animation-delay:-2.4s}.dash-bars i:nth-child(5){height:92%;animation-delay:-3.2s}
.dash-flow { position: absolute; left: 18px; right: 18px; top: 58%; height: 2px; background: linear-gradient(90deg, rgba(209,173,98,.15), var(--gold), rgba(209,173,98,.15)); }
.dash-flow::before,.dash-flow::after { position: absolute; top: -6px; width: 14px; height: 14px; border-radius: 50%; content: ""; background: var(--gold); box-shadow: 0 0 12px rgba(209,173,98,.6); }
.dash-flow::after { right: 0; }
.dash-devices { position: absolute; inset: 58px 18px 18px; }
.dash-devices i { position: absolute; bottom: 0; border: 1px solid rgba(236,213,157,.34); border-radius: 8px; background: rgba(209,173,98,.08); }
.dash-devices i:first-child { left: 7%; width: 56%; height: 58%; }
.dash-devices i:last-child { right: 6%; width: 28%; height: 80%; border-radius: 12px; }

/* COMANDA */
.comanda-visual { min-height: 590px; background: radial-gradient(circle at 50% 44%, rgba(255,87,41,.13), transparent 38%), linear-gradient(145deg,rgba(255,255,255,.045),transparent 52%),#0d0d0b; }
.comanda-logo-card { width: min(240px,70%); margin: 24px 0 6px; border-radius: 14px; background: #fff; padding: 10px 14px; }
.menu-phone { position: absolute; left: 50%; bottom: -44px; z-index: 3; width: 254px; min-height: 474px; border: 8px solid #1a1916; border-radius: 38px; background: #f5f0e7; box-shadow: 0 34px 70px rgba(0,0,0,.55); padding: 27px 18px; color: #181612; transform: translateX(-50%) rotate(-2deg); }
.phone-speaker { position: absolute; top: 10px; left: 50%; width: 52px; height: 5px; border-radius: 99px; background: #1d1b17; transform: translateX(-50%); }
.menu-title { margin-top: 16px; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.menu-hero { display: grid; min-height: 112px; align-content: end; margin-top: 13px; border-radius: 16px; background: linear-gradient(145deg,#ff6b35,#8f2e19); padding: 16px; color: #fff; }
.menu-hero small { font-size: 10px; }
.menu-hero strong { max-width: 150px; font-size: 19px; line-height: 1.15; }
.menu-pills { display: flex; gap: 6px; margin: 14px 0; }
.menu-pills i { width: 54px; height: 20px; border-radius: 99px; background: #ddd4c5; }
.menu-pills i:first-child { background: #ff6532; }
.menu-item { display: grid; margin-top: 9px; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; }
.menu-item i { width: 54px; height: 54px; border-radius: 12px; background: linear-gradient(135deg,#e0b47d,#8c4e24); }
.menu-item div { display: grid; gap: 6px; }
.menu-item span { width: 100%; height: 6px; border-radius: 99px; background: #d8cfc0; }
.menu-item span:last-child { width: 60%; background: #ff6532; }
.product-float { position: absolute; z-index: 4; display: grid; gap: 2px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(12,12,10,.94); box-shadow: 0 18px 48px rgba(0,0,0,.45); padding: 13px 15px; }
.product-float span { color: var(--soft); font-size: 10px; }
.product-float strong { font-size: 13px; }
.product-float.one { top: 25%; left: 5%; }
.product-float.two { right: 4%; bottom: 20%; }

/* Trust */
.trust-vault { position: absolute; inset: 58px 0 0; }
.vault-door { position: absolute; top: 48%; left: 50%; display: grid; width: 240px; height: 240px; place-items: center; border: 1px solid rgba(236,213,157,.34); border-radius: 50%; box-shadow: 0 0 0 38px rgba(209,173,98,.028),0 0 0 76px rgba(209,173,98,.018),0 0 70px rgba(209,173,98,.08); transform: translate(-50%,-50%); }
.vault-door::before { width: 112px; height: 112px; border: 1px solid var(--gold); border-radius: 50%; content: ""; background: url('./assets/brevia-brand-icon-v2.png') center/72px no-repeat #080807; }
.vault-badge { position: absolute; z-index: 3; display: grid; gap: 2px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(12,12,10,.94); padding: 11px 13px; }
.vault-badge strong { font-size: 12px; }.vault-badge span { color: var(--soft); font-size: 10px; }
.vault-badge.legal { top: 15%; left: 7%; }.vault-badge.process { top: 17%; right: 6%; }.vault-badge.support { left: 8%; bottom: 15%; }.vault-badge.control { right: 7%; bottom: 13%; }

/* Method */
.method-map { position: absolute; inset: 58px 0 0; }
.method-line { position: absolute; top: 49%; left: 11%; right: 11%; height: 2px; background: linear-gradient(90deg,rgba(209,173,98,.1),var(--gold),rgba(209,173,98,.1)); }
.method-node { position: absolute; top: 49%; z-index: 3; display: grid; width: 100px; gap: 3px; text-align: center; transform: translate(-50%,-50%); }
.method-node i { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 8px; border: 1px solid var(--line-strong); border-radius: 50%; background: #0c0c0a; color: var(--gold-light); font-size: 12px; font-style: normal; font-weight: 700; box-shadow: 0 0 24px rgba(209,173,98,.08); }
.method-node strong { font-size: 12px; }.method-node span { color: var(--soft); font-size: 10px; }
.method-node.n1 { left: 16%; }.method-node.n2 { left: 39%; }.method-node.n3 { left: 63%; }.method-node.n4 { left: 86%; }
.method-packet { position: absolute; top: calc(49% - 3px); left: 12%; z-index: 4; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 18px rgba(236,213,157,.8); animation: methodTravel 7s ease-in-out infinite; }

/* Contact */
.contact-card { position: absolute; inset: 82px 30px 30px; z-index: 2; display: grid; align-content: start; border: 1px solid var(--line); border-radius: 18px; background: rgba(7,7,6,.72); padding: 30px; }
.contact-card .eyebrow { margin-bottom: 26px; }
.contact-card a.contact-value { display: block; margin-bottom: 9px; color: #f1ede5; font-size: clamp(20px,2.1vw,27px); font-weight: 650; letter-spacing: -.025em; }
.contact-card a.contact-value:hover { color: var(--gold-light); }
.contact-card address { margin-top: 18px; color: var(--muted); font-size: 15px; font-style: normal; }
.contact-signal { position: absolute; left: 30px; right: 30px; bottom: 34px; height: 108px; overflow: hidden; border-top: 1px solid var(--line); }
.contact-signal::before { position: absolute; left: 0; right: 0; bottom: 18px; height: 52px; content: ""; background: linear-gradient(150deg,transparent 0 12%,var(--gold) 13% 14%,transparent 15% 27%,var(--gold) 28% 29%,transparent 30% 48%,var(--gold) 49% 50%,transparent 51% 68%,var(--gold) 69% 70%,transparent 71%); opacity: .55; }
.contact-signal span { position: absolute; bottom: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 16px rgba(236,213,157,.7); animation: signalWalk 5s ease-in-out infinite; }

@keyframes rotateOrbit { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes rotateOrbitReverse { to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes softPulse { 50% { opacity:.45; } }
@keyframes barBreathe { 50% { filter: brightness(1.28); transform: scaleY(.9); transform-origin: bottom; } }
@keyframes methodTravel { 0%,8%{left:12%;opacity:0}15%,86%{opacity:1}94%,100%{left:87%;opacity:0} }
@keyframes signalWalk { 0%{left:0;opacity:0}15%,85%{opacity:1}100%{left:96%;opacity:0} }

@media (max-width: 1040px) {
  :root { --max: calc(100vw - 48px); }
  .page-hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .page-copy { max-width: 820px; }
  .visual-shell { width: min(680px,100%); justify-self: center; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  :root { --max: calc(100vw - 32px); }
  .site-header { min-height: 72px; padding: 12px 16px; }
  .nav-toggle { position: relative; z-index: 3; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(255,255,255,.035); }
  .nav-toggle span { grid-area: 1/1; width: 18px; height: 1px; background: #f6f3ec; transition: transform 160ms ease; }
  .nav-toggle span:first-child { transform: translateY(-4px); }.nav-toggle span:last-child { transform: translateY(4px); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .main-nav { position: fixed; top: 66px; left: 16px; right: 16px; display: grid; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(12,12,10,.98); box-shadow: 0 30px 80px rgba(0,0,0,.55); padding: 10px; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 160ms ease,transform 160ms ease; }
  .main-nav.is-open { opacity:1; pointer-events:auto; transform:translateY(0); }
  .main-nav a { display:flex; min-height:46px; align-items:center; justify-content:center; border-radius:10px; }
  .main-nav .nav-cta { margin:4px 0 0; }
  .premium-page-hero { min-height:auto; padding:116px 16px 72px; }
  .content-section { padding:88px 16px; }
  .section-heading { grid-template-columns:1fr; gap:22px; }
  .cta-panel { margin:0 16px 80px; grid-template-columns:1fr; align-items:start; }
  .site-footer { margin-inline:16px; grid-template-columns:1fr; }
  .site-footer nav { justify-content:flex-start; }
}

@media (max-width: 600px) {
  body { font-size:16px; }
  .brand-mark { width:42px; height:42px; flex-basis:42px; }
  .brand-copy strong { font-size:14px; }.brand-copy small { font-size:10px; }
  .page-copy h1 { font-size:clamp(42px,12.8vw,58px); letter-spacing:-.043em; }
  .page-copy > p:not(.eyebrow) { font-size:16px; }
  .eyebrow { font-size:10.5px; }
  .page-actions { display:grid; grid-template-columns:1fr; }
  .button { width:100%; }
  .visual-shell { min-height:480px; border-radius:18px; }
  .visual-head { padding:15px; font-size:10px; }.visual-head small { font-size:10px; }
  .card-grid { grid-template-columns:1fr; }
  .info-card { min-height:270px; padding:24px; }
  .info-card h3 { margin-top:52px; font-size:23px; }.info-card p { font-size:15px; }.info-card strong.card-link { left:24px; }
  .section-heading h2,.cta-panel h2 { font-size:clamp(34px,10.5vw,46px); }
  .section-heading > p { font-size:16px; }
  .cta-panel { padding:36px 24px; }
  .aws-node { min-width:78px; padding:8px 9px; }.aws-node strong { font-size:11px; }.aws-node span { font-size:10px; }
  .aws-core { width:108px;height:108px;border-radius:28px; }.aws-core strong{font-size:25px}.aws-core span{font-size:10px;bottom:15px}
  .aws-orbit.one{width:210px;height:210px}.aws-orbit.two{width:330px;height:330px}
  .aws-node.web{left:3%}.aws-node.api{right:3%}.aws-node.data{left:3%}.aws-node.security{right:3%}
  .aws-metrics { grid-template-columns:1fr; }.aws-metrics div { min-height:54px; grid-template-columns:80px 1fr; align-items:center; }.aws-metrics div + div { border-top:1px solid var(--line);border-left:0; }
  .services-dashboard { inset:70px 15px 18px; grid-template-columns:1fr; grid-template-rows:1.2fr .72fr .72fr; }.dash-main{grid-row:auto}.dash-bars{height:110px}
  .comanda-visual { min-height:560px; }.menu-phone{width:226px;min-height:450px}.product-float{display:none}
  .vault-door{width:190px;height:190px}.vault-badge{padding:9px}.vault-badge strong{font-size:11px}.vault-badge span{font-size:10px}
  .method-line{top:12%;bottom:12%;left:50%;right:auto;width:2px;height:auto}.method-node{left:50%!important;top:auto;display:grid;width:190px;grid-template-columns:48px 1fr;text-align:left;align-items:center;column-gap:12px}.method-node i{grid-row:1/3;margin:0}.method-node.n1{top:18%}.method-node.n2{top:39%}.method-node.n3{top:61%}.method-node.n4{top:82%}.method-packet{display:none}
  .contact-card{inset:70px 15px 20px;padding:22px}.contact-card a.contact-value{font-size:19px}.contact-signal{left:22px;right:22px}
  .site-footer { padding-bottom:28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; }
}
