/* Public product pages share the homepage palette and navigation. */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 86px;
}
.site-brand { justify-self: start; }
.product-nav { display: flex; gap: clamp(18px, 3vw, 44px); font-size: 13px; }
.product-nav a { color: var(--muted); padding-block: 12px; }
.product-nav a:hover, .product-nav [aria-current] { color: var(--ink); }
.product-nav [aria-current] { box-shadow: inset 0 -1px #c5ba9f; }
.header-cta {
  justify-self: end;
  padding: 9px 14px;
  border: 1px solid #625b65;
  border-radius: 30px;
  font-size: 12px;
  white-space: nowrap;
}
.header-cta:hover { border-color: #cbb78f; }
.header-cta span { margin-left: 6px; }
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 82px);
  padding-block: clamp(52px, 7vw, 118px);
}
.home-hero { min-height: min(690px, 84svh); }
.product-copy > h1, .info-heading h1 {
  font-size: clamp(48px, 5.8vw, 89px);
  line-height: 1;
  font-weight: 510;
  letter-spacing: -.062em;
  text-wrap: balance;
  margin: 0 0 24px;
}
.product-copy > p:not(.product-label), .info-heading > p {
  max-width: 450px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.product-label {
  font-size: 12px;
  color: #d2c3a6;
  font-weight: 500;
  margin: 0 0 18px;
}
.product-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 30px; }
.product-copy > small { display: block; margin-top: 14px; color: var(--muted); font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 8px; font-size: 13px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link span { color: #cbb78f; }
.card-studio {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  margin: 0;
  min-width: 0;
  aspect-ratio: 1.22;
  background:
    radial-gradient(ellipse at 47% 45%, #384e3c60 0%, transparent 65%),
    #1b1d21;
  border: 1px solid #ffffff18;
  border-radius: 6px;
  overflow: clip;
}
.market-drift {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
}
.card-display {
  position: relative;
  width: 79%;
  isolation: isolate;
  overflow: hidden;
  border-radius: 3.6% / 5.7%;
  box-shadow: 0 26px 42px #040906a0, 0 0 0 1px #ffffff24;
  transform: perspective(1100px) rotateY(var(--card-y, -7deg)) rotate(var(--card-angle, -9deg)) translateY(var(--card-offset, 0));
}
.card-image { display: block; width: 100%; height: auto; }
.card-display::after {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, #d8f0d333 49%, transparent 61%);
  mix-blend-mode: soft-light;
  transform: translateX(var(--glint-x, -45%));
  opacity: var(--glint-opacity, 0);
}
.product-explainer, .product-directory, .product-end { border-top: 1px solid var(--line); }
.product-explainer { padding-block: clamp(44px, 6vw, 84px); scroll-margin-top: 18px; }
.product-explainer > h2, .product-end h2 {
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 490;
  letter-spacing: -.05em;
  margin: 0 0 34px;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 34px; margin: 0; padding: 0; list-style: none; }
ol.steps { counter-reset: steps; }
ol.steps > li { counter-increment: steps; }
ol.steps > li::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 12px;
  color: #cbb78f;
  font: 12px / 1.4 Inter, sans-serif;
  letter-spacing: .06em;
}
.steps > * { border-top: 1px solid #ffffff19; padding-top: 18px; }
.steps h3, .product-directory h2 { font-size: 19px; letter-spacing: -.03em; font-weight: 550; margin: 0 0 8px; }
.steps p, .product-directory p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; }
.product-note { max-width: 700px; margin: 32px 0 0; color: var(--muted); font-size: 12px; }
.product-explainer > .text-link { margin-top: 22px; }
.product-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-block: 28px;
}
.product-directory a {
  position: relative;
  border: 1px solid #ffffff17;
  background: #1d1b21;
  border-radius: 5px;
  padding: 23px 37px 23px 20px;
}
.product-directory a:hover { border-color: #9b8f73; background: #232027; }
.product-directory span { position: absolute; top: 22px; right: 16px; color: #cbb78f; }
.product-end { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 42px; }
.product-end h2 { margin: 0; font-size: clamp(26px, 3.6vw, 43px); }
.brokerage-preview { margin: 0; padding: clamp(20px, 3vw, 36px); border: 1px solid #ffffff25; border-radius: 6px; background: #1b211e; }
.brokerage-preview figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 17px; font-weight: 550; }
.brokerage-preview figcaption small { color: #b8c3b5; font-size: 11px; font-weight: 400; }
.brokerage-preview dl { margin: 24px 0 0; }
.brokerage-preview dl > div { padding-block: 15px; border-top: 1px solid #ffffff20; }
.brokerage-preview dl > div:last-child { padding-bottom: 0; }
.brokerage-preview dt { font-size: 14px; font-weight: 550; }
.brokerage-preview dd { margin: 3px 0 0; color: #b8c3b5; font-size: 13px; }
.info-heading { padding-block: clamp(44px, 7vw, 96px) 30px; }
.topic-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.topic-links a { font-size: 13px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 25px; }
.topic-links a:hover { border-color: #cbb78f; }
.faq-list { padding-bottom: 48px; }
.faq-list section {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 3fr;
  gap: 12px 26px;
  border-top: 1px solid var(--line);
  padding-block: 26px 30px;
  scroll-margin-top: 18px;
}
.faq-list h2 { margin: 0; font-size: 21px; letter-spacing: -.04em; font-weight: 540; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { margin-top: -9px; }
.faq-list summary { position: relative; cursor: pointer; padding: 11px 28px 11px 0; font-size: 15px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; color: #cbb78f; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 15px; max-width: 58ch; color: var(--muted); }
.faq-list details a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.info-page > main { flex: 1; }

@media (max-width: 1050px) {
  .desktop-break { display: none; }
}
@media (max-width: 760px) {
  .site-header { min-height: 74px; gap: 14px; }
  .product-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 34px 44px; }
  .home-hero { min-height: 0; }
  .product-copy > h1, .info-heading h1 { font-size: clamp(43px, 9vw, 61px); text-wrap: pretty; margin-bottom: 17px; }
  .product-label { margin-bottom: 14px; }
  .product-actions { margin-top: 21px; }
  .card-studio { aspect-ratio: 1.4; }
  .card-display { width: min(76%, 460px); }
  .product-directory { grid-template-columns: 1fr; }
  .product-explainer > h2 { margin-bottom: 21px; }
}
@media (max-width: 540px) {
  .site-header { grid-template-columns: 1fr 1fr; padding-block: 14px 0; row-gap: 9px; }
  .product-nav { grid-area: 2 / 1 / 3 / -1; border-bottom: 1px solid var(--line); gap: 23px; }
  .product-nav a { padding-block: 8px 10px; }
  .header-cta { grid-area: 1 / 2; }
  .steps, .faq-list section { grid-template-columns: 1fr; }
  .faq-list details:first-child { margin-top: 0; }
  .product-end { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .market-drift, .card-display::after { display: none; }
  .card-display { transform: rotate(-9deg); }
}
