/* Yalli type pages (/wedding ...). From the approved mockup docs/mockups/phase2-type-pages.html. */
:root{ --pom:#B3263A; --pom-dark:#96192C; --pom-tint:#FBEAEC; --gold:#C9973A; --gold-l:#E9B949; --gold-tint:#F7EBD3;
  --cream:#FBF5EC; --ink:#2A1A1C; --muted:#6B5759; --line:#ECE1D1; --surface:#FFFFFF; --soft:#F6EEE2;
  --font: Inter, "Segoe UI", Roboto, -apple-system, system-ui, sans-serif; }
*{box-sizing:border-box}
[hidden]{display:none !important}
html,body{margin:0}
a{color:inherit}
svg.i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Page, per-type tokens (same values as static/invite.css) */
.tp{--bg:#FBF5EC;--accent:#B3263A;--accent-tint:#FBEAEC;--eyebrow:#A87B26;--icon-bg:#F7EBD3;--icon-fg:#8E1C2E;--h-weight:800;
  background:var(--bg);font-size:17px;line-height:1.55}
.tp.t-engagement{--bg:#FDF6F4;--accent:#A6324A;--accent-tint:#F9E4E7;--eyebrow:#A6324A;--icon-bg:#F9E4E7;--icon-fg:#A6324A}
.tp.t-birthday{--bg:#FFF8F1;--eyebrow:#C2582F;--icon-bg:#FDE7DA;--icon-fg:#B3263A}
.tp.t-kids{--bg:#FFFBF4;--eyebrow:#2E8A7F;--icon-bg:#E3F3F0;--icon-fg:#2E8A7F}
.tp.t-housewarming{--bg:#F8F7F0;--eyebrow:#5E7D4A;--icon-bg:#E6EBDB;--icon-fg:#4F6B3D;--line:#E4E4D6}
.tp.t-memorial{--bg:#F5F3F0;--accent:#4A5257;--accent-tint:#E8EAEB;--eyebrow:#6F767A;--icon-bg:#ECEAE6;--icon-fg:#4A5257;--line:#E2DED8;--muted:#686F73;--ink:#2B2F32;--h-weight:600;color:#2B2F32}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.top{background:rgba(251,245,236,.92)}
.t-memorial .top{background:rgba(245,243,240,.95)}
.top .wrap{display:flex;align-items:center;gap:12px;height:64px}
.top .logo{height:30px;display:block}
.t-memorial .top .logo{opacity:.7}
.top .sp{flex:1}
.lang{display:flex}
.lang select{appearance:none;-webkit-appearance:none;height:36px;max-width:170px;padding:0 30px 0 14px;border:1px solid var(--line);border-radius:999px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232A1A1C' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;font-size:14px;font-weight:600;font-family:inherit;color:var(--ink);cursor:pointer}
.lang button{margin-left:4px;height:36px;padding:0 12px;border:0;border-radius:999px;background:var(--ink);color:#fff;font:inherit}
.getapp{display:none;align-items:center;height:42px;padding:0 18px;border-radius:999px;background:var(--accent);color:#fff;font-weight:600;font-size:15px;text-decoration:none}
.back{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--muted);text-decoration:none;padding:8px 0}
.back svg{width:18px;height:18px}

.hero{padding:8px 0 40px;position:relative}
.hero .wrap{display:grid;gap:28px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--eyebrow);margin:16px 0 8px}
.eyebrow svg{width:12px;height:12px;fill:currentColor}
.t-memorial .eyebrow svg{display:none}
.hero h1{font-size:38px;line-height:1.1;letter-spacing:-.02em;font-weight:var(--h-weight);margin:0 0 14px}
.hero .lead{font-size:19px;margin:0 0 22px;color:var(--muted);max-width:34ch}
.stores{display:flex;flex-wrap:wrap;gap:10px}
.store{display:flex;align-items:center;gap:10px;height:56px;padding:0 20px 0 16px;border-radius:14px;background:var(--ink);color:#fff;text-decoration:none;min-width:170px}
.store svg{width:26px;height:26px;fill:currentColor;flex:none}
.store span{display:flex;flex-direction:column;line-height:1.1}
.store small{font-size:11px;opacity:.8}.store b{font-size:18px;font-weight:600}
.store.light{background:#fff;color:var(--ink)}
.note{font-size:13px;color:var(--muted);margin:10px 0 0}
/* Photo: small and tidy. Phones: full width, 220px tall. Desktop: 360px wide, 4:3. One radius, one soft shadow. */
.pic{width:100%;height:220px;border-radius:16px;overflow:hidden;background:var(--soft);
  box-shadow:0 1px 2px rgba(42,26,28,.08),0 10px 24px -14px rgba(42,26,28,.35)}
.pic img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;display:block}
.t-memorial .pic img,.t-memorial .mini img{filter:saturate(.75)}

.sec{padding:40px 0}
.sec h2{font-size:28px;line-height:1.15;letter-spacing:-.02em;margin:0 0 8px;font-weight:var(--h-weight)}
.sec .intro{color:var(--muted);margin:0 0 24px;max-width:52ch}
.bens{display:grid;gap:12px}
.ben{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:22px}
.ben .ic{width:52px;height:52px;border-radius:16px;background:var(--icon-bg);color:var(--icon-fg);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.ben .ic svg{width:26px;height:26px}
.ben h3{font-size:19px;margin:0 0 6px}
.ben p{margin:0;color:var(--muted)}

.sample{display:grid;gap:24px;align-items:center}
.mini{width:260px;height:520px;margin:0 auto;border:8px solid var(--ink);border-radius:36px;background:var(--bg);overflow:hidden;box-shadow:0 24px 50px rgba(42,26,28,.2)}
.t-memorial .mini{box-shadow:0 12px 30px rgba(43,47,50,.12)}
.mini img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
.mini .in{background:var(--bg);margin-top:-16px;position:relative;border-radius:18px 18px 0 0;padding:16px}
.mini .ey{font-size:10px;font-weight:700;letter-spacing:.08em;color:var(--eyebrow);text-transform:uppercase}
.mini h4{margin:2px 0 8px;font-size:19px;line-height:1.2;font-weight:var(--h-weight)}
.mini .fx{font-size:12px;color:var(--muted);display:grid;gap:6px;margin-bottom:12px}
.mini .fx span{display:flex;gap:8px;align-items:center}
.mini .fx i{width:22px;height:22px;border-radius:50%;background:var(--icon-bg);flex:none}
.mini .ch{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.mini .ch span{display:flex;align-items:center;justify-content:center;height:40px;border-radius:12px;font-size:12px;font-weight:600;border:1.5px solid var(--line);background:#fff;text-align:center;padding:0 4px}
.mini .ch span.y{background:var(--accent);border-color:var(--accent);color:#fff}
.mini .mp{margin-top:12px;height:70px;border-radius:12px;background:#F1E9DC;position:relative;overflow:hidden}
.t-memorial .mini .mp{background:#E9E7E3}
.mini .mp:before{content:"";position:absolute;left:0;right:0;top:30px;height:7px;background:#fff}
.mini .mp:after{content:"";position:absolute;top:0;bottom:0;left:70px;width:7px;background:#fff}
.mini .mp b{position:absolute;left:110px;top:16px;width:16px;height:16px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--accent);z-index:1}
.checks{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.checks li{display:flex;gap:12px;align-items:flex-start}
.checks .ck{width:26px;height:26px;border-radius:50%;background:var(--icon-bg);color:var(--icon-fg);display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px}
.checks .ck svg{width:15px;height:15px;stroke-width:3}

.faq{display:grid;gap:10px;max-width:760px}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:0 20px}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;min-height:60px;font-weight:600;font-size:17px}
.faq summary::-webkit-details-marker{display:none}
.faq summary span{flex:1}
.faq summary svg{transition:transform .2s;color:var(--muted)}
.faq details[open] summary svg{transform:rotate(180deg)}
.faq p{margin:0 0 18px;color:var(--muted)}

.cta{background:linear-gradient(180deg,#C22F44,#A21F33);color:#fff;text-align:center;padding:48px 0;position:relative;overflow:hidden}
.cta.slate{background:#4A5257}
.cta h2{font-size:26px;margin:0 0 20px;font-weight:var(--h-weight);color:#fff}
.cta .stores{justify-content:center}
.bgpat{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.foot{padding:28px 0;font-size:14px;color:var(--muted)}
.foot .wrap{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
.foot img{height:24px}
.t-memorial .foot img{opacity:.5}
.foot a{color:var(--muted)}

@media (min-width:720px){
  .getapp{display:inline-flex}
  .hero{padding:16px 0 56px}
  .hero h1{font-size:52px}
  .sec{padding:56px 0}
  .sec h2{font-size:34px}
  .bens{grid-template-columns:repeat(3,1fr);gap:16px}
  .sample{grid-template-columns:1fr 1fr;gap:56px}
  .sample .mini{order:2}
  .foot .wrap{justify-content:space-between}
}
body{font-family:var(--font);background:#FBF5EC;color:#2A1A1C;-webkit-text-size-adjust:100%}
body:has(.t-memorial){background:#F5F3F0}
@media (min-width:900px){
  .hero .wrap{grid-template-columns:minmax(0,1fr) 360px;align-items:center;gap:56px}
  .pic{height:auto;aspect-ratio:4/3}
}
