/* Peripheral product presentation */
.product-main {
  --pr-ink: #232722;
  --pr-paper: #f5f2ea;
  --pr-soft: #ded9cc;
  --pr-gold: #ddbd85;
  --pr-bronze: #76552a;
  --pr-hairline: #d2cec3;
  --pr-width: min(88%, 1300px);
  --pr-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  background: var(--pr-paper);
  color: var(--pr-ink);
}
.product-main *, .product-main *::before, .product-main *::after { box-sizing: border-box; }
.product-main :where(h1, h2, h3, p, pre, figure, ul, ol) { margin: 0; }
.product-main section[id] { scroll-margin-top: 7rem; }
.pr-inner { width: var(--pr-width); margin-inline: auto; }
.pr-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(580px, 74vh, 770px);
  color: #f7f4ed;
  background: #161a19;
}
.pr-hero-art {
  position: absolute;
  inset: 0 0 0 28%;
  z-index: -2;
  background: #161a19;
  overflow: hidden;
}
.pr-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 50%;
}
.pr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #151918 2%, #151918 22%, rgba(21,25,24,.92) 33%, rgba(21,25,24,.46) 50%, transparent 70%);
  pointer-events: none;
}
.pr-hero .pr-inner { padding-block: clamp(65px,7.3vw,120px); }
.pr-kicker {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--pr-bronze);
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pr-kicker::before { content: ""; height: 1px; width: 29px; background: currentColor; flex: none; }
.pr-hero .pr-kicker, .pr-incubation .pr-kicker { color: var(--pr-gold); }
.pr-hero h1 {
  color: inherit;
  margin: 1.5rem 0 1.75rem;
  max-width: 9em;
  font-size: clamp(4.4rem,7.8vw,8.4rem);
  font-weight: 450;
  line-height: .99;
  letter-spacing: -.072em;
}
.pr-display em, .pr-hero h1 em {
  display: block;
  font-family: var(--pr-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.05em;
}
.pr-hero h1 em { color: var(--pr-gold); margin-top: .02em; }
.pr-hero-desc { max-width: 28rem; color: #dedfd8; font-size: clamp(1rem,1.22vw,1.19rem); line-height: 1.65; }
.pr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.65rem; margin-top: 2rem; }
.pr-action, .pr-text-link, .pr-trail a {
  text-decoration: none;
  font-size: .89rem;
  line-height: 1.35;
  font-weight: 600;
}
.pr-action {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 47px;
  padding: .85rem 1.25rem;
  background: var(--pr-ink);
  color: var(--pr-paper);
  border: 1px solid var(--pr-ink);
  border-radius: 3px;
  transition: background-color .2s ease, color .2s ease;
}
.pr-action:hover { background: #42473d; }
.pr-action--light { background: var(--pr-paper); color: #232722; border-color: var(--pr-paper); }
.pr-action--light:hover { background: var(--pr-gold); color: #232722; }
.pr-text-link { display: inline-flex; align-items: center; gap: .65rem; color: inherit; min-height: 44px; }
.pr-text-link:hover { text-decoration: underline; text-underline-offset: .35em; }
.product-main a:focus-visible, .product-main button:focus-visible, .product-main summary:focus-visible {
  outline: 3px solid #bf893e;
  outline-offset: 4px;
}
.pr-trail { border-bottom: 1px solid var(--pr-hairline); background: #eeebe2; }
.pr-trail .pr-inner { display: flex; min-height: 65px; align-items: center; justify-content: space-between; gap: 1.25rem; }
.pr-trail-name { color: inherit; font-weight: 650; font-size: 1.06rem; letter-spacing: -.045em; text-decoration: none; }
.pr-trail-links { display: flex; align-items: center; gap: clamp(1.3rem,3.2vw,3rem); }
.pr-trail-links a { color: #484b43; font-size: .815rem; display: inline-flex; align-items: center; min-height: 44px; }
.pr-trail a:hover { color: var(--pr-bronze); }
.pr-section { padding-block: clamp(75px,8vw,132px); }
.pr-display {
  color: inherit;
  font-size: clamp(2.8rem,4.65vw,5.05rem);
  font-weight: 450;
  letter-spacing: -.067em;
  line-height: 1.045;
  text-wrap: balance;
}
.pr-display em { color: var(--pr-bronze); letter-spacing: -.055em; }
.pr-intro-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(38px,8vw,145px); align-items: end; margin: 1.55rem 0 clamp(38px,5vw,75px); }
.pr-description, .pr-fit details p { color: #565a50; font-size: clamp(1rem,1.1vw,1.1rem); line-height: 1.7; }
.pr-example {
  border: 1px solid #c9c7bb;
  background: #eae8de;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  border-radius: 5px;
  overflow: hidden;
}
.pr-example-intro { padding: clamp(28px,4vw,66px); align-self: center; }
.pr-mini {
  color: #6a6555;
  font-size: .71rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.5;
}
.pr-example h3 { margin: .9rem 0 1.1rem; max-width: 12em; font-size: clamp(1.8rem,2.8vw,3.2rem); font-weight: 450; line-height: 1.08; letter-spacing: -.055em; }
.pr-example-intro p:last-child { color: #50554b; font-size: .98rem; line-height: 1.63; max-width: 32em; }
.pr-inspector {
  background: #202521;
  color: #efeee4;
  padding: clamp(22px,3.25vw,46px);
}
.pr-inspector-tabs { display: none; flex-wrap: wrap; gap: .15rem .4rem; border-bottom: 1px solid #45483d; margin-bottom: 1.7rem; }
.pr-inspector.is-interactive .pr-inspector-tabs { display: flex; }
.pr-inspector-tabs button {
  background: transparent; color: #babdb1; border: 0; font: inherit; font-size: .88rem; padding: .65rem .95rem .85rem; cursor:pointer; border-bottom: 2px solid transparent;
}
.pr-inspector-tabs button:first-child { padding-left: .25rem; }
.pr-inspector-tabs button[aria-selected="true"] { color: #fff2d4; border-color: var(--pr-gold); }
.pr-inspector [role="tabpanel"][hidden] { display: none; }
.pr-inspector [role="tabpanel"] + [role="tabpanel"] { margin-top: 2.15rem; }
.pr-inspector.is-interactive [role="tabpanel"] { margin: 0; }
.pr-file {
  display: inline-flex; gap: .6rem; align-items: center;
  color: #e6d5af;
  font: .75rem/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
  overflow-wrap: anywhere;
}
.pr-file::before {
  content: "";
  display: inline-block;
  width: .67rem; height: .85rem;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, #cbb37d 3px 4px);
  border: 1px solid #cbb37d; border-radius: 1px;
  flex: none;
}
.pr-snippet {
  color: #ebeee3;
  font: clamp(.78rem,1.13vw,1.02rem)/1.7 ui-monospace, "SFMono-Regular", Consolas, monospace;
  margin: 1.05rem 0 1.15rem;
  padding-block: .3rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: anywhere;
}
.pr-snippet code { font: inherit; background: none; color: inherit; }
.pr-key { color: #e2c58e; }
.pr-string { color: #b6d7bf; }
.pr-code-note { color: #c2c8be; font-size: .89rem; line-height: 1.55; max-width: 47em; }
.pr-incubation { background: #242b27; color: #f0eee5; }
.pr-incubation .pr-inner { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(44px,8vw,140px); }
.pr-incubation h2 { margin: 1.45rem 0; }
.pr-incubation .pr-display em { color: var(--pr-gold); }
.pr-incubation .pr-description { color: #cbd0c8; }
.pr-schema { background: radial-gradient(ellipse at 50% 69%, #384336 0%, #222924 68%); border: 1px solid #4e564c; border-radius: 4px; padding: clamp(18px,3vw,48px); }
.pr-schema > figcaption { color: #c8ccbe; font-size: .67rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2.25rem; }
.pr-callers { display: grid; grid-template-columns: repeat(2,1fr); align-items: stretch; gap: 1rem; position: relative; }
.pr-node { position: relative; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: .3rem; padding: 1.1rem .45rem; border: 1px solid #646d5f; border-radius: 3px; background: #272f29; }
.pr-node strong { color: #f4f1e7; font-size: clamp(.88rem,1.3vw,1.13rem); font-weight: 500; }
.pr-node small { color: #c4cbbf; font-size: .76rem; line-height: 1.4; }
.pr-callers .pr-node::after { position: absolute; top: 100%; left: 50%; content:""; height: 1.25rem; border-left: 1px solid #948d73; }
.pr-callers::after { content:""; position:absolute; top: calc(100% + 1.25rem); height: 1px; left:calc(25% - .25rem); right:calc(25% - .25rem); background: #948d73; }
.pr-db { width: min(70%, 16rem); margin: 2.65rem auto 0; border-color: #bcaa7c; background: #333a2e; }
.pr-db::before { position:absolute; bottom: 100%; left: 50%; content:""; height: 1.4rem; border-left: 1px solid #948d73; }
.pr-db strong { color: #ebcf95; font-family: ui-monospace,"SFMono-Regular",Consolas,monospace; }
.pr-schema-note { color: #b9c1b3; margin: 1.75rem auto 0; max-width: 32rem; font-size: .81rem; line-height: 1.5; text-align: center; }
.pr-fit .pr-inner { display: grid; grid-template-columns: 1fr 1.06fr; align-items:start; gap: clamp(44px,8vw,140px); }
.pr-fit h2 { margin: 1.45rem 0; }
.pr-fit-intro { max-width: 35em; }
.pr-fit details { border-bottom: 1px solid var(--pr-hairline); }
.pr-fit details:first-of-type { border-top: 1px solid var(--pr-hairline); }
.pr-fit summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  list-style: none; color: var(--pr-ink); cursor: pointer;
  padding: 1.35rem 0; font-size: clamp(1.15rem,1.6vw,1.6rem); font-weight: 500; letter-spacing: -.03em;
}
.pr-fit summary::-webkit-details-marker { display: none; }
.pr-fit summary::after { content:"+"; display: inline-grid; place-items:center; width: 1.8rem; height: 1.8rem; line-height: 1; font: 400 1.45rem/1 Arial,sans-serif; color: var(--pr-bronze); }
.pr-fit details[open] summary::after { content:"−"; }
.pr-fit details p { padding: 0 2.2rem 1.4rem 0; font-size: .96rem; max-width: 48em; }
.pr-fit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; margin-top: 1.8rem; }
html[lang="el"] .pr-hero h1 { font-size: clamp(3.55rem,6.45vw,6.8rem); }
html[lang="el"] .pr-display { font-size: clamp(2.6rem,4vw,4.3rem); }
@media (min-width: 801px) {
  .pr-hero-art {
    left: auto;
    width: min(59vw, clamp(580px, 74vh, 770px));
    right: max(0px, calc((100vw - 1560px) / 2));
    mask-image: linear-gradient(90deg, transparent, black 15%, black 97%, rgba(0,0,0,.9));
  }
  .pr-hero-art img { object-fit: contain; object-position: center; }
}
@media (min-width: 960px) {
  .pr-inspector.is-interactive [role="tabpanel"] { min-height: 12.3rem; }
}
@media (max-width: 800px) {
  .pr-hero { min-height: 560px; }
  .pr-hero-art { left: 19%; }
  .pr-hero::before { background: linear-gradient(90deg, rgba(21,25,24,.98), rgba(21,25,24,.85) 32%, rgba(21,25,24,.27) 72%); }
  .pr-intro-grid, .pr-incubation .pr-inner, .pr-fit .pr-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .pr-intro-grid .pr-description, .pr-incubation .pr-description { max-width: 40rem; }
  .pr-incubation .pr-inner { gap: 2.5rem; }
  .pr-example { grid-template-columns: 1fr; }
  .pr-schema { max-width: 38rem; }
}
@media (max-width: 590px) {
  .product-main { --pr-width: min(89%, 1300px); }
  .pr-hero { min-height: 0; align-items: start; padding-bottom: clamp(190px,52vw,290px); }
  .pr-hero .pr-inner { padding: 2.8rem 0 0; }
  .pr-hero-art { inset: auto 0 0; height: 65%; }
  .pr-hero-art img { object-position: 65% 62%; }
  .pr-hero::before { background: linear-gradient(180deg, #151918 0%, #151918 33%, rgba(21,25,24,.91) 47%, rgba(21,25,24,.1) 73%, transparent); }
  .pr-hero h1 { font-size: clamp(3.95rem,13.2vw,5rem); margin: 1.1rem 0 1.2rem; }
  html[lang="el"] .pr-hero h1 { font-size: clamp(3.05rem,10.3vw,4rem); }
  .pr-hero-desc { font-size: .95rem; max-width: 29rem; }
  .pr-actions { gap: .5rem 1.15rem; margin-top: 1.25rem; }
  .pr-actions a { font-size: .82rem; }
  .pr-trail .pr-inner { min-height: 3.35rem; gap: 0; }
  .pr-trail-name { display: none; }
  .pr-trail-links { justify-content: space-between; width: 100%; gap: .5rem; }
  .pr-trail-links a { font-size: .76rem; }
  .pr-section { padding-block: 4.2rem; }
  .pr-example-intro, .pr-inspector { padding: 1.5rem; }
  .pr-inspector-tabs button { font-size: .79rem; padding-inline: .55rem; }
  .pr-kicker { letter-spacing: .12em; font-size: .63rem; }
  .pr-schema { padding: 1.45rem 1.1rem; }
  .pr-schema > figcaption { margin-bottom: 1.6rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes pr-enter { from { opacity: .72; transform: translateY(7px); } to { opacity: 1; transform: none; } }
  .pr-inspector.is-interactive [role="tabpanel"]:not([hidden]) { animation: pr-enter .23s ease-out; }
}
