:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --white: #fffefa;
  --ink: #1b1e21;
  --muted: #585c61;
  --line: #dcdad1;
  --blue: #243bd3;
  --blue-dark: #1629a9;
  --blue-wash: #eef0ff;
  --lime: #e1edaa;
  --radius: 23px;
  font: 16px/1.55 Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 300px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #6277ed;
  outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
h2, h3 { line-height: 1.16; letter-spacing: -.036em; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 83px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 760; font-size: 15px; line-height: 1.25; }
.brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 550; margin-top: 2px; }
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  width: 39px;
  height: 39px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.08em;
}
nav, .header-actions { display: flex; align-items: center; gap: 25px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
nav a:hover { color: var(--blue); text-decoration: underline; }
.header-actions { gap: 14px; }
.demo-label {
  display: inline-block;
  width: fit-content;
  color: #36410f;
  background: var(--lime);
  border-radius: 30px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.45;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color .16s, border-color .16s, color .16s;
}
.button-small { padding: 10px 14px; min-height: 40px; font-size: 13px; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-outline:hover { background: var(--blue-wash); border-color: #bec6f0; color: var(--blue-dark); }

.hero { display: grid; grid-template-columns: 1.24fr 1fr; align-items: start; gap: clamp(40px, 6vw, 94px); padding-block: 64px 60px; }
.hero-story { min-width: 0; scroll-margin-top: 20px; }
.support-column { min-width: 0; display: grid; gap: 16px; }
.hero h1 {
  font-size: clamp(54px, 6.45vw, 101px);
  font-weight: 770;
  line-height: .99;
  letter-spacing: -.079em;
  margin: 4px 0 24px;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-story > p { max-width: 475px; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.56; }
.hero-story > p + p { margin-top: 15px; }
.about-link { display: inline-block; color: var(--blue-dark); font-weight: 650; font-size: 14px; margin-top: 18px; }
.portrait-image { height: auto; width: 100%; margin-top: 30px; border-radius: var(--radius); }
.other-support { display: grid; gap: 16px; }
.alternative-support { display: flex; flex-direction: column; align-items: start; padding: 24px 28px; border: 1px solid var(--line); border-radius: 17px; }
.alternative-support h2 { font-size: 21px; }
.alternative-support p { margin-block: 10px 19px; font-size: 14px; color: var(--muted); }
.alternative-support .button { margin-top: auto; font-size: 13px; }

.support-card, .account-card, .dialog-inner { background: var(--white); border-radius: var(--radius); }
.support-card {
  border: 1px solid #e3e0da;
  box-shadow: 0 16px 55px -33px #454c6860;
  padding: clamp(22px, 2.7vw, 39px);
  scroll-margin-block-start: 24px;
}
.card-heading { margin-bottom: 24px; }
.orbit { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-wash); color: var(--blue); font-size: 24px; margin-bottom: 11px; line-height: 1; }
.card-heading h2 { font-weight: 770; font-size: clamp(25px, 2.38vw, 35px); line-height: 1.12; }
label, legend { display: block; font-size: 13px; font-weight: 650; margin-bottom: 7px; }
input[type="email"], input[type="number"] {
  display: block;
  width: 100%;
  min-height: 47px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 15px;
}
input::placeholder { color: #696b73; }
fieldset { border: 0; margin: 17px 0 16px; padding: 0; min-width: 0; }
legend { padding: 0; }
.amount-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.amount-options label { position: relative; margin: 0; min-width: 0; }
.amount-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amount-options span {
  display: grid;
  place-items: center;
  min-height: 43px;
  padding: 4px 2px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
}
.amount-options input:checked + span { color: var(--blue-dark); background: var(--blue-wash); border-color: var(--blue); font-weight: 770; }
.amount-options input:focus-visible + span { outline: 3px solid #6277ed; outline-offset: 2px; }
#custom-field { margin-bottom: 16px; }
.payment-terms { margin: 16px 0 17px; font-size: 12px; color: var(--muted); }
.cancellation-note { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.text-button { border: 0; padding: 0; background: transparent; font: inherit; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.checkout-button { width: 100%; justify-content: space-between; min-height: 50px; }
.checkout-note { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 8px; font-size: 11px; color: var(--muted); margin-top: 11px; }

.questions h2 { font-size: clamp(34px, 4vw, 56px); }

.questions { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding-block: 44px 60px; border-top: 1px solid var(--line); }
details { padding: 13px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 16px; font-weight: 650; }
details p { color: var(--muted); margin-top: 9px; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 86px; font-size: 13px; color: var(--muted); }
.footer-inner .brand { color: var(--ink); }
.footer-inner .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 12px; }

.cabinet { min-height: 68vh; padding-block: 49px 66px; }
.cabinet-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.back-link { font-size: 14px; font-weight: 650; text-decoration: none; color: var(--blue-dark); }
.cabinet h1 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.066em; line-height: 1.08; margin: 13px 0 7px; }
#account-email { color: var(--muted); overflow-wrap: anywhere; }
.account-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 17px; align-items: start; }
.account-card { padding: clamp(19px, 3vw, 32px); border: 1px solid var(--line); }
.account-card h2 { font-size: 27px; margin-bottom: 14px; }
.account-card .button-primary { margin-top: 16px; }
.account-empty, .account-detail { color: var(--muted); font-size: 14px; }
.subscription, .payment { padding: 15px 0; border-bottom: 1px solid var(--line); }
.subscription:first-child, .payment:first-child { border-top: 1px solid var(--line); }
.subscription-head, .payment { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.subscription h3, .payment h3 { font-size: 16px; letter-spacing: -.012em; }
.subscription p, .payment p { margin-top: 4px; }
.subscription .button { margin-top: 11px; }
.status { border-radius: 20px; padding: 3px 8px; background: #edf2dc; color: #2c4214; font-size: 11px; font-weight: 700; flex: none; }
.status.stopped { background: #eeede7; color: #51504b; }
.payment-amount { white-space: nowrap; font-weight: 750; }

dialog { background: transparent; color: var(--ink); border: 0; padding: 0; width: min(480px, calc(100% - 26px)); max-height: calc(100% - 32px); }
dialog::backdrop { background: #17214270; }
.dialog-inner { position: relative; padding: clamp(21px, 5vw, 34px); box-shadow: 0 25px 70px #15183025; }
.dialog-inner h2 { margin: 10px 28px 13px 0; font-size: clamp(26px, 5vw, 33px); }
.dialog-inner p { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.close-button { position: absolute; right: 13px; top: 13px; border: 0; border-radius: 50%; width: 37px; height: 37px; background: var(--paper); font-size: 26px; color: var(--ink); line-height: 1; }
.close-button:hover { background: var(--blue-wash); }
.dialog-actions, #login-form { display: grid; gap: 8px; margin-top: 18px; }
#login-form label { margin-bottom: 0; }
#login-form .button { margin-top: 4px; }
.receipt { margin: 0 0 13px; }
.receipt div { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; border-bottom: 1px solid var(--line); padding: 8px 0; font-size: 14px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 650; text-align: right; }

@media (max-width: 1000px) {
  .shell { width: min(100% - 60px, 1200px); }
  .hero { gap: 30px; }
  .hero h1 { font-size: clamp(48px, 6.5vw, 71px); }
}
@media (max-width: 740px) {
  .shell { width: min(100% - 36px, 530px); }
  .header-inner { min-height: 70px; gap: 8px; }
  .header-actions { gap: 7px; }
  .site-header nav { display: none; }
  .brand { gap: 7px; font-size: 13px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
  .button-small { padding-inline: 8px; gap: 4px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 23px; padding-block: 34px; }
  .hero h1 { font-size: clamp(45px, 11vw, 69px); letter-spacing: -.073em; margin: 0 0 15px; }
  .portrait-image { margin-top: 18px; border-radius: 16px; }
  .alternative-support { padding: 22px; }
  .questions { padding-block: 30px; }
  .questions, .account-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-inner { gap: 12px; min-height: 76px; font-size: 11px; }
  .cabinet { padding-block: 28px 40px; }
  .cabinet-heading { align-items: start; }
  .cabinet-heading .button { min-height: 38px; padding: 6px 11px; margin-top: 6px; font-size: 13px; }
}
@media (max-width: 365px) {
  .header-actions .demo-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
