/* Contact and support: the house backdrop, frame, cover, breadcrumb and action family.
   This page does not load site.css, so it declares the shared values itself. */
:root {
  --ink: #17203a;
  --muted: #55607a;
  --paper: #fdfdfc;
  --pearl: #f3f5f9;
  --line: #b8c1d3;
  --blue: #1f4f8f;
  --focus: #dca457;
  --alert: #8d2637;
  --serif: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif;
  --sans: Tahoma, Verdana, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: #9aa8bc; }

body {
  min-width: 320px;
  margin: 0;
  display: flow-root;
  min-height: 100vh;
  color: var(--ink);
  background-color: #9aa8bc;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #dce2ed, #9aa8bc);
  font: 15px/1.55 var(--sans);
}

a { color: var(--blue); text-underline-offset: .2em; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); text-wrap: balance; }

.offer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #36455f;
  outline: 1px solid rgba(255, 255, 255, .5);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .35),
    inset 0 -2px rgba(12, 20, 34, .42),
    0 22px 60px rgba(22, 31, 52, .38);
}

.offer-header {
  position: relative;
  padding: 76px clamp(22px, 5vw, 64px) 52px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 8%, rgba(120, 160, 255, .34), transparent 60%),
    radial-gradient(90% 70% at 8% 100%, rgba(255, 207, 102, .18), transparent 60%),
    linear-gradient(180deg, #1b3478 0%, #0f1d3d 100%);
}

.offer-header .hierarchy-nav.hierarchy-nav {
  position: absolute;
  top: 22px;
  left: clamp(18px, 3vw, 28px);
  max-width: calc(100% - 56px);
  margin: 0;
}

.eyebrow { margin: 0 0 9px; font: 700 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.offer-header h1 { max-width: 18ch; margin: 0; font: 600 clamp(44px, 7.4vw, 96px)/.94 var(--serif); letter-spacing: -.012em; text-shadow: 0 2px 18px rgba(5, 10, 30, .35); }
.opening { max-width: 46ch; margin: 18px 0 0; color: #e8edf9; font: 19px/1.45 var(--serif); }

.instrument {
  display: grid;
  grid-template-columns: 72px 1fr 260px;
  background: var(--pearl);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 14px 26px -18px rgba(15, 29, 61, .55);
}
.instrument-number { display: grid; place-items: center; color: #e8eef9; background: linear-gradient(90deg, #2c3d6b, #0f1d3d); font: 700 13px/1 var(--sans); letter-spacing: .12em; writing-mode: vertical-rl; }
.instrument-copy { padding: 30px clamp(22px, 4vw, 40px); }
.instrument-copy .eyebrow { margin: 0 0 9px; }
.instrument-copy h2 { max-width: 24ch; margin: 0; font: 600 clamp(26px, 3vw, 34px)/1.15 var(--serif); letter-spacing: -.02em; }
.instrument-status { margin: 0; padding: 20px 24px; background: #e9edf4; border-left: 1px solid var(--line); }
.instrument-status div { padding: 9px 0; border-bottom: 1px dotted #8f9bae; }
.instrument-status dt { color: var(--muted); font: 700 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.instrument-status dd { margin: 3px 0 0; }

.notice { margin: 0; padding: 20px clamp(22px, 5vw, 64px); background: #fff4cf; border-bottom: 1px solid #c79a2c; border-left: 4px solid #c79a2c; }
.notice h2 { margin: 0 0 4px; font: 600 24px/1.2 var(--serif); }
.notice p { margin: 0; font: 17px/1.5 var(--serif); }
.notice--success { background: #e2f2e8; border-color: #47765b; }
.notice--error { background: #fbe4e5; border-color: #a14f5c; }
.notice--error ul { margin-bottom: 0; }

.offer-form { margin: 0; padding: 40px clamp(22px, 5vw, 64px) 56px; background: var(--paper); }
.offer-form > * { max-width: 760px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset[disabled] { opacity: .62; }
legend { width: 100%; margin-bottom: 8px; font: 600 clamp(28px, 3.4vw, 36px)/1.1 var(--serif); letter-spacing: -.02em; }
.required-note { margin: 0 0 28px; color: var(--muted); }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 7px; font-weight: bold; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #68768c;
  border-radius: 2px;
  font: inherit;
}
.field textarea { resize: vertical; }
.field small { display: block; margin-top: 4px; color: var(--muted); }
.field--error input, .field--error textarea, .field--error select { border: 2px solid #b0364a; }
.field-error { margin: 5px 0 0; color: var(--alert); font-weight: bold; }

.payment-links { margin: 0 0 32px; padding: 20px 22px; background: #fff4cf; border-left: 4px solid #c79a2c; }
.payment-links h2 { margin: 0 0 6px; font: 600 24px/1.2 var(--serif); }
.payment-links p { margin-top: 0; font: 17px/1.5 var(--serif); }
.payment-links div { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 16px;
  color: #fff;
  background: linear-gradient(#75aaca, #346c96);
  border: 1px solid #527d9e;
  border-radius: 5px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .46), 0 2px 4px rgba(16, 43, 61, .19);
  font: 700 13px/1.3 var(--sans);
  text-decoration: none;
}
.payment-links a:hover { color: #fff; background: linear-gradient(#8abbd7, #427da5); }

/* The one primary action on the page. */
button {
  min-height: 44px;
  padding: 10px 20px;
  color: #4f3a00;
  background: linear-gradient(#ffedba, #ffcf66);
  border: 1px solid #c79a2c;
  border-radius: 5px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .7), 0 2px 4px rgba(79, 58, 0, .2);
  font: 700 13px/1.3 var(--sans);
  cursor: pointer;
}
button:hover { background: linear-gradient(#fff4d1, #ffd77e); }
button:active { box-shadow: inset 0 2px 4px rgba(79, 58, 0, .3); transform: translateY(1px); }
button:disabled { cursor: default; filter: saturate(.4); }

.trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 760px) {
  .offer-shell { width: calc(100% - 24px); margin: 12px auto; }
  .offer-header { padding: 84px 20px 38px; }
  .offer-header h1 { font-size: clamp(40px, 13vw, 52px); }
  .opening { font-size: 17px; }
  .instrument { grid-template-columns: 52px 1fr; }
  .instrument-status { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 520px) {
  .offer-shell { width: 100%; margin: 0; border-right: 0; border-left: 0; outline: 0; }
  .instrument { display: block; }
  .instrument-number { padding: 7px; writing-mode: initial; }
  .instrument-copy { padding: 24px 20px; }
  .notice { padding: 18px 20px; }
  .offer-form { padding: 28px 20px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  button:active { transform: none; }
}
