@font-face {
  font-family: 'Onest';
  src: url('/assets/fonts/onest-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #071812;
  --panel: #0d281f;
  --raised: #163b2f;
  --emerald: #08785d;
  --light: #94d4b6;
  --text: #f1f6f3;
  --muted: #adc2b7;
  --line: #29463a;
  --gold: #d2cda9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
header, main, footer { max-width: 1120px; margin: auto; }
a { color: inherit; text-decoration: none; }
header { display: flex; justify-content: space-between; align-items: center; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; font-size: 24px; font-weight: 750; letter-spacing: -.9px; }
.brand span, .route-brand span { font-weight: 500; }
.brand i { font-size: 11px; font-weight: 650; letter-spacing: 1.4px; font-style: normal; margin-left: 16px; color: var(--light); }
.quiet { font-size: 13px; color: var(--muted); }
main { padding: 42px 32px 32px; }
.eyebrow, .caption { font-size: 12px; font-weight: 600; letter-spacing: .9px; color: var(--light); }
.eyebrow { margin: 0; }
h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 650; line-height: 1.12; letter-spacing: -2px; margin: 16px 0 18px; }
h1 span { color: var(--light); }
.lead { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }
.layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; margin-top: 32px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.panel-top { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 20px; }
h2 { font-size: 18px; font-weight: 650; line-height: 1.3; letter-spacing: -.35px; margin: 0; }
.dot { width: 7px; height: 7px; background: var(--light); border-radius: 50%; flex-shrink: 0; }
.pill { margin-left: auto; padding: 4px 9px; background: var(--raised); border-radius: 7px; color: var(--light); font-size: 12px; font-weight: 500; white-space: nowrap; }
.panel label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin: 18px 0 8px; }
select, button { font: inherit; }
select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; min-height: 50px; font-size: 15px; }
button { cursor: pointer; border: none; color: var(--text); }
.save { width: 100%; margin: 16px 0 10px; background: var(--raised); padding: 13px; border: 1px solid var(--line); border-radius: 11px; font-size: 15px; font-weight: 550; }
.save:hover { background: var(--emerald); }
.caption { margin: 24px 0 12px; color: var(--muted); font-size: 11px; }
.apps { display: grid; gap: 10px; }
.primary, .secondary { display: flex; justify-content: space-between; align-items: center; border-radius: 12px; padding: 15px 18px; min-height: 54px; font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.primary { background: var(--emerald); border: 1px solid #299776; }
.secondary { background: var(--raised); border: 1px solid var(--line); }
.primary:hover, .secondary:hover { filter: brightness(1.12); }
.copy { width: 100%; background: transparent; color: var(--light); padding: 16px 0; font-size: 13px; font-weight: 500; }
.hint { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 0; }
#notice { color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
#notice.error { color: #e7bf9c; }
.route { display: flex; align-items: center; padding: 22px 0 28px; }
.route-brand { font-size: 22px; font-weight: 750; letter-spacing: -.8px; }
.route-line { height: 1px; flex: 1; background: var(--emerald); margin: 0 20px; min-width: 15px; }
.route-target { font-size: 18px; font-weight: 550; letter-spacing: -.3px; color: var(--light); }
.route-target span { display: block; font-size: 12px; line-height: 1.5; font-weight: 400; letter-spacing: 0; color: var(--muted); max-width: 185px; margin-top: 6px; }
.devices { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.devices h2 { display: flex; justify-content: space-between; align-items: center; }
.devices h2 span { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--light); }
.device { margin-top: 18px; font-size: 14px; font-weight: 500; }
.device span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 5px; }
.help h3 { font-size: 15px; font-weight: 600; letter-spacing: -.15px; margin: 24px 0 7px; }
.help p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.footer-note { font-size: 13px; color: var(--muted); margin-top: 24px; }
footer { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); padding: 20px 32px 28px; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid var(--light); outline-offset: 4px; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  header { padding: 22px 20px; }
  .quiet { display: none; }
  main { padding: 28px 20px; }
  .layout { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  .panel { padding: 22px; border-radius: 18px; }
  .lead { font-size: 15px; }
  .route { display: none; }
  h1 { letter-spacing: -1.2px; }
  aside { padding: 0 4px; }
  footer { padding: 20px; }
  .brand i { margin-left: 12px; }
}
@media (max-width: 360px) {
  h1 { font-size: 34px; }
  .panel { padding: 18px; }
  .panel-top { gap: 7px; }
  h2 { font-size: 16px; }
  .pill { font-size: 11px; padding: 4px 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .primary, .secondary, .save { transition: background .18s, filter .18s; }
}
