/* dao Consulting: clean, responsive layout with no CSS dependencies. */
:root {
  --navy: #08152b;
  --navy-deep: #071326;
  --ink: #132039;
  --muted: #586a82;
  --blue: #327cff;
  --cyan: #74ddff;
  --paper: #f6f8fc;
  --line: #dfe6f0;
  --white: #fff;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 30; padding: 10px 16px; background: white; }
.skip-link:focus { top: 12px; }

/* Header and identity */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; background: #08152bf2; border-bottom: 1px solid #ffffff25; box-shadow: 0 8px 24px #020a1840; backdrop-filter: blur(14px); }
.nav-wrap { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: white; white-space: nowrap; }
.brand-logo { width: 50px; height: 50px; flex: none; object-fit: contain; padding: 3px; border-radius: 50%; background: white; }
.brand-name { display: inline-flex; align-items: baseline; gap: 7px; letter-spacing: -.045em; }
.brand-dao { font-size: 19px; font-weight: 600; line-height: 1; text-transform: lowercase; }
.brand-consulting { font-size: 19px; font-weight: 430; letter-spacing: -.035em; }
.nav { display: flex; align-items: center; gap: 30px; color: #e8eefb; font-size: 14px; font-weight: 650; }
.nav a:not(.nav-cta):hover { color: var(--cyan); }
.nav-cta { padding: 12px 19px; border-radius: 6px; color: white; background: var(--blue); }
.nav-cta:hover, .button-primary:hover { background: #215fdb; }


/* Hero */
.hero { position: relative; min-height: 755px; overflow: hidden; display: flex; align-items: center; background: var(--navy); color: white; }
.hero-art {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08152bf2 0%, #08152bd0 32%, #08152b22 90%), url("/assets/img/hero.png") center right / cover no-repeat;
}
.hero-content { position: relative; z-index: 1; padding-block: 170px 140px; }
.eyebrow { margin: 0 0 24px; color: #b1ceff; font-size: 12px; letter-spacing: .16em; font-weight: 800; }
.eyebrow.dark { color: #326fd6; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--cyan); }
h1, h2 { margin: 0; line-height: 1.1; letter-spacing: -.052em; font-weight: 760; }
h1 { max-width: 850px; font-size: clamp(48px, 6.6vw, 89px); }
h1 em, h2 em { color: #65d0ff; font-style: normal; }
.hero-copy { max-width: 595px; margin: 29px 0 37px; color: #cad8eb; font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 15px 24px; border-radius: 6px; font-size: 14px; font-weight: 750; transition: background .2s; }
.button-primary { background: var(--blue); color: white; }
.button-outline { border: 1px solid #7791b7; color: white; }
.button-outline:hover { background: #ffffff1b; }
.text-link { font-size: 14px; font-weight: 750; }
.text-link:hover { color: var(--cyan); }
.hero-bottom { position: absolute; bottom: 27px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-wrap: wrap; gap: 35px; color: #9cb2d2; font-size: 10px; letter-spacing: .17em; font-weight: 800; }
.hero-bottom a { transition: color .2s; }
.hero-bottom a:hover, .hero-bottom a:focus-visible { color: var(--cyan); }

/* Shared sections */
.section { padding: 108px 0; scroll-margin-top: 116px; }
.service-card[id] { scroll-margin-top: 116px; }
h2 { font-size: clamp(37px, 4.2vw, 60px); }
h2 em { color: #3177e8; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 90px; }
.intro-title { padding-top: 5px; }
.about-tag { max-width: 360px; margin-top: 26px; color: #2567bb; font-size: 15px; font-weight: 700; }
.lead { font-size: 19px; line-height: 1.8; color: #344a64; }
.about-content p:not(.lead) { color: #53657c; font-size: 16px; line-height: 1.88; }
.inline-link { display: inline-block; margin-top: 8px; color: #256ee6; font-weight: 800; }
.inline-link:hover { color: #154fa9; }

/* Services */
.services { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.section-heading > p { max-width: 305px; margin: 0 0 6px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 332px; padding: 32px 29px; border: 1px solid var(--line); border-radius: 11px; background: white; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #13203912; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 10px; background: #eaf2ff; color: #276fe4; font-size: 26px; }
.service-number { display: block; color: #8798af; font-size: 10px; letter-spacing: .12em; font-weight: 850; }
.service-card h3 { margin: 9px 0 12px; font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.77; }
.services-note { margin: 32px 0 0; color: var(--muted); text-align: center; }
.services-note a { color: #256ee6; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

/* Process */
.approach { background: var(--navy); color: white; }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; }
.approach h2 em { color: var(--cyan); }
.approach-grid > div > p:not(.eyebrow) { max-width: 485px; margin: 25px 0 29px; color: #b0c0d9; font-size: 17px; }
.steps { border-top: 1px solid #ffffff30; }
.step { display: grid; grid-template-columns: 55px 1fr; gap: 19px; padding: 27px 0; border-bottom: 1px solid #ffffff30; }
.step > span { color: var(--cyan); font-weight: 800; }
.step h3 { margin: 0 0 6px; font-size: 21px; }
.step p { margin: 0; color: #b0c0d9; font-size: 14px; }

/* Contact */
.contact { background: #edf4ff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 85px; align-items: center; }
.contact-main > p:not(.eyebrow) { max-width: 560px; margin: 24px 0 32px; color: #52647e; font-size: 17px; }
.contact-details { padding: 36px; border: 1px solid #d8e6fa; border-radius: 12px; background: white; font-style: normal; box-shadow: 0 15px 40px #10285309; }
.contact-details h3 { margin: 0 0 22px; font-size: 20px; }
.contact-detail + .contact-detail { margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); }
.detail-label { display: block; margin-bottom: 6px; color: #6982a2; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.contact-detail a { color: #1e467b; overflow-wrap: anywhere; }
.contact-detail a:hover { color: #246ee7; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { background: var(--navy-deep); color: white; padding: 65px 0 25px; }
.footer-main { display: grid; grid-template-columns: minmax(270px, 1.4fr) minmax(120px, .65fr) minmax(235px, 1fr); gap: 64px; padding-bottom: 50px; }
.footer-company p { max-width: 380px; color: #95abc9; font-size: 14px; }
.footer .brand-logo { width: 46px; height: 46px; }

.footer .brand-consulting { font-size: 17px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-links h3 { margin: 2px 0 8px; color: white; font-size: 15px; }
.footer-links a { color: #a4b7d2; font-size: 13px; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-top: 24px; border-top: 1px solid #ffffff24; }
.footer-bottom small { color: #8ea5c5; font-size: 12px; }

@media (max-width: 950px) {
  .intro-grid, .approach-grid { gap: 50px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading > p { max-width: 600px; }
  .contact-grid { gap: 45px; }
  .footer-main { gap: 35px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 145px; }
  .container { width: min(calc(100% - 36px), var(--max)); }
  .nav-wrap { min-height: 122px; flex-wrap: wrap; justify-content: center; gap: 0; padding-block: 12px 10px; }
  .brand { justify-content: center; }
  .brand-logo { width: 41px; height: 41px; }
  .brand-consulting { font-size: 16px; }
  /* Keep navigation accessible and visible without opening a menu. */
  .nav { display: flex; width: 100%; justify-content: center; gap: clamp(6px, 2.8vw, 18px); font-size: 12px; margin-top: 10px; white-space: nowrap; }
  .nav a { padding: 5px 0; }
  .nav-cta { padding: 5px 10px !important; }
  .hero { min-height: 755px; }
  .hero-art { background-position: 60% center; opacity: .8; }
  .hero-content { padding-block: 190px 120px; }
  h1 { font-size: clamp(43px, 10vw, 67px); }
  .hero-copy { font-size: 16px; }
  .hero-bottom { bottom: 18px; gap: 10px 19px; font-size: 9px; }
  .section { padding: 75px 0; scroll-margin-top: 145px; }
  .service-card[id] { scroll-margin-top: 145px; }
  .intro-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .lead { font-size: 17px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .contact-details { padding: 27px; }
  .footer { padding-top: 54px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 37px 20px; }
  .footer-company { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 420px) {
  .eyebrow { font-size: 10px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-company { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


.legal-page .legal-hero { padding-top: 198px; padding-bottom: 75px; }
.legal-page .legal-hero h1 { overflow-wrap: anywhere; }
.legal-page .legal-hero .hero-copy { max-width: 730px; margin-bottom: 0; }
.legal-page .legal-content { padding-top: 72px; }
.legal-page .legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 255px) minmax(0, 1fr);
  align-items: start;
  gap: 42px;
}
.legal-page .legal-aside { position: sticky; top: 126px; min-width: 0; }
.legal-page .legal-toc {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding-left: 16px; border-left: 2px solid var(--line);
}
.legal-page .legal-toc a {
  color: var(--muted); font-size: 14px; line-height: 1.5;
  font-weight: 650; padding: 5px 0;
}
.legal-page .legal-toc a:hover, .legal-page .legal-toc a:focus-visible { color: #256ee6; }
.legal-page .legal-article { min-width: 0; max-width: none; overflow-wrap: anywhere; }
.legal-page .legal-article.service-card:hover { transform: none; box-shadow: none; }
.legal-page .legal-article h2 {
  font-size: clamp(21px, 2.1vw, 27px); letter-spacing: -.025em;
  line-height: 1.35; margin: 34px 0 15px; padding-top: 28px;
  border-top: 1px solid var(--line); scroll-margin-top: 130px;
}
.legal-page .legal-article h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-page .legal-article p, .legal-page .legal-article li {
  font-size: 16px; color: var(--muted); line-height: 1.85;
}
.legal-page .legal-article p { margin: 0 0 19px; }
.legal-page .legal-article ul, .legal-page .legal-article ol { margin: 0 0 22px; padding-left: 24px; }
.legal-page .legal-article li { padding-left: 4px; margin-bottom: 8px; }
.legal-page .legal-article a { color: #256ee6; text-decoration: underline; text-underline-offset: 3px; }
.legal-page .legal-article a:hover { color: #154fa9; }
.legal-page .legal-article strong { color: var(--ink); }
.legal-page .legal-article .legal-callout {
  padding: 17px 20px; border-left: 4px solid var(--blue);
  border-radius: 6px; background: #edf4ff; color: var(--ink); font-weight: 700;
}
.legal-page .legal-article .legal-clauses p { padding-left: 22px; text-indent: -22px; }
.legal-page .legal-article .legal-revision { margin-top: 32px; color: #8798af; font-size: 13px; }
.legal-page .legal-article address { font-style: normal; margin-bottom: 25px; }
.legal-page .legal-article hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.legal-page .legal-article table { border-collapse: collapse; width: 100%; }
.legal-page .legal-article th, .legal-page .legal-article td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; }
@media (max-width: 950px) {
  .legal-page .legal-layout { grid-template-columns: minmax(170px, 205px) minmax(0, 1fr); gap: 24px; }
  .legal-page .legal-article { padding: 25px; }
}
@media (max-width: 700px) {
  .legal-page .legal-hero { padding-top: 190px; padding-bottom: 55px; }
  .legal-page .legal-content { padding-top: 55px; }
  .legal-page .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-page .legal-aside { position: static; }
  .legal-page .legal-toc { flex-direction: row; flex-wrap: wrap; border-left: 0; padding-left: 0; gap: 6px 9px; }
  .legal-page .legal-toc a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: 12px; }
  .legal-page .legal-article h2 { scroll-margin-top: 160px; }
}
