/* page.css — Love Tile marketing site layout (landing + privacy). Pairs with brand.css + phone.css. */

html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal="2"] { transition-delay: .08s; }
[data-reveal][data-reveal="3"] { transition-delay: .16s; }
[data-reveal][data-reveal="4"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- sticky nav ---------- */
.topnav { position: sticky; top: 0; z-index: 40; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  background: rgba(255,248,243,0); border-bottom: 1px solid transparent; }
.topnav.is-stuck { background: rgba(255,248,243,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(45,20,30,.5); }
.topnav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.topnav__links { display: flex; align-items: center; gap: 26px; }
.topnav__links a:not(.btn) { font-weight: 700; font-size: 14.5px; text-decoration: none; opacity: .72; }
.topnav__links a:not(.btn):hover { opacity: 1; }
.topnav .nav-hide { }
@media (max-width: 620px) { .topnav .nav-hide { display: none; } .topnav__inner { height: 62px; } }

/* ---------- HERO (direction B) ---------- */
.hero { position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(60% 50% at 14% 4%, #FFE9F0 0%, transparent 56%),
    radial-gradient(62% 60% at 92% 86%, #FFF3D6 0%, transparent 56%),
    linear-gradient(168deg, #FFF8F3 0%, #F8EAF0 100%); }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(26px); opacity: .5; pointer-events: none; }
.hero__orb--1 { width: 280px; height: 280px; top: 120px; left: -70px; background: radial-gradient(circle,#FFC947,transparent 66%); }
.hero__orb--2 { width: 320px; height: 320px; bottom: -120px; right: -40px; background: radial-gradient(circle,#C9A0DC,transparent 66%); }
.hero__copy { position: relative; z-index: 6; max-width: 720px; margin: 0 auto; padding: 30px 0 6px; }
.hero h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 14px 0 0;
  font-size: clamp(40px, 7.4vw, 70px); }
.hero .lead { font-size: clamp(16px, 2.3vw, 19px); max-width: 500px; margin: 20px auto 0; }
.hero__cta { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.hero .trust { justify-content: center; margin-top: 24px; }

/* hero stage: phone centered, two floating tiles flanking on desktop */
.hero__stage { position: relative; z-index: 3; margin: 6px auto 0; height: 600px; max-width: 1040px; }
.hero__phone { position: absolute; left: 50%; bottom: -70px; transform: translateX(-50%); transform-origin: bottom center; }
.hero__float { position: absolute; top: 150px; width: 290px; z-index: 5; }
.hero__float .bigtile { width: 290px; }
.hero__float--l { left: 0; transform: rotate(-6deg); }
.hero__float--r { right: 0; transform: rotate(6deg); }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 6; pointer-events: none;
  background: linear-gradient(transparent, var(--cream)); }

@media (max-width: 1000px) {
  .hero__stage { height: 560px; max-width: 360px; }
  .hero__float { display: none; }
}
@media (max-width: 480px) {
  .hero__stage { height: 470px; transform: scale(.84); transform-origin: top center; margin-top: -4px; }
}

/* ---------- section scaffolding ---------- */
.section { padding: clamp(72px, 11vw, 132px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, #fff 0%, #FFFBF7 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 680px; }
.sec-head--center { margin: 0 auto; text-align: center; }
.h2 { font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin: 14px 0 0;
  font-size: clamp(30px, 4.6vw, 46px); text-wrap: balance; }
.sec-sub { font-weight: 500; color: var(--ink-60); line-height: 1.55; margin: 16px 0 0;
  font-size: clamp(16px, 2vw, 18.5px); text-wrap: pretty; }

/* ---------- WHY: note vs notification ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.vcard { border-radius: 26px; padding: 30px 30px 32px; position: relative; overflow: hidden; }
.vcard--bad { background: #F3EEEA; border: 1px solid var(--line); }
.vcard--good { background: linear-gradient(160deg, #FFE9F0, #FFF6EE); border: 1px solid rgba(255,107,157,.28);
  box-shadow: 0 30px 60px -34px rgba(255,107,157,.6); }
.vcard__tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 12.5px;
  letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.vcard--bad .vcard__tag { background: rgba(45,45,45,.07); color: var(--ink-60); }
.vcard--good .vcard__tag { background: rgba(255,107,157,.16); color: var(--pink-ink); }
.vcard h3 { font-weight: 800; letter-spacing: -.02em; font-size: 23px; margin: 18px 0 0; }
.vcard p { color: var(--ink-60); font-weight: 500; line-height: 1.5; margin: 10px 0 0; font-size: 16px; }
.vstack { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }

/* faux notification stack (the "buried" feeling) */
.notif { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.75); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 14px; }
.notif__ico { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; }
.notif__tx { min-width: 0; }
.notif__tx b { display: block; font-size: 13.5px; font-weight: 800; }
.notif__tx span { display: block; font-size: 13px; color: var(--ink-60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif--fade1 { opacity: .62; transform: scale(.985); }
.notif--fade2 { opacity: .32; transform: scale(.97); }

@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }

/* ---------- HOW IT WORKS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; counter-reset: step; }
.step { position: relative; }
.step__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(145deg, var(--pink), #FF9AB9);
  box-shadow: 0 10px 22px -10px rgba(255,107,157,.9); }
.step h3 { font-weight: 800; letter-spacing: -.02em; font-size: 21px; margin: 20px 0 0; }
.step p { color: var(--ink-60); font-weight: 500; line-height: 1.5; margin: 9px 0 0; font-size: 15.5px; }
.code-chip { display: inline-flex; gap: 6px; margin-top: 14px; }
.code-chip span { width: 30px; height: 38px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 800; font-size: 18px; color: var(--pink-ink);
  box-shadow: 0 4px 10px -6px rgba(45,20,30,.3); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- REAL-LIFE MOMENTS ---------- */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.moment { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 60px -44px rgba(45,20,30,.4); }
.moment__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px;
  color: var(--ink-60); letter-spacing: .02em; }
.moment__label .dotc { width: 9px; height: 9px; border-radius: 50%; }
.moment .bigtile { width: 100%; }
.moment .bigtile__note { font-size: 21px; }
@media (max-width: 880px) { .moments { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

/* ---------- SUPPORTING FEATURES ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 52px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 24px;
  display: flex; gap: 18px; align-items: flex-start; }
.feat__ico { width: 50px; height: 50px; border-radius: 15px; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 18px -10px rgba(45,20,30,.4); }
.feat h3 { font-weight: 800; letter-spacing: -.02em; font-size: 19px; margin: 2px 0 0; }
.feat p { color: var(--ink-60); font-weight: 500; line-height: 1.5; margin: 7px 0 0; font-size: 15px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---------- PRIVACY ---------- */
.privacy { background: linear-gradient(165deg, #2D2433 0%, #3A2A38 55%, #2D2433 100%); color: #fff; }
.privacy .h2 { color: #fff; }
.privacy .sec-sub { color: rgba(255,255,255,.74); }
.privacy .lt-eyebrow { color: #FFC7DC; }
.privacy .lt-eyebrow::before { background: var(--pink); }
.privlist { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 44px; }
.privrow { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.privrow__check { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  background: rgba(255,107,157,.22); color: #FFC7DC; font-weight: 900; font-size: 15px; }
.privrow b { font-weight: 800; font-size: 16px; }
.privrow span { display: block; font-weight: 500; font-size: 13.5px; color: rgba(255,255,255,.62); margin-top: 2px; }
@media (max-width: 680px) { .privlist { grid-template-columns: 1fr; } }

/* ---------- FINAL CTA ---------- */
.final { text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(70% 100% at 50% 0%, #FFE3EC 0%, transparent 60%), var(--cream); }
.final .h2 { font-size: clamp(34px, 5.6vw, 56px); }
.final__cta { display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.final .trust { justify-content: center; margin-top: 22px; }

/* ---------- FOOTER (slim, no text wall) ---------- */
.foot { border-top: 1px solid var(--line); }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0; flex-wrap: wrap; }
.foot__links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 14px; }
.foot__links a { text-decoration: none; opacity: .7; }
.foot__links a:hover { opacity: 1; }
.foot__copy { font-size: 13px; color: var(--ink-40); font-weight: 600; }

/* ---------- privacy page (legal) ---------- */
.legal { max-width: 760px; }
.legal h1 { font-weight: 800; letter-spacing: -.03em; font-size: clamp(34px,5vw,50px); margin: 0; }
.legal__meta { color: var(--ink-40); font-weight: 600; font-size: 14px; margin-top: 12px; }
.legal h2 { font-weight: 800; letter-spacing: -.02em; font-size: 22px; margin: 44px 0 0; }
.legal p { color: var(--ink-60); font-weight: 500; line-height: 1.6; margin: 12px 0 0; font-size: 16.5px; }
.legal a { color: var(--pink-ink); font-weight: 700; }
.legal ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-60); font-weight: 500; line-height: 1.7; font-size: 16.5px; }
.legal li { margin-top: 4px; }

/* ---------- enlarged tile (shared) ---------- */
.bigtile { position: relative; border-radius: 26px; padding: 20px 22px; overflow: hidden; }
.bigtile__glow { position: absolute; inset: 0; pointer-events: none; }
.bigtile__head { display: flex; align-items: center; gap: 11px; position: relative; }
.bigtile__ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 4px 10px -3px rgba(0,0,0,.25); }
.bigtile__from { font-weight: 800; font-size: 17px; color: var(--ink); }
.bigtile__sub { font-weight: 600; font-size: 12px; color: var(--ink-40); }
.bigtile__mark { margin-left: auto; font-size: 18px; }
.bigtile__note { position: relative; margin-top: 16px; font-weight: 800; font-size: 24px;
  line-height: 1.25; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.bigtile__react { position: relative; display: inline-flex; align-items: center; gap: 4px; margin-top: 16px;
  background: rgba(255,255,255,.8); border: 1.5px solid; border-radius: 999px; padding: 5px 12px;
  font-size: 16px; font-weight: 700; box-shadow: 0 4px 10px -5px rgba(0,0,0,.2); }
.bigtile__react span { font-size: 12px; opacity: .7; }
