/* ============================================================
   Magnetics & Controls — public marketing site
   Visual language matched to the Spec Detail System:
   deep navy header, slate-grey bands, white content, amber mark,
   clear blue for links/CTAs. Industrial / credible / modern.
   ============================================================ */

:root {
  --navy:        #1f3a52;   /* primary dark (header/nav) */
  --navy-deep:   #16293b;   /* darker navy for depth */
  --navy-2:      #2a4a66;   /* hover / lighter navy */
  --slate:       #5a6b7a;   /* secondary grey-blue */
  --slate-light: #eef1f4;   /* light grey band */
  --slate-line:  #d8dee4;   /* borders */
  --amber:       #d99a2b;   /* logo / accent mark */
  --amber-deep:  #c0851c;
  --blue:        #2f6fb0;   /* links + CTAs (matches sample) */
  --blue-deep:   #245a92;
  --ink:         #1c2630;   /* body text */
  --ink-soft:    #4a5867;   /* muted text */
  --white:       #ffffff;
  --bg:          #f7f9fb;

  --maxw: 1180px;
  --radius: 6px;
  --shadow: 0 2px 14px rgba(20,41,59,0.08);
  --shadow-lg: 0 10px 40px rgba(20,41,59,0.16);

  --font-head: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--navy); letter-spacing: 0.2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Top utility bar ─────────────────────────────────────── */
.utilitybar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
.utilitybar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.utilitybar .util-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utilitybar .util-center { flex: 1 1 auto; text-align: right; white-space: nowrap; padding: 0 20px; }
.utilitybar .util-center a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 15px; border: 1px solid var(--amber); border-radius: 999px;
  background: rgba(217,154,43,0.10); color: #fff;
  font-weight: 600; font-size: 12.5px; letter-spacing: 0.2px; line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.utilitybar .util-center a:hover { background: rgba(217,154,43,0.22); border-color: var(--amber); color: #fff; }
.utilitybar .util-center a::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 2px rgba(47,111,176,0.40); flex-shrink: 0;
}
.utilitybar .util-center a::after {
  content: "NEW"; position: absolute; top: -8px; right: -9px;
  background: var(--amber); color: #1c1c1c;
  font-size: 8px; font-weight: 700; letter-spacing: 0.6px;
  padding: 2px 5px; border-radius: 7px; line-height: 1;
}
.utilitybar a { color: rgba(255,255,255,0.82); }
.utilitybar a:hover { color: #fff; }
.utilitybar .util-right { display: flex; gap: 22px; align-items: center; flex-shrink: 0; }
.utilitybar .util-phone { font-weight: 600; color: #fff; }

/* ── Header / nav ────────────────────────────────────────── */
.masthead { background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,0.06); position: sticky; top: 0; z-index: 50; }
.masthead .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo { height: 52px; width: auto; display: block; }
.footer .brand-logo { height: 44px; }
.brand-text { color: #fff; line-height: 1.05; display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 21px; letter-spacing: 0.3px; white-space: nowrap; }
.brand-sub { font-size: 10.5px; letter-spacing: 2.5px; color: var(--amber); text-transform: uppercase; font-weight: 600; white-space: nowrap; }

.mainnav { display: flex; align-items: center; gap: 4px; }
.mainnav a {
  color: rgba(255,255,255,0.86); font-weight: 600; font-size: 14.5px;
  padding: 9px 15px; border-radius: var(--radius); letter-spacing: 0.3px;
  transition: background 0.15s, color 0.15s;
}
.mainnav a:hover { background: var(--navy-2); color: #fff; }
.mainnav a.nav-cta {
  background: var(--blue); color: #fff; margin-left: 8px;
}
.mainnav a.nav-cta:hover { background: var(--blue-deep); }
.mainnav a.nav-login {
  color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2); margin-left: 6px;
}
.mainnav a.nav-login:hover { color: #fff; border-color: rgba(255,255,255,0.45); background: transparent; }

.navtoggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(115deg, rgba(22,41,59,0.94) 0%, rgba(31,58,82,0.88) 55%, rgba(42,74,102,0.82) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 22px),
    var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,154,43,0.16) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-top: 76px; padding-bottom: 80px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--amber);
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--amber); display: inline-block; }
.hero h1 {
  color: #fff; font-size: clamp(34px, 5vw, 60px); max-width: 17ch;
  margin-bottom: 22px; letter-spacing: 0.3px;
}
.hero h1 .accent { color: var(--amber); }
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,0.82); max-width: 56ch; margin-bottom: 36px; font-weight: 400; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: all 0.15s; letter-spacing: 0.4px;
}
.btn-primary { background: var(--amber); color: #1c1c1c; border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: #1c1c1c; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.06); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; transform: translateY(-1px); }

/* ── Stat strip ──────────────────────────────────────────── */
.statstrip { background: var(--navy-deep); border-top: 3px solid var(--amber); }
.statstrip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--amber); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1.2px; margin-top: 7px; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px; display: block;
}
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--ink-soft); }

.bg-white { background: var(--white); }
.bg-slate { background: var(--slate-light); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2 { color: #fff; }
.bg-navy .eyebrow { color: var(--amber); }

/* ── Contrast block (the hook) ───────────────────────────── */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.contrast-side { padding: 44px 40px; }
.contrast-them { background: #e9edf1; color: var(--ink); }
.contrast-us { background: var(--navy); color: #fff; position: relative; }
.contrast-us::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); }
.contrast h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 20px; }
.contrast-them h3 { color: var(--slate); }
.contrast-us h3 { color: var(--amber); }
.contrast-time { font-family: var(--font-head); font-size: 52px; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.contrast-them .contrast-time { color: #8a99a8; }
.contrast-us .contrast-time { color: #fff; }
.contrast-cap { font-size: 14px; margin-bottom: 26px; }
.contrast-them .contrast-cap { color: var(--slate); }
.contrast-us .contrast-cap { color: rgba(255,255,255,0.7); }
.contrast ul { list-style: none; }
.contrast li { padding: 9px 0 9px 28px; position: relative; font-size: 15.5px; border-top: 1px solid rgba(0,0,0,0.07); }
.contrast-us li { border-top-color: rgba(255,255,255,0.1); }
.contrast-them li::before { content: "✕"; position: absolute; left: 0; color: #b04a4a; font-weight: 700; }
.contrast-us li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }

/* ── Capability cards ────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--slate-line); border-radius: 8px;
  padding: 30px 26px; transition: transform 0.15s, box-shadow 0.15s; position: relative;
  overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card-ico { width: 50px; height: 50px; border-radius: 9px; background: var(--slate-light); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 24px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
.card a.card-link { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; letter-spacing: 0.4px; display: inline-flex; align-items: center; gap: 6px; }
.card a.card-link::after { content: "→"; transition: transform 0.15s; }
.card a.card-link:hover::after { transform: translateX(4px); }

/* ── Feature rows ────────────────────────────────────────── */
.featrow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.featrow.flip > div:first-child { order: 2; }
.feat-list { list-style: none; margin-top: 22px; }
.feat-list li { padding: 11px 0 11px 34px; position: relative; font-size: 16px; border-bottom: 1px solid var(--slate-line); }
.feat-list li:last-child { border-bottom: none; }
.feat-list li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px; background: var(--blue); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.feat-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 10px; padding: 44px; color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden; min-height: 320px;
  display: flex; flex-direction: column; justify-content: center;
}
.feat-visual::after {
  content: ""; position: absolute; right: -80px; bottom: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,154,43,0.18) 0%, transparent 65%);
}
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; overflow: hidden; position: relative; z-index: 2; }
.spec-cell { background: var(--navy); padding: 18px 20px; }
.spec-cell .spec-k { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--amber); margin-bottom: 5px; font-weight: 600; }
.spec-cell .spec-v { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: #fff; }

/* ── CTA band ────────────────────────────────────────────── */
.ctaband { background: linear-gradient(115deg, var(--navy-deep), var(--navy-2)); color: #fff; text-align: center; }
.ctaband h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.ctaband p { font-size: 19px; color: rgba(255,255,255,0.82); max-width: 60ch; margin: 0 auto 32px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.66); padding: 54px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(255,255,255,0.66); }
.footer a:hover { color: var(--amber); }
.footer .brand-name { font-size: 18px; }
.footer .brand-sub { font-size: 9.5px; }
.footer-about { font-size: 14px; line-height: 1.65; margin-top: 16px; color: rgba(255,255,255,0.6); max-width: 38ch; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── Page hero (interior pages) ──────────────────────────── */
.pagehero { background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 70%); color: #fff; padding: 58px 0; position: relative; overflow: hidden; }
.pagehero::after { content: ""; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(217,154,43,0.13) 0%, transparent 65%); }
.pagehero .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--amber); }
.pagehero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 48px); max-width: 20ch; margin-bottom: 14px; }
.pagehero p { font-size: 19px; color: rgba(255,255,255,0.82); max-width: 60ch; }

/* ── Prose / content ─────────────────────────────────────── */
.prose { max-width: 760px; }
.prose p { font-size: 17px; color: var(--ink-soft); margin-bottom: 20px; }
.prose h2 { font-size: 30px; margin: 40px 0 16px; }
.prose h3 { font-size: 22px; margin: 30px 0 12px; }
.prose ul { margin: 0 0 22px 0; padding-left: 0; list-style: none; }
.prose ul li { padding: 8px 0 8px 30px; position: relative; font-size: 16.5px; }
.prose ul li::before { content: "▪"; position: absolute; left: 6px; color: var(--amber); font-size: 18px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .mainnav { display: none; }
  .navtoggle { display: block; }
  .contrast, .cards, .featrow, .statstrip .container, .footer-grid { grid-template-columns: 1fr; }
  .featrow.flip > div:first-child { order: 0; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .spec-grid { grid-template-columns: 1fr; }
  .hero .container { padding-top: 54px; padding-bottom: 56px; }
  section { padding: 52px 0; }
  .utilitybar .util-left { display: none; }
.utilitybar .util-center { flex: 1 1 auto; text-align: center; white-space: nowrap; padding: 0 16px; }
  .utilitybar .container { justify-content: center; }
  .utilitybar .util-right { gap: 18px; font-size: 12.5px; }
}

/* ── Mobile nav (drop-down panel toggled by site.js) ─────── */
@media (max-width: 900px) {
  .mainnav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 10px 24px 18px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mainnav.open a { padding: 13px 14px; font-size: 16px; }
  .mainnav.open a.nav-cta,
  .mainnav.open a.nav-login { margin-left: 0; text-align: center; }
  .mainnav.open a.nav-login { margin-top: 4px; }
}
.navtoggle[aria-expanded="true"] { color: var(--amber); }

/* ── Request-a-quote form ────────────────────────────────── */
.formwrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.quoteform fieldset { border: none; margin: 0 0 30px; padding: 0; }
.quoteform legend {
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px; padding: 0;
  display: flex; align-items: center; gap: 12px; width: 100%;
}
.quoteform legend::after { content:""; flex:1; height:1px; background: var(--slate-line); }
.quoteform .hint { font-weight: 400; color: var(--slate); font-size: 13px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--blue); }
.quoteform input[type=text],
.quoteform input[type=email],
.quoteform input[type=tel],
.quoteform input[type=number],
.quoteform input[type=date],
.quoteform textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--slate-line); border-radius: var(--radius);
  padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
.quoteform textarea { min-height: 120px; resize: vertical; }
.quoteform input:focus, .quoteform textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,176,0.15);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-grid .field { margin-bottom: 0; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  position: relative; border: 1px solid var(--slate-line); border-radius: 8px;
  padding: 14px 14px 14px 42px; cursor: pointer; font-size: 15px; font-weight: 600;
  color: var(--ink); transition: border-color .15s, background .15s;
}
.choice input { position: absolute; left: 14px; top: 18px; accent-color: var(--blue); }
.choice .sub { display:block; font-weight: 400; color: var(--slate); font-size: 13px; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--blue); background: #f3f8fd; }

.partrow { display: grid; grid-template-columns: 2.4fr 1fr auto; gap: 10px; margin-bottom: 10px; }
.partrow .rm {
  background: none; border: 1px solid var(--slate-line); color: var(--slate);
  border-radius: var(--radius); width: 44px; cursor: pointer; font-size: 20px; line-height: 1;
}
.partrow .rm:hover { border-color: #b04a4a; color: #b04a4a; }
.addrow {
  background: none; border: 1px dashed var(--slate-line); color: var(--blue);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .3px;
  border-radius: var(--radius); padding: 9px 16px; cursor: pointer; transition: border-color .15s, background .15s;
}
.addrow:hover { border-color: var(--blue); background: #f3f8fd; }

.filefield input[type=file] {
  width: 100%; font-size: 14px; padding: 12px; border: 1px dashed var(--slate-line);
  border-radius: var(--radius); background: #fff; cursor: pointer;
}
.consent {
  display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink-soft);
  background: var(--slate-light); border-radius: 8px; padding: 16px; cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.formrail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.railcard { border: 1px solid var(--slate-line); border-radius: 10px; padding: 22px; background: #fff; }
.railcard.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.railcard h3 { font-size: 17px; margin-bottom: 12px; }
.railcard.dark h3 { color: #fff; }
.railcard p, .railcard li { font-size: 14px; color: var(--ink-soft); }
.railcard.dark p, .railcard.dark li { color: rgba(255,255,255,0.85); }
.railcard ul { list-style: none; }
.railcard ul li { padding: 6px 0 6px 22px; position: relative; }
.railcard ul li::before { content:"▪"; position:absolute; left:4px; color: var(--amber); }
.railphone { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin: 6px 0; }
.railbadges { display:flex; flex-wrap:wrap; gap:8px; }
.railbadge {
  font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: var(--navy); background: var(--slate-light);
  border-radius: 20px; padding: 6px 12px;
}

@media (max-width: 900px) {
  .formwrap { grid-template-columns: 1fr; gap: 30px; }
  .formrail { position: static; }
  .choices, .field-grid { grid-template-columns: 1fr; }
  .partrow { grid-template-columns: 1fr 90px auto; }
}

/* ── Login / customer portal ─────────────────────────────── */
.authsection { background: var(--slate-light); padding: 72px 0; }
.authcard {
  max-width: 440px; margin: 0 auto; width: 100%;
  background: #fff; border: 1px solid var(--slate-line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 38px 34px;
}
.auth-mark {
  width: 52px; height: 52px; border-radius: 8px; background: var(--amber);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 22px;
  letter-spacing: -0.5px; box-shadow: 0 2px 8px rgba(217,154,43,0.4);
}
.auth-logo { height: 60px; width: auto; display: block; margin-bottom: 18px; }
.authcard h1 { font-size: 25px; color: var(--navy); margin-bottom: 4px; }
.authcard .auth-sub { font-size: 13.5px; color: var(--slate); margin-bottom: 26px; }
.authcard .field { margin-bottom: 16px; }
.authcard label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.authcard input[type=text], .authcard input[type=password] {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--slate-line); border-radius: var(--radius);
  padding: 12px 13px; transition: border-color .15s, box-shadow .15s;
}
.authcard input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,176,0.15); }
.authcard .btn { width: 100%; justify-content: center; margin-top: 8px; }
.auth-help { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 20px; }
.auth-help a { font-weight: 600; }
.auth-secure {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 12.5px; color: var(--slate); margin-top: 24px;
  padding-top: 18px; border-top: 1px solid var(--slate-line);
}
.auth-aside { text-align: center; max-width: 440px; margin: 22px auto 0; font-size: 13px; color: var(--ink-soft); }
