/* Copyright © 2026 EuKreate, Inc. All rights reserved. */
/* Shared visual foundation for the public pages, Explore and documentation. */
body.site.public-redesign {
  --bg: #0a0c0d; --bg2: #101315; --bg3: #171b1e; --bg-raise: #101315;
  --text: #f1f2ef; --text-2: #b5b9b9; --muted: #959d9f; --faint: #798487;
  --line: #272d30; --line-strong: #414b4e; --accent: #ffb849; --accent-2: #ffcd7b;
  --accent-text: #ffbc55; --accent-soft: #241e13; --accent-line: #8d6327;
  --on-accent: #17130b; --network-grid: #1c2326; --wire: #4b595e; --signal: #a9c4af;
  --wrap: 1280px; --header-h: 82px;
}
:root[data-theme="light"] body.site.public-redesign {
  --bg: #f7f7f2; --bg2: #f0f1eb; --bg3: #e8ece5; --bg-raise: #fffefa;
  --text: #182124; --text-2: #4c595d; --muted: #5b6a70; --faint: #63747b;
  --line: #d3dbd9; --line-strong: #a5b3b4; --accent: #ffb849; --accent-2: #ffc972;
  --accent-text: #935a00; --accent-soft: #fff0d6; --accent-line: #b17c31;
  --on-accent: #17130b; --network-grid: #e1e6e1; --wire: #9caeb0; --signal: #42674d;
}
.public-redesign header.site { background: var(--bg); }
.public-redesign header.site .bar { height: var(--header-h); gap: 36px; }
.public-redesign header.site .ekl-logo { flex-shrink: 0; }
.public-redesign header.site .ekl-logo img { width: auto; height: 35px; }
.public-redesign header.site nav { gap: 23px; margin-left: auto; font-size: 13px; }
.public-redesign header.site nav a { min-height: 40px; display: flex; align-items: center; }
.public-redesign header.site nav a.current { color: var(--text); }
.public-redesign header.site nav a.current::after { bottom: -21px; height: 2px; }
.public-redesign header.site .end { margin-left: 0; gap: 14px; font-size: 12px; }
body.site.public-redesign header.site .end a.btn.primary { color: var(--on-accent); }
.public-redesign header.site .theme-toggle { width: 32px; height: 32px; border-radius: 4px; }
.public-redesign footer.site-foot { background: var(--bg2); }
.public-redesign footer.site-foot .wrap { padding-top: 43px; padding-bottom: 24px; gap: 35px; }
.public-redesign footer.site-foot nav { gap: 24px 38px; grid-template-columns: repeat(4, minmax(110px, auto)); font-size: 11px; }
.public-redesign footer.site-foot nav h4 { font-size: 9px; letter-spacing: .1em; color: var(--text-2); }
.public-redesign footer.site-foot .foot-brand p { font-size: 12px; max-width: 210px; }
.public-redesign footer.site-foot .foot-legal { font: 400 10px var(--mono); color: var(--muted); }
.public-redesign :is(h1, h2, h3, h4, p, figure) { margin: 0; }
.public-redesign :is(h1, h2, h3, h4) { font-weight: 500; }
.public-redesign :is(a, button, summary, code[tabindex]):focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.public-redesign :is(section, article, details)[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.public-redesign [hidden] { display: none !important; }
.public-redesign .pr-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.public-redesign .pr-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.public-redesign .pr-kicker { display: flex; align-items: center; gap: 11px; color: var(--muted); font: 400 9px/1.8 var(--mono); letter-spacing: .09em; }
.public-redesign .pr-kicker > span:not(.pr-square) { color: var(--accent-text); border-right: 1px solid var(--line-strong); padding-right: 12px; }
.public-redesign .pr-square { display: inline-block; width: 5px; height: 5px; flex-shrink: 0; background: var(--accent-text); }
.public-redesign .pr-lead { max-width: 475px; margin-top: 24px; font-size: 14px; line-height: 1.9; color: var(--text-2); }
.public-redesign .pr-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 27px; margin-top: 28px; }
body.site.public-redesign .btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 0 22px; font-size: 12px; border-radius: 4px; }
body.site.public-redesign .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
body.site.public-redesign .btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); opacity: 1; }
body.site.public-redesign header.site .btn.small { min-height: 36px; padding: 0 13px; gap: 12px; font-size: 12px; border-radius: 4px; }
.public-redesign .pr-link { display: inline-flex; align-items: center; gap: 13px; padding-block: 10px; font-size: 12px; font-weight: 500; }
.public-redesign .pr-link:hover { color: var(--accent-text); }
.public-redesign .pr-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.public-redesign .pr-section-heading h2 { margin-top: 17px; font-size: 38px; line-height: 1.2; letter-spacing: -.045em; }
.public-redesign .pr-section-heading h2 > span { color: var(--muted); }
.public-redesign .pr-section-heading > p { max-width: 310px; padding-bottom: 3px; font-size: 13px; line-height: 1.85; color: var(--text-2); }
@media (max-width: 1190px) {
  .public-redesign header.site .bar { gap: 23px; }
  .public-redesign header.site nav { gap: 17px; font-size: 11px; }
  .public-redesign header.site .end { gap: 10px; }
  .public-redesign header.site .ekl-logo img { height: 30px; }
  .public-redesign footer.site-foot nav { gap: 24px; }
}
@media (max-width: 1000px) and (min-width: 901px) {
  .public-redesign header.site .bar { gap: 16px; padding-inline: 24px; }
  .public-redesign header.site nav { gap: 12px; font-size: 10px; }
  .public-redesign header.site .ekl-logo img { height: 26px; }
  .public-redesign header.site .end { font-size: 11px; gap: 8px; }
  body.site.public-redesign header.site .btn.small { font-size: 10px; padding-inline: 9px; }
  .public-redesign header.site .theme-toggle { width: 28px; }
}
@media (max-width: 900px) {
  body.site.public-redesign { --header-h: 66px; }
  .public-redesign header.site .bar { height: 66px; }
  .public-redesign header.site nav { display: none; margin-left: 0; }
  .public-redesign header.site .end { margin-left: auto; gap: 15px; }
  .public-redesign header.site.open nav { display: flex; font-size: 14px; gap: 0; }
  .public-redesign header.site nav a.current::after { display: none; }
  .public-redesign footer.site-foot .wrap { grid-template-columns: 1fr; }
  .public-redesign footer.site-foot nav { grid-template-columns: repeat(4, 1fr); }
  .public-redesign .pr-section-heading h2 { font-size: 32px; }
  .public-redesign .pr-section-heading > p { max-width: 260px; font-size: 12px; }
}
@media (max-width: 650px) {
  .public-redesign header.site .ekl-logo img { height: 29px; }
  .public-redesign header.site .end { gap: 10px; }
  .public-redesign header.site .end > a.btn.primary { display: none; }
  .public-redesign .acct-pop { position: fixed; top: calc(var(--header-h) - 5px); right: 20px; width: min(310px, calc(100vw - 40px)); min-width: 0; white-space: normal; border-radius: 6px; }
  .public-redesign .pr-kicker { font-size: 8px; letter-spacing: .06em; }
  .public-redesign .pr-lead { font-size: 13px; margin-top: 20px; }
  .public-redesign .pr-actions { gap: 12px 22px; margin-top: 24px; }
  body.site.public-redesign .btn { padding-inline: 17px; gap: 18px; }
  .public-redesign .pr-section-heading { display: block; }
  .public-redesign .pr-section-heading h2 { font-size: 30px; }
  .public-redesign .pr-section-heading > p { margin-top: 17px; max-width: 360px; }
  .public-redesign footer.site-foot nav { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .public-redesign *, .public-redesign *::before, .public-redesign *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Account and utility pages (sign-in, request access, recovery, onboarding, legal, errors): the same 4px corners and
   hairline fields, with the spacing the margin reset above takes away. */
body.site.public-redesign :is(input[type=text], input[type=url], input[type=email], input[type=number], input[type=search], input[type=tel], input:not([type]), textarea, select) { border-radius: 4px; }
.public-redesign main.public > section.card { border-radius: 4px; }
.public-redesign :is(.kind-choice .kind, section.card .choice label) { border-radius: 4px; }
.public-redesign .notice { border-radius: 0; }
.public-redesign .legal-nav a { border-radius: 2px; }
.public-redesign .page-head :is(.lead, .legal-revision) { margin-top: 14px; }
.public-redesign .page-head .actions { margin-top: 28px; }
