:root {
  color-scheme: light;
  --paper: #f7f9fc;
  --ink: #102036;
  --muted: #475974;
  --blue: #174dd2;
  --navy: #122039;
  --line: #dce4ef;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 Inter, system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #bb581f; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
p { color: var(--muted); }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }

.site-header, .footer-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-header { min-height: 78px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 190px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 14px; font-weight: 650; }
nav a { text-decoration: none; text-underline-offset: 4px; }
nav a:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: 60px; min-height: 560px; padding-block: 86px; }
h1 { font-size: clamp(42px, 5vw, 74px); font-weight: 780; line-height: 1.02; letter-spacing: -.06em; }
h1 span { display: block; color: var(--blue); text-wrap: balance; }
.hero-copy p { max-width: 48ch; margin-block: 24px; font-size: 18px; }
.button { display: inline-flex; gap: 18px; align-items: center; padding: 12px 18px; border-radius: 8px; background: var(--blue); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: #123da8; }

.receipt { min-width: 0; padding: 26px 30px 24px; border: 1px solid #263957; border-radius: 17px; background: var(--navy); color: #f8fbff; box-shadow: 0 24px 48px #1c33542b; }
.receipt-heading { display: flex; justify-content: space-between; gap: 12px; color: #becbe0; font-size: 13px; }
.receipt-heading strong { color: #d9e5fa; }
.receipt h2 { margin: 14px 0 17px; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; }
.receipt dl { margin: 0; }
.receipt dl div { padding: 10px 0; border-top: 1px solid #34445e; }
.receipt dt { margin-bottom: 4px; color: #aec0db; font-size: 12px; font-weight: 650; }
.receipt dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.receipt code { color: #e0edff; }
.receipt-status { margin-right: 6px; padding: 2px 7px; border-radius: 4px; background: #54283b; color: #ffccd7; font-size: 12px; }

.section { padding-block: 62px; }
.section h2 { margin-bottom: 17px; font-size: clamp(28px, 4vw, 42px); font-weight: 760; line-height: 1.09; letter-spacing: -.045em; }
.section p { max-width: 68ch; }
.section h3 { margin-bottom: 7px; font-size: 18px; }
.workflow { background: #eaf0fa; border-block: 1px solid #dce5f2; }
.steps { display: grid; }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 29px 0 0; padding: 0; list-style: none; }
.steps li { padding-top: 16px; border-top: 2px solid #9cb5e3; }
.plan { padding: 21px 24px; border: 1px solid #d9e3f0; border-radius: 12px; background: white; }

.site-footer { padding-block: 36px 23px; background: var(--navy); color: #f8fbff; }
.site-footer p { margin-top: 25px; padding-top: 17px; border-top: 1px solid #34445e; color: #becbe0; font-size: 14px; }
.site-footer a:focus-visible { outline-color: #a9c5ff; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 32px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 66px; padding-block: 12px; gap: 8px 16px; }
  .brand img { width: 160px; }
  nav { gap: 8px 15px; font-size: 13px; }
  .hero, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; gap: 28px; padding-block: 49px; }
  .hero-copy p { margin-block: 19px; font-size: 16px; }
  .receipt { padding: 20px; }
  .section { padding-block: 44px; }
  .steps { gap: 17px; }
}

.site-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.page-intro { max-width: 760px; margin-bottom: 36px; }
.page-intro p { margin: 16px 0; font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); gap: 16px; }
.feature-grid .plan:last-child, .site-form.plan { background: white; border-color: #d9e3f0; }
.feature-grid h2 { font-size: 23px; margin-bottom: 10px; }
.command { overflow: auto; max-width: 100%; padding: 18px; border-radius: 10px; background: var(--navy); color: white; }
.site-form { max-width: 660px; display: grid; justify-items: start; gap: 16px; }
.site-form label { display: grid; gap: 5px; width: 100%; font-weight: 650; }
.site-form input, .site-form select, .site-form textarea { width: 100%; padding: 9px; border: 1px solid #8999b1; border-radius: 6px; font: inherit; }
button.button { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.site-form :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; margin: 0; }
.stats div { padding: 14px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.stats dt { color: var(--muted); }
.stats dd { margin: 5px 0 0; font-weight: 700; }
.staff-section { margin-top: 38px; }
.ticket { margin-block: 12px; overflow-wrap: anywhere; }
.ticket p { margin: 8px 0; white-space: pre-wrap; }
.ticket summary { cursor: pointer; font-weight: 700; }

