/* =========================================================
   devaccount.ru — /claude/ (подписка Claude на почту)
   Standalone palette: this page is Claude-branded (warm light),
   it deliberately does NOT load the site-wide dark styles.css.
   ========================================================= */

:root {
  --bg: #FBF6F2;
  --ink: #241A15;
  --ink-2: #8A7A70;
  --brand: #DE7356;
  --brand-ink: #ffffff;
  --glass-bg: rgba(255,255,255,0.55);
  --glass-bg-strong: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.55);
  --glass-spec: rgba(255,255,255,0.65);
  --glass-shadow: 0 10px 30px rgba(120,60,30,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --dark-glass-bg: rgba(36,26,21,0.82);
  --dark-glass-border: rgba(255,255,255,0.14);
  --focus: rgba(222,115,86,0.55);
  --radius-card: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: #C25F44; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

/* ----- aurora background ----- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--bg); }
.blob { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.blob.b1 { background: #F2AE8E; top: -18vmax; left: -10vmax; animation: drift1 52s ease-in-out infinite alternate; }
.blob.b2 { background: #FFD9C2; top: 8vmax; right: -18vmax; animation: drift2 48s ease-in-out infinite alternate; opacity: 0.45; }
.blob.b3 { background: #DE7356; bottom: -22vmax; left: 8vmax; animation: drift3 60s ease-in-out infinite alternate; opacity: 0.28; }
.blob.b4 { background: #FFE8D6; bottom: -8vmax; right: 6vmax; animation: drift4 56s ease-in-out infinite alternate; opacity: 0.4; }
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(8vmax,6vmax) scale(1.08); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1.05); } to { transform: translate(-6vmax,10vmax) scale(0.95); } }
@keyframes drift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(10vmax,-8vmax) scale(1.1); } }
@keyframes drift4 { from { transform: translate(0,0) scale(1); } to { transform: translate(-8vmax,-4vmax) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none !important; } }

/* ----- glass surfaces ----- */
.glass { position: relative; background: var(--glass-bg); -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-spec), var(--glass-shadow); border-radius: var(--radius-card); overflow: hidden; }
.glass::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 55%); pointer-events: none; border-radius: inherit; }
.glass > * { position: relative; z-index: 1; }
.glass-dark { background: var(--dark-glass-bg); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border: 1px solid var(--dark-glass-border); color: #fff; }
.glass-dark::before { background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ----- nav ----- */
.nav-wrap { position: sticky; top: 12px; z-index: 50; padding: 0 16px; }
.nav { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-radius: 22px; }
.brand { display: flex; align-items: baseline; gap: 8px; }
.wordmark { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.wordmark .dot { color: var(--brand); }
.brand .tag { font-size: 12px; color: var(--ink-2); padding: 3px 9px; border-radius: 100px; background: rgba(222,115,86,0.12); font-weight: 600; }
.nav a.back { font-size: 14px; color: var(--ink-2); opacity: 0.85; }
.nav a.back:hover { color: var(--ink); }

/* ----- hero ----- */
.hero { padding-top: 56px; padding-bottom: 18px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand); background: rgba(222,115,86,0.12); padding: 6px 12px; border-radius: 100px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 16px; max-width: 980px; text-wrap: balance; }
.hero .sub { font-size: clamp(14px, 1.5vw, 17px); color: var(--ink-2); max-width: 720px; margin: 0; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-copy { flex: 1 1 auto; min-width: 0; }
.hero-logo { flex: 0 0 auto; width: clamp(96px, 12vw, 152px); line-height: 0; }
.hero-logo svg { width: 100%; height: auto; display: block; }

/* ----- how it works ----- */
.how { padding-top: 44px; padding-bottom: 8px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-card { padding: 24px; }
.how-num { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.how-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.how-card p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.45; }

/* ----- pricing ----- */
.pricing { padding-top: 56px; padding-bottom: 16px; }
.pricing-head { margin: 0 0 26px; }
.pricing-head h2 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.pricing-head p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.plan-card { padding: 24px; cursor: pointer; transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease; border: 2px solid transparent; }
.plan-card:hover { transform: translateY(-2px); }
.plan-card.active { border-color: var(--brand); background: rgba(255,255,255,0.78); box-shadow: inset 0 1px 0 var(--glass-spec), 0 14px 34px rgba(222,115,86,0.18); }
.plan-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 4px; }
.plan-desc { font-size: 13px; color: var(--ink-2); margin: 0 0 14px; }
.plan-from { font-size: 12px; color: var(--ink-2); }
.plan-from b { font-size: 20px; color: var(--ink); font-weight: 700; }

.duration-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 26px; margin-bottom: 22px; }
.duration-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.duration-tabs { display: flex; gap: 8px; }
.dur-btn { padding: 10px 18px; border-radius: 100px; border: 1px solid rgba(0,0,0,0.08); background: rgba(255,255,255,0.5); font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; transition: all 180ms ease; position: relative; }
.dur-btn:hover { background: rgba(255,255,255,0.85); }
.dur-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.dur-btn .save { display: block; font-size: 10px; font-weight: 600; opacity: 0.85; margin-top: 1px; }

.checkout { padding: 18px 22px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.co-price { display: flex; flex-direction: column; gap: 3px; flex: 0 0 auto; min-width: 230px; }
.co-price-top { display: flex; align-items: baseline; gap: 10px; }
.co-meta { font-size: 13px; white-space: nowrap; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.co-meta b { color: var(--ink); font-weight: 600; }
.co-sep { opacity: 0.4; }
.co-form { flex: 1; min-width: 380px; display: flex; flex-direction: column; gap: 6px; }
.co-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.co-form-row .email-field { flex: 1 1 220px; }
.co-form-row .cta-buy { flex: 0 0 auto; }
.co-divider { width: 1px; align-self: stretch; background: rgba(0,0,0,0.08); }
.price-big { white-space: nowrap; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.save-badge { display: inline-block; font-size: 12px; font-weight: 600; color: #1E8E5A; background: rgba(30,142,90,0.12); padding: 3px 10px; border-radius: 100px; }

.cta-buy { width: 100%; height: 48px; border-radius: 16px; background: var(--brand); color: #fff; border: none; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 16px; transition: background 180ms ease, transform 180ms ease; }
.cta-buy:hover { background: #C9603F; transform: translateY(-1px); }
.cta-buy:disabled { opacity: 0.6; cursor: default; transform: none; }
.checkout-note { font-size: 12px; color: var(--ink-2); margin: 0 2px; }

.email-field { display: flex; gap: 8px; }
.email-field input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.1); background: rgba(255,255,255,0.6); font-size: 14px; color: var(--ink); }
.email-field input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.email-field input.err { border-color: #D2523A; }

/* ----- FAQ ----- */
.faq { padding-top: 48px; padding-bottom: 80px; }
.faq h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 20px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 4px 6px; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: none; border: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; }
.faq-q .plus { font-size: 20px; color: var(--brand); transition: transform 200ms ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 260ms ease; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 18px; }
.faq-a p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ----- footer ----- */
footer.foot { margin-top: 16px; padding: 0 16px 28px; }
.foot-bar { max-width: 1200px; margin: 0 auto; padding: 18px 24px; border-radius: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 13px; color: rgba(255,255,255,0.72); }
.foot-bar a { color: rgba(255,255,255,0.72); }
.foot-bar a:hover { color: #fff; }
.foot-bar nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* =========================================================
   Checkout confirmation dialog (consent + reCAPTCHA + send)
   ========================================================= */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(36,26,21,0.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; animation: modal-fade 180ms ease; }
.modal-backdrop[hidden] { display: none; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal { width: 100%; max-width: 440px; padding: 26px; background: var(--glass-bg-strong); animation: modal-in 220ms cubic-bezier(0.2,0.8,0.3,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal .modal-h { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 4px; padding-right: 28px; }
.modal .modal-sub { font-size: 13px; color: var(--ink-2); margin: 0 0 18px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(0,0,0,0.05); color: var(--ink-2); font-size: 18px; line-height: 1; cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.modal-close:hover { background: rgba(0,0,0,0.1); color: var(--ink); }
.modal-summary { border-radius: 16px; border: 1px solid rgba(0,0,0,0.07); background: rgba(255,255,255,0.5); padding: 14px 16px; margin-bottom: 16px; }
.ms-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 13.5px; color: var(--ink-2); padding: 4px 0; }
.ms-row b { color: var(--ink); font-weight: 600; text-align: right; word-break: break-word; }
.ms-row.total { border-top: 1px solid rgba(0,0,0,0.07); margin-top: 6px; padding-top: 10px; }
.ms-row.total b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; user-select: none; margin-bottom: 14px; }
.consent input[type="checkbox"] { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 1px; accent-color: var(--brand); cursor: pointer; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.captcha-box { margin-bottom: 12px; min-height: 78px; transform-origin: 0 0; }
.form-status { font-size: 12.5px; margin: 0 0 10px; color: var(--ink-2); min-height: 0; }
.form-status:empty { display: none; }
.form-status.err { color: #C2452B; }
.form-status.ok { color: #1E8E5A; }
.modal .cta-buy { margin-top: 0; }
.modal .checkout-note { margin-top: 10px; }
.modal-done { text-align: center; padding: 8px 0 2px; }
.modal-done .done-mark { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: rgba(30,142,90,0.12); color: #1E8E5A; display: grid; place-items: center; font-size: 26px; }
.modal-done .modal-h { padding: 0; }
.modal-done p { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 18px; }
body.modal-open { overflow: hidden; }

/* ----- cookie/PD notice bar (assets/consent.js, shared) ----- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 760px; margin: 0 auto; padding: 14px 18px; border-radius: 18px; display: flex; align-items: center; gap: 16px; animation: cookie-in 350ms ease; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cookie-bar.hide { opacity: 0; transform: translateY(12px); transition: opacity 300ms ease, transform 300ms ease; }
.cookie-bar p { margin: 0; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.78); }
.cookie-bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar a:hover { color: #fff; }
.cookie-bar .btn-primary { flex: 0 0 auto; padding: 9px 18px; font-size: 13px; font-weight: 600; border: 0; border-radius: 100px; background: var(--brand); color: #fff; cursor: pointer; transition: background 180ms ease; }
.cookie-bar .btn-primary:hover { background: #C9603F; }
@media (max-width: 600px) { .cookie-bar { flex-direction: column; align-items: stretch; text-align: left; gap: 10px; } }

/* ----- responsive ----- */
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .duration-row { flex-direction: column; align-items: flex-start; }
  .checkout { align-items: stretch; }
}
@media (max-width: 860px) {
  .hero { padding-top: 44px; padding-bottom: 4px; }
  .hero-row { gap: 26px; }
  .hero-logo { width: 80px; }
  .checkout { padding: 16px 18px; gap: 14px; flex-direction: column; align-items: stretch; }
  .co-price { min-width: 0; }
  .co-divider { display: none; }
  .co-form { flex: 1 1 100%; min-width: 0; }
}
@media (max-width: 640px) {
  .checkout { padding: 16px; }
  .co-meta { white-space: normal; }
  .co-form-row { flex-direction: column; }
  .cta-buy { width: 100% !important; padding: 0 !important; }
  .checkout-note { text-align: center; }
  .dur-btn { flex: 1; min-width: 72px; padding: 10px 8px; text-align: center; }
  .faq-q { padding: 16px 14px; font-size: 14.5px; }
  .faq-a { padding: 0 14px; }
  .modal { padding: 22px 18px; }
  .modal .cta-buy { width: 100% !important; padding: 0 !important; }
}
@media (max-width: 760px) {
  .foot-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 560px) {
  .hero-logo { width: 62px; }
  .duration-tabs { flex-wrap: wrap; width: 100%; }
  /* Переносим сроки сеткой 2×2, иначе последняя кнопка растягивается на всю строку. */
  .dur-btn { flex: 1 1 calc(50% - 4px); }
}
@media (max-width: 360px) {
  /* reCAPTCHA v2 is a fixed 304px iframe — scale it down so it never
     overflows the dialog on the narrowest phones. */
  .captcha-box { transform: scale(0.86); min-height: 68px; }
}
