/* Product page: the approved before/after narrative, using the site's shared tokens. */
.product-refresh .wrap { width:min(1320px,calc(100% - 96px)); }
.product-refresh .logo { height:auto; }
.product-icon { width:22px; height:22px; flex-shrink:0; display:block; }
.product-avatar { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; flex-shrink:0; border-radius:50%; background:var(--selected); color:var(--blue); font-size:11px; font-weight:600; }
.product-hero { padding:88px 0 72px; display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.3fr); gap:48px; align-items:center; }
.product-hero .eyebrow { margin-bottom:20px; }
.product-hero h1 { font-size:clamp(40px,3.6vw,54px); line-height:1.06; letter-spacing:-.045em; margin-bottom:24px; }
.product-hero .lead { max-width:600px; font-size:19px; line-height:1.65; margin-bottom:28px; }
.product-hero .actions { gap:28px; margin-bottom:0; }
.product-explore { display:inline-flex; gap:12px; align-items:center; min-height:48px; font-size:14px; font-weight:500; color:var(--blue); }
.product-tour-intro { padding:20px 0 40px; display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr); gap:64px; align-items:center; }
.product-rule { display:block; width:32px; height:2px; background:var(--blue); margin-bottom:22px; }
.product-tour-intro h2 { font-size:40px; line-height:1.15; margin-bottom:16px; }
.product-tour-copy>p { margin:0; color:var(--muted); font-size:18px; }
.comparison-chapter { padding:52px 0; scroll-margin-top:24px; }
.comparison-grid { display:grid; grid-template-columns:minmax(0,.8fr) 28px minmax(0,1.2fr); gap:28px; align-items:start; }
.comparison-before { min-width:0; }
.comparison-before .eyebrow { font-size:12px; margin-bottom:12px; }
.comparison-before h2 { font-size:28px; line-height:1.2; letter-spacing:-.025em; margin-bottom:12px; }
.chapter-description { font-size:15px; line-height:1.65; margin:0 0 26px; color:var(--muted); }
.comparison-arrow { color:var(--blue); font-size:32px; justify-self:center; align-self:center; margin-top:80px; }
.chapter-tint { background:var(--canvas); }
.before-scenes { display:grid; gap:12px; }
.today-label { font-size:12px; margin:0 0 -4px; font-weight:600; color:var(--muted); }
.fragment { display:flex; align-items:start; gap:16px; padding:20px; background:var(--paper); border:1px solid var(--border); border-radius:var(--surface); min-width:0; }
.fragment>.product-icon { box-sizing:content-box; padding:7px; width:24px; height:24px; border-radius:var(--control); color:var(--blue); background:var(--selected); }
.fragment>.tracker-icon { color:var(--success); background:var(--success-bg); }
.fragment>div { min-width:0; flex:1; }
.fragment strong { display:block; font-size:13px; font-weight:600; margin-bottom:4px; overflow-wrap:anywhere; }
.fragment>div>span { font-size:12px; color:var(--muted); display:block; overflow-wrap:anywhere; }
.fragment small { display:block; margin-top:4px; color:var(--muted); font-size:11px; }
.fragment-task { display:flex; justify-content:space-between; gap:12px; align-items:center; font-size:12px; color:var(--muted); }
.fragment-task>span:first-child { min-width:0; }
.fragment .badge { font-size:10px; padding:2px 6px; }
.tracker-head { display:flex; justify-content:space-between; font-size:11px; color:var(--muted); padding:8px 0; margin:4px 0 10px; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.comparison-after { background:var(--subtle); border:1px solid var(--selected); border-radius:var(--surface); padding:20px; min-width:0; }
.comparison-after>h3 { color:var(--blue); font-size:17px; font-weight:600; letter-spacing:-.015em; margin:0 0 4px; }
.comparison-after>p { color:var(--muted); font-size:13px; line-height:1.6; margin:0 0 20px; }
.product-workspace,.progress-example,.creation-example { margin:0; background:var(--paper); border:1px solid var(--border); border-radius:var(--surface); min-width:0; box-shadow:0 6px 20px rgba(24,36,58,.035); }
.product-workspace { padding:22px; }
.workspace-heading { display:flex; flex-wrap:wrap; gap:20px; align-items:center; justify-content:space-between; margin-bottom:24px; }
.workspace-heading>div { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.workspace-heading h4 { font-size:16px; font-weight:600; margin:0; }
.workspace-heading dl { display:flex; gap:20px; margin:0; }
.workspace-heading dl>div { padding-left:16px; border-left:1px solid var(--border); }
.workspace-heading dt { font-size:10px; color:var(--muted); margin-bottom:5px; }
.workspace-heading dd { display:flex; align-items:center; gap:7px; margin:0; font-size:11px; }
.workspace-heading dd>.product-icon { width:15px; height:15px; color:var(--muted); }
.workspace-heading .product-avatar { width:24px; height:24px; font-size:10px; }
.workspace-tabs { display:flex; gap:24px; border-bottom:1px solid var(--border); margin-bottom:16px; }
.workspace-tabs button { border:0; border-bottom:2px solid transparent; background:transparent; padding:10px 0; min-height:44px; color:var(--muted); font-size:12px; font-weight:500; }
.workspace-tabs button[aria-selected=true] { border-bottom-color:var(--blue); color:var(--ink); }
.workspace-tabs button span { font-size:10px; margin-left:6px; }
.product-workspace [role=tabpanel] { min-height:145px; }
.workspace-documents { width:100%; border-collapse:collapse; font-size:11px; }
.workspace-documents th,.workspace-documents td { padding:12px 10px; text-align:left; border-bottom:1px solid var(--border); font-weight:400; }
.workspace-documents thead { font-size:10px; color:var(--muted); background:var(--subtle); }
.workspace-documents tbody th { color:var(--link); }
.workspace-documents tbody th .product-icon { display:inline-block; width:17px; height:17px; vertical-align:middle; margin-right:7px; }
.workspace-documents .product-avatar { width:24px; height:24px; font-size:10px; }
.workspace-comment { display:flex; align-items:start; gap:12px; margin-top:16px; }
.workspace-comment>div { min-width:0; }
.workspace-comment p { font-size:11px; color:var(--muted); margin:4px 0 0; line-height:1.65; }
.workspace-comment .comment-author { font-size:11px; color:var(--ink); font-weight:600; margin:0; }
.comment-author>span { font-size:10px; color:var(--muted); font-weight:400; margin-left:8px; display:inline-block; }
.workspace-note h4 { font-size:14px; margin:8px 0; }
.workspace-note p { color:var(--muted); font-size:12px; margin:0 0 16px; }
.supporting-document { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--link); }
.supporting-document .product-icon { width:18px; height:18px; }
.progress-example { padding:20px; }
.progress-example h4 { font-size:14px; font-weight:600; margin:0 0 8px; }
.progress-position>p { font-size:12px; line-height:1.7; color:var(--muted); margin:0 0 20px; }
.progress-fields { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:0; margin:0; padding:14px 12px; border:1px solid var(--border); border-radius:var(--control); }
.progress-fields>div { min-width:0; border-left:1px solid var(--border); padding-left:12px; margin-left:12px; }
.progress-fields>div:first-child { border:0; margin:0; padding:0; }
.progress-fields dt { font-size:10px; color:var(--muted); margin-bottom:6px; }
.progress-fields dd { display:flex; gap:6px; align-items:center; margin:0; font-size:12px; line-height:1.5; }
.progress-fields .product-icon { width:15px; height:15px; color:var(--muted); }
.progress-conversation { border:1px solid var(--border); background:var(--subtle); border-radius:var(--control); padding:14px; margin-top:16px; }
.progress-conversation .workspace-comment { margin-top:12px; }
.creation-example { padding:16px; }
.creation-flow { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.creation-flow>li { position:relative; min-width:0; }
.creation-flow>li:not(:last-child)::after { content:"→"; position:absolute; right:-24px; top:45%; font-size:22px; color:var(--blue); }
.creation-card { border:1px solid var(--border); border-radius:var(--control); padding:16px 12px; height:100%; min-height:270px; font-size:11px; }
.creation-card h4 { display:flex; gap:8px; align-items:center; font-size:12px; font-weight:600; margin:0 0 28px; min-height:36px; }
.creation-card h4>.product-icon { color:var(--blue); width:18px; height:18px; }
.creation-card>strong { display:block; font-size:12px; font-weight:500; overflow-wrap:anywhere; line-height:1.65; }
.creation-requirement { border-top:1px solid var(--border); padding-top:22px; margin-top:24px; }
.creation-requirement>span { font-size:10px; color:var(--muted); }
.creation-requirement p { margin:8px 0 0; font-size:11px; }
.template-fields { margin:0; }
.template-fields>div+div { margin-top:12px; }
.template-fields dt { font-size:10px; color:var(--muted); margin-bottom:5px; }
.template-fields dd { margin:0; background:var(--subtle); border:1px solid var(--border); border-radius:var(--control); padding:8px; font-size:11px; overflow-wrap:anywhere; }
.creation-action { display:block; background:var(--ink); color:white; text-align:center; padding:10px 8px; border-radius:var(--control); margin-top:16px; font-size:11px; }
.creation-result .created-file-icon { color:var(--blue); width:32px; height:32px; margin:0 0 12px; }
.creation-result>.badge { display:inline-block; margin-top:10px; }
.creation-result>p { color:var(--muted); font-size:11px; margin:20px 0 4px; }
.creation-result>span:last-child { color:var(--muted); font-size:10px; }
.product-cta { background:var(--ink); color:white; padding:56px 0; margin-top:20px; }
.product-cta>.wrap { display:flex; gap:48px; align-items:center; justify-content:space-between; }
.product-cta h2 { font-size:30px; line-height:1.25; margin-bottom:12px; max-width:700px; }
.product-cta p { color:var(--light); margin:0; font-size:17px; }
.product-cta-actions { display:flex; align-items:center; gap:36px; flex-shrink:0; }
.product-cta .btn { background:white; color:var(--ink); border-color:white; white-space:nowrap; }
.product-contact { color:white; text-decoration:underline; font-size:14px; min-height:44px; display:flex; align-items:center; }
.product-footer { display:flex; gap:40px; align-items:center; padding-bottom:20px; }
.product-footer .footer-links { font-size:12px; }
.product-footer>span { color:var(--muted); font-size:11px; margin-left:auto; }
.product-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); padding:0; white-space:nowrap; }
@media(max-width:1200px) {
  .product-hero { gap:36px; grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr); }
  .comparison-grid { gap:20px; grid-template-columns:minmax(0,.8fr) 20px minmax(0,1.2fr); }
  .comparison-before h2 { font-size:26px; }
  .fragment { padding:16px; gap:12px; }
  .fragment-task { flex-wrap:wrap; gap:8px; }
  .comparison-after { padding:16px; }
  .product-workspace { padding:18px; }
  .creation-flow { gap:22px; }
  .creation-flow>li:not(:last-child)::after { right:-20px; font-size:19px; }
  .creation-card { padding:14px 10px; }
  .creation-card h4 { font-size:11px; gap:6px; }
  .progress-fields { gap:12px; grid-template-columns:1fr 1fr; }
  .progress-fields>div { border:0; margin:0; padding:0; }
  .product-cta>.wrap { gap:32px; }
  .product-cta-actions { gap:24px; }
}
@media(max-width:1000px) {
  .product-refresh .wrap { width:calc(100% - 64px); }
  .product-hero { gap:32px; grid-template-columns:1fr; padding:64px 0 56px; }
  .product-hero h1 { font-size:48px; }
  .product-hero .lead { font-size:17px; }
  .product-hero .actions { gap:16px; }
  .product-tour-intro h2 { font-size:36px; }
  .comparison-grid { grid-template-columns:1fr; gap:24px; }
  .comparison-before { max-width:600px; }
  .comparison-arrow { margin:0; transform:rotate(90deg); line-height:1; }
  .comparison-after { width:100%; }
  .workspace-heading { flex-wrap:nowrap; }
  .progress-fields { grid-template-columns:1.2fr 1fr 1fr; }
  .creation-flow { gap:36px; }
  .creation-flow>li:not(:last-child)::after { right:-28px; font-size:23px; }
  .product-cta>.wrap { align-items:start; flex-direction:column; gap:28px; }
  .product-footer { gap:24px; flex-wrap:wrap; }
}
@media(max-width:700px) {
  .product-refresh .wrap { width:calc(100% - 40px); }
  .product-hero { grid-template-columns:1fr; gap:40px; padding:48px 0; }
  .product-hero h1 { font-size:clamp(40px,7.2vw,48px); }
  .product-hero .lead { font-size:17px; }
  .product-hero .actions { gap:20px; }
  .product-tour-intro { padding:16px 0 28px; }
  .product-tour-intro h2 { font-size:30px; }
  .product-tour-copy>p { font-size:16px; }
  .comparison-chapter { padding:36px 0; }
  .comparison-before h2 { font-size:26px; }
  .chapter-description { font-size:15px; margin-bottom:20px; }
  .comparison-arrow { font-size:28px; }
  .comparison-after { padding:16px; }
  .workspace-heading { flex-wrap:wrap; gap:18px; }
  .workspace-heading dl { gap:20px; }
  .workspace-heading dl>div:first-child { border:0; padding-left:0; }
  .workspace-tabs { gap:20px; }
  .progress-fields { grid-template-columns:1fr; gap:16px; }
  .progress-fields dt { margin-bottom:4px; }
  .progress-example { padding:16px; }
  .creation-flow { grid-template-columns:1fr; gap:34px; }
  .creation-flow>li:not(:last-child)::after { right:calc(50% - 7px); top:auto; bottom:-29px; transform:rotate(90deg); font-size:22px; }
  .creation-card { min-height:0; padding:18px; }
  .creation-card h4 { font-size:13px; margin-bottom:18px; min-height:0; }
  .creation-card>strong { font-size:13px; }
  .creation-requirement { margin-top:18px; padding-top:16px; }
  .creation-requirement p,.template-fields dd { font-size:12px; }
  .creation-card .badge { font-size:11px; }
  .creation-result>p { margin-top:16px; }
  .creation-example { padding:14px; }
  .product-cta { margin-top:8px; padding:40px 0; }
  .product-cta h2 { font-size:28px; }
  .product-cta p { font-size:16px; }
  .product-footer { flex-direction:column; align-items:start; gap:24px; }
  .product-footer>span { margin-left:0; }
}
@media(max-width:480px) {
  .product-workspace { padding:16px 12px; }
  .workspace-heading h4 { font-size:15px; }
  .workspace-heading dd { font-size:10px; }
  .workspace-tabs { gap:16px; }
  .workspace-tabs button { font-size:11px; }
  .workspace-documents thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .workspace-documents,.workspace-documents tbody { display:block; }
  .workspace-documents tr { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; border-bottom:1px solid var(--border); padding:10px 0; }
  .workspace-documents th,.workspace-documents td { border:0; padding:0; }
  .workspace-documents tbody th { grid-column:1/-1; font-size:11px; overflow-wrap:anywhere; }
  .workspace-documents td:last-child { justify-self:end; }
  .workspace-comment { gap:8px; }
  .workspace-comment .product-avatar { width:24px; height:24px; font-size:10px; }
  .workspace-comment .comment-author>span { margin-left:0; display:block; }
  .fragment { gap:12px; padding:16px; }
  .fragment-task { flex-wrap:wrap; }
  .product-cta-actions { gap:24px; flex-wrap:wrap; }
}


/* Product overview artwork: uncropped in the hero, readable at full size on demand. */
.product-infographic { margin:0; min-width:0; width:100%; }
.infographic-open { display:block; width:100%; border:1px solid var(--border); border-radius:var(--surface); padding:0; overflow:hidden; background:var(--paper); box-shadow:0 8px 28px rgba(24,36,58,.045); text-align:left; cursor:zoom-in; }
.infographic-open>img { display:block; width:100%; height:auto; }
.infographic-open>span { display:flex; align-items:center; justify-content:space-between; min-height:44px; padding:10px 16px; font-size:12px; color:var(--link); border-top:1px solid var(--border); }
.product-refresh .infographic-view { overflow:auto; max-height:calc(88vh - 100px); overscroll-behavior:contain; }
.product-refresh #screenshot-full { width:max(100%,1000px); max-width:none; height:auto; }
@media(max-width:1000px) {
  .product-infographic { max-width:850px; justify-self:center; }
  .product-hero>div { max-width:720px; }
}


/* The former homepage preview now accompanies the product narrative introduction. */
.product-plan-preview { min-width:0; border:1px solid var(--border); border-radius:var(--surface); background:var(--subtle); padding:24px; }
.product-plan-preview .preview-heading { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.product-plan-preview .preview-heading>img { width:24px; height:24px; flex-shrink:0; }
.product-plan-preview .preview-heading strong { display:block; font-size:15px; line-height:1.5; }
.product-plan-preview .preview-heading span { display:block; font-size:12px; color:var(--muted); }
.product-plan-preview figure { margin:0; }
@media(max-width:1000px) {
  .product-tour-intro { grid-template-columns:1fr; gap:28px; }
  .product-plan-preview { width:100%; max-width:850px; justify-self:center; }
}
@media(max-width:700px) {
  .product-plan-preview { padding:16px; }
  .product-plan-preview .preview-heading { margin-bottom:16px; }
}
