/* Diatrace public site. Tokens first, then a small set of shared components.
   Pages compose these classes; avoid page-specific rules where a token will do. */

@font-face{font-family:'Rethink Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('/static/assets/fonts/rethink-latin-normal.woff2') format('woff2')}
@font-face{font-family:'Rethink Sans';font-style:italic;font-weight:400 700;font-display:swap;src:url('/static/assets/fonts/rethink-latin-italic.woff2') format('woff2')}
/* Material Symbols Outlined, subset to the icons the site uses (wght 300, FILL 0).
   To add an icon, re-download with the full sorted list in icon_names:
   fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,300,0,0&icon_names=... */
@font-face{font-family:'Material Symbols Outlined';font-style:normal;font-weight:300;font-display:block;src:url('/static/assets/fonts/material-symbols-outlined.woff2') format('woff2')}

:root{
  /* Colour */
  --lime:#bed91a;
  --ink:#000;
  --text:#111;
  --text-muted:rgba(0,0,0,.6);
  --text-subtle:rgba(0,0,0,.5);
  --text-faint:rgba(0,0,0,.4);
  --rule:rgba(0,0,0,.1);
  --surface:#fff;
  --surface-alt:#f4f4f2;
  --surface-inverse:#141414;
  --button:#252525;
  --media:#1c2206;

  /* Type */
  --font:'Rethink Sans',sans-serif;
  --fs-display:clamp(44px,7vw,112px);
  --fs-h1:clamp(40px,5.5vw,88px);
  --fs-h2:clamp(30px,3.4vw,48px);
  --fs-h2-sm:clamp(28px,2.6vw,38px);
  --fs-statement:clamp(26px,3.3vw,44px);
  --fs-item:clamp(19px,1.8vw,24px);
  --fs-h3:22px;
  --fs-question:clamp(17px,1.5vw,20px);
  --fs-lead:17px;
  --fs-body:15px;
  --fs-small:14px;
  --fs-label:12px;

  /* Space */
  --gutter:clamp(20px,5vw,72px);
  --section-y:clamp(80px,11vw,160px);
  --hero-top:clamp(56px,9vw,128px);
  --block-gap:clamp(56px,7vw,96px);
  --gap:32px 80px;
  --max:1440px;
  --radius:6px;

  --ease:250ms ease-in-out;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);background:var(--surface);color:var(--text);-webkit-font-smoothing:antialiased}
h1,h2,h3,p,ol,ul,figure{margin:0}
h1,h2{font-weight:400}
img{max-width:100%}
a{color:inherit;text-decoration:none}
a:hover{color:var(--lime)}
:focus-visible{outline:2px solid var(--lime);outline-offset:4px}

.icon{font-family:'Material Symbols Outlined';font-weight:300;font-style:normal;font-size:18px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;font-feature-settings:'liga'}
.icon--lg{font-size:30px;color:var(--ink)}

/* ---------- Layout ---------- */
.container{max-width:var(--max);margin:0 auto;padding-inline:var(--gutter)}
.section{padding-block:var(--section-y)}
.section--alt{background:var(--surface-alt)}
.section--tight{padding-top:0}

/* Two groups pushed apart, wrapping on narrow screens */
.split{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:var(--gap)}
.split > :first-child{flex:2 1 560px;min-width:0}
.split > :last-child{flex:1 1 280px;max-width:380px}
.split.ruled > :first-child{flex:1 1 360px;max-width:560px}
.split.ruled > * + *{flex:none}
.split--top{align-items:flex-start}
.split--top > :first-child{flex:1 1 300px}
.split--top > :last-child{flex:2 1 480px;min-width:0;max-width:none}

/* Auto-fitting columns; set --col for the minimum column width */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--col,300px)),1fr));gap:var(--grid-gap,48px 80px);align-items:start}
.grid--ruled{--grid-gap:0;border-top:1px solid var(--rule)}
.ruled{padding-top:28px;border-top:1px solid var(--rule)}
.stack{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.stack > .lead{max-width:400px}
.mt{margin-top:var(--block-gap)}

/* ---------- Type ---------- */
.eyebrow{font-size:var(--fs-label);letter-spacing:.18em;text-transform:uppercase;color:var(--text-subtle)}
.display,.h1,.h2,.h2-sm{letter-spacing:-.03em;text-wrap:balance}
.display{font-size:var(--fs-display);line-height:.98;letter-spacing:-.04em;max-width:14ch}
.h1{font-size:var(--fs-h1);line-height:1;letter-spacing:-.04em;max-width:18ch}
.h2{font-size:var(--fs-h2);line-height:1.08;max-width:22ch}
.h2-sm{font-size:var(--fs-h2-sm);line-height:1.12;letter-spacing:-.025em}
.h3{font-size:var(--fs-h3);font-weight:500;letter-spacing:-.01em}
.statement{font-size:var(--fs-statement);line-height:1.25;letter-spacing:-.02em;max-width:1080px;text-wrap:pretty}
.statement span{color:rgba(0,0,0,.42)}
.statement + .link{margin-top:44px}
.lead{font-size:var(--fs-lead);line-height:1.6;color:var(--text-muted);text-wrap:pretty}
.hero .lead{font-size:clamp(16px,1.3vw,18px)}
.muted{color:var(--text-muted)}
.small{font-size:var(--fs-small);line-height:1.65}
.eyebrow + .h1,.eyebrow + .h2,.eyebrow + .statement{margin-top:20px}

/* Long-form text: legal pages, technology descriptions */
.prose{font-size:16px;line-height:1.7;color:var(--text-muted);max-width:720px}
.prose > * + *{margin-top:1em}
.prose ul{padding-left:1.2em}
.prose a{color:var(--ink);border-bottom:1px solid var(--lime)}
.prose b,.prose strong{color:var(--text);font-weight:500}

/* ---------- Actions ---------- */
.link{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:500;color:var(--ink);padding-bottom:4px;border-bottom:2px solid var(--lime)}
.btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;background:var(--button);border-radius:var(--radius);color:#fff;font-size:15px;font-weight:500;cursor:pointer;transition:background var(--ease)}
.btn:hover{background:var(--ink);color:#fff}
.btn--sm{height:36px;padding:0 16px;font-size:var(--fs-small);font-weight:400}

/* ---------- Header ---------- */
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-block:28px}
.nav__logo img{height:24px;width:auto;display:block}
.nav__links{display:flex;align-items:center;gap:clamp(18px,3vw,40px);font-size:var(--fs-small);color:var(--text-muted);flex-wrap:wrap}
.nav__links a:not(.btn):hover,.nav__links [aria-current]{color:var(--ink)}

/* Page opener: large heading, then a ruled row with the lead and an action */
.hero{padding-top:var(--hero-top)}
.hero .ruled{margin-top:clamp(40px,5vw,64px)}
main > .hero:last-child{padding-bottom:var(--section-y)}

/* Image tinted in the brand lime */
.media{border-radius:var(--radius);overflow:hidden;background:var(--media);position:relative;isolation:isolate;aspect-ratio:21/9}
@media (max-width:680px){.media{aspect-ratio:5/4}}
.media img{width:100%;height:100%;object-fit:cover;object-position:center 40%;display:block;mix-blend-mode:luminosity;opacity:.9}
.media::after{content:"";position:absolute;inset:0;background:var(--lime);mix-blend-mode:multiply;opacity:.55;pointer-events:none}
.hero > .media{margin-top:clamp(48px,6vw,80px)}
.media__caption{position:absolute;inset:0 0 auto;z-index:1;padding:clamp(32px,4vw,56px);color:#fff}
.media__caption .eyebrow{color:rgba(255,255,255,.6);margin-bottom:20px}

/* Sign-in: form panel beside a full-height tinted image */
.auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);min-height:100vh;min-height:100dvh}
.auth__panel{display:flex;flex-direction:column;justify-content:space-between;gap:48px;padding:28px var(--gutter)}
.auth .auth__panel > *{width:100%;max-width:400px;margin-inline:auto}
.auth__foot{display:flex;gap:20px;color:var(--text-faint)}
.auth__foot span{margin-right:auto}
.auth > .media{aspect-ratio:auto;margin:16px 16px 16px 0}
.auth > .media img{object-position:center bottom}
@media (max-width:900px){.auth{grid-template-columns:1fr}.auth > .media{display:none}}

/* ---------- Content blocks ---------- */
/* Column with a lime top edge on hover */
.card{display:flex;flex-direction:column;gap:20px;padding:36px 32px 8px 0;border-top:2px solid transparent;margin-top:-1px;transition:border-color var(--ease)}
.card:hover{border-top-color:var(--lime)}
.card__top{display:flex;align-items:center;justify-content:space-between}
.card p{font-size:var(--fs-body);line-height:1.65;color:var(--text-muted);text-wrap:pretty}
.num{font-size:var(--fs-label);color:var(--text-faint);letter-spacing:.08em;font-variant-numeric:tabular-nums}

/* Numbered list separated by rules */
.rows{list-style:none;padding:0;display:flex;flex-direction:column;align-self:stretch}
.rows li{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:16px;padding:24px 0;border-bottom:1px solid var(--rule);font-size:var(--fs-item);letter-spacing:-.01em;transition:padding var(--ease)}
.rows li:hover{padding-left:8px}
.rows .num{font-size:13px;letter-spacing:0}
.rows--plain li{grid-template-columns:32px 1fr;padding:16px 0;font-size:16px;color:var(--text-muted)}
.rows--plain .icon{color:var(--ink)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--lime)}

/* Heading on the left, body on the right, ruled above */
.entry{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px 80px;padding-block:clamp(40px,5vw,64px);border-top:1px solid var(--rule)}
.entry > :first-child{max-width:440px}
.entry .prose{grid-column:span 2}
@media (max-width:760px){.entry .prose{grid-column:auto}}

/* Accordion; details[name] keeps one answer open at a time */
.faq{border-top:1px solid var(--rule)}
.faq details{border-bottom:1px solid var(--rule)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0;font-size:var(--fs-question);letter-spacing:-.01em;color:var(--ink);cursor:pointer;list-style:none;text-wrap:pretty}
.faq summary::-webkit-details-marker{display:none}
.faq summary .icon{font-size:22px;flex:none;transition:transform var(--ease)}
.faq details[open] .icon{transform:rotate(45deg)}
.faq details > :not(summary){padding:0 48px 28px 0;font-size:16px;line-height:1.65;color:var(--text-muted);max-width:760px;text-wrap:pretty}
.faq a,.inline-link{color:var(--ink);border-bottom:1px solid var(--lime)}

/* Pricing */
.price{font-size:var(--fs-h2);letter-spacing:-.03em;line-height:1.1}
.price small{font-size:var(--fs-body);letter-spacing:0;color:var(--text-subtle)}

/* Partner logos in one ink tone */
.logos{display:flex;flex-wrap:wrap;align-items:center;gap:40px 64px}
.logos img{height:48px;width:auto;display:block;filter:brightness(0);opacity:.7;transition:opacity var(--ease)}
.logos a:hover img{opacity:1}
.figure img{display:block;width:100%;height:auto;border-radius:var(--radius);box-shadow:0 1px 0 var(--rule),0 24px 48px -24px rgba(0,0,0,.25)}

/* ---------- Forms ---------- */
.form{display:flex;flex-direction:column;gap:20px;width:100%;max-width:640px}
.form > .link{align-self:flex-start}
.form p{display:flex;flex-direction:column;gap:8px}
.form label{font-size:var(--fs-label);letter-spacing:.14em;text-transform:uppercase;color:var(--text-subtle)}
.form input,.form textarea,.form select{font:inherit;font-size:16px;color:var(--text);background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius);padding:12px 14px;transition:border-color var(--ease)}
.form input:focus,.form textarea:focus,.form select:focus{outline:none;border-color:var(--ink)}
.form textarea{resize:vertical;min-height:140px}
.form .errorlist{list-style:none;padding:0;font-size:var(--fs-small);color:#b42318}
.theme-alert{padding:14px 16px;border-radius:var(--radius);border-left:3px solid var(--lime);background:var(--surface-alt);font-size:15px}
.theme-alert.alert-error{border-left-color:#b42318}

/* ---------- Footer ---------- */
.footer{background:var(--surface-inverse);color:rgba(255,255,255,.6);padding-block:72px 40px}
.footer__cols{display:flex;flex-wrap:wrap;gap:48px}
.footer__col{display:flex;flex-direction:column;gap:12px;font-size:var(--fs-small);flex:1 1 160px}
.footer__col:first-child{gap:24px;flex:2 1 280px;min-width:0}
.footer__col:first-child img{height:24px;width:auto;align-self:flex-start}
.footer__col .eyebrow{letter-spacing:.14em;color:rgba(255,255,255,.4);margin-bottom:6px}
.footer__social{display:flex;gap:20px}
.footer__legal{margin-top:72px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1);font-size:13px;color:rgba(255,255,255,.4)}
