/* DOCTA MONOCHROME FOUNDATION — monochrome identity and unconcealment system.
   Load this stylesheet after style.css, yc-entry.css and terminal-v2.css.
   Brand chrome is black/white; green and red remain reserved for real gains,
   losses and error states. */

:root{
  --docta-foundation-ink:#050505;
  --docta-foundation-ink-raised:#0a0a0a;
  --docta-foundation-paper:#f2f0e9;
  --docta-foundation-white:#fff;
  --docta-foundation-muted:#918f88;
  --docta-foundation-dim:#64635e;
  --docta-foundation-rule:rgba(242,240,233,.19);
  --docta-foundation-rule-strong:rgba(242,240,233,.42);
  --docta-foundation-hover:rgba(242,240,233,.055);
  --docta-foundation-sans:"Space Grotesk","Noto Sans TC","Noto Sans SC",system-ui,sans-serif;
  --docta-foundation-inscription:"Noto Serif","Times New Roman",serif;
  --docta-foundation-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}

/* ── Accessible lockups ─────────────────────────────────────────────── */
.docta-foundation-lockup,
.logo,
.yc-entry-logo,
.yc-entry-fallback-logo,
.terminal-home-mark .logo,
.terminal-brand .logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--docta-foundation-paper);
  font-family:var(--docta-foundation-sans);
  font-weight:560;
  letter-spacing:.16em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
}

.docta-foundation-lockup::before,
.logo::before,
.yc-entry-logo::before,
.yc-entry-fallback-logo::before,
.terminal-home-mark .logo::before,
.terminal-brand .logo::before{
  content:"";
  flex:0 0 auto;
  width:34px;
  height:36px;
  margin:0 1px 0 0;
  background:url("/assets/brand/docta-ignorantia-mark-reverse.svg") center/contain no-repeat;
}

.docta-foundation-lockup.is-light,
[data-theme="light"] .docta-foundation-lockup{
  color:var(--docta-foundation-ink);
}
.docta-foundation-lockup.is-light::before,
[data-theme="light"] .docta-foundation-lockup::before{
  background-image:url("/assets/brand/docta-ignorantia-mark-dark.svg");
}

.docta-foundation-wordmark,
.brand-name,
.docta-foundation-word,
.docta-foundation-name{
  font:560 1em/1 var(--docta-foundation-sans);
  letter-spacing:.16em;
  text-transform:uppercase;
}

.docta-foundation-sector,
.brand-sector,
.docta-foundation-invest,
.logo b,
.yc-entry-logo b,
.yc-entry-fallback-logo b,
.terminal-home-mark .logo b,
.terminal-brand .logo b{
  align-self:flex-end;
  margin:0 0 .08em .2em;
  color:inherit;
  background:none;
  font:500 .34em/1 var(--docta-foundation-mono);
  letter-spacing:.24em;
  text-transform:uppercase;
  -webkit-text-fill-color:currentColor;
}

.docta-foundation-greek,
.brand-greek,
[data-docta-foundation-greek]{
  display:block;
  color:var(--docta-foundation-muted);
  font:400 1em/1.15 var(--docta-foundation-inscription);
  letter-spacing:.055em;
  text-transform:none;
}

.docta-foundation-inscription{
  color:var(--docta-foundation-paper);
  font-family:var(--docta-foundation-inscription);
  font-weight:400;
  letter-spacing:.025em;
}

/* The one intentional legacy doorway. The destination remains role-aware in
   application code; this class handles only its visual treatment. */
.docta-foundation-core-link,
.yc-core-link,
[data-yc-core-link]{
  display:inline-flex!important;
  align-items:center;
  gap:9px;
  min-height:32px;
  padding:0 0 0 1px!important;
  border:0!important;
  border-bottom:1px solid var(--docta-foundation-rule-strong)!important;
  border-radius:0!important;
  color:var(--docta-foundation-paper)!important;
  background:transparent!important;
  font:500 9px/1 var(--docta-foundation-mono)!important;
  letter-spacing:.14em!important;
  text-transform:uppercase;
  white-space:nowrap;
}

.yc-legacy-core{
  display:inline-flex!important;
  align-items:center;
  gap:9px;
  min-height:32px;
  padding:0 0 0 1px!important;
  border:0!important;
  border-bottom:1px solid var(--docta-foundation-rule-strong)!important;
  border-radius:0!important;
  color:var(--docta-foundation-paper)!important;
  background:transparent!important;
  font:500 9px/1 var(--docta-foundation-mono)!important;
  letter-spacing:.14em!important;
  text-transform:uppercase;
  white-space:nowrap;
}
.yc-legacy-core::before{
  content:"";
  width:5px;
  height:5px;
  background:currentColor;
}
.yc-legacy-core:hover,
.yc-legacy-core:focus-visible{
  color:var(--docta-foundation-white)!important;
  border-bottom-color:var(--docta-foundation-white)!important;
  outline:0!important;
}
.docta-foundation-core-link::before,
.yc-core-link::before,
[data-yc-core-link]::before{
  content:"";
  width:5px;
  height:5px;
  background:currentColor;
}
.docta-foundation-core-link:hover,
.docta-foundation-core-link:focus-visible,
.yc-core-link:hover,
.yc-core-link:focus-visible,
[data-yc-core-link]:hover,
[data-yc-core-link]:focus-visible{
  color:var(--docta-foundation-white)!important;
  border-bottom-color:var(--docta-foundation-white)!important;
  outline:0!important;
}

/* ── Public shell ───────────────────────────────────────────────────── */
body.yc-public{
  --bg:var(--docta-foundation-ink);
  --bg2:var(--docta-foundation-ink-raised);
  --panel:var(--docta-foundation-ink-raised);
  --line:var(--docta-foundation-rule);
  --txt:var(--docta-foundation-paper);
  --muted:var(--docta-foundation-muted);
  --cyan:var(--docta-foundation-paper);
  --blue:#d5d3cc;
  --violet:#aaa8a1;
  --brand-word:var(--docta-foundation-paper);
  --brand-accent:var(--docta-foundation-paper);
  --yc-public-rule:var(--docta-foundation-rule);
  --yc-public-hover:var(--docta-foundation-hover);
  color:var(--docta-foundation-paper);
  background:var(--docta-foundation-ink);
  color-scheme:dark;
}

.yc-public header{
  border-bottom-color:var(--docta-foundation-rule);
  background:rgba(5,5,5,.96);
  box-shadow:none;
  backdrop-filter:blur(12px);
}
.yc-public .utility{
  border-bottom-color:var(--docta-foundation-rule);
  background:var(--docta-foundation-ink);
}
.yc-public .utility .wrap{
  color:var(--docta-foundation-muted);
}
.yc-public .utility a:hover,
.yc-public .utility a:focus-visible{
  color:var(--docta-foundation-paper);
}
.yc-public .nav{height:78px}
.yc-public .logo{
  gap:9px;
  font-size:23px;
  font-weight:560;
  letter-spacing:.16em;
}
.yc-public .logo::before{
  width:32px;
  height:34px;
  margin-right:1px;
}
.yc-public footer .logo::before{margin-right:1px}
.logo .docta-foundation-name,
.logo .docta-foundation-invest,
.logo .docta-foundation-greek{
  flex:0 0 auto;
}
.logo .docta-foundation-name{
  color:var(--docta-foundation-paper);
  font:560 1em/1 var(--docta-foundation-sans);
  letter-spacing:.16em;
}
.logo .docta-foundation-invest{
  align-self:flex-end;
  margin:0 0 .08em -3px;
  color:var(--docta-foundation-paper);
  font:500 .34em/1 var(--docta-foundation-mono);
  letter-spacing:.22em;
}
.logo .docta-foundation-greek{
  margin-left:2px;
  color:var(--docta-foundation-muted);
  font-size:.56em;
  letter-spacing:.035em;
}
.yc-public footer .logo .docta-foundation-greek{font-size:.68em}

.yc-public nav a.link,
.yc-public nav button.link{
  color:#bbb9b2;
  font-size:14px;
  font-weight:500;
  letter-spacing:.02em;
}
.yc-public nav .link::after{
  left:18px;
  right:18px;
  height:1px;
  background:var(--docta-foundation-paper);
  transform-origin:center;
}
.yc-public nav .link:hover,
.yc-public nav .link:focus-visible{color:var(--docta-foundation-white)}
.yc-public .menu-btn{
  border:0;
  border-bottom:1px solid var(--docta-foundation-rule-strong);
  border-radius:0;
  color:var(--docta-foundation-paper);
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.yc-public .yc-nav-caret,
.yc-public .yc-mega-link>i,
.yc-public .yc-mega-all span,
.yc-public .yc-mega-preview>em i{
  color:var(--docta-foundation-paper);
}
.yc-public .yc-mega-menu{
  border-color:var(--docta-foundation-rule);
  background:rgba(5,5,5,.992);
  box-shadow:0 34px 70px rgba(0,0,0,.56);
}
.yc-public .yc-mega-heading>span,
.yc-public .yc-mega-preview>span{
  color:var(--docta-foundation-muted);
}
.yc-public .yc-mega-link{
  border-color:var(--docta-foundation-rule);
  color:#d1cfc8;
}
.yc-public .yc-mega-link:hover,
.yc-public .yc-mega-link:focus-visible{
  color:var(--docta-foundation-white);
  background:var(--docta-foundation-hover);
}
.yc-public .yc-mega-preview{
  border-color:var(--docta-foundation-rule-strong);
  background:var(--docta-foundation-ink-raised);
}
.yc-public .yc-mega-preview::before{
  top:50%;
  right:clamp(22px,6vw,90px);
  width:min(42%,380px);
  height:auto;
  aspect-ratio:1;
  border:0;
  border-radius:0;
  background:url("/assets/brand/docta-ignorantia-mark-reverse.svg") center/contain no-repeat;
  box-shadow:none;
  opacity:.12;
  transform:translateY(-50%);
}
.yc-public .yc-mega-preview::after{
  inset:8% 32% 8% auto;
  width:7px;
  background:var(--docta-foundation-white);
  clip-path:polygon(45% 0,100% 18%,35% 39%,88% 58%,22% 78%,72% 100%,20% 100%,0 78%,55% 58%,8% 39%,65% 18%,0 0);
  opacity:.22;
}
.yc-public .yc-mega-preview>b{display:none}

.yc-public section,
.yc-public .page-hero,
.yc-public footer{
  border-color:var(--docta-foundation-rule);
}
.yc-public section:nth-of-type(even){background:rgba(255,255,255,.008)}
.yc-public .page-hero{
  background:var(--docta-foundation-ink);
}
.yc-public .page-hero::after{
  content:"";
  position:absolute;
  top:12%;
  right:var(--yc-public-gutter);
  width:clamp(150px,24vw,360px);
  aspect-ratio:1;
  background:url("/assets/brand/docta-ignorantia-mark-reverse.svg") center/contain no-repeat;
  opacity:.075;
  pointer-events:none;
}
.yc-public .sec h2 small,
.yc-public .portfolio-row-meta,
.yc-public .portfolio-hero .eyebrow,
.yc-public .portfolio-intro .eyebrow,
.yc-public .home-portfolio-intro .eyebrow{
  color:var(--docta-foundation-muted);
}
.yc-public .card,
.yc-public .panel,
.yc-public .pf-card,
.yc-public .terms .box{
  border-color:var(--docta-foundation-rule);
  background:transparent;
  box-shadow:none;
}
.yc-public .card:hover,
.yc-public .pf-card:hover,
.yc-public .portfolio-index-row:hover,
.yc-public .home-portfolio-row:hover{
  border-color:var(--docta-foundation-rule-strong);
  background:var(--docta-foundation-hover);
}

/* ── Homepage: inscription, crack and data-node field ─────────────── */
.yc-public .docta-foundation-home-hero{
  position:relative;
  isolation:isolate;
  min-height:calc(100svh - 116px);
  overflow:hidden;
  padding:0;
  border-top:0;
  border-bottom:1px solid var(--docta-foundation-rule);
  color:var(--docta-foundation-paper);
  background:var(--docta-foundation-ink);
}
.yc-public .docta-foundation-home-grid{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);
  gap:clamp(40px,7vw,124px);
  align-items:center;
  min-height:clamp(610px,76svh,900px);
  padding:clamp(72px,9vw,142px) var(--yc-public-gutter) clamp(64px,8vw,118px);
}
.yc-public .docta-foundation-home-copy{
  position:relative;
  z-index:3;
  max-width:920px;
}
.yc-public .docta-foundation-home-eyebrow{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 clamp(22px,3vw,42px);
  color:var(--docta-foundation-muted);
  font:500 10px/1.4 var(--docta-foundation-mono);
  letter-spacing:.18em;
  text-transform:uppercase;
}
.yc-public .docta-foundation-home-eyebrow::before{
  content:"";
  width:7px;
  height:7px;
  border:1px solid currentColor;
}
.yc-public .docta-foundation-home-copy h1{
  max-width:10.8ch;
  margin:0;
  color:var(--docta-foundation-paper);
  font:540 clamp(54px,7.4vw,116px)/.96 var(--docta-foundation-sans);
  letter-spacing:-.055em;
  text-wrap:balance;
}
.yc-public .docta-foundation-home-declaration{
  max-width:57ch;
  margin:clamp(26px,3.4vw,48px) 0 0;
  color:#aaa8a1;
  font:400 clamp(14px,1.25vw,18px)/1.85 var(--zh);
}
.yc-public .docta-foundation-home-actions{
  display:flex;
  align-items:center;
  gap:clamp(18px,2.5vw,34px);
  margin-top:clamp(30px,4vw,54px);
}
.yc-public .docta-foundation-action{
  display:inline-flex;
  min-height:46px;
  align-items:center;
  justify-content:center;
  gap:20px;
  padding:0 0 2px;
  border:0;
  border-bottom:1px solid var(--docta-foundation-rule-strong);
  border-radius:0;
  color:var(--docta-foundation-paper);
  background:transparent;
  font:550 12px/1 var(--docta-foundation-sans);
  letter-spacing:.04em;
  transition:color .2s ease,border-color .2s ease,background .2s ease,padding .25s ease;
}
.yc-public .docta-foundation-action.is-primary{
  min-width:190px;
  padding:0 19px;
  border:1px solid var(--docta-foundation-paper);
  color:var(--docta-foundation-ink);
  background:var(--docta-foundation-paper);
}
.yc-public .docta-foundation-action:hover,
.yc-public .docta-foundation-action:focus-visible{
  border-color:var(--docta-foundation-white);
  color:var(--docta-foundation-white);
  outline:0;
}
.yc-public .docta-foundation-action.is-primary:hover,
.yc-public .docta-foundation-action.is-primary:focus-visible{
  color:var(--docta-foundation-ink);
  background:var(--docta-foundation-white);
}

.yc-public .docta-foundation-reveal{
  position:relative;
  z-index:2;
  align-self:center;
  width:min(100%,720px);
  margin:0;
  color:var(--docta-foundation-paper);
}
.yc-public .docta-foundation-reveal::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:7%;
  bottom:15%;
  left:50%;
  width:1px;
  background:linear-gradient(to bottom,transparent,var(--docta-foundation-rule-strong),transparent);
  opacity:.65;
}
.yc-public .docta-foundation-reveal svg{
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}
.yc-public .docta-foundation-data-lines{
  stroke:var(--docta-foundation-paper);
  stroke-width:1.2;
  stroke-linecap:square;
  stroke-linejoin:miter;
  opacity:.22;
  transition:opacity .7s ease;
}
.yc-public .docta-foundation-alpha{
  stroke:var(--docta-foundation-paper);
  stroke-width:4;
  stroke-linecap:square;
  stroke-linejoin:miter;
}
.yc-public .docta-foundation-alpha path:first-child,
.yc-public .docta-foundation-alpha path:nth-child(2){
  transition:transform 1s cubic-bezier(.22,1,.36,1);
}
.yc-public .docta-foundation-light{
  fill:var(--docta-foundation-white);
  opacity:.055;
  transform-origin:center;
  transition:opacity .8s ease,transform 1s cubic-bezier(.22,1,.36,1);
}
.yc-public .docta-foundation-fissure{
  stroke:var(--docta-foundation-white);
  stroke-width:2;
  stroke-linecap:square;
  stroke-linejoin:miter;
  opacity:.46;
  transition:opacity .7s ease,stroke-width .7s ease;
}
.yc-public .docta-foundation-nodes rect{
  fill:var(--docta-foundation-paper);
  opacity:.44;
  transform-box:fill-box;
  transform-origin:center;
  transition:opacity .5s ease,transform .65s cubic-bezier(.22,1,.36,1);
}
.yc-public .docta-foundation-reveal:hover .docta-foundation-data-lines,
.yc-public .docta-foundation-reveal:focus-within .docta-foundation-data-lines{opacity:.48}
.yc-public .docta-foundation-reveal:hover .docta-foundation-alpha path:first-child,
.yc-public .docta-foundation-reveal:focus-within .docta-foundation-alpha path:first-child{transform:translateX(-5px)}
.yc-public .docta-foundation-reveal:hover .docta-foundation-alpha path:nth-child(2),
.yc-public .docta-foundation-reveal:focus-within .docta-foundation-alpha path:nth-child(2){transform:translateX(5px)}
.yc-public .docta-foundation-reveal:hover .docta-foundation-light,
.yc-public .docta-foundation-reveal:focus-within .docta-foundation-light{
  opacity:.17;
  transform:scaleX(1.035);
}
.yc-public .docta-foundation-reveal:hover .docta-foundation-fissure,
.yc-public .docta-foundation-reveal:focus-within .docta-foundation-fissure{
  stroke-width:2.8;
  opacity:.94;
}
.yc-public .docta-foundation-reveal:hover .docta-foundation-nodes rect,
.yc-public .docta-foundation-reveal:focus-within .docta-foundation-nodes rect{
  opacity:1;
  transform:scale(1.08);
}
.yc-public .docta-foundation-reveal figcaption{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:18px;
  margin-top:-14px;
  padding-top:15px;
  border-top:1px solid var(--docta-foundation-rule);
  color:var(--docta-foundation-paper);
}
.yc-public .docta-foundation-reveal figcaption>span{
  font:400 clamp(20px,2.2vw,34px)/1 var(--docta-foundation-inscription);
}
.yc-public .docta-foundation-reveal figcaption>small{
  color:var(--docta-foundation-muted);
  font:500 8.5px/1.4 var(--docta-foundation-mono);
  letter-spacing:.14em;
  text-align:right;
}

.yc-public .docta-foundation-lanes{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--docta-foundation-rule);
  background:var(--docta-foundation-ink);
}
.yc-public .docta-foundation-lane{
  display:grid;
  grid-template-columns:34px minmax(0,auto) minmax(0,1fr) 20px;
  gap:16px;
  align-items:center;
  min-height:108px;
  padding:24px var(--yc-public-gutter);
  border-right:1px solid var(--docta-foundation-rule);
  color:var(--docta-foundation-paper);
  transition:background .2s ease,padding .25s ease;
}
.yc-public .docta-foundation-lane:last-child{border-right:0}
.yc-public .docta-foundation-lane:hover,
.yc-public .docta-foundation-lane:focus-visible{
  padding-left:calc(var(--yc-public-gutter) + 8px);
  background:var(--docta-foundation-hover);
  outline:0;
}
.yc-public .docta-foundation-lane>span{
  color:var(--docta-foundation-dim);
  font:500 9px/1 var(--docta-foundation-mono);
}
.yc-public .docta-foundation-lane>strong{
  font:560 clamp(17px,1.5vw,22px)/1.2 var(--zh);
}
.yc-public .docta-foundation-lane>small{
  color:var(--docta-foundation-muted);
  font:400 11px/1.5 var(--zh);
}
.yc-public .docta-foundation-lane>i{
  color:var(--docta-foundation-paper);
  font:400 16px/1 var(--docta-foundation-sans);
  font-style:normal;
  text-align:right;
}

.yc-public .hero-inner{
  min-height:clamp(610px,78svh,900px);
  border-top:1px solid var(--docta-foundation-rule);
  border-bottom:1px solid var(--docta-foundation-rule);
  background:var(--docta-foundation-ink);
  isolation:isolate;
}
.yc-public .waves{
  opacity:0;
  visibility:hidden;
}
.yc-public .hero-inner::before{
  content:"";
  position:absolute;
  z-index:0;
  top:clamp(38px,7vh,90px);
  right:clamp(28px,7vw,120px);
  width:clamp(280px,42vw,650px);
  aspect-ratio:1;
  background:url("/assets/brand/docta-ignorantia-mark-reverse.svg") center/contain no-repeat;
  opacity:.18;
  transform:translate3d(0,0,0);
  transition:opacity .8s ease,transform 1.1s cubic-bezier(.22,1,.36,1);
  pointer-events:none;
}
.yc-public .hero-inner::after{
  content:"";
  position:absolute;
  z-index:1;
  top:7%;
  right:clamp(180px,27vw,430px);
  width:9px;
  height:69%;
  background:var(--docta-foundation-white);
  clip-path:polygon(46% 0,100% 17%,29% 37%,88% 55%,22% 76%,73% 100%,18% 100%,0 76%,57% 55%,7% 37%,67% 17%,0 0);
  opacity:.2;
  transform:scaleY(.84);
  transform-origin:center;
  transition:opacity .8s ease,transform 1.1s cubic-bezier(.22,1,.36,1);
  pointer-events:none;
}
.yc-public .hero-inner:hover::before,
.yc-public .hero-inner:focus-within::before{
  opacity:.26;
  transform:translate3d(5px,-2px,0);
}
.yc-public .hero-inner:hover::after,
.yc-public .hero-inner:focus-within::after{
  opacity:.72;
  transform:scaleY(1);
}
.yc-public .hero-cta{
  z-index:3;
  max-width:min(980px,72vw);
  padding-top:clamp(88px,14vh,180px);
  padding-bottom:clamp(70px,11vh,132px);
}
.yc-public .hero-cta .slog{
  max-width:15ch;
  color:var(--docta-foundation-paper);
  font-size:clamp(48px,7.5vw,118px);
  font-weight:540;
  line-height:.91;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.yc-public .hero-cta .slog b{
  color:inherit;
  background:none;
  font-weight:inherit;
  -webkit-text-fill-color:currentColor;
}
.yc-public .hero-cta .sub{
  max-width:62ch;
  color:#aaa8a1;
}
.yc-public .hero-cta a.cta{
  border:0;
  border-bottom:1px solid var(--docta-foundation-rule-strong);
  border-radius:0;
  padding:11px 0 9px;
  color:var(--docta-foundation-paper);
  background:transparent;
}
.yc-public .hero-cta a.cta.primary{
  margin-right:18px;
  color:var(--docta-foundation-paper);
  background:transparent;
}
.yc-public .hero-cta a.cta:hover,
.yc-public .hero-cta a.cta:focus-visible{
  color:var(--docta-foundation-white);
  border-bottom-color:var(--docta-foundation-white);
}
.yc-public .hero-stories{
  z-index:3;
  border-color:var(--docta-foundation-rule);
  background:rgba(5,5,5,.91);
}
.yc-public .hero-stories .story,
.yc-public .hero-stories .story:first-child{
  border-color:var(--docta-foundation-rule);
  background:transparent;
}
.yc-public .hero-stories .story:hover,
.yc-public .hero-stories .story:focus-visible{
  background:var(--docta-foundation-hover);
}
.yc-public .story .kick{color:var(--docta-foundation-muted)}
.yc-public .story:hover h3{color:var(--docta-foundation-white)}
.yc-public .explore a{
  border-bottom-color:var(--docta-foundation-paper);
  color:var(--docta-foundation-paper);
}

/* Optional richer hero markup. Planes reveal rather than pulse forever. */
.docta-foundation-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--docta-foundation-ink);
  color:var(--docta-foundation-paper);
}
.docta-foundation-hero-word{
  position:relative;
  z-index:3;
  font:540 clamp(52px,10vw,156px)/.86 var(--docta-foundation-sans);
  letter-spacing:-.055em;
  text-transform:uppercase;
}
.docta-foundation-hero .docta-foundation-greek{
  margin-top:18px;
  font-size:clamp(24px,3.5vw,54px);
}
.docta-foundation-unconcealment{
  position:absolute;
  inset:0 0 0 auto;
  width:min(52%,760px);
  overflow:hidden;
  pointer-events:none;
}
.docta-foundation-plane{
  position:absolute;
  inset:0;
  background:var(--docta-foundation-ink);
  transition:transform 1s cubic-bezier(.22,1,.36,1);
}
.docta-foundation-plane-left{
  clip-path:polygon(0 0,55% 0,49% 18%,54% 38%,47% 59%,52% 79%,46% 100%,0 100%);
}
.docta-foundation-plane-right{
  clip-path:polygon(55% 0,100% 0,100% 100%,46% 100%,52% 79%,47% 59%,54% 38%,49% 18%);
}
.docta-foundation-crack{
  position:absolute;
  top:0;
  left:50%;
  width:8px;
  height:100%;
  background:var(--docta-foundation-white);
  clip-path:polygon(45% 0,100% 18%,30% 39%,88% 59%,20% 79%,72% 100%,16% 100%,0 79%,56% 59%,5% 39%,66% 18%,0 0);
  opacity:.28;
  transform:translateX(-50%) scaleY(.84);
  transition:opacity .8s ease,transform 1s cubic-bezier(.22,1,.36,1);
}
.docta-foundation-node,
.docta-foundation-data-node,
[data-docta-foundation-node]{
  position:absolute;
  z-index:2;
  width:7px;
  height:7px;
  border:1px solid var(--docta-foundation-paper);
  background:var(--docta-foundation-ink);
  opacity:.36;
  transform:scale(.76);
  transition:opacity .45s ease,transform .65s cubic-bezier(.22,1,.36,1),background .45s ease;
}
.docta-foundation-hero:hover .docta-foundation-plane-left,
.docta-foundation-hero:focus-within .docta-foundation-plane-left,
.docta-foundation-hero.is-revealed .docta-foundation-plane-left{transform:translateX(-4px)}
.docta-foundation-hero:hover .docta-foundation-plane-right,
.docta-foundation-hero:focus-within .docta-foundation-plane-right,
.docta-foundation-hero.is-revealed .docta-foundation-plane-right{transform:translateX(4px)}
.docta-foundation-hero:hover .docta-foundation-crack,
.docta-foundation-hero:focus-within .docta-foundation-crack,
.docta-foundation-hero.is-revealed .docta-foundation-crack{
  opacity:.92;
  transform:translateX(-50%) scaleY(1);
}
.docta-foundation-hero:hover .docta-foundation-node,
.docta-foundation-hero:hover .docta-foundation-data-node,
.docta-foundation-hero:focus-within .docta-foundation-node,
.docta-foundation-hero:focus-within .docta-foundation-data-node,
.docta-foundation-hero.is-revealed .docta-foundation-node,
.docta-foundation-hero.is-revealed .docta-foundation-data-node{
  opacity:1;
  background:var(--docta-foundation-paper);
  transform:scale(1);
}

/* ── Monochrome market visuals; semantic values stay colored ───────── */
.yc-public .yc-home-live-chart{
  border-bottom-color:var(--docta-foundation-rule);
}
.yc-public .yc-home-live-baseline{
  stroke:rgba(242,240,233,.22)!important;
}
.yc-public .yc-home-live-path{
  stroke:var(--docta-foundation-paper)!important;
  opacity:.72!important;
}
.yc-public .yc-home-live-flow{
  stroke:var(--docta-foundation-white)!important;
  filter:none;
}
.yc-public .yc-home-live-chart svg path:not(.yc-home-live-path):not(.yc-home-live-flow){
  fill:var(--docta-foundation-paper)!important;
  opacity:.035!important;
}
.yc-public svg [stroke="#22d3ee"],
.yc-public svg [stroke="#75a7ff"],
.yc-public svg [stroke="#3b82f6"],
.yc-public svg [stroke="#8b5cf6"]{
  stroke:var(--docta-foundation-paper)!important;
}
.yc-public svg [fill="#22d3ee"],
.yc-public svg [fill="#75a7ff"],
.yc-public svg [fill="#3b82f6"],
.yc-public svg [fill="#8b5cf6"]{
  fill:var(--docta-foundation-paper)!important;
}
.yc-public .home-portfolio-live dd:not(.u):not(.d){color:var(--docta-foundation-paper)}
/* Keep these explicit: they communicate actual performance, not branding. */
.yc-public .u,
.yc-public .home-portfolio-live dd.u{color:var(--up)}
.yc-public .d,
.yc-public .home-portfolio-live dd.d{color:var(--down)}

/* ── Entry and authentication surface ──────────────────────────────── */
.yc-entry-root,
.yc-entry-root[data-scene="hk"],
.yc-entry-root[data-scene="us"],
.yc-entry-root[data-scene="a"]{
  --scene-bg:var(--docta-foundation-ink);
  --scene-bg-soft:var(--docta-foundation-ink);
  --scene-panel:transparent;
  --scene-line:var(--docta-foundation-paper);
  --scene-line-rgb:242,240,233;
  --scene-benchmark:#77756f;
  --scene-accent:var(--docta-foundation-paper);
  --scene-muted:var(--docta-foundation-muted);
  --scene-grid:rgba(242,240,233,.055);
  --scene-border:var(--docta-foundation-rule);
  --canvas-line-target:#f2f0e9;
  --canvas-benchmark-target:#77756f;
  --canvas-muted-target:#918f88;
  --canvas-grid-target:rgba(242,240,233,.07);
  --scene-radius:0;
  color:var(--docta-foundation-paper);
  background:var(--docta-foundation-ink)!important;
  color-scheme:dark;
}
.yc-entry-root::before{
  opacity:.24;
  background-image:
    linear-gradient(rgba(242,240,233,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(242,240,233,.045) 1px,transparent 1px);
  background-size:96px 96px;
  mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.28) 64%,transparent);
}
.yc-entry-root::after{
  inset:9% auto auto 42%;
  width:min(45vw,660px);
  aspect-ratio:1;
  background:url("/assets/brand/docta-ignorantia-mark-reverse.svg") center/contain no-repeat;
  opacity:.055;
  mix-blend-mode:normal;
}
.yc-entry-topbar{
  height:72px;
  border-bottom:1px solid var(--docta-foundation-rule);
  background:rgba(5,5,5,.92);
  backdrop-filter:blur(12px);
}
.yc-entry-logo{
  gap:9px;
  color:var(--docta-foundation-paper);
  font-size:21px;
  font-weight:560;
  letter-spacing:.16em;
}
.yc-entry-logo::before{
  width:30px;
  height:32px;
}
.yc-entry-logo .docta-foundation-wordmark{
  color:var(--docta-foundation-paper);
  font:560 1em/1 var(--docta-foundation-sans);
  letter-spacing:.15em;
}
.yc-entry-logo .docta-foundation-wordmark b{
  display:inline-block;
  margin-left:.45em;
  font-size:.36em;
  letter-spacing:.2em;
  vertical-align:baseline;
}
.yc-entry-logo>.docta-foundation-greek{
  margin-left:2px;
  font-size:.62em;
}
.yc-entry-languages a{
  border:0;
  border-bottom:1px solid transparent;
  border-radius:0;
  color:var(--docta-foundation-muted);
  background:transparent;
}
.yc-entry-languages a:hover,
.yc-entry-languages a:focus-visible,
.yc-entry-languages a[aria-current="page"]{
  border-color:var(--docta-foundation-paper);
  color:var(--docta-foundation-paper);
  background:transparent;
}
.yc-entry-shell{
  width:100%;
  max-width:none;
  grid-template-columns:minmax(0,1.68fr) minmax(350px,.62fr);
}
.yc-entry-story{
  border-right:1px solid var(--docta-foundation-rule);
}
.yc-entry-story::after{
  content:"";
  position:absolute;
  z-index:0;
  top:8%;
  right:18%;
  width:7px;
  height:67%;
  background:var(--docta-foundation-white);
  clip-path:polygon(44% 0,100% 19%,25% 40%,90% 59%,18% 78%,70% 100%,16% 100%,0 78%,56% 59%,5% 40%,67% 19%,0 0);
  opacity:.13;
  pointer-events:none;
}
.yc-entry-intro,
.yc-entry-chart,
.yc-entry-story-footer{position:relative;z-index:1}
.yc-entry-eyebrow,
.yc-entry-auth-kicker{
  color:var(--docta-foundation-muted);
}
.yc-entry-title,
.yc-entry-root[data-scene="a"] .yc-entry-title{
  max-width:920px;
  color:var(--docta-foundation-paper);
  font-size:clamp(48px,6.8vw,108px);
  font-weight:540;
  letter-spacing:-.05em;
  text-transform:none;
}
.yc-entry-title span{color:var(--docta-foundation-paper)}
.yc-entry-subtitle,
.yc-entry-root[data-scene="us"] .yc-entry-subtitle,
.yc-entry-root[data-scene="a"] .yc-entry-subtitle{
  color:#aaa8a1;
}
.yc-entry-chart,
.yc-entry-root[data-scene="a"] .yc-entry-chart{
  border:0;
  border-top:1px solid var(--docta-foundation-rule);
  border-bottom:1px solid var(--docta-foundation-rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.yc-entry-live{
  color:var(--docta-foundation-paper);
}
.yc-entry-live::before{
  width:6px;
  height:6px;
  border-radius:0;
  background:currentColor;
  box-shadow:none;
}
.yc-entry-metrics{
  gap:0;
  border:0;
  border-top:1px solid var(--docta-foundation-rule);
  border-radius:0;
  background:transparent;
}
.yc-entry-metric{
  border-right:1px solid var(--docta-foundation-rule);
  background:transparent;
}
.yc-entry-metric:last-child{border-right:0}
.yc-entry-metric-value{color:var(--docta-foundation-paper)}
.yc-entry-scene-btn{
  border:0;
  border-bottom:1px solid var(--docta-foundation-rule);
  border-radius:0;
  color:var(--docta-foundation-muted);
  background:transparent;
}
.yc-entry-scene-btn::after{
  height:1px;
  background:var(--docta-foundation-paper);
}
.yc-entry-scene-btn[aria-pressed="true"]{
  border-color:var(--docta-foundation-paper);
  color:var(--docta-foundation-paper);
}
.yc-entry-auth-column{
  position:relative;
  background:rgba(5,5,5,.9);
}
.yc-entry-auth-column::before{
  background:linear-gradient(to bottom,transparent,var(--docta-foundation-rule-strong),transparent);
}
.yc-entry-auth{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
.yc-entry-tabs{border-color:var(--docta-foundation-rule)}
.yc-entry-tab[aria-selected="true"]{
  border-color:var(--docta-foundation-paper);
  color:var(--docta-foundation-paper);
}
.yc-entry-field input{
  border-color:var(--docta-foundation-rule-strong);
  border-radius:0;
  color:var(--docta-foundation-paper);
  background:transparent;
}
.yc-entry-field input:focus{
  border-color:var(--docta-foundation-white);
  box-shadow:none;
}
.yc-entry-submit,
.yc-entry-guest{
  border-radius:0;
}
.yc-entry-submit{
  color:var(--docta-foundation-ink);
  background:var(--docta-foundation-paper);
}
.yc-entry-submit:hover:not(:disabled){
  color:var(--docta-foundation-ink);
  background:var(--docta-foundation-white);
}
.yc-entry-guest{
  border:0;
  border-bottom:1px solid var(--docta-foundation-rule-strong);
  color:var(--docta-foundation-paper);
  background:transparent;
}
.yc-entry-google-note,
.yc-entry-divider::before,
.yc-entry-divider::after{border-color:var(--docta-foundation-rule)}
.yc-entry-fallback{
  color:var(--docta-foundation-paper);
  background:var(--docta-foundation-ink);
}
.yc-entry-fallback-card{
  border:1px solid var(--docta-foundation-rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.yc-entry-fallback-logo{
  color:var(--docta-foundation-paper);
  font-size:22px;
  font-weight:560;
  letter-spacing:.16em;
}
.yc-entry-fallback-logo::before{width:31px;height:33px}
.yc-entry-fallback-action{
  border:0;
  border-bottom:1px solid var(--docta-foundation-paper);
  border-radius:0;
  color:var(--docta-foundation-paper);
  background:transparent;
}

/* ── Private administration: DOCTA CONTROL ────────────────────────── */
body.yc-admin{
  --bg:var(--docta-foundation-ink);
  --bg2:var(--docta-foundation-ink-raised);
  --panel:var(--docta-foundation-ink-raised);
  --line:var(--docta-foundation-rule);
  --txt:var(--docta-foundation-paper);
  --muted:var(--docta-foundation-muted);
  --cyan:var(--docta-foundation-paper);
  --blue:#d5d3cc;
  --violet:#aaa8a1;
  --brand-word:var(--docta-foundation-paper);
  --brand-accent:var(--docta-foundation-paper);
  color:var(--docta-foundation-paper);
  background:var(--docta-foundation-ink);
  color-scheme:dark;
}
.yc-admin header,
.yc-admin footer{
  border-color:var(--docta-foundation-rule);
  background:var(--docta-foundation-ink);
  box-shadow:none;
}
.yc-admin header .logo{font-size:20px;font-weight:560;letter-spacing:.14em}
.yc-admin header .logo::before{width:28px;height:30px}
.yc-admin .page-hero,
.yc-admin .card,
.yc-admin .log,
.yc-admin .fb-stat,
.yc-admin .fb-entry,
.yc-admin .ledger-stat,
.yc-admin .ledger-card,
.yc-admin .dividend-evidence{
  border-color:var(--docta-foundation-rule);
  border-radius:0;
  background:var(--docta-foundation-ink-raised);
  box-shadow:none;
}
.yc-admin .btn,
.yc-admin .adminnav a.on,
.yc-admin .ledger-switch button.on{
  border-color:var(--docta-foundation-paper);
  border-radius:0;
  color:var(--docta-foundation-ink);
  background:var(--docta-foundation-paper);
}
.yc-admin .btn2,
.yc-admin .adminnav a,
.yc-admin .badge,
.yc-admin .fb-pill,
.yc-admin .ledger-switch button,
.yc-admin .dividend-inbox-count,
.yc-admin .workbook-tabs button,
.yc-admin .drop2{
  border-color:var(--docta-foundation-rule-strong);
  border-radius:0;
  color:var(--docta-foundation-muted);
  background:transparent;
}
.yc-admin .btn2:hover,
.yc-admin .adminnav a:hover,
.yc-admin .drop2:hover,
.yc-admin .drop2.over{
  border-color:var(--docta-foundation-paper);
  color:var(--docta-foundation-paper);
}
.yc-admin .who b,
.yc-admin .fb-meta a,
.yc-admin .dividend-evidence-row a{
  color:var(--docta-foundation-paper);
}
.yc-admin .fldrow input,
.yc-admin .fldrow textarea,
.yc-admin .fldrow select,
.yc-admin .searchline input,
.yc-admin .fb-filters input,
.yc-admin .fb-filters select,
.yc-admin .fb-editor input,
.yc-admin .fb-editor textarea,
.yc-admin .fb-editor select,
.yc-admin .dividend-review-form input,
.yc-admin .dividend-review-form select{
  border-color:var(--docta-foundation-rule-strong);
  border-radius:0;
  color:var(--docta-foundation-paper);
  background:var(--docta-foundation-ink);
  box-shadow:none;
}
.yc-admin .fb-entry[data-status="new"],
.yc-admin .dividend-candidate{
  border-left-color:var(--docta-foundation-paper);
}
.yc-admin .fb-pill.new,
.yc-admin .dividend-inbox-count{
  border-color:var(--docta-foundation-rule-strong);
  color:var(--docta-foundation-paper);
}

/* ── Terminal: monochrome research instrument ──────────────────────── */
.terminal-v2-page{
  --terminal-bg:var(--docta-foundation-ink);
  --terminal-panel:var(--docta-foundation-ink-raised);
  --terminal-panel-2:#0d0d0d;
  --terminal-line:var(--docta-foundation-rule);
  --terminal-line-strong:var(--docta-foundation-rule-strong);
  --terminal-text:#dddcd6;
  --terminal-muted:#77756f;
  --terminal-cyan:var(--docta-foundation-paper);
  --terminal-blue:#cfcdc6;
  --terminal-violet:#aaa8a1;
  --terminal-warn:#c4c1b8;
  --terminal-up:#36d39a;
  --terminal-down:#ff6b5d;
  color:var(--terminal-text);
  background:var(--docta-foundation-ink);
  color-scheme:dark;
}
.terminal-app{
  background:var(--docta-foundation-ink);
}
.terminal-command,
.terminal-workspace-tabs,
.terminal-function-tabs,
.terminal-statusbar,
.terminal-site-header{
  border-color:var(--docta-foundation-rule);
  background:var(--docta-foundation-ink);
}
.terminal-home-mark .logo,
.terminal-brand .logo{
  color:var(--docta-foundation-paper);
  font-size:16px;
  font-weight:560;
  letter-spacing:.13em;
}
.terminal-home-mark{
  border-color:var(--docta-foundation-rule-strong);
  border-radius:0;
  color:var(--docta-foundation-paper);
  background:transparent;
}
.terminal-home-mark:hover,
.terminal-home-mark:focus{
  border-color:var(--docta-foundation-paper);
  color:var(--docta-foundation-paper);
}
.terminal-home-mark.docta-foundation-lockup::before{display:none}
.terminal-home-mark .logo::before,
.terminal-brand .logo::before{
  width:24px;
  height:26px;
  background-image:url("/assets/brand/docta-ignorantia-mark-reverse.svg");
}
.terminal-query-mark,
.terminal-search-result-code,
.terminal-search-option code,
.terminal-context-code,
.terminal-workspace-tabs button[aria-selected="true"] code{
  color:var(--docta-foundation-paper);
}
.terminal-query input,
.terminal-command-meta select,
.terminal-search-results{
  border-color:var(--docta-foundation-rule-strong);
  border-radius:0;
  color:var(--docta-foundation-paper);
  background:var(--docta-foundation-ink);
  box-shadow:none;
}
.terminal-query input:focus{
  border-color:var(--docta-foundation-paper);
  box-shadow:none;
}
.terminal-query kbd,
.terminal-exit{
  border-color:var(--docta-foundation-rule-strong);
  border-radius:0;
  color:var(--docta-foundation-muted);
  background:transparent;
}
.terminal-exit:hover,
.terminal-exit:focus{
  border-color:var(--docta-foundation-paper);
  color:var(--docta-foundation-paper);
}
.terminal-language{
  border-color:var(--docta-foundation-rule);
  border-radius:0;
}
.terminal-language a{border-radius:0}
.terminal-language a.on,
.terminal-language a:hover{
  color:var(--docta-foundation-paper);
  background:var(--docta-foundation-hover);
}
.terminal-workspace-tabs button,
.terminal-function-tabs button{
  border-color:var(--docta-foundation-rule);
}
.terminal-workspace-tabs button:hover,
.terminal-workspace-tabs button[aria-selected="true"],
.terminal-function-tabs button:hover,
.terminal-function-tabs button[aria-selected="true"]{
  color:var(--docta-foundation-paper);
  background:var(--docta-foundation-hover);
}
.terminal-workspace-tabs button[aria-selected="true"],
.terminal-function-tabs button[aria-selected="true"]{
  box-shadow:inset 0 -1px 0 var(--docta-foundation-paper);
}
.terminal-canvas{background:var(--docta-foundation-ink)}
.terminal-card,
.terminal-panel,
.terminal-function-card,
.terminal-workspace-card,
.terminal-market-snapshot-card,
.terminal-desk-window,
.terminal-news-visual-panel,
.terminal-core-evidence-item,
.terminal-core-inline-section,
.terminal-security-stat,
.terminal-focus-sheet{
  border-color:var(--docta-foundation-rule);
  border-radius:0;
  background:var(--docta-foundation-ink-raised);
  box-shadow:none;
}
.terminal-card-head,
.terminal-panel-head,
.terminal-table th,
.terminal-core-table th,
.terminal-core-evidence-table th{
  border-color:var(--docta-foundation-rule);
  background:#0c0c0c;
}
.terminal-table td,
.terminal-core-table td,
.terminal-core-evidence-table td,
.terminal-news-item,
.terminal-home-news-item,
.terminal-desk-latest-row,
.terminal-impact-item{
  border-color:var(--docta-foundation-rule);
}
.terminal-button,
.terminal-filter-button,
.terminal-source-badge,
.terminal-tag,
.terminal-context-code{
  border-color:var(--docta-foundation-rule-strong);
  border-radius:0;
  background:transparent;
}
.terminal-mode-home .terminal-context-code{
  border-color:var(--docta-foundation-rule-strong);
  color:var(--docta-foundation-paper);
  background:transparent;
}
.terminal-chart-tooltip{
  border-color:var(--docta-foundation-rule-strong);
  border-radius:0;
  background:rgba(5,5,5,.96);
  box-shadow:none;
}
.terminal-v2-page svg [stroke="#22d3ee"],
.terminal-v2-page svg [stroke="#6e9af4"],
.terminal-v2-page svg [stroke="#b54bfa"],
.terminal-v2-page svg [stroke="#75a7ff"]{
  stroke:var(--docta-foundation-paper)!important;
}
.terminal-v2-page svg [fill="#22d3ee"],
.terminal-v2-page svg [fill="#6e9af4"],
.terminal-v2-page svg [fill="#b54bfa"],
.terminal-v2-page svg [fill="#75a7ff"]{
  fill:var(--docta-foundation-paper)!important;
}
.terminal-up{color:var(--terminal-up)!important}
.terminal-down{color:var(--terminal-down)!important}
.terminal-loading::after{
  border-color:var(--docta-foundation-rule);
  border-top-color:var(--docta-foundation-paper);
}

/* ── Responsive behavior ───────────────────────────────────────────── */
@media(max-width:820px){
  .yc-public .nav{height:68px}
  .yc-public nav ul{
    top:68px;
    border-color:var(--docta-foundation-rule);
    background:rgba(5,5,5,.99);
  }
  .yc-public .hero-inner{
    min-height:720px;
  }
  .yc-public .hero-inner::before{
    top:44px;
    right:-80px;
    width:min(88vw,520px);
    opacity:.12;
  }
  .yc-public .hero-inner::after{
    top:8%;
    right:27%;
    height:57%;
    opacity:.15;
  }
  .yc-public .hero-cta{
    max-width:none;
    padding-top:90px;
    padding-bottom:92px;
  }
  .yc-public .hero-cta .slog{
    max-width:12ch;
    font-size:clamp(46px,11vw,78px);
  }
  .yc-public .docta-foundation-home-grid{
    grid-template-columns:1fr;
    gap:48px;
    min-height:auto;
    padding-top:82px;
  }
  .yc-public .docta-foundation-home-copy{max-width:760px}
  .yc-public .docta-foundation-home-copy h1{
    max-width:12ch;
    font-size:clamp(52px,10.5vw,84px);
  }
  .yc-public .docta-foundation-reveal{
    width:min(78vw,560px);
    justify-self:end;
  }
  .yc-public .docta-foundation-lanes{
    grid-template-columns:1fr;
  }
  .yc-public .docta-foundation-lane{
    min-height:84px;
    border-right:0;
    border-bottom:1px solid var(--docta-foundation-rule);
  }
  .yc-public .docta-foundation-lane:last-child{border-bottom:0}
  .docta-foundation-unconcealment{
    inset:auto -12% 0 auto;
    width:76%;
    height:62%;
    opacity:.72;
  }
  .yc-entry-shell{display:block}
  .yc-entry-story{
    min-height:auto;
    border-right:0;
  }
  .yc-entry-story::after{right:22%;opacity:.1}
  .yc-entry-auth-column{
    border-top:1px solid var(--docta-foundation-rule);
  }
  .terminal-card,
  .terminal-panel,
  .terminal-function-card,
  .terminal-workspace-card{
    border-radius:0;
  }
}

@media(max-width:560px){
  .yc-public .hero-stories{
    grid-template-columns:1fr;
  }
  .yc-public .hero-stories .story,
  .yc-public .hero-stories .story:first-child{
    border-top:1px solid var(--docta-foundation-rule);
    padding:22px var(--yc-public-gutter);
  }
  .yc-public .explore{
    grid-column:auto;
    padding:22px var(--yc-public-gutter) 28px;
  }
  .yc-entry-title{
    font-size:clamp(42px,13vw,66px);
  }
  .yc-public .docta-foundation-home-grid{
    gap:38px;
    padding-top:68px;
    padding-bottom:58px;
  }
  .yc-public .docta-foundation-home-copy h1{
    font-size:clamp(46px,13vw,68px);
  }
  .yc-public .docta-foundation-home-actions{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .yc-public .docta-foundation-action.is-primary{min-width:180px}
  .yc-public .docta-foundation-reveal{
    width:min(90vw,440px);
    justify-self:center;
  }
  .yc-public .docta-foundation-lane{
    grid-template-columns:28px minmax(0,1fr) 18px;
    gap:12px;
  }
  .yc-public .docta-foundation-lane>small{grid-column:2;grid-row:2}
  .yc-public .docta-foundation-lane>i{grid-column:3;grid-row:1/3}
}

/* Explicit 390px acceptance viewport. */
@media(max-width:390px){
  body.yc-public{--yc-public-gutter:18px}
  .yc-public .utility .wrap{
    gap:16px;
    padding-block:8px;
    font-size:8px;
    letter-spacing:.11em;
  }
  .yc-public .nav{height:62px}
  .yc-public nav ul{top:62px}
  .yc-public .logo{
    gap:7px;
    font-size:15px;
    letter-spacing:.13em;
  }
  .yc-public .logo::before{
    width:23px;
    height:25px;
  }
  .yc-public .logo b,
  .yc-public .docta-foundation-invest,
  .yc-public .brand-sector,
  .yc-public header .brand-greek{display:none}
  .docta-foundation-core-link,
  .yc-core-link,
  [data-yc-core-link],
  .yc-legacy-core{
    gap:6px;
    min-height:27px;
    font-size:7.5px!important;
    letter-spacing:.1em!important;
  }
  .yc-public .hero-inner{
    min-height:650px;
  }
  .yc-public .hero-inner::before{
    top:62px;
    right:-104px;
    width:390px;
    opacity:.105;
  }
  .yc-public .hero-inner::after{
    right:23%;
    width:6px;
    opacity:.14;
  }
  .yc-public .hero-cta{
    padding-top:76px;
    padding-bottom:70px;
  }
  .yc-public .hero-cta .slog{
    max-width:11ch;
    font-size:clamp(43px,13.5vw,58px);
    line-height:.93;
  }
  .yc-public .hero-cta .sub{
    font-size:13px;
    line-height:1.75;
  }
  .yc-public .hero-cta .row{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .yc-public .hero-cta a.cta.primary{margin-right:0}
  .docta-foundation-hero-word{
    font-size:clamp(43px,14vw,58px);
  }
  .yc-public .docta-foundation-home-hero{min-height:auto}
  .yc-public .docta-foundation-home-grid{
    gap:32px;
    padding:58px 18px 48px;
  }
  .yc-public .docta-foundation-home-eyebrow{
    gap:10px;
    margin-bottom:22px;
    font-size:8px;
    letter-spacing:.13em;
  }
  .yc-public .docta-foundation-home-eyebrow::before{width:6px;height:6px}
  .yc-public .docta-foundation-home-copy h1{
    max-width:11ch;
    font-size:clamp(43px,13.3vw,54px);
    line-height:.98;
  }
  .yc-public .docta-foundation-home-declaration{
    margin-top:24px;
    font-size:13px;
    line-height:1.75;
  }
  .yc-public .docta-foundation-home-actions{margin-top:28px}
  .yc-public .docta-foundation-action{
    min-height:42px;
    font-size:11px;
  }
  .yc-public .docta-foundation-action.is-primary{min-width:174px}
  .yc-public .docta-foundation-reveal{width:100%}
  .yc-public .docta-foundation-reveal figcaption{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
    margin-top:-7px;
  }
  .yc-public .docta-foundation-reveal figcaption>small{text-align:left}
  .yc-public .docta-foundation-lane{
    min-height:78px;
    padding:18px;
  }
  .yc-public .docta-foundation-lane:hover,
  .yc-public .docta-foundation-lane:focus-visible{padding-left:24px}
  .docta-foundation-hero .docta-foundation-greek{font-size:24px}
  .docta-foundation-node,
  .docta-foundation-data-node,
  [data-docta-foundation-node]{width:6px;height:6px}
  .yc-entry-topbar{
    height:62px;
    padding-inline:15px;
  }
  .yc-entry-logo{
    gap:7px;
    font-size:14px;
    letter-spacing:.13em;
  }
  .yc-entry-logo::before{width:23px;height:25px}
  .yc-entry-logo b,
  .yc-entry-logo .docta-foundation-wordmark b,
  .yc-entry-topbar .brand-sector,
  .yc-entry-topbar .brand-greek{display:none}
  .yc-entry-languages{gap:9px}
  .yc-entry-languages a{
    min-width:auto;
    padding-inline:1px;
    font-size:9px;
  }
  .yc-entry-story{padding:27px 15px 30px}
  .yc-entry-title{font-size:clamp(40px,13vw,52px)}
  .yc-entry-chart,
  .yc-entry-canvas{min-height:245px}
  .yc-entry-market-name{max-width:72vw;font-size:9px}
  .yc-entry-live{font-size:8px}
  .yc-entry-auth-column{padding:34px 15px 44px}
  .terminal-command{grid-template-columns:58px minmax(0,1fr) auto}
  .terminal-home-mark{min-width:58px;padding-inline:2px}
  .terminal-home-mark .logo{font-size:9px;letter-spacing:.08em}
  .terminal-home-mark .logo::before{display:none}
}

@media(prefers-reduced-motion:reduce){
  .yc-public .hero-inner::before,
  .yc-public .hero-inner::after,
  .docta-foundation-plane,
  .docta-foundation-crack,
  .docta-foundation-node,
  .docta-foundation-data-node,
  [data-docta-foundation-node]{
    animation:none!important;
    transition:none!important;
  }
  .yc-public .docta-foundation-alpha path,
  .yc-public .docta-foundation-light,
  .yc-public .docta-foundation-fissure,
  .yc-public .docta-foundation-nodes rect,
  .yc-public .docta-foundation-data-lines{
    animation:none!important;
    transition:none!important;
    transform:none!important;
  }
  .yc-public .docta-foundation-light{opacity:.12}
  .yc-public .docta-foundation-fissure{opacity:.78}
  .yc-public .docta-foundation-nodes rect{opacity:.82}
  .yc-public .hero-inner::after,
  .docta-foundation-crack{
    opacity:.52;
    transform:translateX(-50%) scaleY(1);
  }
  .yc-public .hero-inner::after{transform:scaleY(1)}
  .docta-foundation-node,
  .docta-foundation-data-node,
  [data-docta-foundation-node]{
    opacity:1;
    transform:none;
  }
  .yc-public .yc-home-live-flow,
  .yc-entry-live::before,
  .terminal-loading::after{
    animation:none!important;
  }
}
