/* The sales pages. Colours and the pill button come from /style.css so the site and the app look like one thing. */
body { font-size: 16px; line-height: 1.5; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; padding: 16px 20px; max-width: 1040px; margin: 0 auto; }
.nav .brand { font-size: 18px; display: flex; align-items: center; gap: 9px; }
.nav .brand i { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); display: grid; place-items: center; }
.nav .brand i::after { content: ""; border: 6px solid transparent; border-bottom: 9px solid #fff; margin-top: -6px; }
.nav a.l { color: var(--dim); font-size: 15px; font-weight: 600; }
.nav a.l:hover, .nav a.l[aria-current] { color: var(--text); }
.nav .pill { font-size: 15px; }
@media (max-width: 680px) {
  .nav .links { order: 3; width: 100%; }
  .nav a.l.in { margin-left: auto; }
}
.links { display: flex; gap: 22px; margin-right: auto; }

.intro { text-align: center; padding: clamp(36px, 8vw, 84px) 0 0; }
.intro h1 { font-size: clamp(38px, 7.4vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.intro h1 em { font-style: normal; color: var(--accent); }
.intro p.sub { color: #c6d0de; font-size: clamp(17px, 2.2vw, 21px); max-width: 620px; margin: 22px auto 0; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 30px; }
.pill.big { padding: 14px 30px; font-size: 17px; }
.under { color: var(--dim); font-size: 14px; margin-top: 14px; }
.strip { display: flex; justify-content: center; gap: 10px; margin: 44px auto 0; flex-wrap: wrap; max-width: 760px; min-height: 44px; }
.strip img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 6px 18px #0007; }
.frame { margin: 44px auto 0; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 80px #000a; max-width: 940px; }
.frame img, .shot img { display: block; width: 100%; height: auto; }

section.band { padding: clamp(56px, 9vw, 104px) 0 0; }
.band > h2, .band .wrap > h2 { font-size: clamp(27px, 4.4vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; text-align: center; text-wrap: balance; }
.band > p.lede, .band .wrap > p.lede { color: var(--dim); text-align: center; max-width: 560px; margin: 12px auto 0; text-wrap: balance; }
.four { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.step { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.step .txt { padding: 16px 18px 18px; }
.step small { color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.step b { display: block; font-size: 19px; margin-top: 2px; }
.step span { color: var(--dim); font-size: 15px; }
.step .shot { border-bottom: 1px solid var(--line); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.lib { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; }
.lib h3 { margin: 0; font-size: 23px; letter-spacing: -0.015em; }
.lib p { color: var(--dim); margin-top: 4px; }
.lib ul, .tier ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.lib li, .tier li { display: flex; gap: 10px; align-items: flex-start; color: #c6d0de; font-size: 15.5px; }
.lib li::before, .tier li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: #233326 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fb950' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.lib .shot { margin-top: auto; padding-top: 20px; }
.lib .shot img { border-radius: 12px; border: 1px solid var(--line); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; counter-reset: n; }
.how3 { padding: 22px; border-radius: 18px; border: 1px solid var(--line); counter-increment: n; }
.how3::before { content: counter(n); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #1a1205; font-weight: 800; margin-bottom: 12px; }
.how3 b { display: block; font-size: 18px; }
.how3 span { color: var(--dim); font-size: 15px; }
.end { text-align: center; padding: clamp(56px, 9vw, 104px) 0; }
.end h2 { font-size: clamp(27px, 4.4vw, 42px); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.foot { border-top: 1px solid var(--line); margin-top: 20px; padding: 26px 20px 40px; color: var(--dim); font-size: 13.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; }
.foot a:hover { color: var(--text); }
.foot .tm { width: 100%; }

/* pricing */
.price-head { text-align: center; padding: clamp(30px, 6vw, 64px) 0 0; }
.price-head h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.price-head p { color: var(--dim); margin-top: 12px; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.tier.best { border-color: var(--accent); }
.tier .tag { position: absolute; top: -12px; left: 22px; padding: 3px 11px; border-radius: 999px; background: var(--accent); color: #1a1205; font-size: 12.5px; font-weight: 800; }
.tier h2 { font-size: 16px; color: var(--dim); font-weight: 600; }
.tier .amt { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; }
.tier .per { color: var(--dim); font-size: 15px; min-height: 3em; }
.tier ul { margin: 14px 0 24px; }
.tier .pill, .tier .ghost { margin-top: auto; text-align: center; padding: 12px 18px; font-size: 16px; width: 100%; }
.tier .ghost { border-radius: 999px; border: 1px solid var(--line); font-weight: 700; }
.tier .ghost:hover { border-color: var(--dim); }
.msg { text-align: center; color: var(--no); min-height: 1.5em; margin-top: 18px; }
.faq { max-width: 680px; margin: 0 auto; display: grid; gap: 10px; padding-top: 30px; }
.faq details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); padding: 14px 18px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: #c6d0de; margin-top: 8px; }

/* sign in / sign up */
.authwrap { min-height: calc(100dvh - 72px); display: grid; place-items: center; padding: 20px 20px 80px; }
.auth { width: 100%; max-width: 400px; display: grid; gap: 14px; padding: 28px 26px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.auth h1 { font-size: 27px; letter-spacing: -0.02em; }
.auth .hint { color: var(--dim); font-size: 15px; margin-top: -8px; }
.auth label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #c6d0de; }
.auth input { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.auth input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.auth .pill { padding: 13px; font-size: 16px; text-align: center; }
.auth .alt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--dim); }
.auth .alt a, .auth .alt button { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.auth .say { font-size: 14.5px; padding: 10px 12px; border-radius: 10px; background: #2a1719; color: #ffb3b4; }
.auth .say.ok { background: #14261a; color: #9be3ad; }

/* the page left blank for now */
.blank { min-height: 60dvh; padding: clamp(30px, 6vw, 64px) 20px; text-align: center; }
.blank h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }

@media (max-width: 980px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .four, .two, .three, .tiers { grid-template-columns: 1fr; }
  .tier .per { min-height: 0; }
  .strip img:nth-child(n+11) { display: none; }
}
