/* AXD staging light theme. Loaded separately so the design can be reviewed
   without replacing the existing brand assets or changing form behavior. */
:root {
  color-scheme: light;
  --o: #ff7a00;
  --ol: #a74700;
  --bg: #ffffff;
  --s: #f5f6f8;
  --t: #191c22;
  --m: #515761;
  --line: #dfe3e8;
  --border: #dfe3e8;
  --ok: #176b3a;
  --bad: #b42318;
}

body {
  background: var(--bg);
  color: var(--t);
}

body::before { display: none; }

/* Keep dark brand accents in the footer and closing call to action. */
.footer,
.cta {
  --t: #f7f7f7;
  --m: #cbd0d8;
  --ol: #ffad66;
  --line: rgba(255, 255, 255, .18);
  --border: rgba(255, 255, 255, .18);
  color: var(--t);
  background: #111318;
}

.header {
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  margin: 0;
  padding: 10px max(24px, calc((100% - 1120px) / 2));
  color: var(--t);
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e7e9ed;
  border-radius: 0;
  box-shadow: 0 3px 16px rgba(17, 19, 24, .035);
  backdrop-filter: none;
}

.header .brand { display: block; margin: 0; }

.header .nav {
  justify-self: center;
  justify-content: center;
  gap: clamp(16px, 1.8vw, 26px);
}

.header .nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  color: #515761;
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .18s, background .18s;
}

.header .nav a:hover { color: #a74700; }
.header .nav a[aria-current="page"] { color: #191c22; font-weight: 600; }
.header .nav a::after { bottom: 3px; }

.header > .btn.primary {
  justify-self: end;
  width: auto;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.header .menu { color: #191c22; }
html { scroll-padding-top: 104px; }

body .hero {
  min-height: 560px;
  gap: 56px;
  padding: 72px 0 56px;
}

body .hero h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.45rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.hero h1 span { color: inherit; }
.hero-brand::before { display: none; }

.hero .eyebrow {
  margin-bottom: 20px;
  color: var(--m);
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.65;
  letter-spacing: .11em;
}

.hero .badge {
  width: auto;
  max-width: 100%;
  margin: 20px auto 0;
  padding: 0;
  color: var(--m);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.6;
}

.hero .actions { gap: 12px; margin-top: 26px; }

.hero .actions .btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero .trust { align-items: center; gap: 8px 18px; margin-top: 22px; }

.hero .trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--m);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: .8rem;
  line-height: 1.6;
  white-space: nowrap;
}

.hero .trust span::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: #969da8;
}

body .hero-logo,
main > .panel > img[src$="axd-logo-light.svg"] {
  box-sizing: border-box;
  padding: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.header .brand img {
  width: 170px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

body .footer-logo {
  width: 230px;
  height: auto;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
}

body .hero-logo {
  max-width: 420px;
  height: auto;
}

.badge {
  color: #764016;
  border-color: #efd5bf;
  background: #fff7ef;
}

.platform-strip {
  background: var(--s);
  border-color: var(--line);
}

.platform-strip span {
  color: #414752;
  background: #fff;
  border-color: var(--line);
}

.trust span {
  color: var(--m);
  background: var(--s);
}

.card,
.panel,
.form-card,
.wizard,
.project-card {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 6px 22px rgba(17, 19, 24, .045);
}

.card:hover,
.project-card:hover {
  border-color: #ca8b57;
  box-shadow: 0 12px 30px rgba(17, 19, 24, .08);
}

.mini .panel,
.pricing-preview .card {
  background: var(--s);
  box-shadow: none;
}

.card a:hover { text-decoration: underline; }

.btn {
  color: var(--t);
  background: #fff;
  border-color: #747c87;
}

.btn:hover {
  background: #f2f4f6;
  border-color: #a74700;
}

.btn.primary {
  color: #050505;
  background: var(--o);
  border-color: var(--o);
}

.btn.primary:hover { background: #ffad66; }

.cta .btn:not(.primary) {
  color: #f7f7f7;
  background: rgba(255, 255, 255, .05);
  border-color: #858b96;
}

.cta .btn:not(.primary):hover {
  background: rgba(255, 255, 255, .1);
  border-color: #ffad66;
}

/* Homepage closing section: a concise invitation followed by clear next steps.
   Scoped selectors also outrank the shared styles injected by app-v2.js. */
.cta.closing-cta {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  padding: 48px;
  border-radius: 20px;
  text-align: left;
}

.cta.closing-cta .eyebrow {
  margin: 0 0 16px;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
}

.cta.closing-cta h2 {
  max-width: 21ch;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.cta.closing-cta .cta-description {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--m);
  font-size: 1rem;
  line-height: 1.7;
}

.cta.closing-cta .actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 260px;
  min-width: 0;
  margin: 0;
}

.cta.closing-cta .actions .btn {
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
}

.cta.closing-cta .response-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--m);
  font-size: .8rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .cta.closing-cta {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px;
  }

  .cta.closing-cta .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 500px);
  }

  .cta.closing-cta .response-note { text-align: left; }
}

@media (max-width: 520px) {
  .cta.closing-cta { padding: 28px 24px; }
  .cta.closing-cta .actions { grid-template-columns: 1fr; width: 100%; }
}

input,
select,
textarea {
  color: var(--t);
  background: #fff;
  border-color: #79818d;
  accent-color: #a74700;
}

input::placeholder,
textarea::placeholder { color: #646c77; }

.progress { background: #e4e7ec; }

.choice span,
.review div {
  color: var(--t);
  background: #f7f8fa;
  border-color: #79818d;
}

.choice input:checked + span {
  color: #713000;
  background: #fff3e8;
  border-color: #a74700;
  box-shadow: inset 0 0 0 1px #a74700;
}

.faq details {
  background: #fff;
  border-color: var(--line);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.choice input:focus-visible + span {
  outline: 3px solid #a74700;
  outline-offset: 4px;
}

.footer :focus-visible,
.cta :focus-visible {
  outline-color: #ffad66;
}

/* Middleware adds the cookie controls after the stylesheet links. These
   selectors intentionally outrank its dark defaults without altering consent. */
body .cookie-consent {
  color: var(--t);
  background: #fff;
  border-color: #c4cad3;
  box-shadow: 0 16px 54px rgba(17, 19, 24, .18);
}

body .cookie-consent p { color: var(--m); }
body .cookie-consent a { color: #a74700; }

body .cookie-btn {
  color: var(--t);
  background: #fff;
  border-color: #747c87;
}

body .cookie-btn.primary {
  color: #050505;
  background: #ff7a00;
  border-color: #ff7a00;
}

body .cookie-settings {
  color: #414752;
  background: #fff;
  border-color: #747c87;
  box-shadow: 0 2px 10px rgba(17, 19, 24, .08);
}

body .cookie-settings:hover,
body .cookie-settings:focus-visible {
  color: #a74700;
  border-color: #a74700;
}

/* Switch the full navigation before it becomes crowded on tablet widths. */
@media (max-width: 960px) {
  .header {
    top: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0 14px;
    padding: 10px 24px;
  }

  .header .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .header .brand img { width: 150px; }

  .header .menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d2d7df;
    border-radius: 8px;
    background: #f5f6f8;
  }

  .header .nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 10px;
    padding: 12px 0 4px;
    border-top: 1px solid #e7e9ed;
  }

  .header .nav.open { display: flex; }
  .header .nav a { width: 100%; padding: 10px 12px; min-height: 44px; border-radius: 8px; }
  .header .nav a::after { display: none; }
  .header .nav a:hover { background: #f5f6f8; }
  .header .nav a[aria-current="page"] { color: #a74700; background: #fff3e8; }
  .header > .btn.primary {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    min-height: 44px;
    padding-inline: 14px;
    font-size: .875rem;
  }

  body .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 0 36px;
    gap: 34px;
    text-align: center;
  }

  .hero-copy { max-width: 680px; margin-inline: auto; }
  .hero .actions,
  .hero .trust { justify-content: center; }
  body .hero-logo { max-width: 340px; padding: 0; }
}

@media (max-width: 760px) {
  body .hero-logo { max-width: 285px; padding: 0; border-radius: 0; }
  body .hero h1 { font-size: clamp(2rem, 8.6vw, 2.85rem); line-height: 1.14; }
  body .hero .lead { font-size: 1rem; line-height: 1.7; }
  .hero .trust { gap: 8px 16px; }
  .badge { font-size: .76rem; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .btn { flex: 1 1 130px; }
}

@media (max-width: 600px) {
  .header { gap: 0 10px; padding: 10px 16px; }
  .header .brand img { width: 132px; }
  .header > .btn.primary { padding-inline: 12px; }
}

@media (max-width: 420px) {
  .header { gap: 0 8px; padding-inline: 14px; }
  .header .brand img { width: 120px; }
  body .hero { padding-top: 32px; gap: 28px; }
  body .hero-logo { max-width: 265px; }
  .badge { width: auto; max-width: 100%; }
  .page-hero h1 { overflow-wrap: break-word; }
}
/* Shared page rhythm: keep the homepage and inner pages in the same system. */
body .btn {
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
}
body .page-hero {
  max-width: 1120px;
  padding: 56px 0 36px;
}
body .page-hero h1 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body .page-hero > p:last-child { max-width: 740px; margin: 20px 0 0; }
body .section { padding-top: 76px; }
body .section h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body .section-head { max-width: 780px; margin-bottom: 28px; }
body .section-head p { margin-bottom: 0; }
body .wizard h2 { font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1.2; }
body .step[hidden], body .wizard-actions [hidden], body .consultation-note[hidden] { display: none; }
body .step h2 { scroll-margin-top: 120px; }
body .step h2:focus { outline: none; }
body .review span { overflow-wrap: anywhere; white-space: pre-wrap; }
body .side { align-content: start; }
body .side .panel { height: auto; }
body .consultation-note {
  margin: 0 0 24px;
  padding: 18px 20px;
  background: #fff7ef;
  border-left: 3px solid #a74700;
  border-radius: 8px;
  color: #515761;
  font-size: .94rem;
  line-height: 1.65;
}
body .verification-help { color: var(--m); font-size: .85rem; line-height: 1.6; }
body .verification-help a { text-underline-offset: 3px; }
body .faq summary { gap: 16px; justify-content: space-between; list-style: none; }
body .faq summary::-webkit-details-marker { display: none; }
body .faq summary::after { content: '+'; flex: none; color: #a74700; font-size: 1.3rem; font-weight: 500; }
body .faq details[open] summary::after { content: '−'; }
body .work-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: 28px;
  background: #f5f6f8;
  border: 1px solid var(--line);
  border-radius: 20px;
}
body .work-feature > img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
body .work-copy .eyebrow { margin-bottom: 12px; font-size: .7rem; line-height: 1.6; }
body .work-copy h3 { margin: 0; font-size: 1.35rem; line-height: 1.3; }
body .work-copy p:not(.eyebrow) { color: var(--m); font-size: .94rem; line-height: 1.65; }
body .work-copy a { display: inline-flex; min-height: 44px; align-items: center; color: #a74700; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 760px) {
  body .page-hero { padding: 36px 0 28px; }
  body .page-hero h1, body .page-hero > p:last-child { margin-inline: auto; }
  body .section { padding-top: 56px; }
  body .work-feature { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  body .work-copy { text-align: left; }
  body .wizard-actions .btn { min-width: 0; }
  body .hero .trust span { white-space: normal; }
}
@media (max-width: 420px) {
  body .page-hero h1 { font-size: 2rem; }
  body .section h2 { font-size: 1.8rem; }
  body .consultation-note { padding: 14px 16px; }
}
