/* DayJay website. Tokens follow CLAUDE.md (light theme) plus the ad's accent colours. */

@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("assets/fonts/Figtree-Regular.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("assets/fonts/Figtree-Medium.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("assets/fonts/Figtree-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("assets/fonts/Figtree-Bold.ttf") format("truetype"); }

:root {
  /* app tokens */
  --canvas: #F6F5F2;
  --surface: #FFFFFF;
  --subtle: #EFEDE8;
  --border: #E6E3DC;
  --ink: #1B1A18;
  --ink-2: #6A675F;
  --accent: #2D6A5F;
  --accent-soft: #E3EEEB;
  /* ad accents (used sparingly) */
  --black: #141413;
  --mint: #B9F3E4;
  --lime: #D9FF5B;
  --orange: #FF7A45;
  --pink: #FF5FA2;
  /* soft section tints */
  --tint-mint: #DDF3EC;
  --tint-lilac: #ECE7FB;
  --tint-sand: #F7ECDA;
  --tint-sky: #E0EBF6;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.55 "Figtree", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- highlight helpers ---------- */
.hl {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  padding: 0 .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl--cream { background: linear-gradient(transparent 58%, #fff 58%, #fff 92%, transparent 92%); }
.lime { color: var(--lime); }
.mint { color: var(--mint); }
.scribble { position: relative; white-space: nowrap; }
.scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.22em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C 60 4, 110 24, 160 12 S 250 4, 296 14' fill='none' stroke='%23FF5FA2' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

.overline {
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.tag {
  font-size: 11px; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px;
  background: var(--ink); color: var(--lime);
}

.pill {
  display: inline-block; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); margin-bottom: 22px;
}

.sticker {
  display: inline-block; font-weight: 700; font-size: 16px; padding: 10px 16px; border-radius: 14px;
  box-shadow: 0 10px 24px -10px rgba(27, 26, 24, .35); white-space: nowrap;
  transform: rotate(var(--r, -4deg));
}
.sticker--lime { background: var(--lime); color: var(--black); }
.sticker--orange { background: var(--orange); color: var(--black); }
.sticker--white { background: #fff; color: var(--black); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px;
  padding: 8px 26px; border-radius: 999px; font-weight: 700; font-size: 18px; line-height: 1.15;
  text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn small { font-size: 11px; font-weight: 500; letter-spacing: .02em; opacity: .8; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--sm { min-height: 44px; font-size: 15px; padding: 6px 18px; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 16px 30px -16px rgba(27,26,24,.6); }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--light { background: var(--canvas); color: var(--ink); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores--center { justify-content: center; }
.btn--soon { cursor: default; }
.btn--soon:hover { transform: none; }

/* ---------- launching soon ---------- */
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  margin-right: 9px; vertical-align: .08em; box-shadow: 0 0 0 0 rgba(255, 122, 69, .6);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 122, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 242, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand img { border-radius: 9px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }

/* ---------- phone ---------- */
.phone {
  margin: 0; position: relative; z-index: 2;
  width: min(300px, 70vw); aspect-ratio: 1080 / 2348;
  border-radius: 46px; border: 9px solid var(--black); background: var(--black);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(27, 26, 24, .45), 0 0 0 1px rgba(0,0,0,.08);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: var(--canvas); }
.phone--tilt-r { transform: rotate(3deg); }
.phone--tilt-l { transform: rotate(-3deg); }

.float { position: absolute; z-index: 3; border-radius: 18px; box-shadow: 0 22px 40px -20px rgba(27,26,24,.35); }
img.float { height: auto; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); margin-bottom: 24px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34em; margin-bottom: 30px; }
.fineprint { margin-top: 18px; font-size: 14px; color: var(--ink-2); font-weight: 500; }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.blob {
  position: absolute; inset: 6% 4%; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  background: var(--tint-mint); z-index: 0;
}
.hero .float--a { width: 260px; top: 70px; left: -10px; transform: rotate(-6deg); }
.hero .float--b { width: 150px; top: 250px; right: -6px; transform: rotate(7deg); }
.hero .float--c { width: 280px; bottom: 70px; left: 0; transform: rotate(4deg); }
.hero .float--d { position: absolute; z-index: 4; bottom: 34px; right: 30px; --r: -6deg; }

/* ---------- ticker ---------- */
.ticker { background: var(--accent); color: var(--lime); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -20px; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: tick 30s linear infinite; }
.ticker span { font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.01em; white-space: nowrap; }
.ticker i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- dark problem section ---------- */
.dark { background: var(--black); color: var(--canvas); padding: clamp(80px, 11vw, 150px) 0; margin-top: -14px; }
.dark__inner { position: relative; text-align: center; }
.dark h2 { font-size: clamp(42px, 6.6vw, 92px); margin-bottom: 26px; position: relative; z-index: 2; }
.dark p { font-size: clamp(18px, 1.7vw, 22px); color: #BDB9B0; max-width: 32em; margin: 0 auto; position: relative; z-index: 2; }
.noise { list-style: none; margin: 0 0 48px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.noise li {
  font-size: 15px; font-weight: 600; padding: 10px 16px; border-radius: 999px;
  background: #2A2926; color: #9A968D; transform: rotate(var(--r));
  text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 2px;
}

/* ---------- film (hero) + Today ---------- */
.blob--pink { background: #FFE1EE; }
.film__player {
  position: relative; z-index: 2; width: min(340px, 72vw); aspect-ratio: 9 / 16;
  border-radius: 40px; border: 8px solid var(--black); overflow: hidden; background: var(--black); transform: rotate(3deg);
  box-shadow: 0 40px 80px -30px rgba(27, 26, 24, .5), 0 0 0 1px rgba(0,0,0,.08);
}
.film__player video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.film__sound {
  position: absolute; z-index: 4; bottom: 40px; right: 24px; --r: -6deg;
  border: 0; font-family: inherit; cursor: pointer; transition: transform .2s var(--ease);
}
.film__sound:hover { transform: rotate(var(--r)) scale(1.05); }
.film__sound:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.hero--second { padding: clamp(80px, 10vw, 140px) 0 clamp(20px, 3vw, 40px); }
.hero--second h2 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 20px; }
.hero--second .lead { margin-bottom: 26px; }
.hero--second .hero__copy { order: 2; }

/* ---------- features ---------- */
.features { padding: clamp(70px, 9vw, 130px) 0 20px; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  border-radius: var(--r-xl); padding: clamp(36px, 5vw, 72px); margin-bottom: 28px; overflow: hidden;
}
.feature--mint { background: var(--tint-mint); }
.feature--lilac { background: var(--tint-lilac); }
.feature--sand { background: var(--tint-sand); }
.feature--sky { background: var(--tint-sky); }
.feature--flip .feature__copy { order: 2; }
.feature h2 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 20px; }
.feature__copy > p:not(.overline) { font-size: 18px; color: #4A4740; margin-bottom: 24px; max-width: 30em; }
.plus {
  display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .85em; vertical-align: .05em;
}
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.feature__media { position: relative; display: grid; place-items: center; padding: 20px 0; }
.feature .float--side1 { width: 230px; top: 12%; left: -4%; transform: rotate(-6deg); }
.feature--flip .float--side1 { left: auto; right: -2%; transform: rotate(6deg); width: 170px; }
.feature--sky .float--side1 { width: 250px; top: 18%; }
.feature .float--side2 { position: absolute; z-index: 4; bottom: 12%; right: 2%; --r: 5deg; }
.feature--flip .float--side2 { right: auto; left: 0; --r: -5deg; }

/* ---------- how ---------- */
.how { padding: clamp(70px, 9vw, 130px) 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head .overline { justify-content: center; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 62px); margin-bottom: 18px; }
.section-head > p:not(.overline) { font-size: 19px; color: var(--ink-2); }

.loop { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.loop li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; position: relative; }
.loop li:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--lime); font-weight: 700; font-size: 14px; z-index: 2;
}
.loop b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 15px; margin-bottom: 18px; }
.loop h3 { font-size: 22px; margin-bottom: 6px; }
.loop p { color: var(--ink-2); font-size: 16px; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; min-height: 240px;
}
.tile h3 { font-size: 22px; margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile--wide { grid-column: span 2; flex-direction: row; align-items: center; }
.tile--wide .tile__text { flex: 1; }
.tile__card { width: 52%; border-radius: var(--r-md); border: 1px solid var(--border); }
.tile__shot { border-radius: var(--r-sm); border: 1px solid var(--border); margin-top: auto; }
.tile--green { background: var(--accent); border-color: var(--accent); color: #fff; justify-content: flex-end; }
.tile--green p { color: #D3E6E1; }
.snack {
  display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 14px;
  padding: 14px 18px; font-size: 15px; font-weight: 500; box-shadow: 0 18px 30px -16px rgba(0,0,0,.5);
  transform: rotate(-2deg); margin: 0 0 auto;
}
.snack b { margin-left: auto; color: var(--lime); font-weight: 700; }
.tile--ink { background: var(--black); border-color: var(--black); color: var(--canvas); position: relative; padding-bottom: 0; }
.tile--ink p { color: #A8A49C; }
.tile__phone { width: 62%; margin: auto auto -40% ; border-radius: 26px 26px 0 0; border: 6px solid #3a3936; border-bottom: 0; }

/* ---------- pricing ---------- */
.pricing { padding: 0 0 clamp(70px, 9vw, 130px); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; position: relative; }
.plan h3 { font-size: 24px; margin-bottom: 8px; }
.plan__price { font-size: 36px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 24px; }
.plan__price span { font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.plan--pro { background: var(--accent); color: #fff; border-color: var(--accent); }
.plan--pro .plan__price span { color: #D3E6E1; }
.plan--pro .ticks li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23141413' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__note { margin-top: 22px; font-size: 14px; color: #D3E6E1; }
.plan__badge { position: absolute; top: -16px; right: 26px; --r: 5deg; font-size: 14px; }

/* ---------- end card ---------- */
.end { background: var(--accent); color: #fff; padding: clamp(80px, 10vw, 140px) 0; text-align: center; overflow: hidden; }
.end__icon { margin: 0 auto 26px; border-radius: 30px; filter: drop-shadow(0 26px 40px rgba(0,0,0,.3)); }
.end h2 { font-size: clamp(64px, 10vw, 140px); letter-spacing: -.04em; }
.end__tag { font-size: clamp(26px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.01em; margin: 6px 0 12px; }
.end__sub { font-size: 18px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #CFE3DE; margin-bottom: 38px; }
.end__sub i { font-style: normal; color: var(--lime); margin: 0 .5em; }

/* ---------- footer ---------- */
.foot { padding: 30px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track, .live-dot { animation: none; }
  .film__sound { transition: none; }
  .btn { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__copy .stores { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero--second .overline { justify-content: center; }
  .hero--second .hero__copy { order: 0; }
  .hero--second .ticks { justify-content: center; text-align: left; }
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .loop { grid-template-columns: 1fr 1fr; }
  .loop li:nth-child(2)::after { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__stage { min-height: 560px; }
  .phone { width: min(250px, 64vw); border-radius: 38px; border-width: 7px; }
  .phone video { border-radius: 31px; }
  .hero .float--a { width: 200px; top: 40px; left: -8px; }
  .hero .float--b { width: 112px; top: 210px; right: -8px; }
  .hero .float--c { width: 220px; bottom: 50px; left: -6px; }
  .hero .float--d { right: 0; bottom: 14px; }
  .film__sound { right: 0; bottom: 20px; }
  .feature { padding: 30px 20px; border-radius: var(--r-lg); }
  .feature .float--side1 { width: 160px; left: -10px; }
  .feature--flip .float--side1 { width: 120px; right: -10px; left: auto; }
  .feature--sky .float--side1 { width: 180px; }
  .loop { grid-template-columns: 1fr; gap: 10px; }
  .loop li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px 20px; }
  .loop b { grid-row: span 2; margin: 0; }
  .loop li::after { display: none !important; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .tile__card { width: 100%; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px 24px; }
  .stores .btn { flex: 1 1 200px; align-items: center; }
}
