/* Applied Agentics homepage: page layout only. Components come from components.css, values from tokens.css.
   Breakpoints are container queries on .aa-root, at the design system's widths: 600, 900, 1280. */
a{color:var(--harbor)}
a:hover{color:var(--ink)}
/* Page layout at the design system's breakpoints (bp-small-tablet 600, bp-tablet 900, bp-desktop 1280), as container queries on .aa-root so each frame follows its own width. Component rules (nav, hero card, steps, technology grid, footer, actions, .aa-hide-sm, .aa-hide-xs) come from components/bundle.css. */
/* Tablet */
@container aa (min-width: 900px) and (max-width: 1279px){
.aa-industry{grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) !important}
.aa-stagecol{grid-column: auto !important}
.aa-deploy{grid-template-columns: repeat(2, minmax(0, 1fr)) !important}
.aa-products{flex-wrap: nowrap !important}
.aa-products > :first-child{flex: 1.4 1 0 !important}
.aa-products > :last-child{flex: 1 1 0 !important}
.aa-closing{flex-wrap: nowrap !important}
.aa-closing__copy{flex: 1.2 1 0 !important}
.aa-closing__art{flex: 1 1 0 !important}
}
/* Small tablet and phone */
@container aa (max-width: 899px){
.aa-hero-h1{position: relative !important; left: auto !important; top: auto !important; padding: 104px var(--gutter) var(--space-8)}
.aa-hero-slot{position: relative !important; left: auto !important; bottom: auto !important; margin: 0 var(--gutter) var(--space-32)}
.aa-hero-label{top: var(--space-16) !important}
.aa-hero-tag-flip{transform: translateX(calc(-100% - 20px))}
.aa-industry{grid-template-columns: minmax(0, 1fr) !important}
.aa-stagecol{grid-column: auto !important}
.aa-railcol, .aa-railcol .aa-rail{max-width: none !important}
.aa-deploy{grid-template-columns: minmax(0, 1fr) !important}
.aa-products > *{flex: 1 1 100% !important}
.aa-closing > *{flex: 1 1 100% !important; max-width: none !important}
.aa-closing__copy{padding-bottom: var(--space-48) !important}
.aa-closing__art{min-height: 0 !important; aspect-ratio: var(--ratio-hero); margin: 0 calc(-1 * var(--gutter))}
.aa-closing__art > img{left: 0 !important; right: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-position: 50% 100% !important}
}

/* Industry selector (static build): js/industry-selector.js switches the rail to an accordion below 900px. */
.aa-stagecol{display:flex;flex-direction:column;gap:var(--space-56)}
.aa-stagecol[hidden]{display:none}
.aa-rail:not(.aa-rail--accordion) .aa-rail__chevron{display:none}

/* The closing render keeps its aspect ratio from its width (img carries width/height attributes). */
.aa-closing__art > img{height:auto}

/* Sticky header and small-screen menu (kept from the live site; not part of the handoff).
   Motion is not in the design system yet: the timing below is the one value set used for it,
   and reduced motion turns it off. */
.aa-root { --header-ease: cubic-bezier(0.4, 0, 0.2, 1); --header-time: 300ms; --header-clear: calc(var(--touch-min) + var(--space-4) + 2 * var(--space-16)); }
/* Without JavaScript the bar sits at the top of the hero and scrolls away with it, as in the handoff.
   site-header.js adds .is-sticky, and only then is it pinned (and given its surface once scrolled). */
.site-header { position: absolute; z-index: 10; left: 0; right: 0; top: 0; background: transparent; box-shadow: 0 0 0 0 transparent; transition: background-color var(--header-time) var(--header-ease), box-shadow var(--header-time) var(--header-ease); }
.site-header.is-sticky { position: fixed; }
.site-header.is-scrolled, .site-header.is-open { background: var(--surface); box-shadow: 0 var(--rule) 0 0 var(--line); }
.site-header .aa-nav { transition: padding var(--header-time) var(--header-ease); }
.site-header.is-scrolled .aa-nav { padding-top: var(--space-16); padding-bottom: var(--space-16); }
/* --header-clear clears the scrolled header: its nav row plus 2 × space-16 padding. The row is touch-min (44px) on
   phones and 47px from 600px, where the primary button shows (2 × space-13 padding, 2 × rule border, a 15px line),
   so touch-min + space-4 covers both (80px against a 76px or 79px header). Anchored sections stop under it;
   the accordion's industry buttons also keep a small gap below it, and industry-selector.js reads this margin
   to decide when a tapped button needs scrolling back into view. */
section[id] { scroll-margin-top: var(--header-clear); }
.aa-rail__item { scroll-margin-top: calc(var(--header-clear) + var(--space-8)); }

.site-header__toggle { display: none; position: relative; width: var(--touch-min); height: var(--touch-min); margin-right: calc(-1 * var(--space-10)); padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: var(--radius-control); }
.site-header__toggle-bar { position: absolute; left: var(--space-12); right: var(--space-12); height: var(--rule-strong); background: currentColor; border-radius: var(--rule-strong); transition: transform var(--header-time) var(--header-ease); }
.site-header__toggle-bar:first-child { transform: translateY(calc(-1 * var(--space-4))); }
.site-header__toggle-bar:last-child { transform: translateY(var(--space-4)); }
.is-open .site-header__toggle-bar:first-child { transform: rotate(45deg); }
.is-open .site-header__toggle-bar:last-child { transform: rotate(-45deg); }

/* On short screens (a phone turned sideways, high zoom) the menu scrolls inside itself, since the page is locked.
   site-header.js sets --menu-max to the space below the header; the fallback assumes the scrolled header. */
.site-menu { position: absolute; left: 0; right: 0; top: 100%; max-height: var(--menu-max, calc(100dvh - var(--header-clear))); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-bottom: var(--rule) solid var(--line); clip-path: inset(0 0 100% 0); opacity: 0; visibility: hidden; transition: clip-path var(--header-time) var(--header-ease), opacity var(--header-time) var(--header-ease), visibility 0s linear var(--header-time); }
.site-menu__inner { display: flex; flex-direction: column; padding: var(--space-8) var(--gutter) var(--space-28); transform: translateY(calc(-1 * var(--space-12))); transition: transform var(--header-time) var(--header-ease); }
.is-open .site-menu { clip-path: inset(0); opacity: 1; visibility: visible; transition: clip-path var(--header-time) var(--header-ease), opacity var(--header-time) var(--header-ease), visibility 0s; }
.is-open .site-menu__inner { transform: none; }
.site-menu__link { display: flex; align-items: center; min-height: var(--touch-min); color: var(--ink); text-decoration: none; border-bottom: var(--rule) solid var(--line); }
.site-menu__cta { display: none; align-self: flex-start; margin-top: var(--space-20); }

/* While the menu is open the page behind it dims, stops scrolling and can't be clicked or
   tabbed into. Tapping the dimmed area closes the menu. */
.site-scrim { position: fixed; inset: 0; z-index: 9; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity var(--header-time) var(--header-ease), visibility 0s linear var(--header-time); }
.menu-open .site-scrim { opacity: 0.45; visibility: visible; transition: opacity var(--header-time) var(--header-ease), visibility 0s; }
.menu-open, .menu-open body { overflow: hidden; }
/* Keep the scrollbar's space when the lock above removes a classic scrollbar, so .aa-root (and its container
   queries) keep their width: otherwise at 900-914px the page crosses the breakpoint and the menu closes.
   Overlay scrollbars take no space, so nothing changes there. site-header.js pads instead where unsupported. */
html { scrollbar-gutter: stable; }

@container aa (min-width: 900px) {
.site-menu { display: none; }
}
@container aa (max-width: 899px) {
.site-header__toggle { display: block; }
.site-header__toggle[hidden] { display: none; }
}
@container aa (max-width: 599px) {
.site-menu__cta { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) {
.aa-root { --header-time: 0s; }
}
