/* ============================================================
   AMD BRAND SYSTEM — styles-amd.css
   Self-contained token block for the new monochrome identity.
   Reference implementation: when the main site is retokenised,
   this file is the source of truth. Do NOT import styles-deck.css
   here and do not extend this file with legacy gold styling.
   Direction: Lindsay's Google Ads Developer Brief, p.2 (Sep 2026).
   ============================================================ */

/* ---- Fonts (self-hosted, /Assets/fonts) ----
   Headlines: Avenir Next Light where the visitor has it (licensed
   webfont files pending), Jost 300 as the specified web fallback.
   Text/UI: Inter (variable). */
@font-face {
  font-family: 'Jost';
  src: url('Assets/fonts/jost-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('Assets/fonts/jost-300-italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('Assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* ---- Palette: monochrome only. No gold, bronze or champagne. ---- */
  --ink-navy:  #0A1428;   /* deepest ground */
  --navy:      #0F1C36;   /* primary field */
  --navy-lift: #17294E;   /* panels */
  --cloud:     #F0F2F5;   /* primary text */
  --silver:    #9AA0AB;   /* secondary text */
  --muted:     #A8AEBA;   /* secondary text, lighter */
  /* Platinum is a gradient, never a flat grey. */
  --platinum:  linear-gradient(180deg, #FFFFFF 0%, #EFF1F4 38%, #9AA0AB 55%, #D4D8DE 72%, #FFFFFF 100%);

  /* ---- Type roles ---- */
  --font-display: "Avenir Next", Jost, "Helvetica Neue", sans-serif; /* headlines only, weight 300 */
  --font-text:    Inter, "Helvetica Neue", Arial, sans-serif;

  --track-label: 0.38em;   /* labels/eyebrows: .34–.42em */

  --gutter: clamp(20px, 5vw, 48px);
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cloud);
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }

/* ---- Type ---- */
.amd-eyebrow {
  font-family: var(--font-text);
  font-weight: 500; font-size: 11px;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--silver);
  margin: 0 0 18px;
}
h1, h2 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.005em;
  margin: 0 0 22px;
  color: var(--cloud);
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 6.5vw, 56px); }
h2 { font-size: clamp(26px, 4.5vw, 38px); }
/* One italic word per headline, no more. */
h1 em, h2 em {
  font-style: italic; font-weight: 300;
  background: var(--platinum);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #D4D8DE;
}
.amd-sub {
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 0;
}
.amd-caption { font-weight: 400; font-size: 13.5px; color: var(--silver); }

/* ---- Layout: every section repeats the same rhythm. ---- */
.amd-section { padding: clamp(64px, 11vw, 130px) var(--gutter); }
.amd-inner { max-width: 960px; margin: 0 auto; }
.amd-section-alt { background: var(--ink-navy); }

/* ---- Header / footer: logo only, no navigation. ---- */
.amd-top {
  background: var(--navy);
  padding: clamp(20px, 4vw, 34px) var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.amd-top-link { font-size: 13.5px; white-space: nowrap; }
.amd-logo { display: block; width: min(228px, 56vw); }
.amd-logo img { display: block; width: 100%; }
.amd-footer {
  background: var(--ink-navy);
  padding: clamp(40px, 7vw, 64px) var(--gutter);
}
.amd-footer-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.amd-footer .amd-logo { width: 200px; }
.amd-footer-meta {
  font-weight: 500; font-size: 11px;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--silver);
}
.amd-footer-legal { font-weight: 400; font-size: 12.5px; color: var(--silver); margin: 18px 0 0; flex-basis: 100%; }
.amd-footer-legal a { color: var(--muted); }

/* ---- Price display: a number, not a badge. ---- */
.amd-price-row {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 14px 28px;
  margin: clamp(30px, 5vw, 46px) 0;
}
.amd-price {
  font-family: var(--font-display);
  font-weight: 300; font-size: clamp(40px, 7vw, 60px); line-height: 1;
  background: var(--platinum);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #D4D8DE;
  font-variant-numeric: tabular-nums;
}
.amd-price-note { color: var(--muted); max-width: 24em; }

/* ---- Buttons: one primary per screen; platinum on navy. ---- */
.amd-btn {
  display: inline-block;
  background: var(--platinum);
  color: var(--ink-navy);
  font-family: var(--font-text); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  padding: 17px 30px; border: none; cursor: pointer;
  text-align: center;
}
.amd-btn:hover { filter: brightness(1.05); }
.amd-link {
  color: var(--muted); font-weight: 400;
  text-decoration: underline; text-underline-offset: 4px;
}
.amd-link:hover { color: var(--cloud); }
.amd-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* ---- Included panels ---- */
.amd-panels {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--navy);  /* hairline seams between panels */
  margin-top: clamp(34px, 5vw, 52px);
}
.amd-panel { background: var(--navy-lift); padding: clamp(24px, 4vw, 36px); }
.amd-panel h3 {
  font-family: var(--font-text); font-weight: 500; font-size: 16px;
  margin: 0 0 10px; color: var(--cloud);
}
.amd-panel p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- Contact row ---- */
.amd-channels {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin-top: clamp(34px, 5vw, 52px);
}
.amd-channel {
  display: flex; align-items: center; gap: 16px;
  background: var(--navy-lift);
  padding: 20px 22px;
  color: var(--cloud); text-decoration: none;
  font-weight: 500; font-size: 15px;
  border: none; cursor: pointer; font-family: var(--font-text);
  text-align: left; width: 100%;
}
.amd-channel:hover { background: #1B3059; }
.amd-channel svg { flex: none; width: 22px; height: 22px; fill: #D4D8DE; }
.amd-channel .amd-chev { margin-left: auto; color: var(--silver); font-weight: 300; }

/* ---- Form ---- */
.amd-form-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px 24px;
  margin-top: clamp(30px, 5vw, 44px);
}
.amd-field label {
  display: block;
  font-weight: 500; font-size: 10.5px;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--silver);
  margin: 0 0 9px;
}
.amd-field input, .amd-field textarea {
  width: 100%;
  background: var(--ink-navy);
  border: 1px solid #22345C;
  color: var(--cloud);
  font-family: var(--font-text); font-weight: 300; font-size: 15.5px;
  padding: 13px 14px;
  border-radius: 0;
}
.amd-field input:focus, .amd-field textarea:focus {
  outline: 1px solid #D4D8DE; outline-offset: 0; border-color: #D4D8DE;
}
.amd-field textarea { min-height: 130px; resize: vertical; }
.amd-form-note { color: var(--silver); font-weight: 400; font-size: 13px; margin: 14px 0 0; }
.amd-form-error {
  display: none;
  border: 1px solid #7d4a4a; color: #e0b4b4;
  padding: 12px 16px; margin: 18px 0 0; font-size: 14px;
}

/* ---- Two-column growth at tablet+ ---- */
@media (min-width: 700px) {
  .amd-panels { grid-template-columns: 1fr 1fr; }
  .amd-channels { grid-template-columns: 1fr 1fr; }
  .amd-form-grid { grid-template-columns: 1fr 1fr; }
  .amd-form-grid .amd-span2 { grid-column: 1 / -1; }
  .amd-form-split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
}

/* ---- Cookie banner (markup injected by consent-analytics.js),
       restyled monochrome for this system ---- */
.cookie-banner{position:fixed;left:50%;bottom:20px;z-index:9999;transform:translate(-50%,16px);
  display:flex;flex-wrap:wrap;align-items:center;gap:18px;
  width:calc(100% - 32px);max-width:760px;padding:18px 22px;
  background:rgba(10,20,40,.94);color:var(--cloud);border:1px solid #22345C;
  box-shadow:0 18px 50px rgba(4,8,18,.5);
  opacity:0;visibility:hidden;transition:opacity .32s ease,transform .32s ease,visibility .32s;}
.cookie-banner.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0);}
.cookie-text{flex:1 1 320px;margin:0;font-size:.85rem;line-height:1.55;font-weight:400;color:var(--muted);}
.cookie-actions{display:flex;gap:10px;flex:0 0 auto;}
.cookie-btn{font-family:var(--font-text);font-weight:600;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;
  padding:11px 20px;cursor:pointer;
  background:transparent;color:var(--cloud);border:1px solid #3A4C74;}
.cookie-btn:hover{border-color:var(--muted);}
.cookie-accept{background:var(--platinum);color:var(--ink-navy);border:none;}
@media (max-width:600px){
  .cookie-banner{flex-direction:column;align-items:stretch;gap:14px;}
  .cookie-text{flex:1 1 auto;}
  .cookie-actions{justify-content:flex-end;}
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
