:root {
  color-scheme: light;
  --ink: #152348;
  --subtle: #4b5b77;
  --line: #dce4f3;
  --blue: #214bd4;
  font: 16px/1.55 "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #f1f6ff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  background: radial-gradient(ellipse at 10% 18%, #dcecff 0%, transparent 47%),
              radial-gradient(ellipse at 100% 75%, #e9e5fc 0%, transparent 45%), #f3f7ff;
}
.shell { width: min(calc(100% - 56px), 1160px); margin-inline: auto; }
.site-header { border-bottom: 1px solid #dbe4f5; background: #f8faffd9; }
.header-inner, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner { min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 1.17rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.brand img { width: 50px; height: 50px; border-radius: 13px; box-shadow: 0 5px 15px #123c8826; }
.brand strong { color: #244fd0; }
.brand small { display: block; margin-top: 5px; font-size: .68rem; color: var(--subtle); letter-spacing: .025em; font-weight: 600; }
.browse { display: inline-flex; align-items: center; gap: 12px; color: #2348af; background: #fff; text-decoration: none; font-size: .85rem; font-weight: 700; border: 1px solid #d9e4f6; border-radius: 100px; padding: 10px 15px; }
.browse:hover { background: #e7efff; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.01fr); gap: 24px; padding-top: clamp(25px, 5vw, 66px); }
.welcome, .form-panel { border-radius: 30px; overflow: hidden; }
.welcome {
  position: relative; display: flex; flex-direction: column;
  color: white; background: radial-gradient(ellipse at 92% 42%, #346bf4 0%, transparent 55%), linear-gradient(142deg, #14265a 0%, #183ba7 55%, #23317e 100%);
  box-shadow: 0 23px 55px #192e7042;
}
.welcome-copy { z-index: 1; position: relative; padding: clamp(24px, 4vw, 46px) clamp(24px, 4vw, 46px) 0; }
h1, h2, p { margin: 0; }
h1 { max-width: 8em; font-size: clamp(2.7rem, 5.3vw, 4.65rem); line-height: .99; letter-spacing: -.065em; font-weight: 750; }
h1 em { display: block; font-style: normal; color: #bde7ff; }
.welcome-copy p { max-width: 36ch; margin-top: 19px; color: #eef5ff; line-height: 1.6; }
.mascot-stage { position: relative; display: grid; place-items: center; min-height: 240px; flex: 1; isolation: isolate; overflow: hidden; margin-top: 4px; }
.mascot-stage img { display: block; z-index: 1; width: clamp(210px, 29vw, 320px); height: auto; filter: drop-shadow(0 17px 16px #081b58aa); }
.orbit { position: absolute; width: 77%; aspect-ratio: 1; border: 1px solid #d8eaff35; border-radius: 50%; transform: translate(7%, 7%); }
.orbit-one { box-shadow: 0 0 0 18px #abcfff12, inset 0 0 90px #8cd4ff43; background: radial-gradient(circle, #6fa7ff73, #639cff1a 63%, transparent); }
.orbit-two { width: 63%; transform: translate(-10%, 14%); border-color: #f4f6ff30; }
.next-step { z-index: 1; position: relative; margin: 0 clamp(19px, 3vw, 32px) clamp(19px, 3vw, 32px); padding: 14px 18px; border-radius: 17px; border: 1px solid #bed4ff4d; background: #101f594d; }
.next-step strong { color: #f5f8ff; font-size: .91rem; }
.next-step p { color: #e0eaff; font-size: .87rem; margin-top: 2px; }
.form-panel { padding: clamp(24px, 4vw, 45px); background: #fff; border: 1px solid #dfe7f6; box-shadow: 0 22px 56px #1e438215; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); letter-spacing: -.055em; line-height: 1.08; }
.form-intro { margin-top: 10px; color: var(--subtle); font-size: .96rem; }
form { display: grid; gap: 19px; margin-top: 25px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; align-content: start; gap: 7px; font-size: .89rem; font-weight: 700; }
label small { color: var(--subtle); font-weight: 500; margin-left: 4px; }
input, textarea { display: block; width: 100%; min-width: 0; padding: 10px 12px; min-height: 46px; border: 1px solid #c9d6ec; border-radius: 10px; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: #f8faff; }
textarea { min-height: 126px; resize: vertical; }
textarea::placeholder { color: #576883; }
button { display: inline-flex; gap: 20px; align-items: center; justify-self: start; padding: 12px 19px; min-height: 50px; border: 0; border-radius: 13px; background: linear-gradient(145deg, #2856ed, #263cb4); color: white; font: inherit; font-weight: 750; box-shadow: 0 8px 18px #234bd54a; cursor: pointer; }
button:hover { background: #193bae; transform: translateY(-1px); }
button:active { transform: translateY(1px); box-shadow: 0 4px 10px #234bd54a; }
:focus-visible { outline: 3px solid #2760e5; outline-offset: 3px; }
.notice { margin-top: 17px; background: #e9f4ff; border-radius: 12px; padding: 12px 14px; color: #173d70; }
.error { background: #fff0ec; color: #8e2420; }
.site-footer { padding-block: 30px; font-size: .83rem; color: var(--subtle); }
.site-footer a { color: #2348af; }
@media (max-width: 900px) {
  .shell { width: min(calc(100% - 36px), 1160px); }
  .contact-layout { gap: 16px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .header-inner { min-height: 70px; }
  .contact-layout { grid-template-columns: 1fr; }
  .welcome, .form-panel { border-radius: 24px; }
  .mascot-stage { min-height: 185px; }
  .mascot-stage img { width: min(49%, 222px); }
  .orbit { width: 62%; }
  .orbit-two { width: 51%; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 450px) {
  .shell { width: calc(100% - 28px); }
  .brand { gap: 8px; font-size: 1rem; }
  .brand img { width: 38px; height: 38px; border-radius: 9px; }
  .browse { font-size: .76rem; gap: 6px; padding: 8px 10px; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, .browse { transition: background-color .18s, transform .18s, box-shadow .18s; }
}
