:root {
  color-scheme: light;
  --paper: #f9f7f3;
  --surface: #fffdf9;
  --ink: #202a37;
  --text-soft: #61574e;
  --line: #e4d9ce;
  --accent: #963f2f;
  --accent-dark: #743525;
  --accent-soft: #f2dfd4;
  --heading: Georgia, 'Times New Roman', serif;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, dl, dd, ul { margin: 0; }
button, input { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ab4c30; outline-offset: 3px; }

.topbar { background: var(--ink); color: var(--surface); }
.topbar-inner, .frame { max-width: 1120px; margin-inline: auto; padding-inline: 36px; }
.topbar-inner { min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; letter-spacing: -.035em; }
.wordmark span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; background: #dc9a7b; color: #30231e; font: bold 21px/1 var(--heading); }
.environment { color: #e0d9d2; font-size: .85rem; }
.frame { padding-block: 72px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 112px); align-items: start; }
h1, h2 { font-family: var(--heading); font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 14ch; font-size: clamp(2.85rem, 5.1vw, 4.75rem); line-height: .99; }
h2 { font-size: 2.15rem; line-height: 1.12; }
.introduction > p, .receipt > p:not(.state) { color: var(--text-soft); margin-top: 17px; max-width: 43ch; }
.features { margin-top: 32px; }
.features > div { border-top: 1px solid var(--line); padding-block: 15px; }
dt { font-size: .89rem; font-weight: 650; }
dd { margin-top: 3px; color: var(--text-soft); overflow-wrap: anywhere; }
.features dd { font-size: .91rem; }
.summary { margin-top: 20px; padding: 17px 19px; border-radius: 10px; background: var(--accent-soft); }
.summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.summary strong { font: 1.55rem/1 var(--heading); white-space: nowrap; }
.summary span, .summary p { font-size: .84rem; }
.summary p { margin-top: 5px; color: #614134; }
.card { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 7px 32px rgb(54 28 9 / 5%); }
.hint { color: var(--text-soft); font-size: .83rem; }
.form-hint { margin-top: 7px; }
.card form { margin-top: 23px; }
.field + .field { margin-top: 15px; }
.field label { display: block; margin-bottom: 5px; font-size: .86rem; font-weight: 650; }
.field input { display: block; width: 100%; min-height: 43px; border: 1px solid #d8cbbb; border-radius: 7px; padding: 8px 11px; background: var(--surface); color: var(--ink); font-size: .96rem; }
.domain { overflow-wrap: anywhere; }
.field .domain { margin-top: 6px; }
.field .domain span { font-weight: 650; }
.primary, .secondary { text-decoration: none; border: 1px solid transparent; border-radius: 8px; padding: 10px 15px; min-height: 43px; font-weight: 650; font-size: .9rem; text-align: center; }
.primary { display: block; width: 100%; margin-top: 23px; background: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-dark); }
.secondary { display: inline-block; margin-top: 22px; border-color: #d8cbbb; color: var(--ink); }
.secondary:hover { background: #f5ede5; }
.error { padding: 10px 12px; margin-top: 15px; border: 1px solid #dbbfb3; border-radius: 6px; background: #faece7; color: #7e3026; font-size: .88rem; }
.receipt { max-width: 680px; margin-inline: auto; }
.receipt h1 { font-size: clamp(2.4rem, 5.1vw, 3.7rem); max-width: none; }
.receipt .state { margin-bottom: 11px; font-weight: 650; font-size: .88rem; }
.state-good { color: #295544; }
.pending-domain { font-weight: 650; }
.order-summary { margin-top: 22px; }
.order-summary > div, .credentials dl > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 9px; border-top: 1px solid var(--line); padding-block: 11px; }
.order-summary dd, .credentials dd { margin-top: 0; font-size: .91rem; }
.notice { border-radius: 8px; padding: 10px 13px; margin-top: 15px; background: var(--accent-soft); color: #614134; font-size: .89rem; }
.access-list { list-style: none; margin-top: 23px; padding: 0; border-block: 1px solid var(--line); }
.access-list li + li { border-top: 1px solid var(--line); }
.access-list a { position: relative; display: block; padding-block: 13px; padding-right: 25px; border-radius: 4px; text-decoration: none; }
.access-list a:hover { color: var(--accent); }
.access-list span { display: block; }
.access-list span:first-child { font-weight: 680; }
.access-list .arrow { position: absolute; top: 15px; right: 4px; }
.access-list .hint { overflow-wrap: anywhere; }
.credentials { margin-top: 22px; border-radius: 8px; border: 1px solid var(--line); padding: 11px 13px; }
.credentials summary { cursor: pointer; font-weight: 650; font-size: .9rem; }
.credentials dl { margin-top: 11px; }
.credentials code { color: var(--ink); }

@media (max-width: 780px) {
  .frame { padding-block: 40px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 30px; }
  .features { display: none; }
  .summary { max-width: 440px; }
}
@media (max-width: 480px) {
  .topbar-inner, .frame { padding-inline: 18px; }
  .card { padding: 21px; }
  .order-summary > div, .credentials dl > div { grid-template-columns: 1fr; gap: 2px; }
}
