:root {
  --ink: #182539;
  --ink-soft: #526274;
  --line: #d9e0e5;
  --mist: #f4f7f8;
  --paper: #ffffff;
  --ocean: #075a70;
  --ocean-dark: #064456;
  --sun: #f6b100;
  --error: #b42318;
  --success: #087443;
  --radius: 14px;
  font-family: Aptos, Avenir Next, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--mist);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), #e9eef0 calc(50% - 1px), #e9eef0 50%, transparent 50%),
    var(--mist);
  background-size: 48px 48px;
}

.site-header, main, footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand small {
  margin-left: 2px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 9px 9px 9px 0;
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
  background: var(--ocean);
}

.environment-badge {
  color: var(--ocean);
  padding: 7px 11px;
  border: 1px solid #acd1da;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
}

.intro {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding: 64px 0 50px;
}

.intro > div { max-width: 720px; }

.kicker {
  margin: 0 0 12px;
  color: var(--ocean);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .02em;
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 17ch;
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  letter-spacing: -.055em;
  line-height: .98;
}

.lead {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-note {
  align-self: flex-end;
  display: flex;
  gap: 10px;
  min-width: 225px;
  padding: 14px 0 14px 18px;
  border-left: 3px solid var(--sun);
}

.service-note strong { font-size: .91rem; }
.service-note p { margin: 3px 0 0; color: var(--ink-soft); font-size: .82rem; }
.pulse { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: #32a36e; box-shadow: 0 0 0 4px #dff3e9; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(290px, .72fr);
  align-items: start;
  gap: 0;
  margin-bottom: 55px;
  box-shadow: 0 18px 50px rgba(17, 45, 57, .08);
}

.enquiry-form, .migration-panel { background: var(--paper); }

.enquiry-form {
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius) 0 0 var(--radius);
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-heading h2, .migration-panel h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -.035em;
}

.form-heading p { margin: 4px 0 0; color: var(--ink-soft); font-size: .8rem; }
.form-heading span, label > span, .consent b { color: var(--error); }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px 19px;
}

label { display: grid; gap: 8px; color: #344354; font-size: .86rem; font-weight: 650; }
.full-width { grid-column: 1 / -1; }

input, select, textarea {
  width: 100%;
  border: 1px solid #bfcbd2;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-size: .96rem;
  font-weight: 500;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

textarea { resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px #dceff2; }

.field-error {
  min-height: 1em;
  color: var(--error);
  font-size: .75rem;
  font-weight: 550;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  margin-top: 25px;
  gap: 10px;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.45;
}

.consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--ocean); }

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

button {
  border: 0;
  border-radius: 6px;
  padding: 13px 20px;
  color: #fff;
  background: var(--ocean);
  cursor: pointer;
  font: inherit;
  font-size: .91rem;
  font-weight: 750;
  transition: background .15s, transform .15s;
}

button:hover { background: var(--ocean-dark); transform: translateY(-1px); }
button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
button:disabled { opacity: .65; cursor: wait; }
.submit-row p { margin: 0; max-width: 35ch; color: var(--ink-soft); font-size: .75rem; line-height: 1.45; }

.form-status {
  display: none;
  margin-top: 17px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: .86rem;
  line-height: 1.4;
}
.form-status.preview, .form-status.success, .form-status.error { display: block; }
.form-status.preview { color: #27596a; background: #e8f4f6; }
.form-status.success { color: #075c37; background: #e3f6eb; }
.form-status.error { color: #8c1b13; background: #fff0ef; }

.migration-panel {
  min-height: 100%;
  padding: clamp(30px, 4vw, 50px) clamp(25px, 3.4vw, 42px);
  color: #edf8fa;
  border-radius: 0 var(--radius) var(--radius) 0;
  background:
    radial-gradient(circle at 100% 0, #16748c 0, transparent 43%),
    var(--ocean-dark);
}

.migration-panel .kicker { color: #a9e2ec; }
.migration-panel h2 { max-width: 12ch; color: white; line-height: 1.12; }

ol { display: grid; gap: 18px; margin: 34px 0; padding: 0; list-style: none; }
ol li { display: flex; align-items: baseline; gap: 12px; color: #ddf0f3; font-size: .91rem; line-height: 1.4; }
ol span { color: var(--sun); font-size: .78rem; font-weight: 800; }

.record-preview { padding: 17px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(0, 0, 0, .12); }
.record-heading { display: flex; justify-content: space-between; align-items: center; color: #bcebf2; font-size: .72rem; font-weight: 650; }
.status-pill { padding: 3px 7px; border-radius: 99px; color: #1d4c39; background: #b6efc6; }
.record-id { margin: 18px 0 6px; color: white; font-family: Consolas, monospace; font-size: .87rem; }
.record-preview > p:last-child, .preview-note { margin: 0; color: #bce0e5; font-size: .76rem; line-height: 1.5; }
.preview-note { margin-top: 17px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 35px;
  color: var(--ink-soft);
  font-size: .75rem;
}

@media (max-width: 820px) {
  .intro { padding-top: 40px; flex-direction: column; gap: 25px; }
  .service-note { align-self: auto; }
  .content-grid { grid-template-columns: 1fr; }
  .enquiry-form { border-radius: var(--radius) var(--radius) 0 0; }
  .migration-panel { border-radius: 0 0 var(--radius) var(--radius); }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 28px, 1160px); }
  .site-header { min-height: 70px; }
  .environment-badge { display: none; }
  .field-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .form-heading, .submit-row, footer { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 2.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
