/* Awanex Websites page (Nov 25): what every site has (six rows, each with its live tile), the monthly care, the add-ons. */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding: clamp(40px, 7vh, 72px) 0; }
.feat:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feat:nth-child(even) .feat-tx { order: 2; }
.feat-tx h3 { margin: 0; font-size: clamp(30px, 2.7vw, 42px); font-weight: 700; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.feat-tx p { margin: 16px 0 0; max-width: 28em; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .7); text-wrap: pretty; }
.feat-media { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #111214;
  box-shadow: inset 0 0 0 1px rgba(216, 219, 222, .16), 0 40px 80px rgba(0, 0, 0, .55); }
.feat-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feat-list { margin-top: clamp(24px, 4vh, 48px); }

/* the monthly care: one glass panel, the price on the left, what it covers on the right */
.care { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding: clamp(36px, 5vw, 64px); margin-top: clamp(32px, 5vh, 56px); }
.price { margin: 0; font-size: clamp(56px, 6vw, 92px); font-weight: 700; line-height: .95; letter-spacing: -.05em; }
.price small { font-size: .32em; font-weight: 600; letter-spacing: -.01em; color: rgba(255, 255, 255, .6); }
.care-note { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .68); }
.care .ticks { margin-top: 4px; grid-template-columns: 1fr 1fr; column-gap: 32px; }

/* add-ons: three rows, each its own line of glass, name and price up top, what's in and what's not */
.addons { display: grid; gap: 18px; margin-top: clamp(32px, 5vh, 56px); }
.addon { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding: clamp(36px, 5vw, 64px); }
.addon-ic { display: grid; place-items: center; width: 72px; height: 72px; padding: 18px; margin-bottom: 22px; border-radius: 20px; color: #DC143C;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px rgba(216,219,222,.28), inset 0 1px 0 rgba(255,255,255,.35), 0 14px 30px rgba(0,0,0,.45); }
.addon-ic svg { display: block; filter: drop-shadow(0 0 8px rgba(220,20,60,.45)); }
.addon-sub { display: block; margin-top: 6px; font-size: 15px; color: rgba(255,255,255,.55); }
.addon h3 { margin: 0; font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.addon .amt { display: block; margin-top: 14px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.addon .amt em { font-style: normal; color: #DC143C; }
.addon p { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .72); text-wrap: pretty; }
.addon .ticks { grid-template-columns: 1fr 1fr; column-gap: 28px; }

.pg-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.hero-ph { justify-self: center; width: min(300px, 100%); height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)) drop-shadow(0 0 60px rgba(220,20,60,.18)); }
@media (max-width: 820px) {
  .pg-hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-ph { width: 240px; }
  .feat { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .feat:nth-child(even) { grid-template-columns: 1fr; }
  .feat:nth-child(even) .feat-tx { order: 0; }
  .feat-tx h3 { font-size: 32px; }
  .care, .addon { grid-template-columns: 1fr; padding: 28px 24px; gap: 22px; }
  .care .ticks, .addon .ticks { grid-template-columns: 1fr; }
}
/* round 2 fixes: the hero headline fits beside the phone; add-on ticks one per line */
.pg-hero h1 { font-size: clamp(52px, 6vw, 92px); max-width: none; }
.addon .ticks { grid-template-columns: 1fr; }
@media (max-width: 820px) { .pg-hero h1 { font-size: 50px; } }

/* ---- Nov 25 round 4 (Sir: "too simple"): numbers, labelled phone, who it's for, compare ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.stat { padding: clamp(28px, 4vh, 44px) 24px clamp(28px, 4vh, 44px) 0; }
.stat + .stat { padding-left: 28px; box-shadow: inset 1px 0 0 rgba(255,255,255,.1); }
.stat b { display: block; font-size: clamp(44px, 4.6vw, 72px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #FFFFFF 0%, #D8DBDE 45%, #8E9297 62%, #E6E8EA 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 12px; font-size: 16px; line-height: 1.4; color: rgba(255,255,255,.62); }

.anat-stage { position: relative; display: grid; grid-template-columns: 1fr minmax(260px, 330px) 1fr; gap: 0; margin-top: clamp(40px, 6vh, 64px); }
.anat-ph { grid-column: 2; width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)) drop-shadow(0 0 60px rgba(220,20,60,.15)); }
.anat-l, .anat-r { position: relative; list-style: none; margin: 0; padding: 0; }
.anat-l { grid-column: 1; grid-row: 1; } .anat-r { grid-column: 3; grid-row: 1; }
.anat-l li, .anat-r li { position: absolute; top: var(--y); transform: translateY(-50%); width: calc(100% - 24px); }
.anat-l li { right: 24px; text-align: right; padding-right: 0; }
.anat-r li { left: 24px; }
.anat-stage li b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.anat-stage li span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.6); }
/* the pointer: a thin line from the words to the part on the phone, ending in a crimson dot */
.anat-stage li::before { content: ""; position: absolute; top: 50%; width: clamp(40px, 7vw, 110px); height: 1px; background: linear-gradient(90deg, rgba(216,219,222,.15), rgba(216,219,222,.7));
  transform-origin: left center; transform: scaleX(0); transition: transform .9s var(--ease) .25s; }
.anat-stage li::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #DC143C; box-shadow: 0 0 0 3px rgba(220,20,60,.25), 0 0 12px rgba(220,20,60,.8); opacity: 0; transition: opacity .3s .9s; }
.anat-l li::before { left: 100%; margin-left: 16px; }
.anat-r li::before { right: 100%; margin-right: 16px; transform-origin: right center; background: linear-gradient(270deg, rgba(216,219,222,.15), rgba(216,219,222,.7)); }
.anat-l li::after { left: calc(100% + 16px + clamp(40px, 7vw, 110px)); margin-left: -4px; }
.anat-r li::after { right: calc(100% + 16px + clamp(40px, 7vw, 110px)); margin-right: -4px; }
.anat-stage li.in::before { transform: scaleX(1); } .anat-stage li.in::after { opacity: 1; }

.who .marq { overflow: hidden; margin-top: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.who .marq:first-of-type { margin-top: clamp(32px, 5vh, 56px); }
.marq-t { display: flex; gap: 14px; width: max-content; animation: marq 46s linear infinite; }
.marq.rev .marq-t { animation-direction: reverse; animation-duration: 52s; }
.marq-t span { flex: none; padding: 16px 28px; border-radius: 999px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.01em;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(216,219,222,.18), inset 0 1px 0 rgba(255,255,255,.18); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (hover: hover) { .marq:hover .marq-t { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .marq-t { animation: none; flex-wrap: wrap; width: auto; } }

.vs { margin-top: clamp(32px, 5vh, 56px); padding: clamp(12px, 2vw, 24px) clamp(24px, 4vw, 48px); }
.vs-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; line-height: 1.4; }
.vs-row:last-child { border-bottom: 0; }
.vs-row > span:first-child { font-weight: 600; }
.vs-row > span:last-child { color: rgba(255,255,255,.5); }
.vs-row .y { position: relative; padding-left: 28px; color: #fff; }
.vs-row .y::before { content: ""; position: absolute; left: 2px; top: .4em; width: 12px; height: 7px; border-left: 2px solid #DC143C; border-bottom: 2px solid #DC143C; transform: rotate(-45deg); }
.vs-head { font-size: 15px; color: rgba(255,255,255,.55); padding-top: 14px; }
.vs-head span:nth-child(2) { color: #fff; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vs-head span:nth-child(3) { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 24px 0 24px 0; box-shadow: none; }
  .stat:nth-child(even) { padding-left: 20px; box-shadow: inset 1px 0 0 rgba(255,255,255,.1); }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .anat-stage { grid-template-columns: 1fr; justify-items: center; }
  .anat-ph { grid-column: 1; width: 240px; }
  .anat-l, .anat-r { grid-column: 1; grid-row: auto; display: grid; gap: 18px; width: 100%; margin-top: 24px; }
  .anat-r { margin-top: 18px; }
  .anat-l li, .anat-r li { position: static; transform: none; width: auto; text-align: left; padding-left: 22px; }
  .anat-stage li::before { display: none; }
  .anat-stage li::after { left: 0; right: auto; top: .55em; margin: 0; opacity: 1; }
  .vs-row { grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 15.5px; }
  .vs-row > span:first-child { grid-column: 1 / -1; }
  .vs-head > span:first-child { display: none; }
}
.anat-ph { position: relative; z-index: 1; }
.anat-l, .anat-r { z-index: 2; } /* the pointer lines sit on top of the phone */

/* round 5: each pointer has its own length so the dot lands on the edge of its part, never on letters */
.anat-stage li::before { width: var(--len); }
.anat-l li::after { left: calc(100% + 16px + var(--len)); }
.anat-r li::after { right: calc(100% + 16px + var(--len)); }
.pg-sec-gap { margin-bottom: clamp(96px, 14vh, 160px); }
@media (max-width: 820px) {
  .anat-l li::after, .anat-r li::after { left: 0; right: auto; top: .55em; margin: 0; opacity: 1; }
  .pg-sec-gap { margin-bottom: 72px; }
}

/* one-screen layout: the numbers sit at the bottom of the hero screen; the hero phone is sized to the window */
.pg-head .stats { margin-top: clamp(28px, 5vh, 56px); }
.hero-ph { max-height: 56vh; width: auto; }
.pg-head .pg-hero { min-height: 0; }

/* fit one screen: the labelled phone is sized to the window; every pointer scales with it */
.anat-stage { --pw: min(330px, calc((100svh - 400px) / 2.07)); grid-template-columns: 1fr var(--pw) 1fr; margin-top: clamp(24px, 4vh, 48px); }
.anat-stage li { --len: calc(var(--pw) * var(--f) + 8px); }
.hero-ph { max-height: 50vh; }
.pg-head .stats .stat { padding-top: 22px; padding-bottom: 22px; }
@media (min-width: 1100px) {
  .addons { grid-template-columns: repeat(3, 1fr); }
  .addon { grid-template-columns: 1fr; gap: 18px; padding: 32px 30px; }
  .addon .ticks { margin-top: 14px; }
  .addon p { font-size: 16px; }
  .addon-ic { margin-bottom: 14px; }
}
@media (max-width: 820px) { .anat-stage { --pw: 240px; grid-template-columns: 1fr; } }

.pg-head .stats .stat b { font-size: clamp(34px, 3.4vw, 54px); white-space: nowrap; }

.feat-head { grid-column: 1 / -1; margin-bottom: clamp(8px, 2vh, 24px); }
.feat-list { margin-top: 0; }
.addon .amt em { font-weight: 700; } /* crimson prices read as large bold text (contrast) */

/* Nov 25 (Sir's Eye): the three add-on cards line up; every description starts at the same height */
@media (min-width: 1100px) { .addons { grid-template-rows: auto auto; } .addon { grid-row: span 2; grid-template-rows: subgrid; align-content: start; } }

/* ---- simple page (Nov 25, 10:15 PM, Sir: "too much stuff going on there and also too much spacing") ----
   three screens: the hero, one grid of the six things every website comes with, and the ending with the trades */
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(24px, 3.5vh, 40px); }
.wf { margin: 0; padding: 12px 12px 20px; border-radius: 24px; 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 30px 60px rgba(0,0,0,.5); }
.wf img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #111214; }
.wf h3 { margin: 16px 8px 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.wf p { margin: 6px 8px 0; font-size: 15.5px; line-height: 1.45; color: rgba(255,255,255,.68); }
@media (max-height: 860px) and (min-width: 821px) { .wf img { aspect-ratio: 2 / 1; object-fit: cover; } }
@media (max-width: 1000px) { .wgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .wgrid { grid-template-columns: 1fr; gap: 10px; }
  .wf { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 20px; }
  .wf img { border-radius: 12px; } .wf h3 { margin: 0; font-size: 17px; } .wf p { margin: 4px 0 0; font-size: 14.5px; } }
.pg-end .marq { margin: 0 0 14px; }
.pg-end .marq + .marq { margin-bottom: clamp(36px, 6vh, 64px); }
.pg-end .marq { overflow: hidden; margin-left: -24px; margin-right: -24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); } /* the trades slide inside the page, never past its edge */
.pg-end .who-l { margin: 0 0 20px; font-size: 17px; font-weight: 600; color: rgba(255,255,255,.62); }
@media (prefers-reduced-motion: reduce) { .marq-t span:nth-child(n+9) { display: none; } } /* still rows show each trade once */
@media (prefers-reduced-motion: reduce) { /* still trades: each once, centred inside the page edges, no edge fade */
  .pg-end .marq { margin-left: auto; margin-right: auto; max-width: min(1160px, 100vw - 48px); -webkit-mask-image: none; mask-image: none; }
  .pg-end .marq-t { justify-content: center; gap: 10px; }
  .pg-end .marq-t span { padding: 10px 18px; font-size: 16px; } }
.pg-end .who-l { margin-left: auto; margin-right: auto; } /* centred like the rest of the ending */
