/* Landing and sign-in pages. */
body { font-size: 16px; overflow-x: hidden; }
.nav { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; padding: 0 max(24px, calc((100vw - 1160px) / 2)); background: rgba(12,13,14,.8); border-bottom: 1px solid transparent; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav nav { display: flex; gap: 30px; }
.nav nav a, .nav .link, .foot a:not(.brand) { color: var(--muted); font-size: 14px; text-decoration: none; transition: color .12s; }
.nav nav a:hover, .nav .link:hover, .foot a:not(.brand):hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.btn.big { height: 46px; padding: 0 22px; border-radius: 11px; font-size: 15px; }
section { padding-left: 24px; padding-right: 24px; }
h1, h2, h3 { margin: 0; letter-spacing: -.028em; font-weight: 640; }
.hero { max-width: 960px; margin: 0 auto; padding-top: 96px; text-align: center; }
.hero h1 { font-size: clamp(44px, 7.4vw, 84px); line-height: 1.03; letter-spacing: -.042em; }
.hero h1 span, .privacy h2 span { color: var(--faint); }
.lead { max-width: 580px; margin: 26px auto 0; color: var(--muted); font-size: 19px; line-height: 1.5; letter-spacing: -.01em; }
.cta { display: flex; justify-content: center; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.small { margin: 16px 0 0; color: var(--faint); font-size: 13.5px; }
.stage { position: relative; max-width: 1040px; margin: 72px auto 0; }
.stage::before { content: ""; position: absolute; inset: -60px -40px auto; height: 300px; background: radial-gradient(50% 60% at 50% 40%, rgba(61,220,151,.13), transparent 72%); pointer-events: none; }
.window { position: relative; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: 0 40px 100px -30px rgba(0,0,0,.85); overflow: hidden; font-size: 14px; }
.w-bar { display: flex; align-items: center; gap: 16px; height: 62px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.w-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.w-brand img { width: 22px; }
.w-search { display: flex; align-items: center; gap: 9px; flex: 1; max-width: 520px; height: 38px; margin: 0 auto; padding: 0 12px; border: 1px solid rgba(var(--fg),.3); border-radius: 10px; background: var(--surface-2); }
.w-search::after { content: ""; width: 1.5px; height: 17px; margin-left: -6px; background: var(--green); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.w-search svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.w-add { height: 34px; padding: 0 14px; border-radius: 9px; background: var(--ink); color: #0C0D0E; font-weight: 600; font-size: 13px; line-height: 34px; white-space: nowrap; }
.w-body { padding: 18px 20px 22px; }
.w-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.w-chips b, .w-chips i { height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font: 500 12.5px/28px var(--font-sans); }
.w-chips b { background: rgba(var(--fg),.1); border-color: rgba(var(--fg),.26); color: var(--ink); }
.w-count { margin: 14px 0 10px; color: var(--muted); font-size: 13px; }
.w-list { border: 1px solid var(--line); border-radius: 12px; }
.w-row { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.w-row:last-child { border-bottom: 0; }
.w-row > div { flex: 1; min-width: 0; }
.w-row strong { display: block; font-weight: 600; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w-row span { display: block; margin-top: 1px; color: var(--muted); font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w-row span b { color: var(--green); font-weight: 550; }
.w-row small { color: var(--muted); font-size: 12px; text-align: right; line-height: 1.5; white-space: nowrap; }
.t { flex: none; width: 34px; height: 34px; border-radius: 8px; color: #0E0F10; font: 700 11px/34px var(--font-sans); text-align: center; }
.t.vid { background: #C4A0F2; } .t.pr { background: #A7A7FF; }
.how, .features, .faq { max-width: 1048px; margin: 150px auto 0; }
.how h2, .features h2, .privacy h2, .faq h2, .price h2 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.034em; }
.how ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 54px 0 0; padding: 0; list-style: none; }
.how li { padding: 24px; border-top: 1px solid var(--line-strong); }
.how li span { color: var(--green); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.how h3 { margin-top: 44px; font-size: 22px; }
.how p, .grid p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; }
.grid article { padding: 26px; min-height: 190px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .15s; }
.grid article:hover { border-color: var(--line-strong); }
.grid .wide { grid-column: span 2; }
.grid h3 { font-size: 19px; letter-spacing: -.018em; }
.privacy { max-width: 1048px; margin: 150px auto 0; padding-top: 72px; border-top: 1px solid var(--line); }
.privacy > p { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; letter-spacing: -.008em; }
.privacy dl { margin: 46px 0 0; }
.privacy dl div { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.privacy dt { font-weight: 600; font-size: 15px; }
.privacy dd { margin: 0; color: var(--muted); font-size: 15px; }
.pricing { max-width: 1048px; margin: 150px auto 0; }
.price { padding: 72px 28px; border: 1px solid var(--line-strong); border-radius: 20px; background: radial-gradient(60% 100% at 50% 0, rgba(61,220,151,.09), transparent 70%), var(--surface); text-align: center; }
.price .tag { margin: 0 0 14px; color: var(--green); font-size: 14px; font-weight: 600; }
.price p:not(.tag) { max-width: 460px; margin: 14px auto 28px; color: var(--muted); font-size: 17px; }
.faq { max-width: 760px; margin-bottom: 110px; }
.faq h2 { margin-bottom: 30px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 18px; padding: 18px 2px; font-weight: 550; font-size: 16px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; transition: transform .14s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; max-width: 640px; color: var(--muted); }
.foot { display: flex; align-items: center; justify-content: space-between; padding: 30px max(24px, calc((100vw - 1160px) / 2)); border-top: 1px solid var(--line); }
body.auth { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; min-height: 100vh; padding: 24px; background: radial-gradient(50% 44% at 50% 0, rgba(61,220,151,.08), transparent 72%), var(--bg); }
.auth-card { width: min(400px, 100%); padding: 32px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 25px; letter-spacing: -.024em; }
#intro { margin: 6px 0 24px; color: var(--muted); font-size: 15px; }
.auth-card label { display: block; margin-bottom: 14px; font-size: 13.5px; font-weight: 550; }
.auth-card input { display: block; width: 100%; height: 44px; margin-top: 6px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 15px; outline: none; }
.auth-card input:focus { border-color: rgba(var(--fg),.45); }
.auth-card .btn { width: 100%; height: 44px; margin-top: 6px; font-size: 15px; }
.auth-error { margin: 0 0 12px; color: var(--red); font-size: 14px; }
.auth-switch { margin: 18px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.auth-switch button { padding: 0; border: 0; background: none; color: var(--ink); font-size: inherit; font-weight: 550; cursor: pointer; }
.auth-switch button:hover { text-decoration: underline; }
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav nav { display: none; }
  .hero { padding-top: 64px; }
  .lead { font-size: 17px; }
  .how ol, .grid { grid-template-columns: 1fr; }
  .grid .wide { grid-column: auto; }
  .grid article { min-height: 0; }
  .how li { padding: 22px 0; }
  .how h3 { margin-top: 18px; }
  .how, .features, .faq, .privacy, .pricing { margin-top: 96px; }
  .privacy dl div { grid-template-columns: 1fr; gap: 3px; }
  .w-brand, .w-add, .w-chips i:nth-child(n+3) { display: none; }
  .w-row small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.grid article:last-child { grid-column: 1 / -1; min-height: 0; }
