/* Home page. Layout: wide sections, phone on one side and copy on the other, stacking on small screens. */
.wide { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
header.site .wrap, footer.site .wrap { max-width: 1120px; padding-inline: 24px; }
main.home { padding-block: 0 0; overflow-x: clip; }
main.home h1 { font-size: clamp(44px, 8.4vw, 84px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 20px; }
main.home h1 span { color: var(--sage-text); }
main.home h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 14px; }
main.home .lede { font-size: clamp(18px, 2.1vw, 21px); max-width: 34em; margin-bottom: 24px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-text); margin: 0 0 14px; }
.actions { margin: 0 0 12px; }
.btn.store { gap: 10px; padding: 16px 26px; box-shadow: 0 10px 30px -12px rgb(75 111 87 / 0.7); transition: transform 0.15s ease; }
.btn.store:hover { transform: translateY(-2px); }
.btn.store svg { width: 22px; height: 22px; fill: currentColor; margin-top: -3px; }

/* Hero */
.hero { padding-block: clamp(24px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.hero .wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; }
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.rings { position: absolute; inset: 50% auto auto 50%; width: 760px; height: 760px; translate: -50% -50%; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 58px, var(--line) 58px 60px);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%); mask-image: radial-gradient(circle, #000 20%, transparent 68%); }

/* Phone frame, used for the drawn hero screen and for screenshots */
.phone { position: relative; width: min(300px, 74vw); aspect-ratio: 644 / 1400; border-radius: 46px; padding: 9px; background: #1B1F1D;
  box-shadow: 0 0 0 1.5px #3A413E inset, 0 40px 70px -30px rgb(20 30 25 / 0.55), 0 12px 24px -12px rgb(20 30 25 / 0.3); }
.phone img { display: block; }
.phone img, .phone .screen { width: 100%; height: 100%; border-radius: 38px; object-fit: cover; }
.phone.live { rotate: 3deg; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.screen { background: linear-gradient(180deg, #DDE5DF, #F3F0E9 46%); color: #212624; padding: 54px 16px 20px; display: flex; flex-direction: column; align-items: center; position: relative; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 84px; height: 25px; border-radius: 20px; background: #000; }
.chips { display: flex; gap: 8px; align-self: stretch; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #FBFAF6; border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 800; box-shadow: 0 4px 12px -6px rgb(0 0 0 / 0.25); }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; background: #4F9692; }
.chip.lock { color: #4B6F57; background: #E2EAE2; }
.chip svg { width: 12px; height: 12px; fill: currentColor; }
.mode { font-weight: 800; font-size: 21px; margin: 30px 0 0; text-align: center; }
.block { color: #676E6B; font-size: 14px; margin: 0 0 16px; }
.dial { position: relative; width: 84%; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; rotate: -90deg; }
.dial circle { fill: none; stroke-width: 9; }
.dial .track { stroke: #D3DED8; }
.dial .arc { stroke: #4F9692; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.time { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.time strong { font-size: 50px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.time span { color: #676E6B; font-size: 14px; margin-top: 6px; }
.bar { align-self: stretch; height: 4px; border-radius: 4px; background: #DAD8CF; margin: 26px 12px 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #4F9692; border-radius: 4px; transition: width 1s linear; }
.barlabels { align-self: stretch; display: flex; justify-content: space-between; color: #676E6B; font-size: 11.5px; margin-inline: 12px; }
.controls { margin-top: auto; align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.controls span { background: #FBFAF6; border-radius: 999px; padding: 13px 0; text-align: center; font-weight: 800; font-size: 14px; color: #4B6F57; box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.25); }
.float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 15px; line-height: 1.25; box-shadow: 0 18px 36px -18px rgb(20 30 25 / 0.45); }
.float small { font-weight: 500; color: var(--muted); font-size: 13px; }
.float.streak { left: 0; top: 60%; rotate: -5deg; }
.float.streak b { font-size: 30px; color: #D9714E; line-height: 1; }
.float.blocked { right: 0; bottom: 13.5%; rotate: 2deg; }
.float.blocked svg { width: 34px; height: 34px; padding: 9px; border-radius: 11px; background: var(--sage); fill: #fff; flex: none; }

/* Feature rows */
.feature { padding-block: clamp(48px, 7vw, 88px); }
.feature:nth-of-type(even) { background: var(--surface); border-block: 1px solid var(--line); }
.feature .wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature.flip .copy { order: 2; }
.feature .visual { display: grid; place-items: center; position: relative; }
.feature .visual::before { content: ""; position: absolute; width: min(420px, 92%); aspect-ratio: 1; border-radius: 50%; background: var(--sage-soft); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; font-weight: 700; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--sage)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.400l3 3 6-6.600' fill='none' stroke='%23fff' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Extras, plans, closing */
.extras, .plans { padding-block: clamp(56px, 8vw, 96px); }
.extras h2, .plans h2, .closing h2 { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.tile, .plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.tile h3, .plan h3 { margin: 0 0 6px; font-size: 19px; }
.tile p { margin: 0; color: var(--muted); }
.plans { background: var(--surface); border-block: 1px solid var(--line); }
.plans .lede { text-align: center; margin-inline: auto; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; max-width: 800px; margin: 32px auto 0; }
.plan { background: var(--bg); }
.plan.pro { border: 2px solid var(--sage); }
.price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; }
.plan .note { margin: 8px 0 0; }
.closing { padding-block: clamp(64px, 9vw, 112px); text-align: center; }
.closing img { border-radius: 21px; margin-bottom: 20px; box-shadow: 0 18px 36px -18px rgb(20 30 25 / 0.5); }
.closing h2 { margin-bottom: 24px; }

.reveal { opacity: 0; translate: 0 24px; transition: opacity 0.6s ease, translate 0.6s ease; }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: none; transition: none; } .phone.live { animation: none; } .dial .arc, .bar i { transition: none; } }
@media (scripting: none) { .reveal { opacity: 1; translate: none; } }

@media (max-width: 860px) {
  .hero .wide, .feature .wide { grid-template-columns: minmax(0, 1fr); }
  .hero .copy { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .feature.flip .copy { order: 0; }
  .stage { min-height: 0; padding-block: 24px 8px; }
  .float.streak { left: 2%; }
}
@media (max-width: 420px) { .float { font-size: 13px; padding: 9px 12px; } .float.streak b { font-size: 24px; } }
