/* Awanex inner pages (Websites, Pricing, How it works, Book a call). Nov 25. Same world as the home page:
   deep black, greys, chrome, white, one crimson accent, Geist only, glass panels. Nav, snow and footer are shared. */
.pg { width: min(1160px, 100vw - 48px); margin: 0 auto; }
.pg-head { padding: clamp(150px, 22vh, 220px) 0 clamp(64px, 10vh, 112px); }
.pg-head h1 { margin: 0; max-width: 15ch; font-size: clamp(52px, 7.4vw, 112px); font-weight: 700; line-height: .94; letter-spacing: -.05em; text-wrap: balance; }
.pg-head p { margin: 28px 0 0; max-width: 34em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: rgba(255, 255, 255, .72); text-wrap: pretty; }
.chrome-t { /* polished chrome words */
  background: linear-gradient(180deg, #FFFFFF 0%, #D8DBDE 40%, #6E7277 58%, #C9CCD0 76%, #F2F3F4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.pg-btns .end-cta { margin-top: 0; }
.ghost-cta { display: inline-flex; align-items: center; height: 54px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(216, 219, 222, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .2s var(--ease), background .25s var(--ease); }
@media (hover: hover) { .ghost-cta:hover { transform: translateY(-2px) scale(1.03); background: rgba(255, 255, 255, .1); } }
.ghost-cta:active { transform: scale(.97); }

.pg-sec { padding: 0 0 clamp(96px, 14vh, 160px); } /* one gap between sections, always the same */
.pg-sec > h2, .pg-h2 { margin: 0; font-size: clamp(38px, 4.6vw, 68px); font-weight: 700; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.pg-lead { margin: 18px 0 0; max-width: 36em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .68); }

/* glass panel, same family as the home cards */
.glass-p { border-radius: 28px; background: radial-gradient(120% 140% at 85% 0%, #2E3034 0%, #0B0C0D 72%);
  box-shadow: inset 0 0 0 1px rgba(216, 219, 222, .16), inset 0 1px 0 rgba(255, 255, 255, .2), 0 40px 80px rgba(0, 0, 0, .55); }

/* a list of plain facts with a crimson tick */
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2px solid #DC143C; border-bottom: 2px solid #DC143C; transform: rotate(-45deg); }
.ticks li.no::before { width: 12px; height: 0; top: .72em; border-left: 0; border-bottom: 2px solid rgba(255, 255, 255, .35); transform: none; }
.ticks li.no { color: rgba(255, 255, 255, .5); }

/* the closing call to action on every inner page */
.pg-end { text-align: center; padding: clamp(96px, 16vh, 180px) 24px clamp(72px, 12vh, 120px); }
.pg-end h2 { margin: 0; font-size: clamp(40px, 5vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.pg-end p { margin: 18px auto 0; max-width: 30em; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .68); }
.pg-end .pg-btns { justify-content: center; }
.pg-line { display: block; width: min(420px, 60vw); height: 2px; margin: 0 auto 44px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(220,20,60,0), #DC143C 20%, #DC143C 80%, rgba(220,20,60,0)); box-shadow: 0 0 18px rgba(220, 20, 60, .5); }

/* one shared left edge with the footer on inner pages */
.pg-foot .foot { width: min(1160px, 100vw - 48px); padding-left: 0; padding-right: 0; border-top: 1px solid rgba(255, 255, 255, .08); }

/* gentle reveal (pages.js): words rise in once; nothing else moves on its own */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

@media (max-width: 820px) {
  .pg-head { padding: 132px 0 56px; }
  .pg-head h1 { font-size: 50px; }
  .pg-sec { padding: 0 0 72px; }
  .pg-sec > h2, .pg-h2 { font-size: 38px; }
  .pg-end h2 { font-size: 40px; }
  .pg-foot .foot { width: calc(100vw - 48px); }
}

[id] { scroll-margin-top: 110px; } /* anchors land below the nav */

/* ---- easy to use (Nov 25, Sir: "make everything all around better working and easy working") ---- */
.end-cta:focus-visible, .ghost-cta:focus-visible, .foot a:focus-visible, .pg a:focus-visible { outline: 2px solid #D8DBDE; outline-offset: 4px; border-radius: 999px; }
.foot-links a, .foot-logo { display: inline-flex; align-items: center; min-height: 44px; } /* easy to tap */
.foot-links a.foot-book { color: #fff; font-weight: 600; }
.nav-logo { position: relative; } .nav-logo::after { content: ""; position: absolute; inset: -13px -8px; } /* bigger tap area, same look */
.pg-lead a { display: inline-block; padding: 10px 0; }

/* simple questions and answers on inner pages */
.qa { margin-top: clamp(28px, 4vh, 48px); border-top: 1px solid rgba(255,255,255,.1); }
.qa details { border-bottom: 1px solid rgba(255,255,255,.1); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 18px 0; cursor: pointer;
  font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px; border-right: 2px solid #D8DBDE; border-bottom: 2px solid #D8DBDE; transform: rotate(45deg) translateY(-4px); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(-135deg) translateX(-4px); }
.qa summary:focus-visible { outline: 2px solid #D8DBDE; outline-offset: 4px; border-radius: 8px; }
.qa p { margin: 0 0 24px; max-width: 40em; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.7); }

/* ---- one section = one screen (Nov 25, Sir: "like one section fits the whole screen, do that for every page") ----
   pages.js marks each section (and each feature/step row) as a screen; a screen that fits the window also sticks,
   so the next one slides up over it. Taller screens simply scroll. */
.scr { min-height: 100vh; min-height: 100svh; box-sizing: border-box; background: #000; padding-top: max(96px, 11vh); padding-bottom: max(48px, 6vh); }
.scr:not(.feat):not(.step-r):not(.book):not(.how-hero) { display: flex; flex-direction: column; justify-content: center; }
.feat.scr, .step-r.scr { align-content: center; padding-top: max(96px, 11vh); padding-bottom: max(48px, 6vh); }
.scr.stick { position: sticky; top: 0; }
.scr ~ .scr, .feat.scr + .feat.scr, .step-r.scr + .step-r.scr { box-shadow: 0 -40px 80px rgba(0, 0, 0, .85); }
.pg-end.scr { min-height: calc(100svh - 120px); }
.pg-head.scr { padding-top: max(110px, 12vh); }
@media (max-width: 820px) { .scr { padding-top: 96px; padding-bottom: 48px; } .pg-head.scr { padding-top: 110px; } }
.scr, .scr ~ .scr, .feat.scr + .feat.scr, .step-r.scr + .step-r.scr { box-shadow: 0 0 0 100vmax #000; clip-path: inset(0 -100vmax); } /* full-width black behind each screen */

.book.scr { align-content: center; padding-top: max(110px, 12vh); padding-bottom: max(48px, 6vh); }

@media (min-width: 821px) and (max-height: 850px) { .scr, .feat.scr, .step-r.scr, .book.scr { padding-top: 88px; padding-bottom: 28px; } .addons { margin-top: 24px; } }

.how-hero.scr { align-content: center; }
.step-r.scr::after { display: none; } /* each step is its own screen now, so no rail dots */

/* round 6: the sliding sheet has a real edge, and the covered screen dims instead of looking cut */
.scr, .scr ~ .scr, .feat.scr + .feat.scr, .step-r.scr + .step-r.scr { box-shadow: none; clip-path: none; }
.scr { position: relative; isolation: isolate; background: transparent; }
.scr.stick { position: sticky; }
.scr::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vmax; right: -100vmax; background: #000; pointer-events: none; }
.scr ~ .scr::before, .feat.scr ~ .feat.scr::before, .step-r.scr ~ .step-r.scr::before, .feat-list > .feat.scr:first-child::before {
  box-shadow: inset 0 1px 0 rgba(216, 219, 222, .16), 0 -30px 60px rgba(0, 0, 0, .75); }
main > .scr:first-child::before { box-shadow: none; }
.scr::after, .step-r.scr::after { display: block; content: ""; position: absolute; z-index: 5; top: 0; bottom: 0; left: -100vmax; right: -100vmax; margin: 0; width: auto; height: auto;
  border-radius: 0; background: #000; box-shadow: none; opacity: calc(var(--cov, 0) * .72); pointer-events: none; }

@supports not (overflow: clip) { html, body { overflow-x: hidden; } } /* older iPhones */
html, body { overflow-x: clip; } /* the full-width screen backgrounds never make the page scroll sideways */

/* home page style (Nov 25): no sticky sheets; screens simply follow each other and fade back as you leave them */
.scr.stick { position: relative; }
.scr::after, .step-r.scr::after { display: none; }
.scr ~ .scr::before, .feat.scr ~ .feat.scr::before, .step-r.scr ~ .step-r.scr::before, .feat-list > .feat.scr:first-child::before { box-shadow: none; }
.scr { will-change: transform, opacity; }
@media (max-width: 820px) { .scr { will-change: auto; } } /* Nov 26: no giant layers on phones (iPhone flicker) */

/* ---- even spacing (Nov 25, 10:30 PM, Sir: "simple, clean, smooth, spacing good") ----
   Only the first screen of a page fills the window. Every other section is as tall as what is in it, with one even
   gap above and below, so short sections (questions, lists) never leave a big empty black band. The motion is unchanged. */
main > section.scr:not(.pg-head):not(.book):not(.pg-end) { min-height: 0; padding-top: clamp(64px, 9vh, 104px); padding-bottom: clamp(64px, 9vh, 104px); }
.step-r.scr { min-height: 0; padding-top: clamp(40px, 6vh, 72px); padding-bottom: clamp(40px, 6vh, 72px); }
.pg-end.scr { min-height: 0; padding-top: clamp(88px, 12vh, 136px); padding-bottom: clamp(72px, 10vh, 112px); }
.pg-head.scr { min-height: 92vh; min-height: 92svh; }
@media (max-width: 820px) {
  main > section.scr:not(.pg-head):not(.book):not(.pg-end) { padding-top: 56px; padding-bottom: 56px; }
  .step-r.scr { padding-top: 36px; padding-bottom: 36px; }
  .pg-end.scr { padding-top: 72px; padding-bottom: 56px; }
  .pg-head.scr { min-height: 0; }
}
