/* Product pages share the orange/white identity and the native app's vocabulary. */
.product-pages { --page-measure: 720px; }
.product-pages main { overflow: clip; }
.product-pages .site-header { z-index: 100; }
.product-pages .nav-desktop [aria-current="page"],
.product-pages .nav-mobile [aria-current="page"] { color: var(--ember); }
.page-hero { position: relative; padding: clamp(65px, 9vw, 130px) 0 clamp(64px, 8vw, 112px); background: radial-gradient(ellipse at 83% 14%,#ffe4d5 0%,rgba(255,233,221,.48) 26%,rgba(255,255,255,0) 62%),linear-gradient(180deg,#fff 28%,#fffaf6); }
.page-hero::after { content: ""; display: block; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg,transparent,#eaded5,transparent); }
.page-hero-inner { position: relative; }
.page-kicker { margin-bottom: 22px; color: var(--ember); font-size: 12px; line-height: 1.5; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.page-hero h1 { max-width: 1100px; font-family: var(--display); font-size: clamp(38px,6.5vw,86px); line-height: 1.07; letter-spacing: -.055em; font-weight: 700; text-wrap: balance; }
.page-accent { color: var(--ember); }
.page-lead { margin-top: 26px; max-width: 780px; color: var(--muted); font-size: clamp(17px,1.8vw,22px); line-height: 1.65; letter-spacing: -.02em; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 32px; }
.page-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ember); font-size: 14px; font-weight: 650; line-height: 1.5; }
.page-text-link span { transition: transform 180ms ease; }
.page-text-link:hover span { transform: translateX(3px); }
.page-section { padding-block: clamp(56px,7vw,100px); }
.page-section-head { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 0 80px; margin-bottom: 44px; }
.page-section-head > .page-kicker { grid-column: 1 / -1; margin-bottom: 18px; }
.product-pages h2 { font-family: var(--display); font-size: clamp(30px,3.7vw,48px); font-weight: 650; line-height: 1.15; letter-spacing: -.045em; text-wrap: balance; }
.page-section-head > p:last-child, .page-body-lead { max-width: 600px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.page-body-lead { margin-top: 24px; }
.workflow-line { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding-block: 22px 12px; }
.workflow-line li { position: relative; min-width: 0; padding-right: 18px; }
.workflow-line li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 23px; border: 1px solid #e6b79d; border-radius: 50%; background: #fff8f3; color: var(--ember); font-size: 11px; font-variant-numeric: tabular-nums; }
.workflow-line li:not(:last-child)::before { content: ""; position: absolute; height: 1px; top: 16px; left: 32px; right: 0; background: #e6b79d; }
.workflow-line strong { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 17px; font-weight: 650; letter-spacing: -.03em; }
.workflow-line p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.page-band { background: #faf8f5; border-block: 1px solid var(--line); }
.product-chapters { display: grid; gap: 50px; }
.product-chapter { display: grid; grid-template-columns: .55fr 1fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid #e4dfd8; }
.product-chapter:last-child { border-bottom: 0; padding-bottom: 0; }
.chapter-index { padding-top: 8px; color: var(--ember); font-size: 12px; font-weight: 650; letter-spacing: .04em; }
.product-chapter h2 { margin-bottom: 24px; font-size: clamp(28px,3.4vw,43px); }
.product-chapter p { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.product-chapter .chapter-note { margin-top: 18px; font-size: 13px; color: var(--muted-2); }
.product-chapter .page-text-link { margin-top: 18px; }
.page-split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(36px,7vw,110px); }
.plain-feature-list { display: grid; gap: 28px; }
.plain-feature-list article + article { padding-top: 25px; border-top: 1px solid var(--line); }
.product-pages h3 { font-family: var(--display); font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; }
.plain-feature-list p { color: var(--muted); margin-top: 11px; font-size: 15px; line-height: 1.75; }
.page-closing { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding-block: 75px 100px; }
.page-closing::before { content: ""; position: absolute; z-index: -1; inset: 0 calc((min(100vw,1320px) - 100vw) / 2); background: radial-gradient(ellipse at 50% 95%,#ffe6d8,rgba(255,242,233,.55) 34%,rgba(255,255,255,0) 70%); }
.page-closing .page-kicker { margin: 0; }
.page-closing h2 { font-size: clamp(34px,4.5vw,58px); }
.page-caption { color: var(--muted-2); font-size: 12px; line-height: 1.7; }
.product-pages .site-footer { position: relative; border-top: 1px solid var(--line); }
.evidence-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.evidence-columns article { display: flex; flex-direction: column; align-items: start; border-top: 1px solid #d9cec4; padding-top: 20px; }
.evidence-number { margin-bottom: 20px; color: var(--ember); font-size: 12px; font-variant-numeric: tabular-nums; }
.evidence-columns h3 { font-size: 24px; }
.evidence-columns p { margin: 16px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.evidence-foot { margin-top: auto; color: var(--ember-deep); font-size: 12px; font-weight: 550; line-height: 1.6; }
.learning-steps { display: grid; gap: 28px; }
.learning-steps li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 18px; }
.learning-steps li > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #d9c3b3; border-radius: 50%; color: var(--ember); font-size: 12px; }
.learning-steps h3 { font-size: 17px; }
.learning-steps p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.builder-path { padding: 28px 30px; background: #fff8f2; border: 1px solid #efdfd2; border-radius: 16px; }
.builder-path ol { padding-left: 25px; }
.builder-path li { position: relative; padding: 0 0 25px 12px; border-left: 1px solid #dba98b; }
.builder-path li:last-child { padding-bottom: 3px; border-left-color: transparent; }
.builder-path-dot { position: absolute; top: 4px; left: -5px; width: 9px; height: 9px; border: 2px solid var(--ember); background: #fff8f2; border-radius: 50%; }
.builder-path strong { font-size: 14px; font-weight: 650; }
.builder-path p:not(.page-caption) { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.builder-path > .page-caption { padding-top: 20px; margin-top: 20px; border-top: 1px solid #efdfd2; }
.learning-notes { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 70px; border-top: 1px solid var(--line); }
.learning-notes > div:first-child > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.8; margin-top: 25px; }
.learning-faq details { border-bottom: 1px solid #e1d9d0; padding-block: 20px; }
.learning-faq details:first-child { border-top: 1px solid #e1d9d0; }
.learning-faq summary { position: relative; list-style: none; padding-right: 32px; font-size: 15px; font-weight: 600; line-height: 1.65; cursor: pointer; }
.learning-faq summary::-webkit-details-marker { display: none; }
.learning-faq summary::after { content: "+"; position: absolute; right: 2px; top: 0; color: var(--ember); font-size: 20px; font-weight: 400; }
.learning-faq details[open] summary::after { content: "−"; }
.learning-faq details p { max-width: 650px; margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.learning-faq a { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; }
.availability-note { display: flex; align-items: center; gap: 9px; margin-top: 23px; color: var(--muted); font-size: 12px; }
.availability-note > span { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.download-status { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.download-status > div:last-child > p { margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.setup-steps { display: grid; gap: 26px; }
.setup-steps li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 15px; }
.setup-steps li > span { padding-top: 3px; color: var(--ember); font-size: 11px; font-variant-numeric: tabular-nums; }
.setup-steps h3 { font-size: 17px; }
.setup-steps p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.setup-code { min-width: 0; border: 1px solid #3a3029; border-radius: 16px; color: #fff7f1; background: #211a16; box-shadow: 0 18px 40px -30px #2a201b; overflow: hidden; }
.setup-code > div { display: flex; gap: 5px; align-items: center; padding: 16px 18px; border-bottom: 1px solid #49382c; }
.setup-code > div > span:last-child { margin-left: 8px; color: #d9c4b6; font-size: 11px; }
.code-dot { width: 6px; height: 6px; border-radius: 50%; background: #8b6b57; }
.setup-code pre { overflow-x: auto; margin: 0; padding: 25px 22px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.95; }
.setup-code > p { padding: 0 22px 22px; color: #d9c4b6; font-size: 11px; line-height: 1.65; }
.setup-steps code, .learning-faq code { font-size: .9em; overflow-wrap: anywhere; }
.download-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; border-top: 1px solid var(--line); }
.download-faq .page-section-head { display: block; }
@media (max-width: 900px) {
  .page-section-head { gap: 22px 36px; }
  .workflow-line { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 0; }
  .workflow-line li:nth-child(3)::before { display: none; }
  .product-chapter { grid-template-columns: .4fr 1fr; gap: 36px; }
  .page-split, .learning-notes, .download-status, .setup-grid, .download-faq { gap: 38px; }
  .evidence-columns { gap: 24px; }
}
@media (max-width: 680px) {
  .page-hero { padding-top: 56px; }
  .page-hero h1 { font-size: clamp(34px,8vw,51px); line-height: 1.12; letter-spacing: -.05em; }
  .page-kicker { margin-bottom: 18px; font-size: 11px; }
  .page-lead { font-size: 17px; line-height: 1.75; margin-top: 24px; }
  .desktop-break { display: none; }
  .page-section-head { display: block; margin-bottom: 32px; }
  .page-section-head > p:last-child { margin-top: 22px; font-size: 15px; }
  .workflow-line { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .workflow-line li { display: grid; grid-template-columns: 34px 1fr; gap: 0 18px; padding: 0 0 27px; }
  .workflow-line li > span { grid-row: 1 / 3; margin-bottom: 0; }
  .workflow-line strong { align-self: center; margin-bottom: 4px; }
  .workflow-line li:not(:last-child)::before, .workflow-line li:nth-child(3)::before { display: block; width: 1px; height: auto; inset: 31px auto 0 16px; }
  .product-chapter, .page-split, .learning-notes, .download-status, .setup-grid, .download-faq { grid-template-columns: 1fr; gap: 28px; }
  .product-chapter { padding-bottom: 35px; }
  .chapter-index { padding-top: 0; }
  .product-chapter h2 { margin-bottom: 20px; }
  .product-chapter p { font-size: 15px; }
  .product-chapters { gap: 34px; }
  .evidence-columns { grid-template-columns: 1fr; gap: 32px; }
  .evidence-columns article { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 0 16px; }
  .evidence-number { grid-row: 1 / 4; margin-top: 5px; }
  .evidence-columns p { margin-block: 12px 16px; font-size: 14px; }
  .evidence-columns h3 { font-size: 23px; }
  .builder-path { padding: 25px 22px; }
  .page-closing { padding-block: 58px 74px; }
  .page-closing .page-caption { max-width: 28ch; }
  .page-actions { gap: 14px 24px; }
  .product-pages .site-footer { align-items: flex-start; gap: 24px; }
  .product-pages .site-footer nav { flex-wrap: wrap; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-text-link span { transition: none; }
  .page-text-link:hover span { transform: none; }
}
