/* WEB_LOOK=landing on the site pages of an instance (app.rishi.chat): the look of the rishi.chat landing over
   site.css — Forum for display type and the wordmark (it has Cyrillic), Commissioner for text, brass rims
   instead of saffron fills, nearly square corners. Only overrides; the layout stays in site.css. */
:root {
  --serif: 'Forum', Georgia, serif;
  --sans: 'Commissioner', 'Segoe UI', Arial, sans-serif;
  --radius: 4px;
  --brass: #c9ab72;
  --saffron: #d9b878;
  --line: #d8cbb5;
  --card: #fcf7ee;
  --night-line: #ffffff22;
}
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { letter-spacing: -.02em; line-height: 1.08; }
h2 { letter-spacing: -.02em; line-height: 1.15; }
.eyebrow { color: var(--brass); font-weight: 500; letter-spacing: .16em; font-size: .74rem; }
.parchment .eyebrow { color: #9b402d; }

/* header and footer as on the landing */
.site-header { position: sticky; top: 0; z-index: 20; background: #14122bf5; backdrop-filter: blur(16px); border-bottom: 1px solid var(--night-line); }
.header-inner { padding-block: 14px; min-height: 76px; }
.brand { font: 400 2.1rem/1 var(--serif); letter-spacing: .05em; gap: 12px; }
.brand > span { color: inherit; }
.brand-logo { width: 36px; height: 36px; }
.site-header nav a { font-size: .86rem; color: #d4cbdc; }
.site-footer { background: #100e23; }
.site-footer .brand { font-size: 1.8rem; }

/* buttons: night fill + brass rim (main action), ghost for the rest */
.button {
  border: 1px solid var(--brass); border-radius: 2px; background: #211e31; box-shadow: inset 0 0 0 3px #14122b;
  color: #f3e6ce; font-weight: 400; letter-spacing: .035em;
}
.button:hover { background: #2b2740; color: #fff8ea; }
.button-outline { background: transparent; box-shadow: none; border-color: #746883; color: #f6efe2; }
.button-outline:hover { background: #ffffff0a; }
.button-muted { background: transparent; box-shadow: none; border-color: #b9a37a; color: var(--ink); }
.parchment .button-outline { color: var(--ink); border-color: #b9a37a; }

/* hero: the sign turns slowly, as behind the landing's headline */
.hero { background: radial-gradient(ellipse at 75% 40%, #30284470, transparent 60%), var(--night); }
.hero-art { width: min(340px, 70vw); opacity: .9; filter: drop-shadow(0 0 30px #c9ab7222); animation: rishi-breathe 32s ease-in-out infinite alternate; }
@keyframes rishi-breathe { from { transform: rotate(-7deg) scale(.96); } to { transform: rotate(7deg) scale(1.025); } }
.lead { color: #cbc2d2; }
.hero-note { color: #b8aec3; }

/* cards: thin lines, almost square, the landing's paper */
.card { border-color: var(--line); background: var(--card); }
.card-symbol { color: #b66c42; }
.feature-card h3, .tariff-card h3 { font-size: 1.55rem; }
.step-number { color: var(--brass); font-family: var(--serif); }
.steps li { border-top: 1px solid var(--night-line); }
.highlight { border-left-color: var(--brass); color: #e2cda4; }
.tariff-card.popular { border: 1px solid #9a7944; box-shadow: none; }
.popular-label { background: #2a253b; color: #f3e2c0; border: 1px solid #c9ab7270; border-top: 0; border-radius: 0 0 2px 2px; font-weight: 400; letter-spacing: .03em; }
.tariff-card .price { color: #6c483a; font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
@media (min-width: 1100px) { .tariff-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tariff-card { padding-inline: 18px; } }
.payment-notice, .delivery-note, .auth-card, .document .notice { border-radius: 4px; }
.delivery-note { border-color: #c9ab7240; }
.age-mark { border-color: var(--brass); color: var(--brass); border-radius: 2px; }
summary { font-weight: 500; }
details summary::marker { color: var(--brass); }

/* forms */
.auth-card { box-shadow: 0 20px 60px #2a22400d; }
.auth-card h1 { font-size: clamp(2.2rem, 5vw, 2.9rem); }
.auth-card input:not([type="checkbox"]) { border-radius: 3px; border-color: #cdbfa6; background: #fffdf8; }
.auth-card input:not([type="checkbox"]):focus { outline: 0; border-color: var(--brass); box-shadow: 0 0 0 3px #c9ab7233; }
.auth-card .button { width: 100%; min-height: 52px; }
.checkbox input { accent-color: #211e31; }
.document h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.payment-badges span { border-radius: 2px; }

/* "Войти через Telegram": our button in the form's look instead of Telegram's blue iframe */
.tg-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 20px;
  border: 1px solid #b9a37a; border-radius: 2px; background: #fffdf8; color: var(--ink);
  font: 400 15px/1.3 var(--sans); letter-spacing: .03em; cursor: pointer; transition: background .15s, border-color .15s;
}
.tg-button svg { width: 20px; height: 20px; flex: none; fill: #2a88c4; }
.tg-button:hover { background: #f6eedf; border-color: var(--brass); }
.tg-button:disabled { opacity: .6; cursor: progress; }
.telegram-login .form-error { margin-top: 14px; }
.tariff-card .button { font-size: .88rem; padding-inline: 12px; }
@media (max-width: 700px) { .site-header { position: static; } .header-inner { min-height: 0; } }

/* e-mail confirmation page (verify.html) */
.form-ok { padding: 12px 14px; border-left: 3px solid #4f8a4a; border-radius: 3px; background: #4f8a4a14; font-size: 14px; }
.link-button { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; opacity: .75; }

/* sign in through the bot (_bot_login.html) */
.bl-subtitle { margin: -4px 0 18px; opacity: .8; }
.bl-row { display: flex; gap: 10px; }
.bl-telegram { flex: 1; }
.bl-email { width: 52px; min-height: 52px; flex: none; border: 1px solid #b9a37a; border-radius: 2px; background: #fffdf8; color: #8a7b62; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.bl-email:hover { background: #f6eedf; }
.bl-email svg { width: 22px; height: 22px; }
.bl-auto { margin: 12px 0 0; font-size: 13px; opacity: .7; text-align: center; }
.bl-wait { margin-top: 16px; padding: 12px 14px; border-left: 3px solid #b9a37a; border-radius: 2px; background: #c9ab7214; font-size: 14px; }
.bl-wait p { margin: 0 0 6px; }
.email-alt { margin-top: 28px; padding-top: 20px; border-top: 1px solid #0000001a; }
.email-alt h2 { margin: 0 0 12px; font-size: 1.2rem; }
.bl-qr { width: 180px; max-width: 70%; margin: 10px auto; background: #fff; padding: 6px; border: 1px solid #0000001a; }
.bl-qr:empty { display: none; }
.bl-qr svg { display: block; width: 100%; height: auto; }
