:root {
  color-scheme: light;
  font-family: var(--brand-font);
  color: var(--brand-navy);
  background: var(--brand-paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }

.entry-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1fr);
}

.entry-side {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 100% 100%, var(--brand-navy-soft), transparent 66%), var(--brand-navy);
  color: #fff;
  min-height: 100%;
  padding: clamp(28px, 6vw, 85px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
}

.entry-side::after {
  content: "";
  position: absolute;
  inset: auto -50% -50% auto;
  width: 92%;
  height: 95%;
  border: 1px solid #ffffff25;
  border-radius: 50%;
  box-shadow: 0 0 0 36px #ffffff09, 0 0 0 76px #ffffff09, 0 0 0 116px #ffffff08;
  z-index: -1;
}

.brand {
  display: inline-block;
  width: min(100%, 205px);
  padding: 9px 12px;
  border-radius: 9px;
  background: #fff;
  text-decoration: none;
}

.brand img { width: 100%; }
.eyebrow { margin: 0 0 15px; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; }
.entry-side .eyebrow { color: var(--brand-orange); }

.entry-side h1 {
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.063em;
  margin: 0 0 21px;
}

.entry-side p:not(.eyebrow) { color: #d7e4f2; max-width: 360px; line-height: 1.65; font-size: 16px; }
.home-link { font-size: 14px; color: #d7e4f2; text-underline-offset: 4px; width: max-content; }
.entry-panel { display: grid; place-items: center; padding: 42px 28px; }
.entry-card { width: min(100%, 420px); }
.entry-card .eyebrow { color: var(--brand-orange-ink); }

.entry-card h2,
.paper h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.05em;
  margin: 0 0 15px;
}

.entry-card p:not(.eyebrow),
.paper > p { color: var(--brand-muted); line-height: 1.6; }
form { display: grid; gap: 10px; margin-top: 28px; }
label { font-weight: 700; font-size: 14px; }

input:not([type="checkbox"]),
textarea {
  width: 100%;
  font: inherit;
  min-height: 49px;
  border: 1px solid #b7c7d8;
  border-radius: 10px;
  background: #fff;
  color: var(--brand-navy);
  padding: 11px 13px;
}

textarea { min-height: 115px; resize: vertical; }
button {
  font: 700 15px/1.25 var(--brand-font);
  background: var(--brand-orange);
  color: var(--brand-navy);
  border: 0;
  border-radius: 10px;
  min-height: 50px;
  padding: 12px 18px;
  cursor: pointer;
}

button:hover:not(:disabled) { background: var(--brand-orange-hover); }
form button { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; }
button:disabled { opacity: .55; cursor: not-allowed; }
.text-button { background: transparent; color: var(--brand-navy); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover:not(:disabled) { background: transparent; color: var(--brand-orange-ink); }
:focus-visible { outline: 3px solid var(--brand-orange-ink); outline-offset: 3px; }
.entry-side :focus-visible { outline-color: var(--brand-orange); }

.feedback { padding: 12px 14px; border: 1px solid var(--brand-line); border-radius: 10px; background: #eaf1f8; }
.feedback[data-error="true"] { background: #f9e9e9; border-color: #d8aeae; color: #7a2731 !important; }

.public-bar {
  padding: 20px clamp(18px, 6vw, 75px);
  background: #fff;
  border-bottom: 1px solid var(--brand-line);
}

.public-bar .brand { padding: 0; }

.paper {
  margin: clamp(30px, 7vw, 90px) auto;
  width: min(680px, calc(100% - 36px));
  padding: clamp(22px, 6vw, 56px);
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 20px;
}

.paper h2 { font-size: 22px; line-height: 1.2; font-weight: 700; margin: 32px 0 0; letter-spacing: -.03em; }
.paper label:not(:first-child) { margin-top: 9px; }
.paper .check { display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.paper .check input { accent-color: var(--brand-navy); width: 20px; height: 20px; margin: 0; }
.contract-copy { white-space: pre-wrap; overflow-wrap: anywhere; padding: 18px 0; line-height: 1.7; border-block: 1px solid var(--brand-line); }
.trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

#contract-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 14px; margin: 25px 0; line-height: 1.5; }
#contract-details dt { font-weight: 700; }
#contract-details dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 680px) {
  .entry-layout { grid-template-columns: 1fr; }
  .entry-side { min-height: 220px; padding: 25px; gap: 23px; }
  .entry-side h1 { font-size: 42px; margin-bottom: 8px; }
  .entry-side p:not(.eyebrow), .entry-side .home-link { display: none; }
  .entry-panel { place-items: start center; padding: 35px 22px 55px; }
  .entry-card h2 { font-size: 38px; }
}
