/* Homepage layout; the shared theme supplies the final palette. */
.product-home {
  --surface: #1c1c1e;
  --line: rgba(255, 255, 255, .08);
  --blue: #0a84ff;
  --blue-hover: #0071e3;
  background: #000;
}
.product-home main h1,
.product-home main h2,
.product-home main h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Segoe UI", sans-serif;
}
.product-home .product-nav { padding-block: 20px; }
.product-home .product-hero { padding-top: 66px; padding-bottom: 46px; gap: 28px 48px; }
.product-home .product-intro h1 { font-size: clamp(53px, 5.9vw, 84px); line-height: 1.04; font-weight: 650; letter-spacing: -.04em; }
.product-home .product-tagline { font-size: clamp(24px, 2.33vw, 32px); line-height: 1.35; margin-top: 17px; }
.product-home .product-positioning { font-size: 21px; line-height: 1.7; margin-top: 28px; }
.product-home .product-lead { max-width: 480px; font-size: 17px; line-height: 1.8; color: #c7c7cc; }
.product-home .product-intro .actions { margin-top: 28px; gap: 24px; }
.product-home .button.blue { background: #0a84ff; border-color: #0a84ff; }
.product-home .button.blue:hover { background: #0071e3; border-color: #0071e3; }
.product-home .product-visual figcaption { margin-top: 16px; }
.product-home .product-visual-handheld { padding: 0; }
.product-home .product-visual-handheld img { display: block; width: 100%; height: auto; max-height: none; border-radius: 16px; }
.product-home .product-facts { margin-top: 30px; padding-block: 28px 0; border-bottom: 0; }
.product-home .product-facts strong { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.product-home .product-facts span { font-size: 13px; line-height: 1.7; }
.product-home .section { padding-block: 88px; border-bottom: 0; }
.product-home .section-head { gap: 48px; margin-bottom: 38px; align-items: end; }
.product-home .section-head h2,
.product-home .work-together .center-head h2 { font-size: clamp(32px, 3.21vw, 46px); line-height: 1.2; font-weight: 600; }
.product-home .section-head p { font-size: 17px; line-height: 1.8; }
.product-home .product-design { background: #0b0b0c; }
.product-home .gallery-controls { margin-bottom: 24px; gap: 10px; }
.product-home .gallery-controls button { padding-inline: 20px; font-size: 14px; }
.product-home .gallery-controls button:not([aria-pressed=true]):hover { background: #242426; border-color: #424245; }
.product-home .product-gallery { background: var(--surface); border-radius: 22px; border-color: rgba(255, 255, 255, .06); padding: 44px 48px; }
.product-home .gallery-copy h3 { font-size: 30px; line-height: 1.35; font-weight: 550; }
.product-home .gallery-copy p { font-size: 16px; line-height: 1.8; }
.product-home .gallery-copy .text-link { font-size: 14px; }
.product-home .media-note { margin-top: 18px; font-size: 12px; line-height: 1.8; }
.product-home .hardware-features { gap: 28px; }
.product-home .hardware-features img { border: 1px solid var(--line); border-radius: 16px; }
.product-home .hardware-features article > div { padding-top: 22px; }
.product-home .hardware-features h3 { font-size: 23px; font-weight: 550; line-height: 1.4; }
.product-home .hardware-features p { font-size: 16px; line-height: 1.8; margin-top: 12px; }
.product-home .feature-footer { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 32px; }
.product-home .feature-footer .media-note { margin: 0; }
.product-home .work-together { background: #0b0b0c; }
.product-home .work-together .center-head { max-width: 940px; margin-bottom: 40px; }
.product-home .work-together .center-head .kicker { margin-bottom: 18px; }
.product-home .work-together .center-head > p:last-child { font-size: 18px; line-height: 1.8; margin-top: 20px; }
.product-home .workspace-scene img { border-radius: 22px; }
.product-home .workspace-scene figcaption { font-size: 12px; }
.product-home .work-roles { margin-top: 38px; }
.product-home .role-label { font-size: 14px; }
.product-home .work-role h3 { font-size: 32px; font-weight: 550; margin-top: 16px; }
.product-home .work-role > p { font-size: 16px; line-height: 1.8; }
.product-home .work-example { background: var(--surface); border-radius: 18px; border-color: transparent; margin-top: 36px; padding: 30px 32px; }
.product-home .work-example p { font-size: 24px; }
.product-home .work-example-copy { font-size: 15px; }
.product-home .cta-band { padding-block: 64px; }
.product-home .cta-inner { padding: 40px 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; gap: 36px; }
.product-home .cta-inner h2 { max-width: 740px; font-size: clamp(26px, 2.68vw, 39px); font-weight: 600; line-height: 1.25; }
.product-home .cta-inner p { max-width: 710px; font-size: 16px; }
.product-home .footer { background: #000; }

/* Keep image, actions and notes on shared rows instead of independent bottoms. */
.gallery-main { min-width: 0; }
@media (min-width: 801px) {
  .product-home #key-specs .product-spec-showcase { grid-template-rows: auto auto auto; row-gap: 0; align-items: stretch; }
  .product-home #key-specs .product-key-specs,
  .product-home #key-specs .product-spec-gallery { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; grid-row: 1 / 4; row-gap: 0; padding: 0; }
  .product-home #key-specs .product-key-specs { grid-column: 1; }
  .product-home #key-specs .product-spec-gallery { grid-column: 2; }
  .product-home #key-specs .key-spec-grid { align-self: start; }
  .product-home #key-specs .gallery-main { padding-top: 15px; }
  .product-home #key-specs .product-key-specs > .text-link,
  .product-home #key-specs .gallery-controls { margin: 16px 0 0; min-height: 44px; align-self: end; align-items: center; }
  .product-home #key-specs .spec-summary-note,
  .product-home #key-specs .product-spec-gallery > .media-note { margin: 12px 0 0; align-self: end; font-size: 12px; line-height: 1.8; }
}

.product-home .home-scenarios { background: var(--surface); }
.product-home .home-scenarios .section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.home-scenarios .section-head .kicker { margin: 0 0 14px; font-size: 12px; }
.home-scenarios .section-head > .text-link { flex: none; font-size: 14px; }
.home-scenario-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-bottom: 32px; }
.home-scenario-tabs button { display: flex; gap: 12px; align-items: center; min-height: 54px; padding: 12px 0; border: 0; border-bottom: 2px solid var(--line); color: var(--body); background: transparent; text-align: left; font-size: 15px; white-space: nowrap; }
.home-scenario-tabs button span { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); }
.home-scenario-tabs button:hover { color: var(--blue); border-bottom-color: var(--blue-line); }
.home-scenario-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.home-scenario-tabs button[aria-selected="true"] span { color: inherit; }
.home-scenario-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.home-scenario-panel[hidden] { display: none; }
.home-scenario-panel > figure, .home-scenario-copy { min-width: 0; }
.home-scenario-panel img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.home-scenario-copy > .kicker { margin: 0 0 14px; font-size: 12px; }
.home-scenario-copy h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 550; line-height: 1.4; }
.home-scenario-copy > p:not(.kicker) { margin-top: 18px; color: var(--body); font-size: 14px; line-height: 1.9; }
.home-scenario-tasks { margin-top: 22px; }
.home-scenario-tasks > span { font-size: 11px; color: var(--muted); }
.home-scenario-tasks ul { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 10px 0 0; font-size: 12px; color: var(--body); }
.home-scenario-tasks li { padding-left: 10px; border-left: 2px solid var(--blue-line); }
.home-scenario-copy > .text-link { margin-top: 18px; font-size: 13px; }
@media (max-width: 900px) {
  .home-scenario-panel { grid-template-columns: 1fr; gap: 28px; }
  .home-scenario-tabs { gap: 12px; }
  .home-scenario-tabs button { gap: 8px; font-size: 14px; }
}
@media (max-width: 600px) {
  .home-scenario-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; margin-bottom: 24px; }
  .home-scenario-tabs button { min-height: 48px; }
  .home-scenario-tabs button span { display: none; }
  .home-scenario-copy h3 { font-size: 22px; }
}

.product-home .work-platform { background: var(--panel); }
.work-platform-layout { display: grid; grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.work-platform-visual, .work-platform-copy { min-width: 0; }
.work-platform-copy { max-width: 610px; }
.work-platform-visual { justify-self: end; width: 100%; }
.product-home .work-platform .workspace-scene { margin: 0; }
.product-home .work-platform .workspace-scene img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 70px rgba(28, 42, 58, .1); }
.work-platform-copy > .kicker { margin: 0 0 16px; font-size: 12px; }
.work-platform-copy h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 600; line-height: 1.25; letter-spacing: 0; text-wrap: balance; }
.work-platform-lead { margin-top: 20px; font-size: 15px; color: var(--body); line-height: 1.85; }
.work-capability-list { list-style: none; padding: 0; margin: 26px 0 0; }
.work-capability-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 17px 0 14px; border-top: 1px solid var(--line); }
.capability-index { font-size: 11px; color: var(--blue); padding-top: 4px; font-variant-numeric: tabular-nums; }
.work-capability-list h3 { font-size: 18px; font-weight: 550; line-height: 1.45; }
.work-capability-list p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--body); }
.work-platform-note { font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 12px; }
.work-task-example { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; max-width: 560px; }
.work-task-example > .eyebrow { color: var(--muted); font-size: 12px; }
.work-task-example > p:first-of-type { margin-top: 10px; font-size: 20px; font-weight: 500; line-height: 1.5; }
.work-task-example > p + p { margin-top: 10px; max-width: 500px; color: var(--body); font-size: 14px; line-height: 1.85; }
.work-task-example > .work-platform-note { margin-top: 12px; font-size: 11px; color: var(--muted); line-height: 1.8; }
.work-platform-visual .work-task-example { margin-left: 6px; }
@media (max-width: 1100px) {
  .work-platform-layout { gap: 36px; }
}
@media (max-width: 900px) {
  .work-platform-layout { grid-template-columns: 1fr; gap: 32px; }
  .work-platform-copy { max-width: none; }
  .work-platform-visual { justify-self: stretch; }
}
@media (max-width: 600px) {
  .work-platform-copy h2 { font-size: 30px; }
  .work-capability-list h3 { font-size: 17px; }
  .work-task-example > p:first-of-type { font-size: 19px; }
}

/* Specifications and product views form one immediately scannable section. */
.product-home .product-spec-showcase { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: start; border-top: 1px solid var(--line); }
.product-home .product-design .section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; }
.product-home .product-design .section-head > p { flex: 0 0 auto; max-width: none; white-space: nowrap; font-size: 15px; line-height: 1.8; margin: 0 0 4px; }
.product-home .product-design .section-head .kicker { margin: 0 0 14px; font-size: 12px; }
.product-home .product-design .section-head h2 span { display: inline-block; }
.key-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.key-spec-grid > div { padding: 15px 20px 15px 0; border-top: 1px solid var(--line); min-width: 0; }
.key-spec-grid > div:nth-child(-n + 2) { border-top: 0; }
.key-spec-grid > div:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--line); }
.key-spec-grid dt { font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.key-spec-grid dd { margin: 0; font-size: clamp(20px, 1.65vw, 24px); font-weight: 550; letter-spacing: -.015em; line-height: 1.3; }
.key-spec-grid dd span { font-size: .65em; font-weight: 400; letter-spacing: 0; }
.key-spec-grid .key-spec-note { font-size: 12px; font-weight: 400; letter-spacing: 0; line-height: 1.65; color: var(--body); margin-top: 6px; }
.product-key-specs > .text-link { margin-top: 6px; font-size: 14px; }
.spec-summary-note { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 8px; max-width: 470px; }
.product-home .product-spec-gallery { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 22px 26px; min-width: 0; border-radius: 18px; }
.product-home .product-spec-showcase .product-spec-gallery { padding: 15px 0 0; background: transparent; border: 0; border-radius: 0; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gallery-playback { display: flex; align-items: center; gap: 6px; }
.gallery-playback button { min-height: 40px; min-width: 40px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 7px; font-size: 18px; }
.gallery-playback button:first-child { font-size: 12px; padding: 0 12px; }
.gallery-playback button:hover { color: var(--blue); border-color: var(--blue-line); background: var(--blue-surface); }
.product-home .product-spec-gallery figure { width: min(100%, 440px); height: auto; aspect-ratio: 1.55; flex: none; align-self: center; display: flex; align-items: center; justify-content: center; padding: 0; margin: 8px auto; }
/* Calibrated by view: perspective, front, rear, underside, perspective. */
.product-home .product-spec-gallery figure img { width: var(--view-width, 84%); height: auto; max-height: 90%; object-fit: contain; flex: none; }
.product-home .product-spec-gallery figure img[data-view="1"],
.product-home .product-spec-gallery figure img[data-view="2"] { --view-width: 72%; }
.product-home .product-spec-gallery figure img[data-view="3"] { --view-width: 56%; }
.product-home .product-spec-gallery figure img[data-view="4"] { --view-width: 82%; }
.product-home .product-spec-gallery .gallery-copy h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.4; }
.product-home .product-spec-gallery .gallery-copy p { min-height: 56px; margin-top: 10px; font-size: 13px; line-height: 1.7; }
.product-home .product-spec-gallery .gallery-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 0; }
.product-home .product-spec-gallery .gallery-controls button { min-height: 38px; padding: 7px 10px; font-size: 12px; border-radius: 7px; }
.product-home .product-spec-gallery .media-note { margin-top: 16px; font-size: 11px; line-height: 1.7; text-align: center; }
@media (max-width: 1050px) {
  .product-home .product-spec-showcase { gap: 28px; }
  .product-home .product-spec-gallery { padding: 20px; }
  .key-spec-grid > div:nth-child(even) { padding-left: 16px; }
}
@media (max-width: 800px) {
  .product-home .product-spec-showcase { grid-template-columns: 1fr; gap: 32px; }
  .product-home .product-spec-showcase .product-spec-gallery { border-top: 1px solid var(--line); padding-top: 20px; }
  .key-spec-grid dd { font-size: 23px; }
}
@media (max-width: 400px) {
  .key-spec-grid dd { font-size: 20px; }
  .key-spec-grid > div { padding-right: 12px; }
}

@media (max-width: 1000px) {
  .product-home .product-hero { gap: 24px 30px; }
  .product-home .product-lead { font-size: 16px; }
  .product-home .product-positioning { font-size: 19px; }
  .product-home .hardware-features { gap: 20px; }
  .product-home .hardware-features h3 { font-size: 20px; }
  .product-home .work-role h3 { font-size: 27px; }
  .product-home .work-role { padding-inline: 22px; }
  .product-home .work-role:first-child { padding-left: 0; }
  .product-home .work-role:last-child { padding-right: 0; }
  .product-home .work-role > p { font-size: 15px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .product-home .section { padding-block: 72px; }
  .product-home .product-intro h1 { font-size: 53px; }
  .product-home .product-gallery { padding: 32px; gap: 30px; }
  .product-home .gallery-copy h3 { font-size: 25px; }
}
@media (max-width: 600px) {
  .product-home .product-nav { padding-block: 14px; }
  .product-home .product-hero { padding-block: 36px 30px; gap: 24px; }
  .product-home .product-intro h1 { font-size: clamp(40px, 11.44vw, 58px); margin-top: -13px; }
  .product-home .product-tagline { font-size: clamp(23px, 6.4vw, 26px); margin-top: -13px; }
  .product-home .product-positioning { font-size: 17px; line-height: 1.8; margin-top: -4px; }
  .product-home .product-lead { font-size: 16px; line-height: 1.85; margin: 0; }
  .product-home .product-intro .actions { margin: 0; gap: 16px; }
  .product-home .product-visual figcaption { margin-top: 0; }
  .product-home .product-visual-handheld figcaption { margin-top: 10px; }
  .product-home .product-facts { margin-top: 0; padding-top: 24px; gap: 14px; }
  .product-home .product-facts strong { font-size: 18px; }
  .product-home .product-facts span { font-size: 11px; }
  .product-home .section { padding-block: 58px; }
  .product-home .section-head { gap: 18px; margin-bottom: 28px; }
  .product-home .section-head h2,
  .product-home .work-together .center-head h2 { font-size: clamp(26px, 7.04vw, 30px); line-height: 1.25; }
  .product-home .section-head p { font-size: 16px; }
  .product-home .gallery-controls { gap: 8px; margin-bottom: 20px; }
  .product-home .gallery-controls button { font-size: 12px; padding-inline: 13px; }
  .product-home .product-gallery { padding: 28px 20px; gap: 24px; border-radius: 18px; }
  .product-home .gallery-copy h3 { font-size: 25px; }
  .product-home .gallery-copy p { font-size: 15px; }
  .product-home .hardware-features { gap: 34px; }
  .product-home .hardware-features h3 { font-size: 23px; }
  .product-home .hardware-features p { font-size: 15px; }
  .product-home .feature-footer { gap: 12px; margin-top: 26px; padding-top: 18px; }
  .product-home .work-together .center-head { margin-bottom: 28px; }
  .product-home .work-together .center-head > p:last-child { font-size: 16px; margin-top: 16px; }
  .product-home .workspace-scene img { border-radius: 14px; }
  .product-home .workspace-scene figcaption { font-size: 11px; }
  .product-home .work-roles { margin-top: 18px; }
  .product-home .work-role,
  .product-home .work-role:first-child,
  .product-home .work-role:last-child { padding: 25px 0; }
  .product-home .work-role h3 { font-size: 28px; margin-top: 12px; }
  .product-home .work-example { padding: 24px 20px; margin-top: 28px; }
  .product-home .work-example p { font-size: 20px; }
  .product-home .work-example-copy { font-size: 14px; }
  .product-home .cta-band { padding-block: 36px; }
  .product-home .cta-inner { padding: 30px 24px; border-radius: 18px; gap: 24px; }
  .product-home .cta-inner h2 { font-size: 26px; }
  .product-home .cta-inner p { font-size: 15px; }
}
