/* soberwithsam.com, "Porch light": warm near-black, lamplight amber, painted people. One look on purpose
   (the product lives in the evening), so every color is set explicitly. */
:root { --bg: #15110F; --surface: #1F1A17; --surface2: #2A231F; --ink: #F4EADD; --ink2: #C9BBAA; --ink3: #93867A; --lamp: #F0B35A; --lamp2: #FFD49A; --lampink: #2B1A08; --line: rgba(255,232,205,.11); color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.05rem/1.6 "Manrope", "Segoe UI", system-ui, sans-serif; }
h1, h2, h3 { font-family: "Newsreader", Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--lamp2); }
a { color: var(--lamp2); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .8rem max(16px, env(safe-area-inset-right, 0px)) .8rem max(16px, env(safe-area-inset-left, 0px)); background: rgba(21,17,15,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .55rem; font: 500 1.25rem "Newsreader", Georgia, serif; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav nav a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; align-items: center; padding: 5rem max(16px, env(safe-area-inset-right, 0px)) 4.5rem max(16px, env(safe-area-inset-left, 0px)); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; animation: drift 40s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(21,17,15,.94) 0%, rgba(21,17,15,.75) 45%, rgba(21,17,15,.25) 100%), linear-gradient(180deg, rgba(21,17,15,0) 70%, var(--bg)); }
.hero-copy, .phone { position: relative; z-index: 2; min-width: 0; }
.hero-copy { display: flex; flex-direction: column; gap: 1.1rem; max-width: 36rem; }
.eyebrow { color: var(--lamp2); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; margin: 0; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.lead { color: var(--ink2); font-size: 1.15rem; margin: 0; }
.small, .note { color: var(--ink3); font-size: .9rem; margin: 0; }
.soon { display: inline-block; margin: 0; padding: .85rem 1.25rem; border-radius: 14px; background: var(--lamp); color: var(--lampink); font-weight: 700; align-self: flex-start; }
.play img { display: block; height: 64px; width: auto; }
.phone { justify-self: center; width: min(19rem, 100%); aspect-ratio: 9/18.5; border-radius: 2.4rem; padding: .7rem; background: #0B0807; border: 1px solid rgba(255,232,205,.16); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 90px -30px rgba(240,179,90,.5); }
.screen { height: 100%; border-radius: 1.9rem; background: var(--bg); padding: 1rem .8rem; display: flex; flex-direction: column; gap: .55rem; overflow: hidden; }
.ptop { display: flex; align-items: center; gap: .55rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.ptop img { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; }
.ptop b { font: 500 1.1rem "Newsreader", Georgia, serif; }
.ptop span { margin-left: auto; color: var(--ink3); font-size: .8rem; }
.t { max-width: 88%; padding: .55rem .75rem; border-radius: 18px; background: var(--surface2); font-size: .88rem; line-height: 1.4; opacity: 0; transform: translateY(10px); animation: msg 12s infinite; }
.t1 { box-shadow: inset 3px 0 0 var(--lamp); }
.t.me { align-self: flex-end; background: var(--lamp); color: var(--lampink); }
.t.win { align-self: center; background: rgba(240,179,90,.12); border: 1px solid rgba(240,179,90,.5); color: var(--lamp2); font-weight: 700; }
.t1 { animation-delay: 0s; } .t2 { animation-delay: 1.4s; } .t3 { animation-delay: 2.8s; } .t4 { animation-delay: 4.2s; } .t5 { animation-delay: 5.6s; }
@keyframes msg { 0% { opacity: 0; transform: translateY(10px); } 5%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes drift { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.1) translateX(1%); } }
@keyframes breathe { 0%, 100% { transform: scale(1.02); } 50% { transform: scale(1.06) translateY(-.6%); } }
.band { max-width: 72rem; margin: 0 auto; padding: 4rem max(16px, env(safe-area-inset-right, 0px)) 4rem max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 1.4rem; }
.band h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.wide { color: var(--ink2); max-width: 44rem; margin: 0; font-size: 1.12rem; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.2rem; }
.grid4 article, .prices article { background: var(--surface); border-radius: 18px; padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.grid4 p, .grid3 p, .prices p { margin: 0; color: var(--ink2); }
.grid4 h3, .prices h3 { font-size: 1.45rem; }
.ic svg { width: 2rem; height: 2rem; fill: none; stroke: var(--lamp2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pals article { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.pal { position: relative; width: 100%; aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; margin-bottom: .5rem; background: var(--surface); }
.pal img { position: absolute; display: block; }
.pal .fbase { left: 0; top: 0; width: 100%; height: 100%; }
.pal.live { animation: breathe 9s ease-in-out infinite; }
.pals article:nth-child(2) .pal { animation-delay: -3s; } .pals article:nth-child(3) .pal { animation-delay: -6s; }
.pal .fp { opacity: 0; transition: opacity 60ms linear; pointer-events: none; }
.pal .fp-smile { transition: opacity .5s ease; }
.pal .fp.on { opacity: 1; }
.pals article { overflow: hidden; }
.pals h3 { font-size: 1.7rem; }
.tag { color: var(--lamp2) !important; font-weight: 700; font-size: .92rem; }
.checks { margin: 0; padding-left: 1.2rem; color: var(--ink2); display: flex; flex-direction: column; gap: .55rem; max-width: 46rem; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.prices .best { box-shadow: inset 0 0 0 1.5px var(--lamp); }
.big { font: 400 2.5rem "Newsreader", Georgia, serif; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.big span { font-size: 1rem; color: var(--ink3); font-family: "Manrope", sans-serif; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font: 500 1.25rem "Newsreader", Georgia, serif; }
.faq details p { color: var(--ink2); margin: .6rem 0 0; }
.cta { align-items: flex-start; }
.btn.share { background: var(--surface2); border: 0; color: var(--ink); border-radius: 14px; padding: .85rem 1.3rem; font: inherit; font-weight: 700; cursor: pointer; }
.legal { max-width: 44rem; margin: 0 auto; padding: 2.5rem max(16px, env(safe-area-inset-right, 0px)) 3rem max(16px, env(safe-area-inset-left, 0px)); }
.legal h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.legal h2 { font-size: 1.45rem; margin: 1.6rem 0 .4rem; }
.legal p { color: var(--ink2); }
.foot { border-top: 1px solid var(--line); padding: 2rem max(16px, env(safe-area-inset-right, 0px)) 2.5rem max(16px, env(safe-area-inset-left, 0px)); color: var(--ink3); font-size: .9rem; text-align: center; }
.foot p { margin: .3rem 0; }
.totop { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; z-index: 9; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding-top: 3rem; } .hero::before { background: linear-gradient(180deg, rgba(21,17,15,.6), rgba(21,17,15,.88) 60%, var(--bg)); } .phone { width: min(17rem, 100%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } .t { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
