/* ============================================================
   A2Z Global Group Pty Ltd - Procurement & Sourcing Consultancy
   Modern responsive stylesheet
   ============================================================ */

:root {
  --bg:        #0b1220;
  --bg-alt:    #0f1a2e;
  --surface:   #131f36;
  --surface-2: #1a2942;
  --line:      rgba(255,255,255,0.08);
  --text:      #e8edf6;
  --muted:     #9fb0cc;
  --accent:    #6fae3d;   /* leaf green, from A2Z logo */
  --accent-2:  #2ba6dc;   /* globe blue, from A2Z logo */
  --brand:     #4c9aff;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 20px 50px -20px rgba(0,0,0,0.6);
  --max:       1160px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---------- Colour themes (switcher) ---------- */
html[data-theme="steel"]  { --accent: #3d8bfd; --accent-2: #8aa4c8; }
html[data-theme="copper"] { --accent: #e08a3c; --accent-2: #3fb0a0; }

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; line-height: 1.15; font-weight: 700; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: 'Sora', sans-serif; font-weight: 600;
  font-size: 15px; padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #08131f; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(255,255,255,.25); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Colour theme switcher control ---------- */
.theme-switch { position: fixed; left: 16px; bottom: 16px; z-index: 200; display: flex; align-items: center; gap: 8px; background: rgba(15,26,46,.92); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.theme-switch-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.sw-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: transform .15s var(--ease); }
.sw-dot:hover { transform: scale(1.12); }
.sw-dot[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.22); }
.sw-forest { background: linear-gradient(135deg,#6fae3d,#2ba6dc); }
.sw-steel  { background: linear-gradient(135deg,#3d8bfd,#8aa4c8); }
.sw-copper { background: linear-gradient(135deg,#e08a3c,#3fb0a0); }
@media (max-width: 560px) { .theme-switch { left: 10px; bottom: 10px; padding: 6px 10px; } .theme-switch-label { display: none; } }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11,18,32,.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Sora',sans-serif; font-weight: 800; font-size: 20px; }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-text span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: var(--text); }
.main-nav a.btn { color: #0c2109; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 0; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,.85) 60%, var(--bg) 100%),
    url('assets/images/background.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; padding-bottom: 80px; }
.hero-copy { max-width: 720px; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; padding: 6px 14px;
  border: 1px solid rgba(111,174,61,.35); border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.hero .lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); margin: 22px 0 30px; max-width: 620px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: var(--muted); font-size: 14px; }

/* ---------- Hero stats ---------- */
.hero-stats { position: relative; z-index: 1; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 34px 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: 'Sora',sans-serif; font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--accent); font-weight: 800; }
.stat span { color: var(--muted); font-size: 13px; }

/* ---------- Trust strip ---------- */
.trust { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust-label { text-align: center; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust-tags span { padding: 8px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.kicker { color: var(--accent-2); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 12px 0 14px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(111,174,61,.4); box-shadow: var(--shadow); }
.card-icon { font-size: 30px; width: 58px; height: 58px; display: grid; place-items: center; background: var(--surface-2); border-radius: 14px; margin-bottom: 18px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.industry {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px; transition: transform .3s var(--ease), background .3s;
}
.industry:hover { transform: translateY(-4px); background: var(--surface-2); }
.industry span { font-size: 28px; }
.industry h4 { font-size: 1.1rem; margin: 10px 0 6px; }
.industry p { color: var(--muted); font-size: .9rem; }

/* ---------- Brand logo ---------- */
.brand-logo { height: 42px; width: auto; display: block; background: #fff; padding: 5px 9px; border-radius: 10px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.5); }
.brand-footer .brand-logo { height: 40px; }
.brand { gap: 12px; }

/* ---------- Capabilities gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; color: #fff; font-family: 'Sora', sans-serif;
  font-weight: 600; font-size: .95rem; padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(11,18,32,.92));
}
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.timeline li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.step-no { font-family: 'Sora',sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--accent); opacity: .9; }
.timeline h4 { margin: 10px 0 8px; font-size: 1.15rem; }
.timeline p { color: var(--muted); font-size: .94rem; }

/* ---------- Image band ---------- */
.band { position: relative; padding: 100px 0; text-align: center; overflow: hidden;
  background: url('assets/images/conveyor.jpg') center/cover fixed no-repeat, var(--surface); }
.band-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.85), rgba(15,26,46,.9)); }
.band-content { position: relative; z-index: 1; max-width: 720px; }
.band-content h2 { font-size: clamp(1.6rem,3.5vw,2.6rem); }
.band-content p { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--accent); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); }
.price-card .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #0c2109; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; font-family: 'Sora',sans-serif; }
.price-card h3 { font-size: 1.3rem; }
.price { margin: 14px 0 6px; font-family: 'Sora',sans-serif; }
.price span { font-size: 1.9rem; color: var(--accent); font-weight: 800; }
.price-desc { color: var(--muted); font-size: .92rem; min-height: 62px; }
.price-card ul { list-style: none; margin: 18px 0 26px; display: grid; gap: 10px; }
.price-card ul li { position: relative; padding-left: 26px; color: var(--muted); font-size: .94rem; }
.price-card ul li::before { content: '✔'; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 30px; }

/* ---------- Why us ---------- */
.why-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.why-copy h2 { font-size: clamp(1.7rem,3vw,2.4rem); margin: 12px 0 16px; }
.why-copy > p { color: var(--muted); margin-bottom: 22px; }
.check-list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text); }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.why-media {
  min-height: 420px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,18,32,.15), rgba(11,18,32,.55)),
    url('assets/images/cnc-machining.jpg') center/cover no-repeat;
  box-shadow: var(--shadow);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 24px; transition: border-color .2s;
}
.faq details[open] { border-color: rgba(111,174,61,.4); }
.faq summary { font-family: 'Sora',sans-serif; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 12px; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem,3vw,2.4rem); margin: 12px 0 14px; }
.contact-copy > p { color: var(--muted); margin-bottom: 26px; }
.contact-details { list-style: none; display: grid; gap: 18px; }
.contact-details li { display: grid; gap: 2px; }
.contact-details strong { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2); }
.contact-details a, .contact-details span { color: var(--text); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; display: grid; gap: 7px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 14px; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: 12.5px; text-align: center; margin-top: 12px; }
.form-status { text-align: center; margin-top: 10px; font-weight: 600; font-size: 14px; }
.form-status.ok { color: var(--accent-2); }
.form-status.err { color: #ff6b6b; }

/* Human verification + anti-spam honeypot */
.captcha-q { color: var(--accent); font-weight: 700; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hcaptcha-holder { margin: 6px 0 4px; min-height: 78px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; }
.brand-footer { margin-bottom: 14px; }
.footer-tag { color: var(--muted); font-size: .92rem; max-width: 300px; }
.footer-grid h5 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--muted); font-size: .94rem; margin-bottom: 9px; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; color: var(--muted); font-size: .86rem; flex-wrap: wrap; gap: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .industry-grid, .timeline, .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .why-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .why-media { min-height: 300px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band { background-attachment: scroll; }
}
@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 16px;
    transform: translateY(-140%); transition: transform .35s var(--ease); }
  .main-nav.open { transform: none; }
  .nav-toggle { display: flex; }
  .cards, .industry-grid, .timeline, .pricing-grid, .row { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Credit Account Application page
   ============================================================ */
.page-hero {
  background: linear-gradient(180deg, rgba(11,18,32,.6), var(--bg)),
    url('assets/images/quality.jpg') center/cover no-repeat;
  padding: 70px 0 54px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 760px; }
.page-hero p { color: var(--muted); max-width: 640px; margin-top: 14px; }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.breadcrumb a { color: var(--accent); }

.form-shell { max-width: 900px; margin: 0 auto; }
.account-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.fieldset { border: 0; margin: 0 0 30px; padding: 0; }
.fieldset legend {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text);
  padding: 0 0 6px; margin-bottom: 20px; border-bottom: 2px solid var(--accent); width: 100%;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.span-2 { grid-column: 1 / -1; }
.pdf-download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 26px; }
.pdf-download .field-note { margin: 0; }

/* Terms & conditions box */
.terms-box {
  max-height: 280px; overflow-y: auto; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 22px 24px; margin-bottom: 18px;
  font-size: .9rem; color: var(--muted); line-height: 1.7;
}
.terms-box h4 { color: var(--text); font-size: .98rem; margin: 16px 0 6px; }
.terms-box h4:first-child { margin-top: 0; }
.terms-box ol { padding-left: 20px; }
.terms-box li { margin-bottom: 8px; }
.company-ref {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 22px; margin-bottom: 26px; font-size: .92rem; color: var(--muted);
}
.company-ref strong { color: var(--text); }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 6px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.consent label { font-size: .92rem; color: var(--text); }
.sig-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }

/* Credit-application extras */
.notice-box { background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 26px; }
.notice-box h3 { font-size: 1.05rem; margin-bottom: 10px; }
.notice-box ol { padding-left: 20px; color: var(--muted); font-size: .92rem; }
.notice-box li { margin-bottom: 6px; }
.notice-box p { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.field-note { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.sign-sub { margin: 22px 0 4px; font-size: 1.05rem; color: var(--text); }
.sign-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 16px; }
.sign-line span { display: block; border-bottom: 1px solid var(--muted); height: 44px; }
.sign-line label { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.next-steps { background: var(--surface-2); border: 1px solid var(--accent); border-radius: var(--radius-sm); padding: 22px 24px; margin-top: 22px; }
.next-steps h3 { margin-bottom: 10px; }
.next-steps ol { padding-left: 20px; color: var(--muted); }
.next-steps li { margin-bottom: 8px; }

/* Legal / policy pages */
.legal-content h2 { font-size: 1.2rem; color: var(--text); margin: 26px 0 8px; }
.legal-content h2:first-of-type { margin-top: 6px; }
.legal-content p { color: var(--muted); margin-bottom: 12px; }
.legal-content ul { color: var(--muted); padding-left: 22px; margin-bottom: 12px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent); }
.legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.legal-content ol { color: var(--muted); padding-left: 22px; margin: 6px 0 14px; }
.legal-content ol li { margin-bottom: 6px; }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 260; max-width: 760px; margin: 0 auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cookie-banner p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; min-width: 220px; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; }
body.has-cookie .theme-switch { bottom: 92px; }
@media (min-width: 620px) { body.has-cookie .theme-switch { bottom: 16px; } }
@media (max-width: 560px) { .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px; } .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .sig-row, .sign-lines { grid-template-columns: 1fr; }
  .account-form { padding: 24px; }
}

/* Print: produce a clean, signable single document */
@media print {
  .site-header, .site-footer, .theme-switch, .breadcrumb, .nav-toggle,
  .form-note, .form-status, .btn, .captcha-field, .hp-field { display: none !important; }
  body, .section, .page-hero { background: #fff !important; color: #000 !important; }
  .page-hero { padding: 0 0 10px !important; }
  .account-form { box-shadow: none !important; border: none !important; padding: 0 !important; }
  h1, h2, h3, h4, h5, p, li, span, strong, em, label, legend, .terms-box { color: #000 !important; }
  .field input, .field select, .field textarea { background: #fff !important; color: #000 !important; border: 1px solid #000 !important; }
  .terms-box { max-height: none !important; overflow: visible !important; border: 1px solid #000 !important; }
  .notice-box, .next-steps { border: 1px solid #000 !important; background: #fff !important; }
  .sign-line span { border-bottom: 1px solid #000 !important; }
  .section { padding: 8px 0 !important; }
}
