/* Shared visual language for the public site, account and management pages. */
:root {
  --bg: #1b1d25;
  --panel: #252831;
  --raised: #30333d;
  --line: #3c3f4a;
  --lavender: #b7abd5;
  --muted: #a6a8b8;
  --text: #e8e9f0;
  --radius: 0px;
}
body { font-size: 14px; -webkit-font-smoothing: antialiased; }
.site { max-width: 1340px; padding-inline: 40px; }
main { min-width: 0; padding-bottom: 36px; }
h1, h2, h3 { text-wrap: balance; }
.header { height: 84px; gap: 24px; padding-inline: 24px; margin-top: 20px; }
.brand { gap: 12px; font-size: 32px; }
.brand img { width: 42px; height: 42px; }
.header nav { gap: 28px; }
.header .nav-link { font-size: 13px; }
.header .nav-link.selected:after { bottom: -2px; height: 2px; }
.button { min-height: 46px; padding: 12px 22px; border-radius: 3px; font-size: 13px; box-shadow: inset 0 1px 0 #ffffff24; transition: background-color .16s, border-color .16s; }
.button:hover { background: #d2c3ff; border-color: #d2c3ff; }
.button.ghost { background: #ffffff03; border-color: #51495f; box-shadow: none; }
.button.ghost:hover { background: #b7abd510; border-color: #8f7ab3; }
.button-small { min-height: 38px; padding: 8px 15px; font-size: 12px; }
.button:disabled, .button:disabled:hover { opacity: .45; cursor: not-allowed; }
input, select, textarea { background: #20222a; border-color: #484152; border-radius: 3px; min-height: 44px; color: var(--text); }
input::placeholder, textarea::placeholder { color: #898c9f; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #746282; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }
label { font-size: 12px; color: #b9bbc9; }
.field-hint { font-size: 12px; line-height: 1.75; }
.field-hint a { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; }
.panel { background: var(--panel); border: 1px solid #464050; border-radius: var(--radius); box-shadow: inset 0 1px 0 #ffffff04; }
.badge { border-radius: 3px; font-size: 11px; padding: 5px 11px; line-height: 1.5; background: #ffffff03; border-color: #51495e; }
.badge.active { background: #a7d8bd0b; border-color: #5e7a6c; color: #b8dfc9; }
.message { border-radius: 10px; padding: 16px 20px; font-size: 13px; margin-bottom: 24px; }
.message.success { background: #22332c; border-color: #4b6557; }
.message.error { background: #38262e; border-color: #79505c; }

/* Product imagery carries the landing page; surrounding elements stay quiet. */
.home-hero { grid-template-columns: 1.06fr 1fr; gap: 30px; padding: 36px; margin: 24px 0; min-height: 460px; }
.home-copy h1 { font-size: clamp(34px, 3.5vw, 46px); line-height: 1.13; letter-spacing: -1.5px; }
.home-copy h1 span { font-size: .66em; color: var(--text); margin-top: 13px; letter-spacing: -1.2px; }
.home-lead { font-size: 14px; line-height: 1.85; max-width: 460px; margin-top: 28px; }
.home-addition { color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 430px; margin-top: 16px; }
.home-art { aspect-ratio: 1.2; margin-right: 0; background: var(--bg); }
.home-art:after { background: linear-gradient(90deg,var(--panel),transparent 18%,transparent 86%,var(--panel)),linear-gradient(0deg,var(--panel),transparent 28%,transparent 86%,var(--panel)); }
.home-art img { object-position: 50% 25%; }
.home-actions { margin-top: 30px; gap: 25px; }
.home-link { font-size: 13px; padding-bottom: 5px; }
.behavior-section { padding: 28px; margin-bottom: 24px; }
.behavior-copy { grid-template-columns: 1fr 1fr; column-gap: 40px; margin-bottom: 25px; }
.behavior-copy h2 { font-size: 27px; letter-spacing: -.9px; max-width: 320px; }
.behavior-copy p { font-size: 14px; line-height: 1.9; }
.behavior-copy p.behavior-secondary { font-size: 13px; color: var(--muted); }
.menu-gallery { max-width: 900px; padding-top: 28px; }
.gallery-tabs { gap: 8px; margin-bottom: 24px; }
.gallery-tabs button { padding: 11px 19px; font-size: 13px; border-radius: 3px; color: var(--muted); }
.gallery-tabs button[aria-selected=true] { background: #b7abd515; border-color: #867298; color: #eee5ff; }
.showcase-frame { position: relative; overflow: hidden; aspect-ratio: 1120 / 656; border: 1px solid #6c5e7c; border-radius: 0; background: #1b1c24; box-shadow: none; }
/* Crop only the few pixels outside each original application window. */
.showcase-frame img { display: block; position: absolute; width: 100.72%; max-width: none; height: auto; left: -.36%; top: -.6%; }
.gallery-caption { height: 100px; overflow: visible; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; padding: 25px 2px 0; margin: 0; }
.gallery-caption h3 { font-size: 19px; letter-spacing: -.3px; }
.gallery-caption p { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 0; }
.home-access { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding: 28px; margin-bottom: 24px; border: 1px solid #51455f; border-radius: 14px; background: #252831; }
.home-access h2 { font-size: 27px; letter-spacing: -.7px; margin-bottom: 13px; }
.home-access p { color: var(--muted); max-width: 440px; line-height: 1.85; }
.home-price { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.home-price p { white-space: nowrap; font-size: 13px; }
.home-price strong { color: var(--text); font-size: 29px; font-weight: 600; letter-spacing: -.8px; }
.home-price span { display: block; font-size: 12px; }
.home-price .button { flex-shrink: 0; }
.access-line { padding: 24px 28px; }
.access-line h2 { font-size: 19px; }
.access-line p { font-size: 13px; }

/* The account and admin retain their forms and use one consistent hierarchy. */
.account-page main { max-width: 1120px; }
.page-heading, .account-heading, .admin-heading { padding: 30px 0 24px; align-items: center; }
.account-heading h1, .admin-heading h1 { font-size: 35px; letter-spacing: -1.1px; margin-bottom: 9px; }
.account-identity { font-size: 13px; }
.workspace-tabs { width: fit-content; max-width: 100%; gap: 4px; border: 1px solid #3f394c; border-radius: 0; background: #252831; padding: 5px; margin-bottom: 30px; overflow-x: auto; }
.workspace-tabs a { padding: 10px 23px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.workspace-tabs a:hover { background: #ffffff05; color: var(--text); }
.workspace-tabs a.current { background: #b7abd51c; border-color: #77618c; color: #f0e6ff; }
.access-overview { grid-template-columns: 1fr 1.05fr; padding: 28px; background: #252831; border-color: #5b4b6c; }
.access-summary { padding-right: 32px; }
.access-summary .section-heading { margin-bottom: 30px; }
.access-summary h2, .access-activation h2 { font-size: 19px; }
.access-duration { font-size: 49px; letter-spacing: -1.8px; }
.access-empty { font-size: 28px; letter-spacing: -.7px; }
.account-plans { padding: 0; }
.account-plans>.muted { margin-top: 14px; line-height: 1.85; }
.promo-batch { border: 1px solid #4b4059; border-radius: 0; background: #252831; margin-bottom: 14px; }
.promo-batch>summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; padding: 21px; cursor: pointer; list-style: none; }
.promo-batch>summary::-webkit-details-marker { display: none; }
.promo-batch>summary strong { display: block; overflow-wrap: anywhere; }
.promo-batch>summary>span:first-child { min-width: 0; font-size: 16px; color: var(--text); }
.promo-batch>summary:focus-visible { outline-offset: -4px; }
.promo-batch>summary small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.promo-batch>summary .badge { flex-shrink: 0; }
.batch-status { display: flex; flex-wrap: wrap; gap: 6px; }
.promo-batch[open]>summary { border-bottom: 1px solid var(--line); margin-bottom: 0; }
.batch-body { padding: 23px; }
.batch-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.batch-form input:not([type=checkbox]) { width: 100%; margin-top: 8px; }
.batch-name,.batch-actions { grid-column: 1/-1; }
.batch-checkbox { display: flex; align-items: flex-start; gap: 10px; line-height: 1.65; color: var(--text); cursor: pointer; }
.batch-checkbox input { width: 17px; height: 17px; min-height: 0; margin: 2px 0 0; accent-color: var(--lavender); flex-shrink: 0; }
.batch-form .field-hint { margin-top: 10px; }
.batch-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.batch-codes { margin-top: 28px; }
.batch-activation+.batch-activation { margin-top: 13px; }
.batch-delete { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.batch-delete>summary { color: #d69aa8; cursor: pointer; font-size: 12px; }
.batch-delete .form-stack { margin-top: 16px; }
.access-summary>.muted { font-size: 13px; line-height: 1.85; }
.access-activation { padding-left: 32px; border-color: #51435e; }
.activation-form { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 20px 0 11px; }
.activation-form input { width: 100%; font-size: 12px; letter-spacing: .1px; }
.activation-form .button { justify-self: start; }
.account-attention { border-left: 2px solid #baa5e4; padding: 0 0 0 16px; margin-bottom: 24px; line-height: 1.8; }
.download-section { display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 32px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #252831; }
.download-copy>.muted { margin: 12px 0 21px; font-size: 13px; line-height: 1.9; max-width: 470px; }
.download-copy>.field-hint { margin-top: 19px; max-width: 460px; }
.launcher-preview { position: relative; overflow: hidden; aspect-ratio: 920 / 618; margin: 0; border: 1px solid #60566f; border-radius: 0; }
.launcher-preview img { position: absolute; width: 100.87%; height: auto; max-width: none; left: -.435%; top: -.65%; display: block; }
.security-panel, .account-history { padding: 28px; background: #252831; border-color: #494251; }
.security-panel>.section-heading { margin-bottom: 28px; }
.security-email { padding-block: 22px; }
.security-password { margin-top: 5px; padding-top: 27px; }
.security-password>.section-heading { margin-bottom: 24px; }
.password-form { gap: 22px; }
.password-form-bottom { margin-top: 3px; }
.account-history .history-list>div { padding: 20px 0; }
.admin-summary { gap: 36px; font-size: 12px; }
.admin-summary>div { padding-left: 21px; border-left: 1px solid #51465e; }
.admin-summary strong { font-size: 29px; margin-bottom: 5px; }
.admin-workspace { grid-template-columns: 300px minmax(0,1fr); gap: 24px; }
.admin-create-panel { padding: 24px; background: #252831; border-color: #59486b; }
.admin-code-form { gap: 21px 16px; }
.admin-code-form label { font-size: 12px; line-height: 1.5; min-height: 36px; display: flex; align-items: end; margin-bottom: 8px; }
.admin-code-form .admin-full-field label { min-height: 0; }
.admin-code-form>.field-hint { font-size: 11px; }
.admin-list-panel>.section-heading { margin: 5px 0 24px; }
.admin-table { font-size: 13px; }
.admin-table th { padding: 13px 14px; color: #b1a6bf; background: #25232e; font-size: 11px; text-transform: none; letter-spacing: 0; }
.admin-table td { padding: 18px 14px; border-color: #393441; font-size: 12px; }
.admin-table td:last-child { padding-right: 14px; }
.admin-table th:first-child { border-radius: 7px 0 0 7px; }
.admin-table th:last-child { border-radius: 0 7px 7px 0; }
.admin-table td small { color: #b0a6bc; margin-top: 5px; font-size: 11px; }
.admin-table tbody tr:not(.user-detail-row):hover { background: #b7abd505; }
.admin-table .badge { font-size: 10px; padding: 4px 8px; }
.admin-toolbar { margin-bottom: 27px; }
.admin-toolbar .search-form { max-width: 440px; gap: 10px; }
.admin-toolbar .search-form input { min-width: 0; }
.user-detail { background: #252831; border-color: #6d5880; padding: 28px; border-radius: 0 0 10px 10px; }
.user-detail .panel { padding: 21px; background: #20222a; border-radius: 0; }
.user-detail .panel h3 { font-size: 15px; margin-bottom: 5px; }
.user-control-grid { gap: 18px; margin-block: 26px; }
.user-facts { padding-block: 20px; border-block: 1px solid #453c50; gap: 20px; }
.user-facts dt { color: var(--muted); }
.user-facts dd { font-size: 13px; }
.user-command-bar { gap: 14px 24px; padding-block: 22px; }
.user-command-bar .text-button { font-size: 12px; }
.user-detail .field-hint { font-size: 11px; }
.user-delete { padding-top: 24px; }
.empty-state { color: var(--muted); line-height: 1.85; }

/* Reading pages use a quiet side navigation instead of another stack of cards. */
.document-layout { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 24px; margin: 28px auto 10px; max-width: 1120px; align-items: start; }
.document-navigation { top: 24px; padding: 18px 12px; }
.document-navigation nav { display: grid; gap: 5px; margin-top: 18px; }
.document-navigation nav a { padding: 10px 13px; border-left: 2px solid transparent; border-radius: 0; color: var(--muted); font-size: 13px; }
.document-navigation nav a:hover { color: var(--text); background: #ffffff04; }
.document-navigation nav a[aria-current=page] { color: #e5d7ff; border-color: var(--lavender); background: #b7abd50b; }
.document-back { font-size: 12px; margin-left: 15px; }
.document-page { min-width: 0; max-width: 860px; margin: 0; }
.document-heading { padding: 28px 30px; margin-bottom: 0; background: #282b35; }
.document-heading h1 { font-size: clamp(28px,3.1vw,36px); letter-spacing: -1.3px; line-height: 1.16; }
.document-heading p { margin-top: 20px; color: var(--muted); }
.document-body { max-width: 78ch; padding: 28px 30px 34px; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.document-body h2 { font-size: 19px; letter-spacing: -.4px; margin-bottom: 16px; }
.document-body section+section { margin-top: 38px; }
.document-body p+p, .document-body ul { margin-top: 17px; }
.document-body li+li { margin-top: 12px; }
.document-body a:hover { color: #e0d1ff; }
.seller-details { gap: 18px 26px; padding-block: 8px; }
.document-actions { margin-block: 28px; gap: 13px; }
.auth-layout { max-width: 960px; grid-template-columns: 1fr 440px; gap: 65px; margin: 42px auto; align-items: center; }
.auth-panel { padding: 34px; border-color: #5c4b6f; background: #252831; }
.auth-panel h1 { font-size: 30px; letter-spacing: -.8px; }
.auth-panel>.muted { font-size: 13px; line-height: 1.85; margin-bottom: 28px; }
.auth-aside h2 { font-size: 39px; letter-spacing: -1.3px; max-width: 390px; }
.auth-aside p { font-size: 14px; max-width: 330px; }
.auth-emblem { width: 92px; height: 92px; margin-bottom: 30px; }
.auth-panel .form-stack label { margin-top: 19px; }
.auth-panel .field-hint { font-size: 11px; }
.auth-switch { margin-top: 25px; }
.email-action-panel { padding: 35px; border-color: #5c4b6f; margin-block: 65px 30px; }
.error-page { padding-block: 80px; }
.footer { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; padding: 24px 0; border-top: 1px solid #45404e; }
.footer-brand>a { font-size: 27px; font-weight: 600; letter-spacing: -1.2px; color: var(--text); }
.footer-brand p { font-size: 12px; margin-top: 7px; color: var(--muted); }
.footer-documents { width: auto; order: 0; display: grid; grid-template-columns: auto auto; gap: 14px 35px; align-content: start; padding-top: 8px; font-size: 12px; }
.footer-note { grid-column: 1/-1; padding-top: 20px; border-top: 1px solid #302c3a; color: #a59aad; font-size: 11px; }

/* The launcher frame: two clipped corners, fine outline and short lavender edges. */
:is(.header,.panel,.home-hero,.behavior-section,.home-access,.access-line,.download-section,.promo-batch,.user-detail,.secret-panel,.document-navigation,.document-page,.admin-table-frame) {
  --frame-accent: #a59ac1;
  position: relative;
  border: 1px solid #414550;
  border-radius: 0;
  background-color: var(--panel);
  clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
}
:is(.header,.panel,.home-hero,.behavior-section,.home-access,.access-line,.download-section,.promo-batch,.user-detail,.secret-panel,.document-navigation,.document-page,.admin-table-frame)::before {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(135deg,transparent 5px,var(--frame-accent) 5px,var(--frame-accent) 6px,transparent 6px) left top/9px 9px no-repeat,
    linear-gradient(315deg,transparent 5px,var(--frame-accent) 5px,var(--frame-accent) 6px,transparent 6px) right bottom/9px 9px no-repeat,
    linear-gradient(var(--frame-accent),var(--frame-accent)) left 8px top/20px 1px no-repeat,
    linear-gradient(var(--frame-accent),var(--frame-accent)) left top 8px/1px 20px no-repeat,
    linear-gradient(var(--frame-accent),var(--frame-accent)) right 8px bottom/20px 1px no-repeat,
    linear-gradient(var(--frame-accent),var(--frame-accent)) right bottom 8px/1px 20px no-repeat;
}
.document-navigation { position: sticky; }
.section-heading h2,.document-body h2 { border-left: 2px solid #afa3ce; padding-left: 10px; }
.document-body .section-heading h2 { border-left: 0; padding-left: 0; }
.admin-table-frame { padding: 12px 20px; }
.admin-table th:first-child,.admin-table th:last-child { border-radius: 0; }
.message { border-radius: 3px; }
.plan-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin: 24px 0; }
.plan-card { display: flex; flex-direction: column; min-width: 0; padding: 22px 18px 18px; }
.plan-card h3 { font-size: 20px; letter-spacing: -.4px; }
.plan-price { margin: 24px 0 18px; }
.plan-price strong { display: block; font-size: 35px; font-weight: 600; letter-spacing: -1px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-price strong span { font-size: 23px; color: var(--muted); font-weight: 400; }
.plan-period { display: block; font-size: 11px; color: var(--muted); margin-top: 7px; }
.plan-description { font-size: 12px; color: var(--muted); min-height: 39px; margin-bottom: 22px; }
.plan-card .button { margin-top: auto; width: 100%; padding: 10px 7px; min-height: 42px; font-size: 12px; color: #23212b; }
.plan-featured { --frame-accent: #c5b4ef; border-color: #8c7da6; background-color: #2d2d3c; }
.pricing-heading { margin-bottom: 0; }
.pricing-heading h1 { font-size: 36px; }
.pricing-heading .muted { font-size: 14px; }
.pricing-inclusions { display: grid; grid-template-columns: 1fr 1fr; column-gap: 38px; padding: 25px 28px 20px; }
.pricing-inclusions h2 { font-size: 18px; margin-bottom: 8px; }
.pricing-inclusions p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 440px; }
.pricing-inclusions .pricing-inclusions-note { grid-column: 1/-1; max-width: none; padding-top: 17px; margin-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.pricing-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.pricing-details h2,.purchase-guidance h2 { font-size: 18px; }
.purchase-steps,.pricing-conditions { margin: 18px 0 0; padding-left: 21px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.purchase-steps li+li,.pricing-conditions li+li { margin-top: 10px; }
.purchase-steps li::marker { color: var(--lavender); font-variant-numeric: tabular-nums; }
.pricing-details .recovery-link { display: inline-block; margin-top: 18px; font-size: 12px; }
.purchase-guidance { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 28px; }
.purchase-guidance p { color: var(--muted); font-size: 12px; line-height: 1.85; margin-top: 8px; max-width: 700px; }
.purchase-guidance>a { flex-shrink: 0; font-size: 12px; }
.pricing-note { font-size: 11px; color: var(--muted); margin-top: 20px; max-width: 900px; line-height: 1.85; }
.account-plans>.section-heading { margin-bottom: 0; }
.account-plans>.section-heading .muted { max-width: 700px; line-height: 1.8; }
@media(max-width:1100px) {
  .plan-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .plan-card { grid-column: span 2; }
  .plan-card:nth-last-child(-n+2) { grid-column: span 3; }
}
@media(max-width:720px) {
  .header { padding-inline: 17px; margin-top: 12px; }
  .plan-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .plan-card,.plan-card:nth-last-child(-n+2) { grid-column: auto; }
  .plan-card:last-child { grid-column: 1/-1; }
  .pricing-inclusions { grid-template-columns: 1fr; gap: 19px; padding: 23px; }
  .pricing-inclusions .pricing-inclusions-note { margin-top: 0; }
  .pricing-details { grid-template-columns: 1fr; gap: 16px; }
  .purchase-guidance { padding: 23px; flex-direction: column; align-items: stretch; gap: 18px; }
  .purchase-guidance>a { align-self: start; white-space: normal; }
  .admin-table-frame { padding: 0 18px; }
}
@media(max-width:480px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; padding: 21px; }
  .plan-card h3 { font-size: 20px; }
  .plan-price { grid-column: 2; grid-row: 1/3; margin: 0; text-align: right; }
  .plan-price strong { font-size: 30px; }
  .plan-description { grid-column: 1; min-height: 0; margin: 7px 0 0; max-width: 150px; font-size: 11px; }
  .plan-card .button { grid-column: 1/-1; margin-top: 18px; }
  .pricing-heading { align-items: flex-start; flex-direction: column; }
}

@media(max-width:1150px) {
  .site { padding-inline: 34px; }
  .home-hero { min-height: 440px; padding: 28px; }
  .home-art { margin-right: 0; }
  .home-copy h1 { font-size: 39px; }
  .home-price { gap: 18px; flex-wrap: wrap; justify-content: flex-start; }
  .admin-workspace { grid-template-columns: 1fr; gap: 30px; }
  .admin-code-form { grid-template-columns: 1.6fr 1fr 1fr; }
  .document-layout { gap: 38px; grid-template-columns: 175px minmax(0,1fr); }
  .auth-layout { gap: 45px; grid-template-columns: 1fr 420px; }
}
@media(max-width:800px) {
  .site { padding-inline: 24px; }
  .header { height: auto; min-height: 86px; padding-block: 20px; flex-wrap: wrap; gap: 15px; }
  .header nav { gap: 18px; }
  .home-hero { padding: 25px; min-height: 0; gap: 20px; }
  .home-copy h1 { font-size: 37px; letter-spacing: -1.4px; }
  .home-lead { font-size: 14px; margin-top: 22px; }
  .home-art { aspect-ratio: .85; }
  .home-addition { font-size: 12px; }
  .home-actions { gap: 20px; flex-wrap: wrap; }
  .behavior-copy { column-gap: 30px; }
  .behavior-copy h2 { font-size: 27px; }
  .home-access { gap: 30px; padding: 28px; }
  .download-section { grid-template-columns: 1fr 260px; padding: 26px; gap: 25px; }
  .document-layout { display: block; margin-top: 30px; }
  .document-navigation { position: static; padding: 16px; margin-bottom: 20px; }
  .document-back { margin-left: 0; }
  .document-navigation nav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
  .document-navigation nav a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 2px; font-size: 12px; }
  .document-navigation nav a[aria-current=page] { border-color: #89739d; }
  .document-page { max-width: none; }
  .document-heading h1 { font-size: 34px; }
  .auth-layout { max-width: 460px; display: block; margin-block: 38px; }
  .auth-aside { display: none; }
}
@media(max-width:720px) {
  .account-plans { padding: 0; }
  .batch-body { padding: 17px; }
  .promo-batch>summary { padding: 17px; }
  .site { padding-inline: 20px; }
  main { padding-bottom: 42px; }
  .header { min-height: 80px; }
  .brand { font-size: 27px; gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .header nav { gap: 14px; }
  .header .nav-link { font-size: 12px; }
  .header .pricing-nav { display: none; }
  .header .button-small { font-size: 11px; min-height: 36px; padding: 8px 11px; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 23px; }
  .home-copy h1 { font-size: clamp(34px,8vw,44px); line-height: 1.1; }
  .home-copy h1 span { margin-top: 10px; }
  .home-lead { line-height: 1.9; }
  .home-addition { margin-top: 14px; }
  .home-art { aspect-ratio: 1.6; width: 100%; max-width: 500px; }
  .home-art img { object-position: 50% 34%; }
  .home-actions { gap: 22px; margin-top: 25px; }
  .behavior-section { padding: 22px; }
  .behavior-copy { display: block; margin-bottom: 25px; }
  .behavior-copy h2 { font-size: 27px; max-width: none; }
  .behavior-copy p { font-size: 13px; margin-top: 16px; }
  .behavior-copy p.behavior-secondary { font-size: 12px; margin-top: 12px; }
  .menu-gallery { padding-top: 21px; }
  .gallery-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 18px; }
  .gallery-tabs button { padding: 9px 8px; font-size: 12px; }
  .showcase-frame { border-radius: 0; }
  .gallery-caption { grid-template-columns: 1fr; gap: 7px; height: 128px; padding-top: 20px; align-content: start; }
  .gallery-caption h3 { font-size: 18px; }
  .gallery-caption p { font-size: 12px; }
  .home-access { grid-template-columns: 1fr; gap: 23px; padding: 25px; margin-bottom: 28px; }
  .home-access h2 { font-size: 24px; }
  .home-access p { font-size: 13px; }
  .home-price { flex-wrap: nowrap; gap: 15px; justify-content: space-between; }
  .home-price strong { font-size: 24px; }
  .home-price .button { font-size: 12px; padding-inline: 15px; }
  .access-line { padding: 23px; gap: 20px; align-items: flex-start; flex-direction: column; }
  .access-line p { font-size: 12px; }
  .page-heading, .account-heading, .admin-heading { padding: 30px 0 25px; gap: 16px; }
  .account-heading h1, .admin-heading h1 { font-size: 28px; letter-spacing: -.8px; }
  .account-heading { align-items: flex-start; }
  .account-heading>.button { padding-inline: 10px; font-size: 11px; min-height: 34px; }
  .workspace-tabs { width: 100%; display: flex; gap: 3px; padding: 4px; margin-bottom: 25px; }
  .workspace-tabs a { padding: 10px 9px; font-size: 12px; text-align: center; flex: 1; }
  .access-overview { display: block; padding: 24px; }
  .access-summary { padding: 0; }
  .access-summary .section-heading { margin-bottom: 24px; }
  .access-duration { font-size: 43px; }
  .access-empty { font-size: 25px; }
  .access-activation { margin-top: 25px; border-left: 0; border-top: 1px solid #51435e; padding: 24px 0 0; }
  .activation-form .button { width: 100%; }
  .download-section { grid-template-columns: 1fr; padding: 24px; gap: 27px; }
  .launcher-preview { width: 100%; max-width: 360px; }
  .security-panel, .account-history { padding: 24px; }
  .security-email { flex-direction: column; align-items: flex-start; gap: 12px; }
  .password-form { grid-template-columns: 1fr; gap: 18px; }
  .password-form-bottom { flex-direction: column; align-items: stretch; gap: 18px; }
  .security-email-action { flex-wrap: wrap; }
  .admin-heading { flex-direction: column; align-items: flex-start; }
  .admin-summary { gap: 25px; }
  .admin-summary>div { padding-left: 13px; }
  .admin-summary strong { font-size: 25px; display: block; }
  .admin-code-form { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .admin-create-panel { padding: 24px; }
  .admin-table th { display: none; }
  .admin-table td { padding: 6px 0; font-size: 12px; }
  .admin-table td:last-child { padding-right: 0; }
  .admin-table tr { padding: 19px 0; }
  .admin-table .user-detail-row { padding: 0; }
  .user-detail { padding: 18px; }
  .user-control-grid { grid-template-columns: 1fr; gap: 17px; }
  .user-detail .panel { padding: 18px; }
  .user-facts { grid-template-columns: 1fr 1fr; gap: 18px; }
  .user-command-bar { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .user-delete { align-items: stretch; }
  .document-layout { margin-top: 26px; }
  .document-heading { padding: 23px; margin-bottom: 0; }
  .document-heading h1 { font-size: clamp(22px,6vw,30px); letter-spacing: -.8px; }
  .document-heading p { font-size: 12px; margin-top: 16px; }
  .document-body { padding: 23px; font-size: 13px; line-height: 1.9; }
  .document-body h2 { font-size: 19px; }
  .document-body section+section { margin-top: 30px; }
  .seller-details { gap: 5px; }
  .auth-panel { padding: 27px; }
  .auth-panel h1 { font-size: 27px; }
  .email-action-panel { padding: 27px; margin-block: 35px 10px; }
  .email-action-panel h1 { font-size: 27px; }
  .footer { grid-template-columns: 1fr; gap: 25px; padding-block: 27px 23px; }
  .footer-documents { justify-content: start; gap: 16px 28px; padding: 0; font-size: 11px; }
  .footer-note { grid-column: auto; font-size: 10px; line-height: 1.8; }
}
@media(max-width:380px) {
  .site { padding-inline: 16px; }
  .header .brand { font-size: 24px; }
  .header nav { gap: 10px; }
  .header .brand img { width: 27px; height: 27px; }
  .home-price { flex-wrap: wrap; }
  .account-heading { flex-direction: column; }
  .footer-documents { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) { .button { transition: none; } }
