/* Rocket App site. Colours from the ProActive day tokens. */
:root {
  --ground: #F6F7F6;
  --raised: #EEF0F2;
  --white: #FFFFFF;
  --ink: #2C302E;
  --mark: #14171A;
  --soft: #5A635E;
  --line: rgba(44, 48, 46, .14);
  --highlight: #B8411C;
  --radius-card: 14px;
  --radius-pill: 999px;
  --face: "Montserrat", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--face);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--highlight); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.spectrum {
  height: 3px;
  background: linear-gradient(90deg, #8A2BD9, #4B3FD6, #1A63C4, #167A45, #8A7400, #B45309, #D7263D);
}

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--mark); text-decoration: none; }
.brand img { display: block; width: auto; height: 34px; }
.brand .word { font-weight: 700; font-size: 18px; letter-spacing: .02em; }

/* Buttons: greyscale only */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--radius-pill);
  font: 600 16px/1 var(--face);
  text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink);
  transition: background-color .15s ease, color .15s ease;
}
.btn-dark { background: var(--ink); color: var(--ground); }
.btn-dark:hover { background: var(--mark); }
.btn-light { background: transparent; color: var(--ink); }
.btn-light:hover { background: var(--raised); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.full { width: 100%; }

/* Type */
h1, h2 { margin: 0; color: var(--mark); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-size: clamp(30px, 7.4vw, 60px); }
h2 { font-size: clamp(20px, 5.6vw, 30px); white-space: nowrap; }
p { margin: 14px 0 0; }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 64px; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--ink); max-width: 38ch; margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.who { color: var(--soft); font-size: 15px; margin-top: 24px; }

/* Bands */
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.band p { max-width: 60ch; color: var(--soft); }
.chips { list-style: none; padding: 0; margin: 22px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--ground); font-size: 14px; color: var(--ink); }

/* Features */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.card h2 { font-size: clamp(20px, 5.4vw, 22px); }
.card p { color: var(--soft); font-size: 16px; }
.num { display: inline-block; font-weight: 700; font-size: 14px; color: var(--highlight); margin-bottom: 10px; }

/* Closing */
.cta { padding-top: 64px; padding-bottom: 72px; text-align: center; }
.cta p { color: var(--soft); }
.cta .actions { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 15px; color: var(--soft); }
.foot p { margin: 4px 0; }

/* Enquiry form */
dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  border: 0; border-radius: var(--radius-card);
  padding: 24px; background: var(--white); color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
dialog::backdrop { background: rgba(20, 23, 26, .45); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.close { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--soft); padding: 4px 8px; }
label { display: block; font-size: 14px; font-weight: 600; margin-top: 14px; }
input, textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px; border: 1px solid rgba(44, 48, 46, .3); border-radius: 6px;
  font: 400 16px/1.4 var(--face); color: var(--ink); background: var(--ground);
}
textarea { resize: vertical; }
.form-note { font-size: 14px; color: var(--soft); min-height: 1.4em; }
#enquiry-form .btn { margin-top: 8px; }
