@layer base, layout, components, responsive;
@layer base {
  :root {
    --ink: #182b23;
    --muted: #637269;
    --green: #176a4a;
    --green-dark: #105437;
    --green-soft: #e9f3ec;
    --paper: #fff;
    --surface: #f6f8f5;
    --line: #e0e7df;
    --radius: 16px;
    --shadow: 0 8px 30px #203e2410;
    font-family:
      Inter,
      'Segoe UI',
      system-ui,
      -apple-system,
      sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
  }
  * {
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
  }
  body {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
  }
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  h1,
  h2,
  h3 {
    line-height: 1.15;
    letter-spacing: -0.04em;
  }
  h1 {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 750;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  a {
    color: var(--green);
    text-underline-offset: 4px;
  }
  button,
  input,
  select {
    font: inherit;
  }
  button,
  a,
  input,
  select,
  summary {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  summary:focus-visible {
    outline: 3px solid #ad7130;
    outline-offset: 5px;
  }
  [hidden] {
    display: none !important;
  }
  img {
    max-width: 100%;
  }
  .icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    vertical-align: middle;
  }
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .skip-link {
    position: absolute;
    left: 20px;
    top: -80px;
    z-index: 10;
    padding: 12px 20px;
    background: white;
  }
  .skip-link:focus {
    top: 8px;
  }
  :disabled {
    cursor: wait;
    opacity: 0.6;
  }
}
@layer layout {
  .container {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
  }
  .site-header {
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 90px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.8px;
    white-space: nowrap;
  }
  .brand-accent,
  .brand-dot {
    color: var(--green);
  }
  .brand-mark {
    width: 37px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: white;
    background: var(--green);
  }
  .brand-mark .icon {
    width: 26px;
    height: 26px;
  }
  .site-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
  }
  .site-header nav a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
  }
  .site-header nav a:hover {
    color: var(--green);
  }
  .header-note {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--green);
  }
  .header-note .icon {
    width: 16px;
    height: 16px;
  }
  .hero {
    padding-block: 74px 65px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    align-items: center;
  }
  .hero h1 {
    margin: 22px 0 24px;
    line-height: 1.05;
    letter-spacing: -0.06em;
    font-size: clamp(3rem, 5.5vw, 4.8rem);
  }
  .hero h1 span {
    color: var(--green);
  }
  .hero-copy > p {
    max-width: 420px;
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
  }
  .hero-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
    font-size: 12px;
    color: var(--muted);
  }
  .hero-perks span {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .hero-perks .icon {
    width: 16px;
    height: 16px;
    color: var(--green);
  }
  .tools-surface {
    background: var(--surface);
    border-block: 1px solid var(--line);
    padding: 54px 0 64px;
  }
  .catalog-heading,
  .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .catalog-heading h2 {
    margin: 10px 0 0;
    font-size: 2rem;
  }
  .tool-count {
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 6px 13px;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    background: white;
  }
  .tool-category {
    margin-top: 38px;
  }
  .tool-category + .tool-category {
    margin-top: 48px;
  }
  .category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 19px;
  }
  .category-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    letter-spacing: -0.025em;
    margin: 0;
  }
  .category-heading h2 > .icon {
    width: 20px;
    height: 20px;
    color: var(--green);
  }
  .category-heading h2 span {
    font-size: 11px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 3px 6px;
    letter-spacing: 0;
  }
  .category-heading > p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
  }
  .tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .reassurance {
    display: flex;
    gap: 36px;
    padding-block: 64px;
    max-width: 900px;
    align-items: flex-start;
  }
  .reassurance h2 {
    margin: 10px 0 16px;
    font-size: 2rem;
  }
  .reassurance p {
    color: var(--muted);
    max-width: 650px;
  }
  .reassurance-icon {
    background: var(--green-soft);
    padding: 20px;
    border-radius: 20px;
    color: var(--green);
  }
  .reassurance-icon .icon {
    width: 42px;
    height: 42px;
  }
  .site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0;
  }
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
  .footer-brand {
    font-size: 17px;
  }
  .footer-brand > .icon {
    color: var(--green);
    width: 22px;
    height: 22px;
  }
  .site-footer p {
    font-size: 12px;
    color: var(--muted);
    margin: 6px 0 0;
  }
  .site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
  }
  .site-footer nav a,
  .site-footer small,
  .site-footer .text-button {
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
  }
  .prose {
    max-width: 780px;
    padding-block: 65px 90px;
    min-height: 65vh;
  }
  .prose h1 {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    margin: 18px 0 24px;
  }
  .prose h2 {
    font-size: 1.5rem;
    margin-top: 38px;
  }
  .prose p {
    color: var(--muted);
  }
  .prose .lead {
    font-size: 1.25rem;
    color: var(--ink);
  }
  .prose .button {
    margin-top: 16px;
  }
}
@layer components {
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.4px;
    color: var(--green);
    line-height: 1.5;
  }
  .eyebrow .icon {
    width: 15px;
    height: 15px;
  }
  .status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 100%;
    flex-shrink: 0;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    min-height: 48px;
    transition: background 0.15s;
  }
  .button:hover {
    background: var(--green-dark);
  }
  .button .icon {
    width: 18px;
    height: 18px;
  }
  .button-secondary {
    background: white;
    color: var(--green);
    border-color: var(--line);
  }
  .button-secondary:hover {
    background: var(--green-soft);
  }
  .button-small {
    padding: 9px 15px;
    min-height: 42px;
    font-size: 12px;
  }
  .button-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .quiet-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
  }
  .quiet-link .icon {
    width: 16px;
    height: 16px;
  }
  .quiet-link:hover {
    color: var(--green);
  }
  .text-button {
    border: 0;
    background: transparent;
    color: var(--green);
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 13px;
  }
  .privacy-visual {
    position: relative;
    background: #edf4ee;
    border: 1px solid #dce8dd;
    border-radius: 22px;
    text-align: center;
    padding: 24px 28px 0;
    max-width: 360px;
    width: 100%;
    justify-self: end;
    transform: rotate(2deg);
    box-shadow: 7px 12px 0 #f5f7f2;
  }
  .visual-topline {
    display: flex;
    gap: 7px;
    justify-content: center;
    align-items: center;
    font-size: 9px;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: var(--green);
  }
  .file-orbit {
    height: 160px;
    position: relative;
    margin-top: 16px;
  }
  .visual-file {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 68px;
    height: 83px;
    border: 1px solid #e0e5dc;
    background: white;
    border-radius: 10px;
    box-shadow: 0 7px 15px #19312409;
  }
  .visual-file .icon {
    width: 28px;
    height: 28px;
  }
  .visual-file small {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  .file-pdf {
    top: 22px;
    left: 15px;
    transform: rotate(-16deg);
    color: #9b6849;
  }
  .file-image {
    top: 0;
    left: calc(50% - 34px);
    transform: rotate(6deg);
    color: #476e59;
  }
  .file-png {
    right: 10px;
    top: 32px;
    transform: rotate(18deg);
    color: #777294;
  }
  .visual-shield {
    width: 83px;
    height: 92px;
    border-radius: 22px;
    background: var(--green);
    color: white;
    display: grid;
    place-items: center;
    position: absolute;
    top: 65px;
    left: calc(50% - 42px);
    border: 5px solid #edf4ee;
    box-shadow: 0 10px 22px #176a4a20;
    transform: rotate(-2deg);
  }
  .visual-shield .icon {
    width: 46px;
    height: 46px;
  }
  .privacy-visual h2 {
    font-size: 27px;
    line-height: 1.15;
    margin: 10px 0;
  }
  .privacy-visual p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 22px;
  }
  .visual-bottom {
    border-top: 1px solid #d3e1d6;
    padding: 13px 0;
    font-size: 10px;
    font-weight: 600;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .visual-bottom .icon {
    width: 14px;
    height: 14px;
  }
  .tool-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 23px;
    text-decoration: none;
    transition:
      border-color 0.15s,
      box-shadow 0.15s;
  }
  .tool-card:hover {
    border-color: #98b5a2;
    box-shadow: var(--shadow);
  }
  .tool-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 11px;
    background: var(--green-soft);
    color: var(--green);
    margin-bottom: 20px;
  }
  .tool-icon.pdf {
    background: #f3eee8;
    color: #926340;
  }
  .tool-icon .icon {
    width: 23px;
    height: 23px;
  }
  .tool-card h3 {
    margin: 0 0 9px;
    font-size: 15px;
    letter-spacing: -0.025em;
  }
  .tool-card > p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 190px;
  }
  .card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    margin-top: auto;
  }
  .card-link .icon {
    width: 16px;
    height: 16px;
  }
  body:has(.consent-bar:not([hidden])) {
    padding-bottom: var(--analytics-bar-height, 88px);
  }
  html:has(.consent-bar:not([hidden])) {
    scroll-padding-bottom: calc(var(--analytics-bar-height, 88px) + 16px);
  }
  .consent-bar {
    position: fixed;
    z-index: 10;
    inset: auto 0 0;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: white;
    box-shadow: 0 -2px 12px #182b2308;
  }
  .consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .consent-copy {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
  }
  .consent-copy a {
    white-space: nowrap;
  }
  .consent-actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
  }
  .consent-actions .button {
    min-height: 44px;
    white-space: nowrap;
  }
}
@layer responsive {
  @media (max-width: 1000px) {
    .header-note {
      display: none;
    }
    .hero {
      gap: 35px;
    }
    .hero h1 {
      font-size: 3.7rem;
    }
    .hero-eyebrow {
      font-size: 9px;
      letter-spacing: 0.7px;
    }
    .tool-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .footer-inner {
      flex-wrap: wrap;
    }
  }
  @media (max-width: 760px) {
    .container {
      width: calc(100% - 40px);
    }
    .header-inner {
      flex-wrap: wrap;
      min-height: 100px;
      gap: 12px;
      padding-block: 16px;
    }
    .site-header nav {
      gap: 12px 20px;
    }
    .site-header nav a {
      font-size: 12px;
    }
    .brand {
      font-size: 21px;
    }
    .hero {
      grid-template-columns: 1fr;
      padding-block: 40px;
      gap: 30px;
    }
    .hero h1 {
      font-size: clamp(2.8rem, 8vw, 4rem);
    }
    .desktop-break {
      display: none;
    }
    .hero-copy > p {
      font-size: 16px;
      max-width: 500px;
    }
    .privacy-visual {
      display: none;
    }
    .hero-actions {
      gap: 18px;
    }
    .hero-perks {
      gap: 16px;
    }
    .tool-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .catalog-heading h2 {
      font-size: 1.65rem;
    }
    .tool-count {
      font-size: 10px;
    }
    .category-heading {
      align-items: flex-start;
      flex-direction: column;
      gap: 6px;
    }
    .tool-card {
      padding: 19px;
    }
    .tool-card h3 {
      line-height: 1.35;
    }
    .tools-surface {
      padding-block: 38px 44px;
    }
    .reassurance {
      gap: 18px;
      padding-block: 40px;
    }
    .reassurance-icon {
      padding: 12px;
      border-radius: 12px;
    }
    .reassurance-icon .icon {
      width: 25px;
      height: 25px;
    }
    .reassurance h2 {
      font-size: 1.5rem;
    }
    .reassurance p {
      font-size: 14px;
    }
    .footer-inner {
      gap: 24px;
      align-items: flex-start;
      flex-direction: column;
    }
    .site-footer nav {
      gap: 20px;
    }
    .consent-inner {
      flex-wrap: wrap;
      gap: 10px;
    }
  }
  @media (max-width: 380px) {
    .container {
      width: calc(100% - 28px);
    }
    .tool-card {
      padding: 15px;
    }
    .hero-perks {
      gap: 10px;
      font-size: 11px;
    }
    .tool-card h3 {
      font-size: 14px;
    }
    .tool-count {
      display: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      transition: none !important;
      animation: none !important;
    }
  }
}
