/* Whatxia website. Bold editorial campaign layout: a giant hero word with a tall photo in front of it, split hero copy,
   a white list card over a rounded image block, a staggered manifesto grid, a deep colour band with image tiles and a
   vertical timeline with circle nodes. Poppins throughout; the app's marbled pastel pictures. */
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --bg: #ffffff; --sheet: #eef3fc; --ink: #1e2340; --muted: #575e80; --line: #dde4f1;
  --blue: #335fae; --blue-kit: #5790df; --lilac: #b98ae0; --deep: #24407a; --r: 18px;
  --shadow: 0 20px 44px -24px rgba(30, 35, 64, .35); --glow: 0 30px 80px -30px rgba(185, 138, 224, .75);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.65 "Poppins", system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-weight: 500; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .45em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.3rem); }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
.small { font-size: .8rem; color: var(--muted); margin-bottom: .3em; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 40em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue-kit); outline-offset: 3px; border-radius: 6px; }
main { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* header: thin bar, small wordmark, small centred links, solid pill */
.top { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.bmark svg { width: 34px; height: 34px; display: block; }
.wm { font-size: 1.2rem; font-weight: 600; }
.links { display: flex; gap: 24px; margin: 0 auto; }
.links a { color: var(--ink); text-decoration: none; font-size: .86rem; padding: 6px 0; background: linear-gradient(var(--blue), var(--blue)) left bottom / 0 2px no-repeat; transition: background-size .25s ease; }
.links a:hover, .links a[aria-current=page] { background-size: 100% 2px; }
.mnav { display: none; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font: 500 .9rem/1.2 "Poppins", sans-serif;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.pill.blue { background: var(--blue); color: #fff; }
.pill.blue:hover { background: var(--deep); transform: translateY(-2px); }
.pill.line { background: var(--bg); color: var(--ink); border-color: var(--ink); border-radius: 10px; }
.pill.line:hover { background: var(--ink); color: #fff; }
.pill.white { background: #fff; color: var(--ink); }
.pill.white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pill.big { min-height: 52px; padding: 13px 26px; font-size: 1rem; }
.pill.wide { width: 100%; }
.ar svg { width: 18px; height: 18px; display: block; transition: transform .25s ease; }
.pill:hover .ar svg, .lrow:hover .ar svg, .crow:hover .ar svg { transform: translate(3px, -3px); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* hero: the giant word with the tall photo in front of its middle letters */
.hero { display: grid; grid-template-columns: 1fr minmax(220px, 27vw) 1fr; column-gap: 28px; align-items: start; padding: 4px 0 90px; position: relative; overflow: hidden; }
.giant { grid-column: 1 / -1; grid-row: 1; margin: 0; text-align: center; font-weight: 700; font-size: clamp(52px, 15vw, 196px); line-height: .9; letter-spacing: -.045em; white-space: nowrap; color: var(--ink); user-select: none; }
.hphoto { grid-column: 2; grid-row: 1 / 3; margin-top: clamp(30px, 6vw, 80px); position: relative; z-index: 2; }
.hphoto img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--glow); }
.hcopy { grid-row: 2; padding-top: 34px; }
.hcopy.left { grid-column: 1; }
.hcopy.right { grid-column: 3; }
.hcopy h1 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.hcopy h2 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
.hcopy p { color: var(--muted); font-size: .9rem; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 74px; text-decoration: none; color: var(--ink); font-size: .7rem; text-align: center; line-height: 1.25; }
.chip img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; padding: 3px; border: 2.5px solid var(--blue-kit); transition: transform .25s ease; }
.chip:hover img { transform: scale(1.08); }
.chips.big .chip { width: 96px; font-size: .78rem; }
.chips.big .chip img { width: 76px; height: 76px; }

/* image block with an overlapping white list card, beside a stacked headline and two stats */
section { margin: 0 0 96px; }
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.fblock { position: relative; padding-right: 90px; }
.fblock > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.lcard { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(70%, 320px); background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 8px 18px; }
.lrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .86rem; min-height: 44px; }
.lrow:last-child { border-bottom: 0; }
.lrow b { display: block; font-weight: 600; }
.lrow.fact { display: block; }
.stats { display: flex; gap: 44px; margin: 22px 0 6px; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; max-width: 230px; }
.stats b { font-size: 2.2rem; font-weight: 500; line-height: 1.1; }
.stats b.sm { font-size: 1.3rem; font-weight: 600; }
.stats span { font-size: .8rem; color: var(--muted); }
.ftext .pill { margin-top: 10px; }
.plist2 { list-style: none; padding: 0; margin: 0; }
.plist2 li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.plist2 li:last-child { border-bottom: 0; }
.plist2 b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }

/* text-only manifesto: three columns in two staggered rows */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; }
.mcell:nth-child(n+4) { transform: translateX(8%); }
html.js .mcell[data-reveal].in:nth-child(n+4) { transform: translateX(8%); }
.mcell h3 { font-size: 1.25rem; font-weight: 500; }
.mcell p:last-child { color: var(--muted); font-size: .88rem; }

/* deep band with three captioned image tiles */
.band { background: var(--deep); color: #fff; border-radius: 0; padding: 56px 48px; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: max(24px, calc(50vw - 576px)); padding-right: max(24px, calc(50vw - 576px)); }
.bhead { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.bhead .small, .bhead p { color: #dfe7f7; }
.btiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.btile { position: relative; border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff; min-height: 300px; }
.btile img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.btile:hover img { transform: scale(1.05); }
.btile span { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: .86rem; font-weight: 500; background: rgba(20, 32, 66, .82); padding: 8px 12px; border-radius: 10px; }

/* vertical timeline with circle nodes */
.timeline ol { list-style: none; margin: 18px 0 0; padding: 0 0 0 44px; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl { position: relative; margin-bottom: 30px; }
.tl .node { position: absolute; left: -44px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.tl h3 { margin-bottom: .2em; }
.tl p:last-child { color: var(--muted); font-size: .9rem; }
.split2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.split2.rev > :first-child { order: 2; }
.split2 .side { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }

/* offset text and image pair, and the wide banner */
.pair { display: grid; grid-template-columns: 1fr .9fr; gap: 56px; align-items: center; }
.pimg { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; margin-top: 60px; }
.banner { position: relative; border-radius: 22px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; }
.banner .bimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 32, 66, .82), rgba(20, 32, 66, .2) 75%); }
.btext { position: relative; z-index: 1; padding: 40px; max-width: 620px; color: #fff; }
.btext p { color: #e8eefb; }

/* inner pages */
.phead { padding: 36px 0 0; max-width: 820px; margin-bottom: 44px; }
.tag { display: inline-block; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcard { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.gcard img { border-radius: var(--r); aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; transition: transform .35s ease, box-shadow .35s ease; }
.gcard:hover img { transform: translateY(-6px); box-shadow: var(--glow); }
.gname { font-weight: 600; }
.gshort { font-size: .86rem; color: var(--muted); }
.detail { padding-top: 26px; }
.clist { display: grid; gap: 14px; }
.crow { display: grid; grid-template-columns: 120px 1fr 28px; gap: 22px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--sheet); text-decoration: none; color: var(--ink); transition: transform .25s ease; }
.crow:hover { transform: translateX(6px); }
.crow img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; padding: 4px; border: 2.5px solid var(--blue-kit); }
.crow h2 { font-size: 1.25rem; margin: 0; }
.crow p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.price { font-weight: 600; color: var(--blue) !important; }
.ptable { max-width: 900px; }
.tscroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
caption { text-align: left; color: var(--muted); font-size: .82rem; padding-bottom: 8px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
tbody th { font-weight: 600; }
.ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ocard { display: flex; flex-direction: column; gap: 12px; }
.ocard img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; }
.ocard p { font-size: .88rem; color: var(--muted); margin-bottom: .3em; }
.example { background: var(--sheet); border-radius: 22px; padding: 36px; }
.stats.wide div { max-width: 200px; }
.faq { max-width: 840px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 18px 0; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; transition: transform .25s ease; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--muted); }
.note { color: var(--muted); font-size: .9rem; margin: 18px 0 80px; }
.note.warn { background: #fdebee; color: #6f1c2a; padding: 12px 16px; border-radius: 12px; }

/* planner */
.planner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.pform h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.pform h2:first-child { margin-top: 0; }
.pform label { display: block; font-weight: 500; font-size: .86rem; margin: 12px 0 6px; }
.pform input:not([type=checkbox]):not([type=radio]), .pform select, .pform textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
.pform fieldset { border: 0; padding: 0; margin: 12px 0 0; }
.pform legend { font-weight: 500; font-size: .86rem; margin-bottom: 6px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; min-height: 44px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 400; cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--blue); background: var(--sheet); }
.steps2 { display: grid; gap: 8px; }
.srow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--sheet); }
.srow b { display: block; font-weight: 500; font-size: .92rem; }
.srow small { color: var(--muted); font-size: .78rem; }
.q { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.q button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; font-size: 1.2rem; cursor: pointer; }
.q button:disabled { background: var(--line); color: #8a90ae; cursor: default; }
.q b { min-width: 26px; text-align: center; }
.psum { position: sticky; top: 16px; background: var(--sheet); border-radius: 22px; padding: 22px; }
.pchip { background: var(--deep); color: #fff; border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.pchip small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.pchip b { display: block; font-size: 1.4rem; font-weight: 600; }
.pchip span { font-size: .84rem; color: #dfe7f7; }
.flines { list-style: none; padding: 0; margin: 0 0 10px; }
.flines li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.mini-month { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0; }
.mt { border-radius: 10px; padding: 18px 6px 6px; font-size: .7rem; color: var(--ink); background: #fff; text-align: center; }
.mt.t-reel, .mt.t-story { padding-top: 30px; }
.mt.t-post { background: #dfe9fb; } .mt.t-carousel { background: #efe4fa; } .mt.t-reel { background: #fbe3ee; } .mt.t-story { background: #e3f1fb; }
.issues { background: #fdebee; color: #6f1c2a; border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; font-size: .88rem; }
.issues ul { margin: 6px 0 0; padding-left: 18px; }
.psum .row { margin-bottom: 10px; }
.preview summary { cursor: pointer; color: var(--blue); font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.preview pre { white-space: pre-wrap; font: .8rem/1.5 ui-monospace, monospace; background: #fff; border-radius: 12px; padding: 14px; max-height: 420px; overflow: auto; }

/* privacy: a vertical timeline of sections, picture side alternating */
.pidx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; margin-bottom: 56px; }
.pidx a { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .86rem; }
.pidx a:hover { color: var(--blue); }
.pidx b { font-weight: 600; color: var(--blue); min-width: 1.6em; }
.plist { position: relative; padding-left: 56px; }
.plist::before { content: ""; position: absolute; left: 17px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl2 { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; margin-bottom: 64px; scroll-margin-top: 20px; }
.tl2.rev .pimg2 { order: -1; }
.node.num { position: absolute; left: -56px; top: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-kit); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 600; color: var(--blue); }
.pimg2 img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; }
.ptext h2 { font-size: 1.45rem; }
.ptext p { color: var(--muted); }
.ptext p.small { color: var(--blue); }

/* footer */
.foot { background: var(--ink); color: #d4daee; margin-top: 40px; padding: 56px 24px 28px; }
.fgrid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot a { color: #fff; }
.fbrand { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 600; color: #fff; }
.fbrand .bmark svg rect { stroke: #fff; } .fbrand .bmark svg path:first-of-type { fill: #fff; }
.fh { font-weight: 600; color: #fff; margin-bottom: 6px; }
.legal { max-width: 1200px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .8rem; color: #b6bedb; }

/* motion: reveal on scroll and the hero word settling; nothing hides without JavaScript */
[data-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
html.js [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js .giant { animation: settle 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes settle { from { letter-spacing: .06em; opacity: .2; } to { letter-spacing: -.045em; opacity: 1; } }
.grid3 [data-reveal]:nth-child(3n+2), .btiles [data-reveal]:nth-child(2), .mgrid [data-reveal]:nth-child(3n+2), .ogrid [data-reveal]:nth-child(3n+2) { transition-delay: .1s; }
.grid3 [data-reveal]:nth-child(3n), .btiles [data-reveal]:nth-child(3), .mgrid [data-reveal]:nth-child(3n), .ogrid [data-reveal]:nth-child(3n) { transition-delay: .2s; }

@media (max-width: 960px) {
  .links, .top > .cta { display: none; }
  .mnav { display: block; margin-left: auto; position: relative; }
  .mnav summary { list-style: none; cursor: pointer; padding: 10px 18px; min-height: 44px; border: 1.5px solid var(--ink); border-radius: 10px; font-weight: 500; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav nav { position: absolute; right: 0; top: 54px; z-index: 20; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; min-width: 220px; }
  .mnav nav a { padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
  .mnav nav a:hover { background: var(--sheet); }
  .hero { grid-template-columns: 1fr 1fr; }
  .hphoto { grid-column: 1 / -1; grid-row: 2; width: min(70%, 340px); margin: -6vw auto 0; }
  .hcopy.left { grid-column: 1; grid-row: 3; }
  .hcopy.right { grid-column: 2; grid-row: 3; }
  .feature, .pair, .split2, .planner, .tl2, .bhead { grid-template-columns: 1fr; gap: 30px; }
  .split2.rev > :first-child, .tl2.rev .pimg2 { order: 0; }
  .grid3, .ogrid, .btiles, .mgrid { grid-template-columns: 1fr 1fr; }
  .mcell:nth-child(n+4), html.js .mcell[data-reveal].in:nth-child(n+4) { transform: none; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .pidx { grid-template-columns: 1fr 1fr; }
  .psum { position: static; }
  .pimg { margin-top: 0; }
}
@media (max-width: 600px) {
  main { padding: 0 16px; }
  .top { padding: 12px 16px; }
  section { margin-bottom: 64px; }
  .hero { grid-template-columns: 1fr; padding-bottom: 56px; }
  .giant { font-size: 15.5vw; }
  .hphoto { width: 74%; margin-top: -4vw; }
  .hcopy.left, .hcopy.right { grid-column: 1; }
  .hcopy.right { grid-row: 4; padding-top: 18px; }
  .fblock { padding-right: 0; }
  .lcard { position: relative; right: auto; top: auto; transform: none; width: auto; margin: -60px 14px 0; }
  .grid3, .ogrid, .btiles, .mgrid, .fgrid, .pidx { grid-template-columns: 1fr; }
  .band { padding-top: 40px; padding-bottom: 40px; }
  .btile { min-height: 220px; }
  .btile img { aspect-ratio: 4 / 3; }
  .crow { grid-template-columns: 72px 1fr; }
  .crow .ar { display: none; }
  .stats { gap: 24px; }
  .btext { padding: 26px 22px; }
  .example { padding: 26px 20px; }
  .plist { padding-left: 46px; }
  .node.num { left: -46px; }
  .plist::before { left: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js [data-reveal].in.mcell:nth-child(n+4) { transform: translateX(8%); }
  .gcard:hover img, .btile:hover img, .chip:hover img, .crow:hover, .pill:hover { transform: none; }
}
