:root {
  color-scheme: light;
  --ink: #172843;
  --muted: #4e607b;
  --blue: #254cc2;
  --blue-dark: #17399e;
  --navy: #172947;
  --line: #dce5f1;
  --surface: #f6f8fc;
  --white: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); }
a { color: var(--blue); text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2b6bff; outline-offset: 4px; }
button, input { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: var(--ink); font-size: 1.12rem; font-weight: 750; white-space: nowrap; }
.brand img { object-fit: contain; }
nav, .actions, .code-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
nav { gap: clamp(16px, 3vw, 37px); }
.nav-guide { font-weight: 650; color: var(--ink); }
.button { align-items: center; justify-content: center; display: inline-flex; min-height: 49px; padding: 0 19px; border-radius: 9px; font-weight: 720; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.button:disabled { cursor: wait; opacity: .8; }
.button.primary { color: white; background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.outline { color: var(--ink); border-color: #c7d5ea; background: white; }
.button.outline:hover { background: #edf3ff; border-color: #8ea7d9; }
.button.small { min-height: 39px; padding-inline: 14px; }
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(24px, 5vw, 68px); padding-block: clamp(50px, 8vw, 111px); }
.eyebrow { font-size: .875rem; letter-spacing: .12em; color: var(--blue); font-weight: 800; margin-bottom: 17px; }
h1 { font-size: clamp(3.15rem, 5.7vw, 5.9rem); line-height: .99; letter-spacing: -.075em; font-weight: 800; }
h1 span { color: var(--blue); }
.summary { color: var(--muted); font-size: clamp(1.08rem, 1.46vw, 1.23rem); line-height: 1.65; max-width: 38ch; margin-top: 22px; }
.actions { margin-top: 26px; }
.requirements { color: var(--muted); font-size: .875rem; line-height: 1.5; margin-top: 15px; }
.product { min-width: 0; border-radius: 23px; padding: 8% 5.5% 4%; background: radial-gradient(ellipse at 27% 12%, #edf5ff, transparent 63%), #dbe8fb; }
.app-window { border-radius: 12px; border: 1px solid #9fb4d1; overflow: hidden; background: #fff; box-shadow: 0 14px 32px #22457d2b; }
.app-bar { height: 38px; display: grid; place-items: center; position: relative; background: #f9fbfe; border-bottom: 1px solid #dbe3f1; font-size: .75rem; font-weight: 700; }
.dots { position: absolute; left: 13px; width: 7px; height: 7px; border-radius: 50%; background: #e87672; box-shadow: 12px 0 #ebad49, 24px 0 #64b785; }
.app-layout { min-height: 283px; display: grid; grid-template-columns: 1fr 1.06fr 1.25fr; }
.app-sidebar { display: flex; flex-direction: column; gap: 12px; position: relative; min-width: 0; background: var(--navy); color: #c4d5f4; font-size: clamp(.66rem, 1.05vw, .79rem); padding: 16px 9px 12px; }
.app-sidebar > span { padding: 4px 7px; }
.app-brand { font-weight: 750; color: white; display: flex; gap: 5px; align-items: center; margin: 3px 0; }
.envelope { display: inline-block; width: 13px; height: 9px; border: 1.4px solid currentColor; border-radius: 2px; position: relative; }
.envelope::after { content: ""; position: absolute; width: 6px; height: 6px; left: 2px; top: -2px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.app-sidebar .compose { background: #ecf3ff; color: var(--navy); font-weight: 750; border-radius: 5px; padding-block: 7px; }
.active { background: #2d4671; color: white; border-radius: 5px; }
.side-code { margin-top: auto; padding: 8px 6px 0; border-top: 1px solid #3a547b; display: grid; gap: 3px; }
.side-code b { color: #fff; font-variant-numeric: tabular-nums; }
.app-list { min-width: 0; background: #f9fbff; border-right: 1px solid #e2eaf5; padding: 14px 8px; }
.app-list h2 { font-size: clamp(.65rem, 1.2vw, .87rem); padding: 6px 3px 12px; white-space: nowrap; }
.mail { display: grid; gap: 4px; padding: 10px 7px; margin-bottom: 3px; border-bottom: 1px solid #e9eff8; font-size: clamp(.59rem, .9vw, .7rem); white-space: nowrap; }
.mail span { color: #4f627d; overflow: hidden; text-overflow: ellipsis; }
.selected { background: #e6efff; border-radius: 5px; }
.app-message { min-width: 0; padding: 19px 13px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.encrypted { font-size: .65rem; color: #225b49; background: #e1f1eb; padding: 4px 6px; border-radius: 4px; white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; }
.lock { display: inline-block; width: 9px; height: 7px; position: relative; background: currentColor; border-radius: 2px; margin-top: 4px; }
.lock::before { position: absolute; content: ""; left: 2px; top: -4px; width: 5px; height: 6px; border: 1px solid currentColor; border-radius: 3px 3px 0 0; }
.app-message strong { font-size: clamp(.75rem, 1.5vw, 1.11rem); }
.app-message p, .message-caption { font-size: .7rem; color: #506480; }
.message-line { width: 100%; border-top: 1px solid #ecf1f8; }
figcaption { color: #41577b; margin-top: 15px; font-size: .81rem; text-align: center; }
.walkthrough, .details { padding-block: clamp(50px, 7vw, 86px); }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.12; letter-spacing: -.045em; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 26px; gap: 25px; }
.steps article { border-top: 1px solid var(--line); padding-top: 23px; }
.step-icon { display: inline-grid; place-items: center; background: #ecf2ff; color: var(--blue); width: 37px; height: 37px; border-radius: 9px; font-size: 1.25rem; font-weight: 700; }
h3 { margin: 12px 0 7px; font-size: 1.15rem; }
.steps p, .activation p, .details p { color: var(--muted); line-height: 1.65; }
.activation { background: #eef3ff; padding-block: clamp(42px, 6vw, 76px); }
.activation-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 70px); align-items: start; }
.activation .eyebrow { color: var(--blue); }
.activation h2 + p { margin-top: 14px; max-width: 48ch; }
.activation-card { background: white; padding: 25px; border: 1px solid var(--line); border-radius: 16px; }
#status:not(:empty) { margin-top: 12px; }
.code-result label { display: block; font-weight: 750; margin-bottom: 11px; }
.code-row { flex-wrap: nowrap; align-items: stretch; }
.code-row input { width: 100%; min-width: 0; font-family: ui-monospace, Menlo, monospace; font-size: clamp(.9rem, 2.4vw, 1.2rem); padding: 7px 9px; border: 1px solid #b8cbe7; border-radius: 8px; background: #f5f8ff; color: var(--ink); }
.activation .code-tip { margin-top: 12px; font-size: .9rem; }
.pricing { padding-block: clamp(50px, 7vw, 86px); border-bottom: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 4vw, 34px); margin-top: 28px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 34px); }
.plan-plus { background: #f2f6ff; border-color: #b7caef; }
.plan h3 { margin: 0 0 12px; }
.price { font-size: clamp(1.8rem, 3.8vw, 2.9rem); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 1rem; font-weight: 650; letter-spacing: 0; }
.plan-description { color: var(--muted); line-height: 1.55; margin: 12px 0 16px; }
.plan ul { padding-inline-start: 19px; margin: 0 0 25px; line-height: 1.55; }
.plan li + li { margin-top: 7px; }
.plan li::marker { color: var(--blue); }
.plan .button, .plan-status { margin-top: auto; }
.plan-status { color: var(--muted); font-weight: 650; padding-block: 12px; }
.details { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 28px; }
details { border-top: 1px solid var(--line); padding: 16px 3px; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 720; }
details p { margin-top: 12px; }
footer { border-top: 1px solid var(--line); background: var(--surface); }
.skip { position: absolute; left: 1rem; top: 1rem; background: white; transform: translateY(-200%); padding: 10px; z-index: 1; }
.skip:focus { transform: translateY(0); }
@media (max-width: 940px) {
  .container { width: calc(100% - 48px); }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 25px; }
  .app-layout { grid-template-columns: .8fr 1.2fr; min-height: 244px; }
  .app-message { display: none; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; }
  .hero-inner, .steps, .details, .activation-inner, .plans { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 48px 32px; gap: 28px; }
  h1 { font-size: clamp(3rem, 11vw, 4.65rem); }
  .app-layout { grid-template-columns: 1fr 1.18fr 1fr; min-height: 221px; }
  .app-message { display: flex; padding-inline: 9px; }
  .steps { gap: 18px; }
}
@media (max-width: 420px) {
  .app-layout { grid-template-columns: .8fr 1.2fr; }
  .app-message, .nav-guide { display: none; }
  .activation-card { padding: 18px; }
}
