/* Agent-name concepts (2026-10-22 comparison draft): loaded only by index.pharos.html and index.vela.html, after v2.css.
   Built by tools/build_concepts.py. Not part of the published site. The page is index.v2.html; this file only adds
   the 제품 menu in the masthead's left slot (the site is the master brand IntraGenX, the agent is one of its products). */

/* English product names in display type: EB Garamond, the koreadeep.com/ko hero face. Picked from the type sheet
   (2026-10-22, V1): 80px, weight 450, -0.015em */
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400..800&display=swap");

.mast-links { align-items: center; }
.gnav-item { position: relative; }
.gnav-btn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 13px var(--sans); color: var(--text); }
.gnav-btn i { font-size: 11px; color: var(--text-2); transition: transform 160ms var(--ease-out); }
.gnav-item:hover .gnav-btn i, .gnav-item:focus-within .gnav-btn i { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 16px); left: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, auto);
  background: var(--surface); border: 1px solid var(--rule-strong); box-shadow: 0 24px 48px -28px rgb(0 0 0 / 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 140ms ease, transform 160ms var(--ease-out), visibility 0s 160ms; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.gnav-item:hover .mega, .gnav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-col { display: grid; align-content: start; gap: 2px; padding: 18px 20px 20px; }
.mega-col + .mega-col { border-left: 1px solid var(--rule); }
.mega-head { margin: 0 0 8px; font: 600 12px var(--sans); color: var(--text-2); }
.mega a { padding: 7px 0; font: 600 15px var(--sans); text-transform: none; letter-spacing: 0; color: var(--text); text-decoration: none; white-space: nowrap; }
.mega a:hover { text-decoration: underline; }
.mega a[data-soon]::after { content: "준비 중"; margin-left: 8px; font: 500 11px var(--sans); color: var(--text-2); }
/* unreleased product card: the grey veil of v2's Desktop/Cloud cards (.surf-soon, editorial.css) over the picture only */
.lineup-card.is-soon .plate-fig { position: relative; }
.mega a[aria-current="page"]::after { content: "현재 페이지"; margin-left: 8px; font: 500 11px var(--sans); color: var(--text-2); }

/* hero: the product name is the headline, on one line */
.front-copy h1.pname { font-size: clamp(36px, 3.5vw, 54px); white-space: nowrap; }
/* the copy column got shorter without the old headline, so the plate (cover-cropped to the column's height) showed only a
   wide strip; it keeps the picture's own shape now (2026-10-22: CuCu's whole ship has to show). --ar comes from the page */
.front-plate .plate { flex: none; min-height: 0; aspect-ratio: var(--ar, 1400 / 1283); }
@media (max-width: 767px) { .front-copy h1.pname { font-size: min(11vw, 48px); } }
/* product pages: the copy column sits on the plate's vertical centre, as on the home (2026-10-22) */
.front .front-grid { align-items: center; }
.front-copy h1.pname, .lineup-card .lineup-name { font-family: "EB Garamond", Georgia, serif; font-weight: 450; letter-spacing: -0.015em; }
.front-copy h1.pname { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.02; }
@media (max-width: 767px) { .front-copy h1.pname { font-size: min(13vw, 64px); } }
/* the wordmark beside the logo stays "IntraGenX", in the same face as the product names (2026-10-23) */
.brand-name { font-family: "EB Garamond", Georgia, serif; font-weight: 500; letter-spacing: -0.01em; font-size: 29px; }
.foot-brand .brand-name { font-size: 22px; }

/* master brand home (home.*.html): product cards and ways to adopt, on v2's hairlines and type */
.lineup-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.lineup-card { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; padding: 0 0 28px; border-bottom: 1px solid var(--rule); }
.lineup-card .plate-fig { margin-bottom: 12px; }
.lineup-card .plate { aspect-ratio: 4 / 3; -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center; mask-position: center; }
.lineup-kind { font: 600 13px var(--sans); color: var(--text-2); }
.lineup-name { font: 800 clamp(30px, 2.6vw, 40px)/1.1 var(--sans); letter-spacing: -0.04em; color: var(--ink); }
.lineup-card > p:not(.lineup-kind) { color: var(--text-2); font-size: 16px; }
.lineup-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.adopt-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.adopt-card { display: grid; grid-template-rows: auto auto 1fr auto; justify-items: start; gap: 12px; padding: 28px; border: 1px solid var(--rule); }
.adopt-card p { color: var(--text-2); }
.adopt-card .plan-price { display: flex; align-items: baseline; gap: 6px; margin: 0; color: var(--ink); }
.plan-price b { font: 800 clamp(34px, 3vw, 44px)/1 var(--sans); letter-spacing: -0.03em; }
.plan-price span { font: 500 14px var(--sans); color: var(--text-2); }
.plan-list { display: grid; align-content: start; gap: 8px; margin: 8px 0 12px; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--rule); width: 100%; }
.plan-list li { font-size: 15px; color: var(--text); }
/* plans as old charters (2026-10-22): a paper lighter than the page with a fine grain, set apart by tone alone
   (no rules, no shadow); a picture head per plan (scribe -> press -> walled city), checked features, a soft wide button */
:root { --parch: #fbfaf6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --parch: #1e1e1c; } }
:root[data-theme="dark"] { --parch: #1e1e1c; }
.adopt-card.plan { position: relative; isolation: isolate; grid-template-rows: auto auto 1fr auto; justify-items: stretch; gap: 0;
  padding: 12px; text-align: left; background: var(--parch); border: 1px solid color-mix(in srgb, var(--ink) 11%, transparent); }
.plan::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.14; mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .22 0 0 0 0 .18 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan::before { mix-blend-mode: screen; opacity: 0.14; } }
:root[data-theme="dark"] .plan::before { mix-blend-mode: screen; opacity: 0.14; }
.plan-name { margin: 0; font: 450 42px/1.05 "EB Garamond", Georgia, serif; letter-spacing: -0.015em; }
.plan .plan-price b { font: 500 46px/1 "EB Garamond", "Pretendard", Georgia, serif; letter-spacing: -0.01em; }
.plan .plan-price b.ko { font: 600 30px/46px "Pretendard", sans-serif; letter-spacing: -0.02em; }

.plan-head { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; gap: 4px; min-height: 300px;
  padding: 22px 22px 20px; color: var(--ink); }
/* the engraving, painted through its mask like every plate, fading into the paper under the text */
.plan-head::before { content: ""; position: absolute; inset: 0; z-index: -2; background-color: var(--ink); opacity: 0.85;
  -webkit-mask-image: var(--src); mask-image: var(--src); -webkit-mask-size: cover; mask-size: cover;
  -webkit-mask-position: center; mask-position: center; }
.plan-head::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--parch) 34%, color-mix(in srgb, var(--parch) 70%, transparent) 50%, transparent 72%); }
.plan-head.is-dark { background: var(--ink); color: var(--on-ink); }
.plan-head.is-dark::before { background-color: var(--on-ink); opacity: 0.6; }
.plan-head.is-dark::after { background: linear-gradient(to top, var(--ink) 34%, color-mix(in srgb, var(--ink) 70%, transparent) 50%, transparent 72%); }
.adopt-card .plan-head p { color: inherit; }
.plan-for { margin: 0 0 10px; font: 500 14px var(--sans); opacity: 0.8; }
.plan-head .plan-price { justify-content: flex-start; color: inherit; }
.plan-head .plan-price span { color: inherit; opacity: 0.75; }
.plan-feat-h { margin: 22px 10px 10px; font: 600 12px var(--sans); color: var(--text-2); }
.plan .plan-list { justify-items: start; gap: 10px; margin: 0 10px 22px; padding: 0; border-top: 0; width: auto; }
.plan .plan-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.45; }
.plan .plan-list i { flex: none; margin-top: 2px; font-size: 17px; color: var(--ink); opacity: 0.55; }
/* buttons: a tinted paper tab with soft corners instead of a ruled box */
.plan-btn { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); font: 600 14.5px/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.plan-btn:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.plan-btn:active { transform: scale(0.98); }
.plan-btn.is-dark { background: var(--ink); color: var(--on-ink); }
.plan-btn.is-dark:hover { background: color-mix(in srgb, var(--ink) 86%, var(--parch)); }
@media (max-width: 1023px) { .lineup-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .lineup-row, .adopt-row { grid-template-columns: minmax(0, 1fr); } }

/* the home hero copy is short: the plate keeps its own shape instead of the copy column's height */
.front-home .front-grid { align-items: center; }
/* 2026-10-22: the plate cropped to 4:3 (centre of the chart), the copy centred on it, and half the old gap to 제품 (160 -> 80px) */
.front-home .front-plate .plate { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
.front-home { padding-bottom: 28px; }
/* then a little more (2026-10-22): just enough that the cards' 자세히 보기 falls below the first screen (2560x1313 window) */
.front-home + .lineup { padding-top: 112px; }

/* customer logos between the hero and the products: each logo is an alpha mask (light parts kept as lighter ink)
   painted in one grey, like the plates, so the three read as one row in both themes */
.refs { padding: 40px 0 8px; }
.refs-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 96px; margin: 0; padding: 0; list-style: none; }
.refs-logo { display: block; height: var(--h, 32px); aspect-ratio: var(--ar); max-width: 100%;
  background-color: color-mix(in srgb, var(--ink) 58%, transparent);
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.refs + .lineup { padding-top: 88px; }
@media (max-width: 767px) { .refs-logos { gap: 24px 44px; } .refs-logo { height: calc(var(--h, 32px) * 0.8); } }

/* review only: jump between the name drafts */
.concept-switch { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgb(18 18 20 / 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 24px -12px rgb(0 0 0 / 0.5); }
.concept-switch a { padding: 7px 12px; border-radius: 999px; font: 500 12px/1 var(--mono); color: #c9c9cc; text-decoration: none; }
.concept-switch a:hover { color: #fff; }
.concept-switch a[aria-current="page"] { background: #f3f3f0; color: #121214; }

/* CuCu footer strip (2026-10-22): ancient scholars in debate (Volpato after Raphael, School of Athens, Rijksmuseum CC0)
   in place of the 19th-century loom visit, which read as modern */
.foot-plate.is-scholars { -webkit-mask-image: url(../plates/footer-school-athens.png); mask-image: url(../plates/footer-school-athens.png); }
:root[data-theme="dark"] .foot-plate.is-scholars { -webkit-mask-image: url(../plates/footer-school-athens-dark.png); mask-image: url(../plates/footer-school-athens-dark.png); }
/* benchmark: other agents' logos in black and white (2026-10-23). Pi and OpenHands use their official mono marks; this greys the rest */
.bm-row:not(.is-us) .bm-ic.is-logo { filter: grayscale(1); }

/* CuCu hero (2026-10-29): roomier copy column, and on desktop it sits at the bottom so the install terminal
   ends on the same line as the plate's bottom edge */
.front:not(.front-home) .front-lead { margin-top: 28px; }
.front:not(.front-home) .front-cta { margin-top: 36px; }
.front:not(.front-home) .install { margin-top: 56px; }
.front:not(.front-home) .install-label { margin-bottom: 12px; }
@media (min-width: 1025px) { .front:not(.front-home) .front-copy { align-self: end; } }

/* Benchmarks (2026-12-02), after the business plan p9: a wide score card (four per-task charts in a 2x2) beside a
   narrower cost card (CRM screenshot over three cost bars); the "what is it" card spans both columns underneath */
.bm-lead { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.bm-grid-9 { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 56px 56px; }
.bm-head-split { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.bm-head-note { font: 400 13px/1.4 var(--sans); color: var(--text-2); }
.bm-tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; padding-top: 24px; }
.bm-task-t { margin: 0 0 4px; font: 600 15px/1.3 var(--sans); color: var(--text); }
.bm-list.bm-mini { padding-top: 10px; gap: 9px; }
.bm-mini .bm-row { grid-template-columns: 132px minmax(0, 1fr) 40px; gap: 10px; }
.bm-mini .bm-name { font-size: 13.5px; gap: 8px; }
.bm-mini .bm-ic { width: 16px; height: 16px; border-radius: 4px; }
.bm-mini .bm-bar { height: 9px; } .bm-mini .bm-bar span { border-radius: 3px; }
.bm-mini .bm-v { font-size: 13px; letter-spacing: 0.02em; }
.bm-shot { display: block; width: 100%; height: auto; margin-top: 24px; border: 1px solid var(--rule); border-radius: 8px; }
.bm-shot-cap { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--text-2); }
.bm-list.bm-cost { padding-top: 18px; gap: 16px; }
.bm-cost .bm-row { grid-template-columns: 140px minmax(0, 1fr) 64px; gap: 12px; }
.bm-cost .bm-name { font-size: 15px; }
.bm-cost .bm-v { font-size: 15px; letter-spacing: 0.02em; }
.bm-foot { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.bm-foot strong { color: var(--ink); font-weight: 600; }
.bm-foot-k { color: var(--text); font-weight: 600; margin-right: 4px; }
.bm-wide { grid-column: 1 / -1; }
.bm-wide p { max-width: 80ch; }
@media (max-width: 1024px) { .bm-grid-9 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .bm-tasks { grid-template-columns: minmax(0, 1fr); } }/* Devin's mark is solid black: flip it on dark so it stays visible */
[data-theme="dark"] .bm-ic.is-logo[src$="/devin.svg"] { filter: grayscale(1) invert(1); }
