:root {
  --ink: #182938; --muted: #526370; --accent: #ac3d2b;
  --paper: #f7f6f2; --line: #d8dfdf; --tint: #eff3f2; --radius: 18px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.9 Tahoma, "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p { margin-block: 0 1rem; }
h1 { font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.55; letter-spacing: -.035em; }
h2 { font-size: 1.3rem; } h3 { font-size: 1.12rem; }
small { font-size: .85rem; font-weight: 400; }
bdi { unicode-bidi: isolate; }
.container { max-width: 1160px; padding-inline: 24px; margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; gap: 24px; justify-content: space-between; align-items: center; min-height: 90px; flex-wrap: wrap; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 750 1.5rem "Segoe UI", sans-serif; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; border: 2px solid var(--accent); color: var(--accent); border-radius: 12px; width: 40px; height: 40px; font-size: 1.3rem; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
nav a { font-size: .92rem; }
.account-nav { padding-block: 20px; border-bottom: 1px solid var(--line); gap: 22px; }
main { padding-block: 36px; min-height: 65vh; overflow-wrap: anywhere; }
section + section, .stack > * + * { margin-top: 26px; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; padding-block: 20px 44px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.55rem); }
.lead { font-size: 1.08rem; line-height: 2.1; max-width: 65ch; }
.eyebrow { font-size: .85rem; color: var(--accent); font-weight: bold; }
.sample { background: var(--ink); color: white; padding: 30px; border-radius: 24px; box-shadow: 12px 12px 0 #e1e7e2; }
.sample .muted { color: #d5dfe3; }
.steps { padding-inline-start: 24px; } .steps li { padding-block: 8px; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-block: 25px; }
.grid { display: grid; gap: 22px; }
.grid + .grid { margin-top: 26px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > section + section { margin-top: 0; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.form-card { max-width: 640px; margin-inline: auto; }
.number { display: inline-grid; place-items: center; background: var(--tint); width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
.price, .metric { font-size: 1.7rem; line-height: 1.7; font-weight: bold; }
.badge { display: inline-block; background: var(--tint); color: var(--ink); padding: 4px 10px; border-radius: 9px; font-size: .8rem; margin-bottom: 12px; }
.sample .badge { background: #304654; color: white; }
.notice { padding: 18px 22px; border-inline-start: 4px solid #9c7320; border-radius: 8px; background: #fff1d2; margin-block: 20px; }
.notice.error, .field-errors { color: #8b2020; }
.notice.success { background: #e7f4eb; border-color: #37724c; }
.muted, .help { color: var(--muted); font-size: .9rem; }
.empty { padding: 36px; background: var(--tint); border-radius: var(--radius); border: 1px dashed #b2c1bf; }
.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 22px; background: var(--accent); border: 1px solid var(--accent); color: white; border-radius: 10px; text-decoration: none; font: inherit; font-weight: bold; cursor: pointer; line-height: 1.6; }
.button.small { padding: 8px 14px; min-height: 40px; font-size: .9rem; }
.button.secondary, button.secondary { background: transparent; color: var(--accent); }
button:disabled { background: #e2e7e7; border-color: #c6cfcf; color: #53636c; cursor: not-allowed; }
.inline { display: inline; }
.link-button { display: inline; background: none; border: 0; color: var(--accent); padding: 0; min-height: 36px; font-weight: normal; text-decoration: underline; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: bold; margin-bottom: 7px; }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; max-width: 100%; min-height: 46px; border: 1px solid #96a9b1; border-radius: 8px; padding: 10px 12px; font: inherit; background: white; color: var(--ink); }
.field input[type=checkbox] { width: 20px; height: 20px; vertical-align: middle; accent-color: var(--accent); }
.field input[type=password], .field input[type=number] { direction: ltr; text-align: right; }
.field .help { margin-top: 7px; }
.help ul, .field-errors ul { padding-inline-start: 23px; margin-block: 4px; }
.invalid input, .invalid textarea, .invalid select { border-color: #a82b2b; }
.field-errors { font-size: .9rem; margin-block: 8px; }
:focus-visible { outline: 3px solid #00718a; outline-offset: 4px; }
.skip { position: absolute; inset-block-start: -100px; inset-inline-start: 16px; padding: 10px; background: white; z-index: 5; }
.skip:focus { inset-block-start: 8px; }
dl { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 10px; }
dt { color: var(--muted); } dd { margin: 0; min-width: 0; }
.break { overflow-wrap: anywhere; } .spaced { margin-top: 24px; }
details { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
summary { cursor: pointer; font-weight: bold; padding-block: 7px; }
.preview-banner { background: #fff1d2; border-bottom: 2px solid #9c7320; text-align: center; padding: 12px 24px; font-size: .9rem; }
.table-scroll { overflow-x: auto; margin-block: 20px; }
table { border-collapse: collapse; width: 100%; background: white; }
caption { text-align: start; font-weight: bold; padding: 10px; }
th, td { text-align: start; padding: 14px; border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding-block: 26px; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) {
  .grid.plans, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { gap: 24px; }
}
@media (max-width: 650px) {
  .container { padding-inline: 18px; } .header-inner { gap: 12px; } nav { gap: 12px; }
  .hero, .grid.two, .grid.three, .grid.plans { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 0; gap: 25px; } .hero h1 { font-size: 2.35rem; }
  .sample { padding: 24px; box-shadow: 6px 6px 0 #e1e7e2; }
  .card { padding: 22px; } main { padding-block: 26px; }
  .account-nav { gap: 14px; } dl { grid-template-columns: 1fr; }
  dd { margin-bottom: 10px; } .actions { gap: 18px; } .metric { font-size: 1.5rem; }
}
