@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/marketing/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/marketing/dm-sans.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f7f6ef;
  --paper: #fffef8;
  --ink: #172b22;
  --green: #173b2e;
  --green-dark: #0e2c22;
  --muted: #4f6257;
  --line: #d7ded1;
  --sage: #dce9cf;
  --mist: #e9eee1;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, .brand { font-family: "Bricolage Grotesque", "DM Sans", ui-sans-serif, system-ui, sans-serif; }
a:focus-visible { outline: 2px solid #527347; outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 10; padding: 12px; background: var(--paper); transform: translateY(-250%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.header-inner { min-height: 78px; }
.header-inner nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); }
.header-inner nav > a:not(.button), .footer-inner nav a { font-size: 14px; font-weight: 620; text-decoration: none; white-space: nowrap; }
.header-inner nav a:hover, .footer-inner nav a:hover, .header-inner nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; text-decoration: none; font-size: 23px; line-height: 1; font-weight: 750; letter-spacing: -.056em; }
.brandmark { display: inline-block; width: 37px; height: 37px; flex: 0 0 37px; border-radius: 11px; background: var(--sage) url("/d-monogram-icon.svg") center / 100% no-repeat; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; border: 1px solid transparent; border-radius: 8px; padding: 10px 17px; background: var(--green); color: var(--paper); line-height: 1.3; font-weight: 650; font-size: 14px; text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--green-dark); text-decoration: none; }
.button > span { font-size: 18px; line-height: 1; }
.button-secondary { border-color: #bbc8b8; background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--mist); }
.header-inner .button { min-height: 42px; padding-inline: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.back-link, .plain-link { display: inline-block; width: fit-content; font-size: 14px; font-weight: 650; text-underline-offset: 4px; }
.back-link { margin-bottom: 24px; }
.eyebrow { margin-bottom: 15px; color: var(--green); font-size: 12px; font-weight: 730; letter-spacing: .09em; text-transform: uppercase; }

.home-hero, .industry-hero { display: grid; align-items: center; gap: clamp(28px, 5.5vw, 80px); padding-block: clamp(48px, 7vw, 100px); }
.home-hero { grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); }
.industry-hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
h1 { font-size: clamp(46px, 5.9vw, 82px); font-weight: 760; letter-spacing: -.052em; word-spacing: .018em; line-height: .99; text-wrap: balance; overflow-wrap: anywhere; }
.industry-hero h1, .directory-hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; }
.hero-lede { max-width: 53ch; margin-top: 22px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; }
.hero-media { min-width: 0; }
.hero-media img { display: block; width: 100%; height: auto; }
.status { display: inline-block; border-radius: 99px; padding: 5px 8px; background: var(--sage); color: #27452e; font-size: 11px; font-weight: 750; }

.section { padding-block: clamp(43px, 6vw, 75px); }
.industries-section { background: var(--mist); border-block: 1px solid var(--line); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 9px 20px; margin-bottom: 24px; }
h2 { font-size: clamp(28px, 3.4vw, 47px); font-weight: 730; letter-spacing: -.055em; line-height: 1.07; overflow-wrap: anywhere; }
.section-heading p { color: var(--muted); line-height: 1.5; }
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.industry-card { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 91px; height: 100%; padding: 15px 17px; border: 1px solid #cbd6c7; border-radius: 10px; text-decoration: none; background: var(--paper); }
.industry-card:hover { border-color: #819784; background: #f6faef; }
.industry-card strong, .industry-card small { display: block; overflow-wrap: anywhere; }
.industry-card strong { font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.industry-card small { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.card-arrow { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid #cbd6c7; color: var(--green); border-radius: 50%; font-size: 17px; }
.industry-card:hover .card-arrow { background: var(--sage); }
.directory-hero { padding-block: clamp(43px, 6vw, 78px); }
.directory-hero h1, .directory-hero .hero-lede { max-width: 780px; }
.directory-hero .industry-grid { margin-top: 32px; }

.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 37px); list-style: none; counter-reset: work-step; padding: 0; }
.workflow li { border-top: 1px solid #bdc8b9; padding-top: 16px; counter-increment: work-step; }
.workflow li::before { content: counter(work-step); display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 14px; border-radius: 50%; background: var(--sage); color: var(--green); font-size: 14px; font-weight: 750; }
h3 { font-size: clamp(19px, 2.1vw, 26px); line-height: 1.15; letter-spacing: -.039em; }
.workflow p, .industry-detail p { margin-top: 8px; color: var(--muted); line-height: 1.6; }
.industry-hero + .workflow-section { border-top: 1px solid var(--line); }
.estimate { position: relative; min-width: 0; padding: clamp(21px, 3vw, 33px); border: 1px solid #bcc9b8; border-radius: 18px; background: var(--paper); box-shadow: 10px 10px 0 var(--sage); }
.estimate-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.estimate-label { color: var(--green); font-size: 13px; font-weight: 720; }
.estimate h2 { font-size: clamp(24px, 2.6vw, 38px); }
.estimate-lines { margin-top: 16px; }
.estimate-lines > div, .estimate-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 14px; }
.estimate-lines dt { min-width: 0; overflow-wrap: anywhere; }
.estimate-lines dd, .estimate-total strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.estimate-total { border: 0; padding-bottom: 0; color: var(--green); font-weight: 650; }
.estimate-total strong { font-size: clamp(20px, 2.6vw, 31px); letter-spacing: -.045em; }
.extra-example-intro { margin-top: 13px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.extra-example-approval { display: grid; justify-items: start; gap: 10px; margin-top: 23px; padding: 19px; border: 1px solid #b5c8a9; border-radius: 12px; background: #f0f5e9; }
.extra-example-approval h3 { font-size: clamp(22px, 2.5vw, 29px); }
.extra-example-approval p { font-size: 14px; line-height: 1.5; }
.extra-example-approval strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.extra-example-link { margin-top: 22px; }
.extras-section { border-top: 1px solid var(--line); background: var(--mist); }
.extras-layout { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); align-items: center; gap: clamp(28px, 5.5vw, 80px); }
.extras-copy h2 { max-width: 16ch; }
.industry-detail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(19px, 4vw, 38px); margin-bottom: clamp(43px, 6vw, 75px); border-radius: 15px; background: var(--mist); }
.industry-detail h2 { font-size: clamp(25px, 3vw, 40px); }
.industry-detail > div { max-width: 66ch; }

.callout-wrap { padding-bottom: clamp(45px, 6vw, 76px); }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 19px 26px; padding: clamp(22px, 5vw, 54px); border-radius: 16px; background: var(--green); color: var(--paper); }
.callout .button { background: var(--sage); color: var(--green-dark); }
.callout .button:hover { background: #eef5e6; }
.site-footer { border-top: 1px solid var(--line); }
.copyright-footer { padding-block: 20px; color: var(--muted); font-size: 13px; }
.footer-inner { flex-wrap: wrap; align-items: flex-start; padding-block: 32px 38px; }
.footer-inner p { max-width: 36ch; margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.footer-inner nav { flex-wrap: wrap; padding-top: 9px; row-gap: 12px; }

@media (max-width: 920px) {
  .container { width: calc(100% - 52px); }
  .home-hero, .industry-hero, .extras-layout { gap: 31px; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .home-hero, .industry-hero, .extras-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  h1 { max-width: 15ch; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estimate { margin-right: 8px; }
  .workflow { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 510px) {
  .header-inner { gap: 9px; }
  .header-inner nav { gap: 10px; }
  .header-inner .how-link { display: none; }
  .header-inner .button { min-height: 39px; font-size: 12px; padding-inline: 9px; gap: 5px; }
  .header-inner .button span { display: none; }
  .header-inner nav > a:not(.button) { font-size: 12px; }
  .header-inner .brand { gap: 6px; font-size: 20px; }
  .header-inner .brandmark { width: 33px; height: 33px; flex-basis: 33px; }
  .industry-grid { grid-template-columns: minmax(0, 1fr); }
  .industry-card { min-height: 74px; }
}

.plans-section { border-top: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 4vw, 38px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.plan-card h3 { margin: 0; font-size: 20px; }
.plan-price { margin: 9px 0 0; font-size: 34px; font-weight: 700; letter-spacing: -.05em; }
.plan-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan-card ul { padding-left: 19px; margin: 15px 0 25px; color: var(--muted); line-height: 1.55; }
.plan-card li + li { margin-top: 6px; }
.plan-card .button { margin-top: auto; }
.plan-card-featured { border-color: #8ca27d; box-shadow: inset 0 4px 0 var(--sage); }
.plan-value { max-width: 70ch; margin-top: 21px; color: var(--muted); line-height: 1.6; }
@media (max-width: 620px) { .plan-grid { grid-template-columns: 1fr; } }
@media (max-width: 365px) { .header-inner nav > a[href="/industries"] { display: none; } }

.account-page { min-height: 100vh; display: flex; flex-direction: column; }
.account-main { flex: 1 0 auto; max-width: 510px; padding-block: clamp(37px, 7vw, 86px); }
.account-card { align-items: stretch; }
.account-card h1 { margin: 0; font-size: clamp(31px, 6vw, 43px); line-height: 1.06; }
.account-card p, .account-card small { color: var(--muted); }
.account-card form { display: grid; gap: 12px; margin-top: 10px; }
.account-card form + form { margin-top: 14px; }
.account-card label { display: grid; gap: 6px; font-weight: 650; font-size: 14px; }
.account-card input { width: 100%; min-width: 0; padding: 10px 12px; min-height: 44px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #bbc8b8; border-radius: 8px; }
.account-card button { cursor: pointer; justify-self: start; }
.account-card button:disabled { opacity: .65; cursor: wait; }
.account-card .button { align-self: start; }
.account-card [role="alert"] { margin: 0; color: #a02529; font-size: 14px; }
.account-notice { padding: 12px; background: var(--mist); border-radius: 8px; }
.account-quiet { padding: 6px 0; font: inherit; background: none; border: 0; text-decoration: underline; color: var(--green-dark); }

.tool-guide-section { border-top: 1px solid var(--line); background: var(--mist); }
.tool-guide-questions { display: grid; gap: 9px; max-width: 780px; }
.tool-guide-questions details { padding: 15px 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.tool-guide-questions summary { cursor: pointer; font-weight: 680; line-height: 1.4; }
.tool-guide-questions p { margin-top: 9px; color: var(--muted); line-height: 1.55; }

.privacy-copy { max-width: 720px; }
.privacy-copy h1 { font-size: clamp(42px, 6vw, 64px); }
.privacy-copy section { margin-top: 31px; }
.privacy-copy h2 { font-size: clamp(23px, 3vw, 30px); }
.privacy-copy section p { margin-top: 9px; color: var(--muted); line-height: 1.65; }
.privacy-copy section a { color: var(--green); font-weight: 620; text-underline-offset: 3px; }
.privacy-preference { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 6px; font-weight: 650; cursor: pointer; }
.privacy-preference input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.privacy-copy [hidden] { display: none; }
