/* Aimward is the visual source of truth. Only hub and Lexture-specific rules. */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.skip-link { position: absolute; top: -100px; left: 18px; z-index: 100; background: white; padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.site-nav [aria-current="page"] { color: var(--ink); }
.hub-page { min-height: 100svh; display: flex; flex-direction: column; }
.hub-main { width: 100%; max-width: var(--max); margin: 0 auto; padding: 88px 24px 120px; flex: 1; }
.hub-heading { margin-bottom: 44px; }
.hub-heading h1 { margin: 0 0 20px; font-size: 56px; line-height: 1.08; font-weight: 850; }
.hub-heading p { margin: 0; max-width: 42em; color: #626a70; font-size: 20px; line-height: 1.6; }
.product-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-choice { display: flex; min-width: 0; text-decoration: none; background: #edf5fb; border-radius: 4px; }
.product-choice.lexture { background: #f6f4ec; }
.choice-copy { padding: 35px; }
.choice-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.choice-top h2 { margin: 0; font-size: 36px; line-height: 1.1; font-weight: 650; letter-spacing: -.035em; }
.choice-arrow { font-size: 30px; transition: transform 180ms ease; }
.product-choice:hover .choice-arrow, .product-choice:focus-visible .choice-arrow { transform: translate(4px,-4px); }
.choice-copy p { margin: 22px 0 0; max-width: 29em; color: #626a70; font-size: 17px; line-height: 1.65; }
.choice-link { display: inline-block; margin-top: 26px; font-size: 14px; font-weight: 750; }
.hub-page .site-footer { width: 100%; margin-top: auto; }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 100px; padding-top: 24px; }
.contact-layout h2 { font-size: 18px; margin: 0 0 22px; font-weight: 750; }
.email-link { display: inline-block; font-size: clamp(22px, 3vw, 32px); font-weight: 700; overflow-wrap: anywhere; }
.contact-email p { color: #626a70; font-size: 16px; line-height: 1.8; max-width: 34em; margin-top: 28px; }
.contact-products a { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding: 18px 0; font-size: 24px; font-weight: 650; }
body[data-product="lexture"] { --mint: var(--blue); }
/* Preserve every release screenshot: their aspect ratios differ from Aimward. */
body[data-product="lexture"] .home-showcase-frame { aspect-ratio: 2880 / 1800; }
html[data-device-mode="ipad"] body[data-product="lexture"] .home-showcase-frame { aspect-ratio: 2752 / 2064; }
html[data-device-mode="iphone"] body[data-product="lexture"] .home-showcase-frame { aspect-ratio: 1206 / 2622; }
body[data-product="lexture"] .home-showcase-frame img { height: auto; object-fit: contain; filter: none; }
body[data-product="lexture"] .home-showcase-frame { border-radius: 14px; }
body[data-product="lexture"] .section-copy p, body[data-product="lexture"] .hero-subcopy { color: #626a70; }
.no-js-showcase { display: none; }
noscript .no-js-showcase { display: block; }
.home-showcase-frame .no-js-showcase img { display: block; height: auto; }
.section-copy, .story-copy { min-width: 0; }
.method-strip > div { min-width: 0; }
.method-strip strong { overflow-wrap: anywhere; }
.final-home-link { color: var(--muted); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.final-home-link:hover { color: var(--ink); }
/* Reverse sections may contain one screenshot OR a carousel. Pin both columns
   to the same desktop row; otherwise auto-placement pushes carousels below copy. */
@media (min-width: 1041px) {
  .narrative-section.reverse > .section-copy { grid-column: 2; grid-row: 1; }
  .narrative-section.reverse > .home-showcase { grid-column: 1; grid-row: 1; }
}
@media (max-width: 1040px) { .contact-layout { gap: 56px; } }
@media (max-width: 760px) {
  .hub-main { padding: 50px 18px 72px; }
  .hub-heading { margin-bottom: 32px; }
  .hub-heading h1 { font-size: 38px; }
  .hub-heading p { font-size: 18px; }
  .product-choices, .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .choice-copy { padding: 28px; }
  .choice-top h2 { font-size: 34px; }
  .contact-layout { gap: 48px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-footer span { text-align: left; }
  .home-showcase { --showcase-phone-width: min(292px, calc(100vw - 36px)); }
  .phrase-nowrap { white-space: normal; }
  .section-copy h2, .story-copy h2 { overflow-wrap: anywhere; }
  html[data-device-mode="iphone"] .analysis-section .home-showcase-track { grid-template-columns: repeat(auto-fit, var(--showcase-phone-width)); }
}

/* Product readability and separate mobile hero content from promotional artwork. */
body:not(.hub-page) { --muted:#58616a; }
.hero .eyebrow { color:#007657; }
body[data-product="lexture"] .hero .eyebrow { color:#0066a8; }
.availability-main { width:min(100%,850px); min-height:65vh; margin:auto; padding:64px 24px; }
.availability-main h1 { font-size:clamp(30px,5vw,48px); line-height:1.2; }
.availability-main>p { color:#58616a; font-size:18px; line-height:1.7; }
@media(max-width:760px) {
 .hero.hero { display:flex; flex-direction:column; align-items:stretch; gap:28px; height:auto; min-height:0; padding:30px 22px 38px; overflow:visible; }
 .hero.hero>.hero-copy,.hero.hero>.hero-stage { position:relative; grid-area:auto; width:100%; max-width:none; height:auto; min-height:0; margin:0; transform:none; }
 .hero.hero>.hero-copy { z-index:auto; padding:0; }
 .hero.hero>.hero-stage { display:block; align-self:center; max-width:260px; overflow:visible; background:transparent; mask-image:none; -webkit-mask-image:none; }
 .hero.hero .home-hero-picture { position:static; display:block; width:100%; height:auto; margin:0; transform:none; mask-image:none; -webkit-mask-image:none; }
 .hero.hero .home-hero-picture img { position:static; display:block; width:100%; height:auto; max-height:none; object-fit:contain; opacity:1; transform:none; filter:none; mask-image:none; -webkit-mask-image:none; }
 .hero.hero .hero-stage::before,.hero.hero .hero-stage::after { display:none; }
 .hero.hero .hero-subcopy { color:#58616a; }
 .hero.hero .hero-line { overflow-wrap:anywhere; }
}

@media(max-width:760px) { .hero.hero .home-hero-picture::after { display:none; } .hero.hero>.hero-stage { opacity:1; animation:none; } }

/* Text must remain stable during the mobile hero layout transition. */
@media(max-width:760px) { .hero.hero>.hero-copy { opacity:1; animation:none; transform:none; } }
body:not(.hub-page) .section-kicker { color:#007657; }
body[data-product="lexture"] .section-kicker { color:#0066a8; }
