/* Zakar — the landing page (zakarapp.com/). Its own page: nothing of the app is loaded here. */
:root { --gold: #f1c96a; --gold-2: #ffe9a6; --ink: #07060a; --cream: #f6efdc; --card: "Libre Caslon Text", "Iowan Old Style", Georgia, serif; --body: "Inter", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--cream); font-family: var(--body); line-height: 1.55; background: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-intro { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { font-family: var(--card); font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 5.2vw, 54px); line-height: 1.08; color: #fbe6a8; text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8); }
p { margin: 0; }
.eyebrow { font-family: var(--card); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 13px; color: var(--gold); margin-bottom: 12px; }

/* ---- the opening ---- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 10px; background: radial-gradient(120% 90% at 50% 40%, #1a1206 0%, #07060a 62%); transition: opacity 1.1s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 1.4s; }
.intro-glow { position: absolute; left: 50%; top: 44%; width: min(120vw, 760px); aspect-ratio: 1; transform: translate(-50%, -50%) scale(0.6); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 205, 110, 0.5), rgba(255, 190, 90, 0.12) 55%, transparent); opacity: 0; animation: intro-glow 2.6s ease-out forwards; }
.intro-mark { position: relative; width: min(38vw, 160px); border-radius: 26%; opacity: 0; transform: scale(0.82); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(255, 200, 100, 0.35)); animation: intro-in 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s forwards; }
.intro-name { position: relative; font-family: var(--card); font-weight: 700; font-size: clamp(64px, 16vw, 132px); line-height: 1; letter-spacing: 0.02em; background: linear-gradient(180deg, #fff3c4, #f0c35e 52%, #a9701f); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(18px); animation: intro-rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s forwards; }
.intro-sprig, .sprig { width: 150px; height: 10px; background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold) 75%, transparent) center / 100% 1.5px no-repeat; position: relative; }
.intro-sprig { transform: scaleX(0); animation: intro-line 0.9s ease-out 1.1s forwards; }
.intro-sprig::after, .sprig::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%) rotate(45deg); border: 1.5px solid var(--gold); background: #14100a; }
.intro-line { position: relative; font-family: var(--card); font-style: italic; font-size: clamp(16px, 3.4vw, 22px); letter-spacing: 0.3em; text-transform: uppercase; color: rgba(246, 239, 220, 0.85); opacity: 0; animation: intro-fade 1s ease 1.35s forwards; }
body:not(.is-intro) .intro { opacity: 0; transform: scale(1.12); visibility: hidden; pointer-events: none; }
@keyframes intro-glow { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes intro-in { to { opacity: 1; transform: none; } }
@keyframes intro-rise { to { opacity: 1; transform: none; } }
@keyframes intro-line { to { transform: none; } }
@keyframes intro-fade { to { opacity: 1; } }

.embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; opacity: 0.85; }

/* ---- the bar ---- */
.top { position: fixed; z-index: 20; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top, 0px) + 12px) clamp(16px, 4vw, 40px) 12px; background: linear-gradient(180deg, rgba(7, 6, 10, 0.85), rgba(7, 6, 10, 0)); transform: translateY(-110%); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s; }
body:not(.is-intro) .top { transform: none; }
.top-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--card); font-weight: 700; font-size: 22px; color: var(--gold-2); }
.top-brand img { border-radius: 26%; }
.top-cta, .btn-line { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; font-family: var(--card); font-weight: 700; font-size: 16px; color: var(--gold-2); text-decoration: none; border: 1px solid rgba(241, 201, 106, 0.75); background: rgba(8, 9, 14, 0.6); transition: background 0.25s, transform 0.25s; }
.top-cta:hover, .btn-line:hover { background: rgba(241, 201, 106, 0.16); transform: translateY(-1px); }
.btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 30px; border-radius: 999px; font-family: var(--card); font-weight: 700; font-size: clamp(18px, 2.4vw, 22px); color: #2b1a05; text-decoration: none; background: radial-gradient(120% 140% at 50% 0%, #fff0b4, #f3c860 45%, #d39a35 100%); border: 1px solid rgba(255, 244, 200, 0.95); box-shadow: 0 0 34px rgba(245, 190, 80, 0.55), 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.7); transition: transform 0.25s, box-shadow 0.25s; position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: skewX(-20deg); animation: sheen 4.2s ease-in-out infinite; }
.btn-gold:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 46px rgba(245, 190, 80, 0.8), 0 10px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
@keyframes sheen { 0%, 62% { left: -60%; } 100% { left: 130%; } }

/* ---- the hero ---- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(20px, 4vw, 60px); padding: 110px clamp(20px, 6vw, 90px) 70px; overflow: hidden; }
.hero-art, .free-art { position: absolute; inset: -8% 0; background: url("/landing/img/art_1.webp") center / cover no-repeat; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 10, 0.86) 0%, rgba(7, 6, 10, 0.5) 46%, rgba(7, 6, 10, 0.2) 100%), linear-gradient(0deg, #07060a 0%, rgba(7, 6, 10, 0) 26%); }
.hero-in { position: relative; z-index: 4; display: grid; justify-items: start; gap: 14px; max-width: 620px; }
.hero-in > * { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
body:not(.is-intro) .hero-in > * { opacity: 1; transform: none; }
body:not(.is-intro) .hero-in > :nth-child(1) { transition-delay: 0.55s; }
body:not(.is-intro) .hero-in > :nth-child(2) { transition-delay: 0.7s; }
body:not(.is-intro) .hero-in > :nth-child(3) { transition-delay: 0.85s; }
body:not(.is-intro) .hero-in > :nth-child(4) { transition-delay: 1s; }
body:not(.is-intro) .hero-in > :nth-child(5) { transition-delay: 1.15s; }
.hero-name { font-size: clamp(72px, 12vw, 150px); line-height: 0.95; background: linear-gradient(180deg, #fff3c4, #f0c35e 52%, #a9701f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.8)); }
.hero-title { font-family: var(--card); font-weight: 700; font-size: clamp(26px, 3.9vw, 46px); line-height: 1.1; color: #fbe6a8; text-shadow: 0 3px 16px rgba(0, 0, 0, 0.9); text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 1.7vw, 20px); color: rgba(246, 239, 220, 0.92); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 10px; }
.hero-note { font-family: var(--card); font-style: italic; color: rgba(246, 239, 220, 0.8); }
.hero-phone { position: relative; z-index: 4; justify-self: center; width: min(100%, 320px); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(241, 201, 106, 0.75); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---- a phone ---- */
.phone { position: relative; border-radius: 38px; padding: 9px; background: linear-gradient(145deg, #3a3024, #0f0d0b 40%, #2a2219); box-shadow: 0 0 0 1px rgba(241, 201, 106, 0.4), 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 60px rgba(245, 190, 80, 0.16); transform-style: preserve-3d; transition: transform 0.25s ease-out; will-change: transform; }
.phone::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 17px; width: 30%; height: 20px; transform: translateX(-50%); border-radius: 12px; background: #050505; }
.phone img { width: 100%; border-radius: 30px; }
.phone::after { content: ""; position: absolute; inset: 9px; border-radius: 30px; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 32%); }

/* ---- sections ---- */
section { position: relative; }
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 6vw, 90px); padding: clamp(70px, 10vw, 140px) clamp(20px, 6vw, 90px); max-width: 1280px; margin: 0 auto; }
.band-text { display: grid; gap: 16px; justify-items: start; }
.band-text p:not(.eyebrow) { font-size: clamp(16px, 1.6vw, 19px); color: rgba(246, 239, 220, 0.9); max-width: 34em; }
.band-art { justify-self: center; width: min(100%, 420px); }
.poster { border-radius: 22px; box-shadow: 0 0 0 1px rgba(241, 201, 106, 0.4), 0 30px 70px rgba(0, 0, 0, 0.75); transition: transform 0.25s ease-out; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { padding: 9px 16px; border-radius: 999px; font-family: var(--card); font-size: 16px; color: var(--gold-2); border: 1px solid rgba(241, 201, 106, 0.7); background: rgba(8, 9, 14, 0.7); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); animation: chip 5s ease-in-out infinite; }
.chip:nth-child(2) { animation-delay: -1.2s; } .chip:nth-child(3) { animation-delay: -2.4s; } .chip:nth-child(4) { animation-delay: -3.6s; }
@keyframes chip { 0%, 100% { translate: 0 0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); } 50% { translate: 0 -5px; box-shadow: 0 0 18px rgba(245, 190, 80, 0.4); } }
.band.is-flip .band-art.pair { position: relative; width: min(100%, 440px); display: grid; grid-template-columns: 1fr; }
.pair .phone { width: 62%; }
.pair .phone.is-back { position: absolute; right: 0; top: 12%; z-index: -1; opacity: 0.92; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 8px; }
.stats span { display: grid; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(246, 239, 220, 0.75); }
.stats b { font-family: var(--card); font-size: clamp(34px, 4.4vw, 52px); line-height: 1; color: var(--gold-2); letter-spacing: 0; }

.showcase { padding: clamp(60px, 9vw, 120px) clamp(20px, 6vw, 90px); text-align: center; background: radial-gradient(90% 60% at 50% 0%, rgba(120, 80, 20, 0.22), transparent 70%); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 4vw, 54px); max-width: 1100px; margin: clamp(34px, 5vw, 64px) auto 0; align-items: start; }
.phones figure { margin: 0; display: grid; gap: 18px; justify-items: center; }
.phones figure:nth-child(2) { margin-top: clamp(0px, 4vw, 54px); }
.phones .phone { width: min(100%, 270px); }
figcaption { font-size: 15.5px; color: rgba(246, 239, 220, 0.88); max-width: 22em; }
figcaption b { display: block; font-family: var(--card); font-size: 20px; color: #fbe6a8; margin-bottom: 4px; }

.free { min-height: 92svh; display: grid; place-items: center; padding: 90px 20px; overflow: hidden; text-align: center; }
.free-art { background-image: url("/landing/img/art_5.webp"); }
.free-shade { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, rgba(7, 6, 10, 0.82), rgba(7, 6, 10, 0.5) 70%, rgba(7, 6, 10, 0.75)), linear-gradient(0deg, #07060a 0%, transparent 22%, transparent 78%, #07060a 100%); }
.free-in { position: relative; z-index: 4; display: grid; justify-items: center; gap: 16px; max-width: 640px; }
.free-lead { font-family: var(--card); font-size: clamp(18px, 2.2vw, 24px); }
.free ul { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 12px; text-align: left; }
.free li { position: relative; padding-left: 40px; font-family: var(--card); font-size: clamp(17px, 2vw, 21px); }
.free li::before { content: "✓"; position: absolute; left: 0; top: 50%; width: 26px; height: 26px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-size: 15px; font-weight: 900; }

.support { padding: clamp(70px, 9vw, 120px) 20px; text-align: center; }
.support > div { display: grid; justify-items: center; gap: 16px; max-width: 620px; margin: 0 auto; }
.support p:not(.eyebrow) { font-size: 18px; color: rgba(246, 239, 220, 0.9); }
.foot { display: grid; justify-items: center; gap: 10px; padding: 40px 20px calc(env(safe-area-inset-bottom, 0px) + 40px); border-top: 1px solid rgba(241, 201, 106, 0.25); text-align: center; font-family: var(--card); color: rgba(246, 239, 220, 0.8); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--gold-2); }
.foot-brand img { border-radius: 26%; }
.foot a { color: var(--gold); }

/* ---- what rises as it is reached ---- */
.reveal { opacity: 0; transform: translateY(40px) scale(0.98); transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.phones figure.reveal:nth-child(2) { transition-delay: 0.14s; } .phones figure.reveal:nth-child(3) { transition-delay: 0.28s; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 96px; gap: 34px; }
  .hero-in { justify-items: center; margin: 0 auto; }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 6, 10, 0.7) 0%, rgba(7, 6, 10, 0.45) 40%, rgba(7, 6, 10, 0.88) 100%); }
  .hero-actions { justify-content: center; }
  .hero-phone { width: min(64vw, 260px); margin-bottom: 40px; }
  .band, .band.is-flip { grid-template-columns: 1fr; text-align: center; }
  .band-text { justify-items: center; }
  .band.is-flip .band-art { order: 2; }
  .chips, .stats { justify-content: center; }
  .phones { grid-template-columns: 1fr; max-width: 300px; }
  .phones figure:nth-child(2) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro, .intro *, .hero-in > *, .reveal, .hero-phone, .chip, .btn-gold::after, .scroll-cue span { animation: none !important; transition: none !important; opacity: 1; transform: none; }
  .embers { display: none; }
}
/* The bar keeps its words readable over whatever scrolls beneath it. */
.top { background: linear-gradient(180deg, rgba(7, 6, 10, 0.94) 0%, rgba(7, 6, 10, 0.78) 62%, rgba(7, 6, 10, 0)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); padding-bottom: 22px; }
.top-right { display: inline-flex; align-items: center; gap: 10px; }
.top-sound { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--gold-2); background: rgba(8, 9, 14, 0.6); border: 1px solid rgba(241, 201, 106, 0.75); cursor: pointer; transition: background 0.25s; }
.top-sound:hover { background: rgba(241, 201, 106, 0.16); }
.top-sound .slash { display: none; }
.top-sound[aria-pressed="false"] .wave { display: none; }
.top-sound[aria-pressed="false"] .slash { display: inline; }

.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
