@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600&display=swap');

:root {
  --ink: #18201d;
  --muted: #5f6c66;
  --paper: #f5f2ea;
  --surface: #ece8dd;
  --surface-deep: #1d2a25;
  --line: #d2cec2;
  --lime: #d7ee72;
  --moss: #758b4b;
  --white: #fffdf8;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 28px 70px rgba(24, 32, 29, .09);
}

* { box-sizing: border-box; font-family: inherit; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: 'IBM Plex Mono', monospace; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { text-decoration-color: var(--moss); }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 10px 14px; background: var(--white); border: 1px solid var(--ink); }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 20; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.nav { display: flex; min-height: 84px; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 1.08rem; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.wordmark::before { width: 17px; height: 17px; border: 5px solid var(--ink); border-radius: 50%; content: ''; }
.nav__links { display: flex; margin-left: auto; align-items: center; gap: 24px; }
.nav__links a { color: var(--muted); font-size: .76rem; font-weight: 600; text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta { display: inline-flex; min-height: 42px; align-items: center; padding: 0 17px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink) !important; }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }

main { width: min(var(--max), calc(100% - 40px)); margin: 28px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: var(--shadow); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; overflow-wrap: break-word; word-break: normal; }
h1 { margin-bottom: 26px; font-size: clamp(3rem, 7vw, 6.7rem); font-weight: 600; }
h1 em { color: var(--moss); font-family: inherit; font-style: normal; font-weight: 400; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; }
h3 { margin-bottom: 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
.eyebrow, .tag, .card__number { color: var(--moss); font-family: 'IBM Plex Mono', monospace; font-size: .69rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.lede { max-width: 720px; color: #46524d; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.7; }
.hero, .page-hero, .section { padding: clamp(72px, 9vw, 128px) clamp(38px, 8vw, 104px); }
.hero--home { display: grid; min-height: 560px; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); align-items: end; gap: 64px; background: radial-gradient(circle at 85% 18%, rgba(215, 238, 114, .32), transparent 28%), linear-gradient(145deg, #f8f5ee, #e8eadc); }
.hero__copy { align-self: center; }
.hero__copy h1 { font-size: clamp(3.5rem, 7.5vw, 7rem); }
.page-hero { min-height: 440px; display: flex; align-items: flex-end; background: radial-gradient(circle at 86% 15%, rgba(215, 238, 114, .42), transparent 26%), #eff0e5; }
.page-hero > div { max-width: 900px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.button--primary { background: var(--ink); color: var(--white); }
.button--primary:hover { background: #2c3a35; }
.button--secondary { background: transparent; color: var(--ink); }
.method-index { padding: 26px 0 0 30px; border-left: 1px solid var(--line); }
.method-index ol { margin: 0; padding: 0; list-style: none; }
.method-index li { display: grid; padding: 18px 0; grid-template-columns: 36px 1fr; border-top: 1px solid var(--line); }
.method-index li > span { color: var(--moss); font-family: inherit; font-size: .7rem; }
.method-index strong { display: block; font-size: .88rem; }
.method-index small { grid-column: 2; color: var(--muted); font-size: .73rem; }

.section { border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.compact { margin-bottom: 28px; }
.section-heading > p:last-child { max-width: 620px; color: var(--muted); }
.statement { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; background: var(--surface-deep); color: var(--white); }
.statement .eyebrow { color: var(--lime); }
.prose-large { max-width: 720px; font-size: clamp(1.25rem, 2.6vw, 2rem); line-height: 1.45; letter-spacing: -.025em; }
.prose-large p:last-child { color: var(--lime); }
.search-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; background: #202c27; color: var(--white); }
.search-panel .eyebrow { color: var(--lime); }
.search-panel h2 { max-width: 480px; }
.search-panel p { max-width: 540px; color: #c5cec6; }
.search-panel form { max-width: 620px; }
.search-panel label { display: block; margin-bottom: 9px; color: #e5ebe4; font-size: .76rem; font-weight: 700; }
.search-row { display: flex; gap: 8px; }
.search-row input { min-width: 0; flex: 1; min-height: 52px; padding: 0 16px; border: 1px solid #68766e; border-radius: 8px; background: #314039; color: var(--white); }
.search-row input::placeholder { color: #aeb9b1; }
.search-row button { min-height: 52px; padding: 0 20px; border: 1px solid var(--lime); border-radius: 8px; background: var(--lime); color: var(--ink); font-weight: 700; cursor: pointer; }
.search-panel small { display: block; margin-top: 12px; color: #aeb9b1; font-size: .75rem; }
.search-panel small a { color: var(--lime); }
.card-grid { display: grid; gap: 16px; }
.card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; }
.card { min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #faf8f2; }
.card h3 { margin-top: 48px; }
.card p { color: var(--muted); font-size: .9rem; }
.card .tag + h3 { margin-top: 28px; }
.section-link { margin-top: 28px; font-size: .84rem; font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 100px); align-items: start; }
.split > div { max-width: 540px; }
.split > div > p:not(.eyebrow) { color: var(--muted); }
.process { margin: 0; padding: 0; list-style: none; }
.process li { display: grid; padding: 19px 0; grid-template-columns: 54px 1fr; border-top: 1px solid var(--line); }
.process li > span { color: var(--moss); font-family: inherit; font-size: .72rem; }
.process strong, .process small { display: block; }
.process small { color: var(--muted); }
.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 940px; }
.link-grid a { display: flex; min-height: 120px; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.link-grid a:hover { border-color: var(--moss); background: #f5f7ea; }
.link-grid span { color: var(--muted); font-size: .78rem; }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: var(--surface); }
.audience-grid article { max-width: 520px; min-height: 370px; padding: 34px; border: 1px solid #c7c2b5; border-radius: var(--radius); background: var(--white); }
.audience-grid article p:not(.eyebrow) { color: var(--muted); }
.audience-grid .button { margin-top: 22px; }
.closing { background: var(--lime); }
.closing h2 { max-width: 850px; }
.closing > p:not(.eyebrow) { max-width: 620px; }
.closing .button { margin: 18px 8px 0 0; }

.stacked-cards { display: grid; gap: 16px; max-width: 980px; }
.stacked-cards article, .principle-list article { display: grid; padding: 32px; grid-template-columns: 80px 1fr; gap: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.stacked-cards article > span, .principle-list article > span { color: var(--moss); font-family: inherit; font-size: .72rem; }
.stacked-cards article p, .principle-list article p { max-width: 700px; color: var(--muted); }
.note { max-width: 560px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.note strong { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.note p { color: var(--muted); }
.timeline { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.timeline li { min-height: 150px; padding: 22px; background: var(--white); font-size: .86rem; font-weight: 600; }
.timeline span { display: block; margin-bottom: 42px; color: var(--moss); font-family: inherit; font-size: .7rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 70px; max-width: 970px; }
.feature-grid article { padding-top: 22px; border-top: 1px solid var(--line); }
.feature-grid article > span { color: var(--moss); font-family: inherit; font-size: .68rem; }
.feature-grid h2 { margin: 22px 0 12px; font-size: 1.75rem; }
.feature-grid p { color: var(--muted); }
.status-list p, .checklist p { display: grid; margin: 0; padding: 16px 0; grid-template-columns: 18px 1fr; border-top: 1px solid var(--line); }
.status-list strong, .status-list small { display: block; grid-column: 2; }
.status-list small { color: var(--muted); }
.status-dot { width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; background: #3c764d; }
.status-dot--amber { background: #aa7e22; }
.status-dot--muted { background: #7a817d; }
.form-section { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: center; background: var(--surface-deep); color: var(--white); }
.form-section > div { max-width: 620px; }
.form-section .eyebrow { color: var(--lime); }
.form-section .button { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.entity-list { display: flex; max-width: 900px; margin: 0; padding: 0; flex-wrap: wrap; gap: 10px; list-style: none; }
.entity-list li { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; }
.checklist p { grid-template-columns: 1fr auto; gap: 30px; }
.checklist strong { color: var(--moss); font-size: .8rem; }
.use-case { display: grid; grid-template-columns: 120px minmax(0, 720px); gap: 40px; }
.use-case > span { color: var(--moss); font-family: inherit; }
.use-case p, .use-case li { color: var(--muted); }
.use-case ul { padding-left: 20px; }
.region-grid, .relationship-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 940px; }
.region-grid article, .relationship-grid article, .contact-grid > div { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.region-grid ul { margin: 20px 0 0; padding: 0; columns: 2; list-style: none; }
.region-grid li { padding: 8px 0; border-top: 1px solid var(--line); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pricing-grid article { display: flex; min-height: 500px; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.pricing-grid .price { color: var(--moss); font-family: inherit; font-size: 1.6rem; font-style: normal; }
.pricing-grid ul { margin-bottom: 32px; padding-left: 20px; color: var(--muted); }
.pricing-grid .button { margin-top: auto; }
.principle-list { display: grid; gap: 14px; max-width: 940px; }
.relationship-grid article p, .contact-grid p { color: var(--muted); }
.faq-list { max-width: 900px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { padding: 24px 36px 24px 0; cursor: pointer; font-size: 1.05rem; font-weight: 700; }
.faq-list details p { max-width: 720px; padding: 0 0 24px; color: var(--muted); }
.contact-grid a { font-size: .82rem; font-weight: 700; }

.site-footer { width: min(var(--max), calc(100% - 40px)); margin: 42px auto 0; padding: 50px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .6fr); gap: 40px; }
.footer-grid h2 { max-width: 420px; margin-top: 24px; font-size: 2.25rem; }
.footer-grid h3 { margin-bottom: 16px; font-family: inherit; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid nav a { color: var(--muted); font-size: .78rem; text-decoration: none; }
.footer-base { display: flex; margin-top: 50px; padding-top: 22px; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }

@media (max-width: 920px) {
  .nav { min-height: 74px; }
  .menu-button { display: inline-grid; place-items: center; }
  .menu-button::before { content: 'menu'; font-size: .65rem; font-weight: 700; }
  .nav__links { position: absolute; top: 74px; left: 0; right: 0; display: none; padding: 20px; flex-direction: column; align-items: stretch; gap: 6px; border: 1px solid var(--line); border-radius: 0 0 18px 18px; background: var(--white); box-shadow: var(--shadow); }
  .nav__links[data-open="true"] { display: flex; }
  .nav__links a { padding: 10px; }
  .nav__cta { justify-content: center; }
  .hero--home, .statement, .split, .form-section, .search-panel { grid-template-columns: 1fr; }
  .hero--home { gap: 30px; }
  .method-index { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .card-grid--three, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .site-header, main, .site-footer { width: min(100% - 24px, var(--max)); }
  main { margin-top: 12px; border-radius: 20px; }
  .hero, .page-hero, .section { padding: 58px 24px; }
  .hero--home { min-height: 0; }
  .search-row { flex-direction: column; }
  .hero__copy h1, h1 { font-size: 2.85rem; }
  .card-grid--three, .card-grid--four, .pricing-grid, .link-grid, .audience-grid, .feature-grid, .region-grid, .relationship-grid, .contact-grid { grid-template-columns: 1fr; }
  .stacked-cards article, .principle-list article { grid-template-columns: 1fr; }
  .stacked-cards article > span, .principle-list article > span { margin-bottom: 10px; }
  .use-case { grid-template-columns: 1fr; gap: 18px; }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; }
}

/* Final polish pass: keep the frame, seams, and interaction states consistent. */
.nav, .hero, .page-hero, .section, .site-footer { isolation: isolate; }
.nav a, .button, .section-link a, .link-grid a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
.nav__cta { white-space: nowrap; }
.button:hover, .nav__cta:hover { transform: translateY(-1px); }
.hero, .page-hero { overflow: hidden; }
.section + .section { margin-top: 0; }
input::placeholder { color: #7e8982; opacity: 1; }
button:focus-visible, input:focus-visible, a:focus-visible { outline-color: var(--lime); }

/* Target landing composition: image field with a single dark editorial panel. */
html { background: #171815; }
body {
  color: #e8e0d4;
  background: #171815 url('/trust_sana_home.png') center top / cover fixed no-repeat;
  background-blend-mode: multiply;
}
.site-header { width: min(1080px, calc(100% - 120px)); margin-top: 30px; }
.nav { min-height: 72px; padding: 0 26px; border: 1px solid rgba(232,224,212,.16); border-radius: 18px; background: #1f1f1c !important; box-shadow: 0 20px 60px rgba(0,0,0,.26); }
.wordmark { color: #e8e0d4; }
.wordmark::before { border-color: var(--lime); }
.nav__links a { color: #b8b2a7; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--lime); }
main { width: min(1080px, calc(100% - 120px)); margin-top: 76px; }
.hero, .page-hero, .section { border-color: rgba(232,224,212,.1); border-radius: 30px; background: rgba(31,31,28,.94) !important; color: #e8e0d4; box-shadow: 0 36px 100px rgba(0,0,0,.3); }
.hero--home { min-height: 760px; display: grid; align-items: center; gap: 64px; }
h1, h2, h3 { color: #e8e0d4; }
h1 em, h2 em { color: #e8e0d4; }
.lede, .section p, .card p, .prose-large { color: #bdb6aa; }
.eyebrow, .tag, .card__number, .method-index li > span, .process li > span { color: #b9a990; }
.button { border-color: rgba(232,224,212,.35); color: #e8e0d4; background: transparent; }
.button--primary { background: transparent; }
.button--secondary { border-color: rgba(232,224,212,.28); }
.card, .stacked-cards article, .feature-grid article, .relationship-grid article, .use-case, .principle-list article { border-color: rgba(232,224,212,.14); background: transparent; }
.search-panel { background: #20201d !important; }
.search-panel p, .search-panel label { color: #c9c3b8; }
.search-panel input { border-color: rgba(232,224,212,.24); background: #171815; color: #e8e0d4; }
.search-panel button { background: #e8e0d4; color: #20201d; }
.site-footer { width: min(1080px, calc(100% - 120px)); background: rgba(24,25,22,.97); color: #e8e0d4; }
@media (max-width: 620px) {
  .site-header, main, .site-footer { width: calc(100% - 24px); }
  .site-header { margin-top: 12px; }
  main { margin-top: 24px; }
  .hero, .page-hero, .section { border-radius: 20px; }
  .hero--home { min-height: 680px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

em, i { font-style: normal; }

/* Elevated site shell: shared inset frame across every static route. */
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 238, 114, .13), transparent 28rem),
    linear-gradient(145deg, #5a5148 0%, #433b35 58%, #332d29 100%);
}
.site-header {
  width: min(1040px, calc(100% - 96px));
  margin: 12px auto 0;
}
.nav {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(245, 242, 234, .24);
  border-radius: 14px;
  background: rgba(248, 246, 239, .94);
  box-shadow: 0 14px 36px rgba(24, 20, 17, .16);
}
main {
  width: min(1040px, calc(100% - 96px));
  margin: 54px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero, .page-hero, .section {
  margin-bottom: 54px;
  border: 1px solid rgba(245, 242, 234, .2);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(20, 15, 12, .2);
}
.hero:last-child, .page-hero:last-child, .section:last-child { margin-bottom: 0; }
.hero--home, .page-hero { border-color: rgba(210, 206, 194, .9); }
.section:not(.statement):not(.closing):not(.form-section) { background: var(--white); }
.section.search-panel { background: #202c27; color: var(--white); }
.section.search-panel p { color: #c5cec6; }
.section.search-panel label { color: #e5ebe4; }
.section.search-panel small { color: #aeb9b1; }
.section.search-panel small a { color: var(--lime); }
.statement { border-color: rgba(215, 238, 114, .18); }
.closing { border-color: rgba(215, 238, 114, .55); }
.site-footer {
  width: min(1040px, calc(100% - 96px));
  margin: 56px auto;
  padding: 48px clamp(26px, 5vw, 64px) 30px;
  border: 1px solid rgba(245, 242, 234, .2);
  border-radius: 24px;
  background: rgba(29, 42, 37, .97);
  color: var(--white);
  box-shadow: 0 28px 80px rgba(20, 15, 12, .2);
}
.site-footer .wordmark { color: var(--white); }
.site-footer .wordmark::before { border-color: var(--lime); }
.site-footer h2 { color: var(--white); }
.site-footer p { color: #c5cec6; }
.site-footer .footer-grid h3 { color: var(--lime); }
.site-footer .footer-grid nav a { color: #c5cec6; }
.site-footer .footer-grid nav a:hover { color: var(--lime); }
.site-footer .footer-base { border-color: rgba(215, 238, 114, .22); color: #aeb9b1; }
.site-footer .footer-base a { color: var(--lime); }

@media (max-width: 620px) {
  .site-header, main, .site-footer { width: calc(100% - 24px); }
  .site-header { margin-top: 8px; }
  .nav { min-height: 54px; padding: 0 14px; border-radius: 12px; }
  .nav__links { top: 62px; border-radius: 12px; }
  main { margin-top: 16px; }
  .hero, .page-hero, .section { margin-bottom: 24px; padding: 76px 48px; border-radius: 16px; }
  h1 { font-size: 2.85rem; }
  .hero__copy h1 { font-size: 2.35rem; letter-spacing: -.055em; }
  .eyebrow, .tag, .card__number { letter-spacing: .09em; overflow-wrap: break-word; }
  .site-footer { margin: 16px auto; border-radius: 16px; }
}
