/* Website typography and rhythm. Inter 800 branding follows the selected study.
   Display / section / card / subheading / body / label / caption are the only
   editorial levels. Artwork, playback and carousel controls retain their own sizes. */
:root {
  --font-site: "Inter", sans-serif;
  --type-display: clamp(44px, 6vw, 88px);
  --type-section: clamp(30px, 3.2vw, 38px);
  --type-card: clamp(23px, 2.1vw, 28px);
  --type-subheading: 20px;
  --type-body: 18px;
  --type-label: 15px;
  --type-caption: 13px;
  --space-section: 112px;
  --space-row: 96px;
  --space-heading: 32px;
  --space-copy: 24px;
  font-family: var(--font-site);
}
h1, h2, h3 {font-family:var(--font-site);font-weight:600;letter-spacing:-.045em;text-wrap:balance}
p {line-height:1.6}
.wordmark, .navigation .wordmark {font-family:var(--font-site);font-weight:800;letter-spacing:-.06em;font-optical-sizing:none}
.hero {padding-top:144px}
.hero h1 {max-width:1200px;margin-inline:auto;font-size:var(--type-display);font-weight:500;line-height:1.04;letter-spacing:-.06em}
.hero .intro {max-width:64ch;font-size:var(--type-body);line-height:1.6;margin:20px auto 24px}
.hero .purchase-note {font-size:var(--type-caption);line-height:1.5;margin-top:16px}
.hero .purchase-note + .hero-media {margin-top:36px}
.section-heading, #details-title, .feature-copy h3, .faq h2 {font-size:var(--type-section);line-height:1.15;letter-spacing:-.045em}
.section-heading, #details-title {text-align:left;margin-bottom:var(--space-heading)}
#details-title {max-width:1000px}
.feature-copy h3 {margin-bottom:var(--space-copy)}
.feature-copy > p:last-child, .card-copy p, .wide-copy p, :is(#formats, #organizing) .format-description, .questions p, .closing p {font-size:var(--type-body);line-height:1.6}
.feature-copy > p:last-child {max-width:48ch;color:var(--muted)}
.caption {font-size:var(--type-caption);font-weight:500;line-height:1.5;letter-spacing:.015em;margin-bottom:16px}
.centered {margin-bottom:16px}
.features {padding-top:var(--space-section)}
.feature-row {margin-bottom:var(--space-row)}
.feature-row:last-child {margin-bottom:0}
.cards-section {padding:var(--space-section) 0 0}
.card-copy {padding:28px 36px 36px}
.card-copy h3 {font-size:var(--type-card);line-height:1.2;letter-spacing:-.035em;margin-bottom:16px}
.card-copy p {max-width:48ch}
.deck-controls {margin:0 0 20px}
.cards-section .feature-deck {padding-bottom:0}
.feature-chips li {font-size:var(--type-label);line-height:1.4;padding:11px 18px}
.technology {padding-top:var(--space-section)}
#technology > :is(#formats, #organizing) {margin-bottom:var(--gap)}
.native-card .card-copy {padding:36px}
.upscale-models > p:first-child, .native-technologies li {font-size:var(--type-label);font-weight:500;line-height:1.4}
.upscale-models li, .model-tags .photo-tag {font-size:var(--type-caption);line-height:1.4}
.navigation nav a {font-size:var(--type-body);font-weight:500;line-height:1.5}
.navigation details p, .purchase button, .button, :is(#formats, #organizing) .format-pill-label {font-size:var(--type-label);line-height:1.4}
.navigation .wordmark {font-size:24px}
.navigation .wordmark-preview {height:1.05em}
.faq {padding:var(--space-section) 0;align-items:start}
.questions summary {font-size:var(--type-body);font-weight:500;line-height:1.4;letter-spacing:-.015em;padding:24px 0}
.questions details:first-child summary {padding-top:0}
.closing {text-align:left;padding:72px 24px}
.closing h2 {font-size:var(--type-section);line-height:1.15}
.closing p {margin:24px 0;max-width:55ch}
footer {padding-top:48px;padding-bottom:48px}
footer p, footer a {font-size:var(--type-caption);line-height:1.5}
.info-main h1 {font-size:var(--type-section);font-weight:600;line-height:1.15}
.info-main h2 {font-size:var(--type-card);line-height:1.2}
.info-main .lead, .info-main p, .info-main li {font-size:var(--type-body);line-height:1.6}
.info-header nav, .info-meta, .draft-notice, .info-footer {font-size:var(--type-label)}
@media(max-width:760px) {
  :root {--type-body:17px;--type-label:14px;--space-section:72px;--space-row:64px;--space-heading:28px;--space-copy:20px}
  .hero {padding-top:124px}
  .hero h1 {max-width:15ch}
  .hero .intro {max-width:36ch}
  .hero .purchase-note + .hero-media {margin-top:36px}
  .feature-row {gap:28px}
  .feature-copy, .reverse .feature-copy {padding:0}
  .card-copy, .native-card .card-copy {padding:24px}
    .deck-controls {margin:0 0 16px}
  .navigation .wordmark {font-size:21px}
  .navigation nav a {font-size:var(--type-body)}
  .purchase button {font-size:12px}
  .faq {gap:28px}
  .closing {padding:48px 24px}
  footer {padding-top:32px;padding-bottom:32px}
}
@media(max-width:420px) {.navigation .wordmark{font-size:19px}.purchase button{font-size:11px}}
/* The deck title and controls share one row rather than adding a spacer row. */
.cards-section {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px}
.cards-section > #details-title {align-self:center}
.cards-section > .deck-controls {align-self:center;margin:0 0 var(--space-heading)}
.cards-section > .feature-deck {grid-column:1 / -1;min-width:0}
/* Compact media showcase: center controls alongside the existing illustration.
   Retain the site's 760px breakpoint and stack the visual above controls on mobile. */
:is(#formats, #organizing) .format-cell {min-height:420px;align-items:center}
:is(#formats, #organizing) .wide-copy {padding:32px 40px}
:is(#formats, #organizing) .format-overview > span {font-size:var(--type-card)}
@media(max-width:760px) {
  :is(#formats, #organizing) .format-cell {min-height:0;align-items:stretch}
  :is(#formats, #organizing) .format-stage {height:220px}
  :is(#formats, #organizing) .wide-copy {padding:0 24px 24px}
  :is(#formats, #organizing) .format-scene {gap:20px}
  :is(#formats, #organizing) .format-cell:has([data-scene="images"]:not([hidden])) {min-height:540px}
}

/* Fourth deck card uses the same media / copy split as its neighbours. */
.extra-features-media .feature-chips {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:420px}
.extra-features-media .feature-chips li {display:flex;align-items:center;justify-content:center;background:var(--paper);font-size:var(--type-label);padding:12px;min-width:0}
@media(max-width:760px) {
  .extra-features-media {min-height:0;padding:24px}
  .extra-features-media .feature-chips {gap:9px}
  .extra-features-media .feature-chips li {font-size:13px;padding:10px 8px}
}

/* Feature descriptions stay in the copy area, avoiding clipped hover popups. */
.extra-features-media .feature-chips li {padding:0;background:none}
.feature-chips button {width:100%;height:100%;padding:12px;border:1px solid transparent;border-radius:999px;background:var(--paper);color:var(--ink);font:inherit;line-height:inherit;cursor:pointer}
.feature-chips button[aria-pressed="true"] {border-color:var(--electric-blue)}
.feature-chips button:focus-visible {outline:2px solid var(--electric-blue);outline-offset:3px}
#extra-feature-description {min-height:4.8em}
@media(max-width:760px) {.feature-chips button{padding:10px 8px}#extra-feature-description{min-height:6.4em}}

/* Use cases lead; model families remain secondary to the available methods. */
.upscale-methods {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.upscale-methods .photo-tag {display:flex;flex-direction:column;align-items:flex-start;gap:4px;border-radius:18px;padding:12px;min-width:0}
.upscale-methods strong {font-size:var(--type-caption);font-weight:600;line-height:1.3}
.upscale-methods .photo-tag span {font-size:12px;white-space:normal;line-height:1.35}
.upscale-card .upscale-placeholder {bottom:185px}
@media(max-width:760px) {.upscale-graphic{width:100%;aspect-ratio:auto}.upscale-methods{gap:8px}.upscale-methods .photo-tag{padding:10px}}

/* Inspector feature: left-aligned introduction above a full-width visual. */
.inspector-feature {row-gap:var(--space-heading)}
.inspector-feature .feature-copy {grid-column:1 / -1;grid-row:1;padding:0;max-width:800px}
.inspector-feature .feature-copy > p:last-child {max-width:64ch}
.inspector-feature .inspector-media {grid-column:1 / -1;grid-row:2;aspect-ratio:2.2;max-height:640px}
.inspector-feature .inspector-media img {object-position:center}
@media(max-width:760px) {
  .inspector-feature .feature-copy {grid-column:1;grid-row:1}
  .inspector-feature .inspector-media {grid-column:1;grid-row:2;aspect-ratio:420 / 720;max-height:none}
}

/* Supported formats now share the inspector cell beneath the viewing copy. */
.inspector-feature > :is(#formats, #organizing) {grid-column:1 / -1;grid-row:2;min-width:0;width:100%}
.inspector-feature :is(#formats, #organizing) .format-cell {min-height:540px}
.inspector-feature :is(#formats, #organizing) .format-scene[data-scene="images"] {padding-left:36%}
.inspector-feature :is(#formats, #organizing) .inspector-media {width:100%;height:100%;aspect-ratio:auto;max-height:none;background:transparent;border-radius:0}
@media(max-width:760px) {
  .inspector-feature :is(#formats, #organizing) .format-cell {min-height:0}
  .inspector-feature :is(#formats, #organizing) .format-stage:has([data-scene="images"]:not([hidden])) {position:relative;inset:auto;height:420px}
  .inspector-feature :is(#formats, #organizing) .format-scene[data-scene="images"] {padding:0}
}

/* Feature deck: standalone assets with open captions, following the reference. */
#feature-deck > .card {background:none;border-radius:0;overflow:visible}
#feature-deck .card-media {width:100%;border-radius:38px;overflow:hidden}
#feature-deck .card-copy {padding:24px 24px 0;line-height:1.6}
#feature-deck .card-copy h3 {display:inline;font-size:var(--type-body);font-weight:600;line-height:inherit;letter-spacing:0;margin:0 .25em 0 0}
#feature-deck .card-copy p {display:inline;font-size:var(--type-body);line-height:inherit;margin:0;max-width:none}
@media(max-width:760px) {
  #feature-deck .card-media {border-radius:26px;aspect-ratio:1;min-height:340px}
  #feature-deck .card-copy {padding:20px 16px 0}
}

/* Editable introduction between the deck heading and its assets. */
.cards-section > #details-title {grid-column:1;grid-row:2;margin-bottom:var(--space-copy)}
.cards-section > .deck-controls {grid-column:2;grid-row:2;margin-bottom:var(--space-copy)}
.cards-section > .deck-intro {grid-column:1 / -1;grid-row:3;max-width:64ch;font-size:var(--type-body);line-height:1.6;color:var(--muted);margin:0 0 var(--space-heading)}

/* Editable Foundation Models tile complements the existing technology artwork. */
.native-technologies .foundation-technology {grid-column:1 / -1}
.native-technologies .foundation-wordmark {display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1.15;letter-spacing:-.025em}
.native-card .foundation-search-copy {margin-top:16px}
@media(max-width:420px) {.native-technologies .foundation-wordmark {font-size:12px}}

/* Tagging becomes a full-width feature row ahead of the remaining deck. */
.cards-section > .tagging-feature {grid-column:1 / -1;grid-row:1;min-width:0;margin:0 0 var(--space-row)}
.tagging-feature .tags-demo {border-radius:38px}
.cards-section > .feature-deck {grid-row:4}
@media(max-width:760px) {.tagging-feature .tags-demo {border-radius:26px}}

/* Organizing follows the same full-width expandable panel as the inspector. */
.tagging-feature {row-gap:var(--space-heading)}
.tagging-feature > .feature-copy {grid-column:1 / -1;grid-row:1;padding:0;max-width:800px}
.tagging-feature > .feature-copy p {max-width:64ch}
.tagging-feature > #organizing {grid-column:1 / -1;grid-row:2;min-width:0;width:100%}
#organizing .format-cell {min-height:540px}
#organizing .organizing-visual {position:absolute;inset:24px 24px 24px 45%;min-height:0;border-radius:26px}
@media(max-width:760px) {
  #organizing .format-cell {min-height:0}
  #organizing .format-stage {height:340px}
  #organizing .organizing-visual {inset:0;border-radius:0}
}

/* Apple-reference behavior: fixed cell, full-bleed scenes, overlaid controls. */
:is(#formats, #organizing) .format-cell {height:540px;min-height:0;display:flex;align-items:flex-start;isolation:isolate}
:is(#formats, #organizing) .format-stage {position:absolute!important;inset:0!important;width:100%;height:100%!important;min-height:0}
:is(#formats, #organizing) .format-scene {padding:0!important;animation:panel-fade .35s ease both}
:is(#formats, #organizing) .format-stage::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0005,transparent 65%);pointer-events:none}
:is(#formats, #organizing) .wide-copy {width:100%;padding:40px}
:is(#formats, #organizing) .format-controls {width:min(440px,48%);gap:14px}
:is(#formats, #organizing) .format-pill {width:max-content;min-width:145px;max-width:100%}
:is(#formats, #organizing) .format-pill[aria-expanded="true"] {width:440px;min-width:0}
.inspector-feature #formats .format-cell {min-height:0}
.inspector-feature #formats .inspector-media, #organizing .organizing-visual {position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;border-radius:0}
.inspector-feature #formats .inspector-media img, .panel-background {display:block;width:100%;height:100%;object-fit:cover}
#formats .format-scene[data-scene="video"] {background:#191919}
#formats .video-frame {position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:0;box-shadow:none}
#formats .format-scene[data-scene="video"] > small {position:absolute;bottom:24px;right:24px;color:#aaaab2}
#organizing .photo-tags {left:auto;right:7%;max-width:380px}
@keyframes panel-fade {from{opacity:0}to{opacity:1}}
@media(max-width:760px) {
  :is(#formats, #organizing) .format-cell {height:600px;min-height:0!important;display:flex;flex-direction:row;align-items:flex-end}
  :is(#formats, #organizing) .wide-copy {padding:24px}
  :is(#formats, #organizing) .format-controls {width:min(100%,360px)}
  :is(#formats, #organizing) .format-stage::after {background:linear-gradient(0deg,#0006,transparent 80%)}
  #organizing .photo-tags {left:24px;right:24px;top:24px;bottom:auto}
}
@media(prefers-reduced-motion:reduce) {:is(#formats, #organizing) .format-scene{animation:none}}

:is(#formats, #organizing) .format-description strong {font-weight:600}

/* One centered navigation pod, with a separate dropdown beneath it. */
.navigation.centered-pod {left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);align-items:center;justify-content:center;flex-wrap:nowrap;gap:16px;padding:10px;border:1px solid #ffffff70;border-radius:26px;background:rgba(235,235,239,.72);box-shadow:inset 0 1px 0 #ffffff80,0 6px 24px #0001;backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);pointer-events:auto}
:root[data-theme="dark"] .navigation.centered-pod {background:rgba(36,36,40,.86);border-color:#ffffff1c;box-shadow:inset 0 1px 0 #ffffff0a,0 6px 24px #0003}
.navigation.centered-pod #menu, .navigation.centered-pod #menu[open], :root[data-theme="dark"] .navigation.centered-pod #menu, :root[data-theme="dark"] .navigation.centered-pod #menu[open] {width:auto;max-width:none;padding:10px 12px;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;transition:none}
.navigation.centered-pod summary {gap:24px}
.navigation.centered-pod .wordmark-preview {width:120px;height:auto}
.navigation.centered-pod .purchase, .navigation.centered-pod:has(#menu[open]) .purchase, :root[data-theme="dark"] .navigation.centered-pod .purchase {display:flex;flex:none;padding:0 0 0 16px;border:0;border-left:1px solid #80808040;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;gap:6px}
.navigation.centered-pod .menu-panel {position:absolute;top:calc(100% + 12px);left:0;width:100%;padding:20px 26px 24px;border:1px solid #80808035;border-radius:26px;background:var(--panel);box-shadow:0 12px 32px #0002}
.navigation.centered-pod #menu nav {margin-top:0}
.navigation.centered-pod #menu p {margin-top:20px}
@media(max-width:760px) {
  .navigation.centered-pod {top:16px;gap:8px;padding:8px;border-radius:22px}
  .navigation.centered-pod #menu, .navigation.centered-pod #menu[open], :root[data-theme="dark"] .navigation.centered-pod #menu, :root[data-theme="dark"] .navigation.centered-pod #menu[open] {padding:8px 4px}
  .navigation.centered-pod summary {gap:12px}
  .navigation.centered-pod .wordmark-preview {width:90px}
  .navigation.centered-pod .purchase, :root[data-theme="dark"] .navigation.centered-pod .purchase {padding-left:8px;gap:2px}
  .navigation.centered-pod .purchase button[title="Download available at launch"] {display:block}
  .navigation.centered-pod .purchase button {padding:10px 8px;font-size:11px}
  .navigation.centered-pod .purchase .theme-toggle {display:grid;width:30px;height:36px;padding:6px}
}
@media(prefers-reduced-transparency:reduce) {.navigation.centered-pod{background:#ededed;backdrop-filter:none;-webkit-backdrop-filter:none}:root[data-theme="dark"] .navigation.centered-pod{background:#242428}}
