/* ziahlabs.com : one stylesheet for every page */
@font-face { font-family: Nunito; font-weight: 400 650; font-display: swap; src: url(assets/Nunito-SemiBold.ttf) format("truetype"); }
@font-face { font-family: Nunito; font-weight: 700 800; font-display: swap; src: url(assets/Nunito-ExtraBold.ttf) format("truetype"); }
@font-face { font-family: Nunito; font-weight: 900; font-display: swap; src: url(assets/Nunito-Black.ttf) format("truetype"); }

:root {
  --ink: #3a1534; --muted: #6a3753; --edge: rgba(255,255,255,.6);
  --lo: rgba(150,52,78,.24); --hi: rgba(255,255,255,.55);
  --leaf: #0d7d5b; --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #ffb68c; overflow-x: hidden;
  font: 600 1.0625rem/1.6 Nunito, ui-rounded, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.3rem); font-weight: 900; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 900; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
p { text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 9; background: #fff; padding: .6rem 1rem; border-radius: 1rem; }

/* The sunset, drifting slowly behind everything */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; contain: strict;
  background: linear-gradient(180deg, #ffeaa6 0%, #ffcb8e 34%, #ff9f90 66%, #d98ad2 100%); }
.sky i { position: absolute; width: 64vmax; height: 64vmax; border-radius: 50%; will-change: transform; animation: drift 34s ease-in-out infinite alternate; }
.sky i:nth-child(1) { left: 45%; top: -18%; background: radial-gradient(circle, rgba(255,246,196,.95), rgba(255,214,110,.5) 30%, transparent 62%); }
.sky i:nth-child(2) { left: -22%; top: 34%; background: radial-gradient(circle, rgba(255,106,126,.55), transparent 62%); animation-duration: 40s; animation-direction: alternate-reverse; }
.sky i:nth-child(3) { right: -24%; top: 48%; background: radial-gradient(circle, rgba(163,98,230,.5), transparent 62%); animation-duration: 46s; }
@keyframes drift { from { transform: translate3d(-5%,-3%,0) scale(1); } to { transform: translate3d(10%,8%,0) scale(1.14); } }

.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.glass { background: linear-gradient(135deg, rgba(255,255,255,.52), rgba(255,255,255,.24)); border: 1px solid var(--edge);
  box-shadow: 10px 14px 34px var(--lo), -8px -8px 22px rgba(255,255,255,.3), inset 1.5px 1.5px 1px rgba(255,255,255,.7); }

header.wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; padding-top: 1.3rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1.2rem .45rem .5rem; border-radius: 999px;
  text-decoration: none; font-weight: 800; letter-spacing: .1em; font-size: .82rem; }
.brand img { width: 2rem; height: 2rem; border-radius: 50%; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .7rem 1.6rem; border-radius: 999px;
  text-decoration: none; font-weight: 800; text-align: center; border: 1px solid rgba(255,255,255,.85);
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.55));
  box-shadow: 8px 10px 22px var(--lo), inset 0 2px 1px #fff; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn.go { color: #fff; border-color: rgba(255,255,255,.35); background: linear-gradient(180deg, #23a87f, #0d7d5b);
  box-shadow: 0 12px 26px rgba(13,125,91,.35), inset 0 2px 1px rgba(255,255,255,.35); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.tag { display: inline-block; padding: .35rem 1rem; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.5); }

section { padding-block: clamp(3rem, 8vw, 6rem); }
.lead { font-size: 1.18rem; color: var(--muted); margin-top: 1rem; max-width: 34rem; }

/* Phones */
.phone { width: min(100%, 19.5rem); margin: 0; justify-self: center; }
.phone div { padding: .55rem; border-radius: 2.9rem; background: linear-gradient(145deg, #4a2144, #2a0f27);
  box-shadow: 24px 34px 60px rgba(100,30,70,.34), inset 0 0 0 1.5px rgba(255,255,255,.22); }
.phone img { width: 100%; height: auto; border-radius: 2.4rem; }
.phone figcaption { text-align: center; font-size: .75rem; color: var(--muted); margin-top: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.split.flip > :first-child { order: 2; }
.hero { padding-top: clamp(2rem, 6vw, 4.5rem); }
.hero .visual { position: relative; display: grid; justify-items: center; }
.hero .mascot { position: absolute; width: 24%; left: 0; bottom: -4%; transform: rotate(-9deg);
  filter: drop-shadow(0 18px 22px rgba(100,30,70,.35)); animation: bob 6s ease-in-out infinite alternate; }
@keyframes bob { from { translate: 0 -8px; } to { translate: 0 10px; } }

.points { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: .7rem; }
.points li { position: relative; padding-left: 1.9rem; }
.points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; border-radius: 50%;
  background: linear-gradient(180deg, #ffc23d, #ff7a00); border: 2px solid #0b3b24; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.3rem; margin-top: 2.2rem; }
.card { padding: 1.7rem; border-radius: 2rem; }
.card p { margin-top: .5rem; color: var(--muted); }
.card img { width: 6.5rem; height: 6.5rem; margin-bottom: .8rem; }
.center { text-align: center; }
.center .card img, .center > .lead { margin-inline: auto; }
.panel { padding: clamp(2rem, 6vw, 3.6rem); border-radius: 2.8rem; }
.panel .actions { justify-content: center; }
.panel .lead { margin-inline: auto; }

footer { padding: 2.5rem 0 3rem; background: rgba(58,21,52,.9); color: #ffeaf3; margin-top: 3rem; }
footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
footer a { font-weight: 800; padding-block: .4rem; }
footer p { margin-top: 1rem; font-size: .85rem; opacity: .85; max-width: 46rem; }

/* Long reading pages */
.doc { width: min(100% - 2.5rem, 46rem); margin: 2rem auto; padding: clamp(1.6rem, 5vw, 3rem); border-radius: 2.2rem; background: rgba(255,252,254,.9); }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2rem; }
.doc p, .doc ul, .doc ol { margin-top: .8rem; }
.notice { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 1.2rem; background: #fff0d1; border: 1px solid #f0b647; }

@media (max-width: 52rem) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero .mascot { left: 0; width: 22%; bottom: -3%; }
}
@media (max-width: 30rem) {
  .brand { font-size: .72rem; letter-spacing: .06em; padding-right: .9rem; }
  header .btn { min-height: 2.8rem; padding: .5rem 1rem; font-size: .85rem; }
}
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .reveal { animation: none !important; transition: none !important; }
}
