/* Anchor AI's material, type and motion, scoped to the extended landing. */
.extended {
  --ext-blue: #218eff;
  --ext-muted: rgba(255,255,255,.62);
  --ext-border: rgba(255,255,255,.2);
  position: relative;
  z-index: 30;
  margin-top: 50vh;
  padding: 0 40px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
.extended * { min-width: 0; }
.extended [hidden] { display: none !important; }
.extended ::selection { background: #218eff; color: #01040a; }
.extended :is(a,button,[tabindex]):focus-visible { outline: 2px solid #218eff; outline-offset: 5px; }
.extended button { font: inherit; color: inherit; }
.extended a { text-underline-offset: 5px; }
.extended :is(h3,h4,p,figure,dl) { margin: 0; }
.extended :is(h3,h4,strong,b) { font-weight: 600; }
.extended h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.extended h4 { font-size: 16px; line-height: 1.4; }
.extended svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.extended .ext-section { padding: 80px 0; scroll-margin-top: 110px; }
.extended .ext-heading { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,1fr); align-items: end; gap: 40px; margin-bottom: 36px; }
.extended .ext-heading > div:only-child { grid-column: 1 / -1; max-width: 1060px; }
.extended h2 { font-family: 'Geist Pixel',monospace; font-size: clamp(52px,6vw,96px); font-weight: 400; line-height: .9; letter-spacing: -.035em; margin: 24px 0 0; text-wrap: balance; }
.extended .ext-intro { color: var(--ext-muted); font-size: 16px; line-height: 1.5; max-width: 36ch; }
.extended .ext-glass { background: rgba(129,129,129,.2); border: 1px solid var(--ext-border); border-radius: 28px; backdrop-filter: blur(16px) saturate(115%); -webkit-backdrop-filter: blur(16px) saturate(115%); }
.extended .ext-demo-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--ext-border); }
.extended .ext-tabs { display: flex; gap: 4px; }
.extended .ext-tabs button { border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ext-muted); padding: 10px 18px; line-height: 1.25; min-height: 44px; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.extended .ext-tabs button:hover { color: #fff; background: rgba(255,255,255,.06); }
.extended .ext-tabs button[aria-selected="true"] { color: #fff; border-color: var(--ext-border); background: rgba(129,129,129,.2); }
.extended .ext-panel { padding: 32px; }
/* Real screenshots retain their complete captured viewport. */
.extended .ext-chip { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: fit-content; padding: 6px 12px; border: 1px solid var(--ext-border); border-radius: 999px; font-size: 12px; line-height: 1.4; }
.extended .ext-chip-blue { border-color: var(--ext-blue); background: rgba(33,142,255,.1); }
.extended .pill svg { width: 20px; height: 20px; flex-shrink: 0; }
.extended .ext-demo { background: none; border: 0; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.extended .ext-demo-bar { padding: 0 0 24px; border: 0; }
.extended .ext-tabs { padding: 5px; border-radius: 12px; }
.extended .ext-panel { padding: 0; }
.extended .ext-screen-frame { padding: 8px; border: 1px solid var(--ext-border); border-radius: 22px; background: #081322; box-shadow: 0 24px 60px -28px #218eff70; }
.extended .ext-screen picture { display: block; overflow: hidden; border-radius: 14px; }
.extended .ext-screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.extended .ext-screen figcaption { margin-top: 16px; text-align: center; color: #c4d5e5; font-size: 13px; }
.extended .ext-screen-note { color: var(--ext-muted); font-size: 12px; text-align: center; margin: 20px auto 0; max-width: 80ch; }
.extended .ext-pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.extended .ext-price-card { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.extended .ext-price-card h3 { margin-top: 32px; }
.extended .ext-price { font-size: 64px; font-weight: 600; line-height: 1.1; letter-spacing: -.035em; margin: 16px 0 32px; }
.extended .ext-price > span { font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: 0; color: var(--ext-muted); margin-left: 8px; white-space: nowrap; }
.extended .ext-price-future { color: var(--ext-muted); }
.extended .ext-price-future .ext-chip { color: var(--ext-muted); }
.extended .ext-proposed { margin-top: auto; padding-top: 32px; font-size: 14px; max-width: 24ch; }
.extended .ext-price-current { border-color: #218eff; }
.extended .ext-price-current ul { list-style: none; padding: 0; margin: 0 0 32px; width: 100%; }
.extended .ext-price-current li { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 14px; }
.extended .ext-price-current li::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #218eff; }
.extended .ext-price-current .pill { margin-top: auto; width: 100%; gap: 20px; }
.extended .pill { min-height: 48px; transition: background-color .2s; }
.extended .pill:hover { --glass-edge: #b9ddff70; }
.extended .ext-pricing-note { color: var(--ext-muted); font-size: 12px; text-align: center; margin: 24px auto 0; max-width: 75ch; }
.extended .ext-closing { text-align: center; padding: 80px 0 112px; }
.extended .ext-closing h2 { max-width: 1000px; margin: 0 auto; }
.extended .ext-closing .ext-intro { margin: 24px auto 0; }
.extended .ext-closing .actions { justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.extended .ext-footer { border-top: 1px solid var(--ext-border); padding: 40px 0 28px; }
.extended .ext-footer-top { display: flex; justify-content: space-between; gap: 32px; }
.extended .ext-footer-top p { margin-top: 14px; color: var(--ext-muted); font-size: 14px; }
.extended .ext-footer nav { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 28px; }
.extended .ext-footer nav a { color: #fff; text-decoration: none; font-size: 14px; padding: 12px 0; }
.extended .ext-footer nav a:hover { text-decoration: underline; }
.extended .ext-footer-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 48px; font-size: 12px; color: var(--ext-muted); }
.extended .ext-footer-bottom p + p { margin-top: 6px; }
.extended .ext-footer-bottom > p { white-space: nowrap; }
.extended .ext-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Content remains visible unless the observer has been installed successfully. */
.extended .title-char { opacity: 1; transform: none; filter: none; will-change: auto; }
/* Start values match the reference keyframes, which define their end state. */
.extended.ext-motion [data-reveal] .title-char { opacity: 0; transform: translateY(15px); filter: blur(12px); }
.extended.ext-motion [data-reveal] :is(.kicker,.ext-intro) { opacity: 0; transform: translateY(20px); filter: blur(7px); }
.extended.ext-motion [data-reveal] :is(.ext-demo,.ext-price-card,.ext-iphone-phone,.ext-app-badge) { opacity: 0; transform: translateY(30px); }
.extended.ext-motion .is-inview .title-char { animation: letter-reveal .72s cubic-bezier(.22,1,.36,1) calc(var(--char-index)*.018s) forwards; }
.extended.ext-motion .is-inview :is(.kicker,.ext-intro) { animation: layer-rise .8s cubic-bezier(.22,1,.36,1) .12s forwards; }
.extended.ext-motion .is-inview :is(.ext-demo,.ext-price-card,.ext-iphone-phone,.ext-app-badge) { animation: card-rise .82s cubic-bezier(.22,1,.36,1) .24s forwards; }
/* Keep the reference's left-to-right card cadence on the three-column layout. */
@media (min-width: 561px) {
  .extended.ext-motion .is-inview .ext-price-card:nth-child(2) { animation-delay: .37s; }
  .extended.ext-motion .is-inview .ext-price-card:nth-child(3) { animation-delay: .5s; }
}
@media (max-width: 1100px) {
  .extended .ext-heading { grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 24px; }
  .extended .ext-price-card { padding: 24px; }
}
@media (max-width: 900px) {
  .extended { padding: 0 24px; }
  .extended .ext-section { padding: 60px 0; }
  .extended .ext-heading { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .extended .ext-heading .ext-intro { max-width: 54ch; }
  .extended .ext-demo-bar { padding: 0 0 20px; }
  .extended .ext-panel { padding: 0; }
  .extended .ext-pricing-grid { gap: 12px; }
  .extended .ext-price-card { padding: 20px 16px; }
  .extended .ext-price { font-size: 48px; }
  .extended .ext-price > span { display: block; margin: 8px 0 0; }
  .extended .ext-price-card h3 { font-size: 21px; }
  .extended .ext-footer-top { flex-wrap: wrap; }
  .extended .ext-closing { padding: 64px 0 80px; }
}
@media (max-width: 560px) {
  .extended { padding: 0 20px; }
  .extended .ext-section { padding: 48px 0; scroll-margin-top: 100px; }
  .extended h2 { font-size: clamp(40px,10.7vw,52px); }
  .extended .ext-heading { margin-bottom: 28px; }
  .extended .kicker { font-size: 12px; padding: 10px 14px; }
  .extended .ext-demo-bar { padding: 0 0 20px; }
  .extended .ext-tabs { width: 100%; gap: 0; }
  .extended .ext-tabs button { flex: 1; font-size: 12px; padding: 10px 7px; }
  .extended .ext-panel { padding: 0; }
  .extended .ext-chip { font-size: 12px; padding: 6px 10px; }
  .extended .ext-pricing-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .extended .ext-price-card { padding: 28px; }
  .extended .ext-price-card h3 { font-size: 24px; margin-top: 24px; }
  .extended .ext-price { margin: 12px 0 24px; }
  .extended .ext-price > span { display: inline; margin-left: 8px; }
  .extended .ext-price-future .ext-proposed { padding-top: 0; max-width: none; }
  .extended .ext-footer { padding-top: 32px; }
  .extended .ext-footer nav { gap: 0 24px; }
  .extended .ext-footer-bottom { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 28px; }
  .extended .ext-closing { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .extended *, .extended *::before, .extended *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .extended.ext-motion [data-reveal] :is(.title-char,.kicker,.ext-intro,.ext-demo,.ext-price-card,.ext-iphone-phone,.ext-app-badge) { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Coordinator integration fix: on a single column, lead with the plan that is actually available. */
@media (max-width: 560px) { .extended .ext-price-current { order: -1; } }

@media (max-width: 560px) {
  .extended .ext-screen-frame { width: min(100%, calc((78vh - 18px) * 390 / 844 + 18px)); width: min(100%, calc((78svh - 18px) * 390 / 844 + 18px)); margin-inline: auto; border-radius: 26px; }
  .extended .ext-screen picture { border-radius: 18px; }
  .extended .ext-screen img { aspect-ratio: 390 / 844; }
}


/* Coordinator fix: on desktop the whole platform screen fits in one viewport under the fixed header (16:10 frame, 8px bezel). */
@media (min-width: 561px) {
  .extended .ext-screen-frame { width: min(100%, calc((100vh - 150px) * 1.6 + 18px)); width: min(100%, calc((100svh - 150px) * 1.6 + 18px)); margin-inline: auto; }
}

/* Coordinator update, September 25: pricing follows the bring-your-own-key / pay-as-you-go direction (decisions log 09:06; copy mirrors the ascend feat/byok-payg landing). Both options are real, so they are no longer muted. */
.extended .ext-price-option .ext-price-lede { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: #d6e2ee; max-width: 32ch; }
.extended :is(.ext-price-option,.ext-price-current) ul { list-style: none; padding: 0; margin: 0 0 24px; width: 100%; }
.extended .ext-price-option li { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 14px; }
.extended .ext-price-option li::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #218eff; }
.extended .ext-price-option .ext-proposed { padding-top: 16px; color: var(--ext-muted); max-width: none; }
.extended .ext-topup-status { color: #9fcaff; }
/* Jordan, September 25 20:07: generic "My API key" title with a note that it is an OpenRouter key. */
.extended .ext-price-card .ext-key-note { margin: 6px 0 0; font-size: 13px; color: #9fcaff; }

/* Ascend for iPhone (Jordan, October 5th): no box and no spinning coin; the real Morning Brief screen in a phone, beside the headline. */
.extended .ext-iphone-band { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); align-items: center; gap: clamp(32px,6vw,96px); padding: 96px 0; scroll-margin-top: 110px; }
.extended .ext-iphone-phone { width: min(100%,300px); justify-self: center; perspective: 1400px; }
.extended .ext-iphone-device { position: relative; padding: 9px; border-radius: 46px; background: linear-gradient(145deg,#2c3544,#0a0f18 58%,#1b2331); box-shadow: 0 0 0 1px rgba(157,206,255,.3), inset 0 0 0 1px rgba(255,255,255,.07), 0 44px 90px -34px rgba(33,142,255,.6), 0 24px 40px -22px #000; transform: rotateY(-14deg) rotateX(5deg) rotateZ(2deg); animation: iphone-float 7s ease-in-out infinite alternate; }
.extended .ext-iphone-device img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; border-radius: 38px; }
@keyframes iphone-float { from { transform: translateY(-8px) rotateY(-14deg) rotateX(5deg) rotateZ(2deg); } to { transform: translateY(8px) rotateY(-9deg) rotateX(3deg) rotateZ(1deg); } }
.extended .ext-iphone-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; }
/* Soft scrim so the headline stays legible over the 3D mark behind the page; no edge, no box. */
.extended .ext-iphone-copy::before { content: ''; position: absolute; inset: -70px -90px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(1,4,10,.86) 55%, rgba(1,4,10,0)); }
.extended .ext-iphone-copy h2 { font-size: clamp(40px,4.8vw,76px); max-width: 12ch; }
.extended .ext-iphone-copy .ext-intro { margin-top: 24px; }
.extended .ext-app-badge { display: inline-block; margin-top: 32px; line-height: 0; border-radius: 10px; transition: transform .2s, filter .2s; }
.extended .ext-app-badge img { display: block; width: 168px; height: auto; }
.extended .ext-app-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 18px rgba(33,142,255,.45)); }
@media (max-width: 560px) {
  .extended .ext-iphone-band { grid-template-columns: minmax(0,1fr); gap: 40px; padding: 56px 0; }
  .extended .ext-iphone-phone { width: min(62vw,260px); }
  .extended .ext-iphone-copy h2 { font-size: clamp(40px,10.7vw,52px); }
}
