/* Landing page (index.html). Colors live in style.css. */
body.home { overflow-x: hidden; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.hl { color: var(--green); }
.kicker { color: var(--deep); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -1px; font-weight: 700; }
.sub { font-size: 18px; color: var(--muted); max-width: 560px; }
.sub.center { margin-left: auto; margin-right: auto; }

/* Nav */
.topnav { max-width: 1080px; border: 0; padding: 16px 20px; gap: 22px; }
.topnav .brand { font-size: 20px; }
.topnav .nav-cta { background: var(--text); color: #fff; font-weight: 600; padding: 8px 16px; border-radius: 999px; }
.topnav .nav-cta:hover { color: #fff; background: var(--deep); }
@media (max-width: 640px) { .topnav a:not(.brand):not(.nav-cta) { display: none; } }

/* Hero */
.hero2 { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; padding-top: 40px; padding-bottom: 70px; }
.pill { display: inline-block; background: var(--mist); color: var(--deep); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.hero2 h1 { font-size: clamp(44px, 7vw, 78px); line-height: 1.02; letter-spacing: -2.5px; margin: 18px 0 18px; font-weight: 700; }
.lead2 { font-size: 20px; color: #4B514E; max-width: 520px; margin: 0 0 26px; }
.fine2 { color: var(--muted); font-size: 14px; margin-top: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: #fff; border-radius: 14px; padding: 10px 20px 10px 16px; text-decoration: none; transition: transform .15s, background .15s; }
.store:hover { transform: translateY(-2px); background: #000; }
.store svg { width: 30px; height: 30px; fill: #fff; }
.store span { display: flex; flex-direction: column; font-size: 22px; font-weight: 600; line-height: 1.05; }
.store small { font-size: 12px; font-weight: 500; }

/* Phone frames */
.phone { background: #fff; border: 1px solid var(--line); border-radius: 42px; padding: 9px; box-shadow: 0 30px 70px rgba(60, 50, 30, .16), 0 2px 6px rgba(60, 50, 30, .06); }
.hero-phones { position: relative; height: 560px; }
.hero-phones .phone { position: absolute; width: 250px; }
.p-front { left: 34%; top: 0; transform: rotate(4deg); animation: float 5s ease-in-out infinite; }
.p-back { left: 4%; top: 60px; transform: rotate(-7deg); }
@keyframes float { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-12px); } }
@media (max-width: 860px) {
  .hero2 { grid-template-columns: 1fr; text-align: center; padding-top: 20px; }
  .lead2 { margin-left: auto; margin-right: auto; }
  .hero-phones { height: 440px; max-width: 360px; margin: 0 auto; width: 100%; }
  .hero-phones .phone { width: 190px; }
  .p-front { left: 40%; }
  .p-back { left: 2%; top: 40px; }
}

/* App screens drawn in HTML (calm light, like the app). Sizes scale with the phone width. */
.scr { aspect-ratio: 430 / 932; border-radius: 33px; background: var(--bg); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18% 9% 9%; container-type: inline-size; overflow: hidden; }
.step2 .scr { border-radius: 24px; }
/* Real screenshots of the app (shots/, taken from the web demo at 430x932). A little room at the top
   stands in for the status bar; the sides blend into the same paper color. */
.scr.shot { padding: 6% 0 0; display: block; }
.scr.shot img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top; }
.scr .hi { margin: 0 0 8cqw; color: var(--muted); font-size: 6.4cqw; line-height: 1.3; align-self: stretch; text-align: left; display: flex; flex-direction: column; }
.scr .hi b { color: var(--text); font-weight: 700; font-size: 8cqw; letter-spacing: -.2cqw; }
.scr .hi small { font-size: 5.4cqw; color: var(--deep); font-weight: 600; }
.scr i { font-style: normal; margin-top: auto; align-self: stretch; background: var(--text); color: #fff; font-weight: 600; border-radius: 4cqw; padding: 4.5cqw; font-size: 6cqw; }
.ring { --p: 50; width: 74cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--mist) 0); }
.ring > div { width: 82%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring strong { font-size: 12cqw; font-weight: 700; letter-spacing: -.5cqw; line-height: 1; }
.ring small { color: var(--muted); font-size: 5cqw; margin-top: 1.5cqw; }
.tiles { display: flex; gap: 3cqw; align-self: stretch; margin-top: 8cqw; }
.tiles > div { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 4.5cqw; padding: 4cqw; text-align: left; display: flex; flex-direction: column; }
.tiles small { color: var(--muted); font-size: 4.6cqw; }
.tiles b { font-size: 8cqw; font-weight: 700; letter-spacing: -.3cqw; }
.scr .row { margin-top: auto; align-self: stretch; background: var(--mist); color: var(--deep); border-radius: 4cqw; padding: 3.5cqw; font-size: 4.8cqw; font-weight: 600; display: flex; align-items: center; gap: 2.5cqw; justify-content: center; }
.dot { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--green); }
.scr.won .ring > div { background: var(--mist); }
.scr.won i { background: var(--green); }
.scr.shield { padding-top: 42%; }
.scr.shield img { width: 22cqw; }
.scr.shield b { font-size: 8.4cqw; margin-top: 7cqw; font-weight: 700; }
.scr.shield span { color: var(--muted); font-size: 5.4cqw; margin-top: 2cqw; }
.wheel { width: 78cqw; aspect-ratio: 1; border-radius: 50%; margin-top: 6cqw; position: relative; display: grid; place-items: center; border: 2cqw solid #fff; box-shadow: 0 2cqw 6cqw rgba(60,50,30,.12);
  background: conic-gradient(var(--mist) 0 45deg, #fff 0 90deg, var(--mist) 0 135deg, #fff 0 180deg, var(--mist) 0 225deg, #fff 0 270deg, var(--mist) 0 315deg, #fff 0); }
.wheel::before { content: ''; position: absolute; top: -5cqw; left: 50%; transform: translateX(-50%); border: 4cqw solid transparent; border-top: 6cqw solid var(--clay); border-bottom: 0; }
.wheel span { background: var(--green); color: #fff; border-radius: 999px; padding: 3cqw 6cqw; font-size: 8cqw; font-weight: 700; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2.2cqw; align-self: stretch; }
.days i { margin: 0; padding: 0; aspect-ratio: 1; border-radius: 2.4cqw; background: #fff; border: 1px solid var(--line); }
.days i.l1 { background: #CFE6DA; border: 0; }
.days i.l2 { background: #7CC4A2; border: 0; }
.days i.l3 { background: var(--green); border: 0; }
.days i.t { border: .8cqw solid var(--text); }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5cqw; align-self: stretch; }
.bgrid span { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 6cqw; background: #fff; color: #C2C6C3; border: 1px dashed #D8D2C8; }
.bgrid span.on { background: var(--mist); color: var(--deep); border: 1.2cqw solid var(--green); }

/* Days-a-year band */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 70px 0; }
.band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.graph-card { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.graph-num { color: var(--clay); font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -2px; }
.graph-num small { color: var(--text); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.graph { width: 100%; height: auto; margin-top: 12px; }
.graph line { stroke: var(--line); stroke-width: 1; }
.graph .line { fill: none; stroke: var(--clay); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; }
.graph .area { fill: rgba(217, 99, 76, .12); opacity: 0; }
.band.in .graph .line { transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) .2s; stroke-dashoffset: 0; }
.band.in .graph .area { transition: opacity 1s ease 1.2s; opacity: 1; }
.axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 6px; }
@media (max-width: 760px) { .band-inner { grid-template-columns: 1fr; } }

/* Sections */
.section2 { padding: 80px 0; }
.steps2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.step2 .phone.small { border-radius: 30px; padding: 7px; margin-bottom: 18px; box-shadow: 0 16px 40px rgba(60, 50, 30, .12); }
.step2 h3 { font-size: 19px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.step2 h3 em { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); color: var(--deep); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.step2 p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .steps2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps2 { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; } }

.snooze { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.snooze-cards { display: flex; flex-direction: column; gap: 14px; }
.limit { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.limit small { color: var(--muted); font-weight: 700; letter-spacing: 1px; font-size: 12px; }
.limit b { font-size: 18px; font-weight: 700; }
.limit em { color: var(--muted); font-style: normal; font-size: 14px; }
.ignore { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 600; position: relative; }
.ignore::after { content: ''; position: absolute; left: 6px; right: 100%; top: 50%; height: 3px; background: var(--clay); border-radius: 2px; }
.snooze.in .ignore::after { right: 6px; transition: right .6s ease .5s; }
.limit.earn { flex-direction: row; align-items: center; gap: 14px; border-color: var(--green); background: var(--mist); opacity: 0; transform: translateY(20px); }
.snooze.in .limit.earn { opacity: 1; transform: none; transition: all .6s ease 1.1s; }
.limit.earn img { width: 40px; }
.limit.earn div { display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 760px) { .snooze { grid-template-columns: 1fr; } }

.tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.track-phones { display: flex; gap: 18px; justify-content: center; }
.track-phones .phone { width: 46%; max-width: 230px; }
.track-phones .phone:last-child { margin-top: 50px; }
.cal .tiles { margin-top: auto; }
@media (max-width: 760px) { .track { grid-template-columns: 1fr; } .track > div:last-child { order: -1; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.feature svg { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--mist); stroke: var(--deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 14px 0 6px; font-size: 18px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

.plans2 { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 18px; margin-top: 32px; }
.plan2 { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 24px; text-align: center; }
.plan2.best { border-color: var(--green); background: var(--mist); }
.tag2 { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .5px; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; }
.pname { font-weight: 700; font-size: 18px; }
.price2 { font-size: 34px; font-weight: 700; margin: 6px 0; letter-spacing: -1px; }
.price2 small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan2 p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 560px) { .plans2 { grid-template-columns: 1fr; } }

.faq2 details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
.faq2 summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: '+'; color: var(--green); font-size: 22px; line-height: 1; }
.faq2 details[open] summary::after { content: '–'; }
.faq2 details p { color: var(--muted); margin: 10px 0 0; }

.final { padding: 90px 0; background: radial-gradient(ellipse at 50% 0%, rgba(46, 159, 115, .14), transparent 60%); }
.final h2 { margin-top: 16px; }

.foot { border-top: 1px solid var(--line); padding: 26px 0 90px; }
.foot-inner { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot-inner span { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; margin-right: auto; }
.foot-inner span small { color: var(--muted); font-weight: 400; }
.foot-inner a { color: var(--muted); text-decoration: none; }

.sticky { display: none; }
@media (max-width: 640px) {
  .sticky { display: block; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 10; background: var(--text); color: #fff; text-align: center; font-weight: 600; padding: 15px; border-radius: 16px; text-decoration: none; box-shadow: 0 10px 30px rgba(60, 50, 30, .25); }
}

/* Scroll-in */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .p-front { animation: none; } }
