:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #102a43;
  background: #f2f6fa;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(31, 122, 140, .16), transparent 32rem),
    #f2f6fa;
}

button { font: inherit; }

.page {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 5rem) 0 2rem;
}

.eyebrow {
  margin: 0 0 .4rem;
  color: #1f7a8c;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 { margin-bottom: .6rem; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.02; }
h2 { margin-bottom: .25rem; font-size: 1.15rem; }
.intro { max-width: 42rem; color: #486581; font-size: 1.05rem; line-height: 1.6; }

.card {
  margin-top: 2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #d9e2ec;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 50px rgba(16, 42, 67, .09);
}

.card-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.card-head p { margin-bottom: 1rem; color: #627d98; }
.status { padding: .38rem .65rem; border-radius: 999px; background: #e5f5f7; color: #176675; font-size: .8rem; font-weight: 700; }

.canvas-wrap {
  position: relative;
  height: clamp(260px, 42vh, 430px);
  overflow: hidden;
  border: 2px solid #bcccdc;
  border-radius: .85rem;
  background: #fff;
}

canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.baseline { position: absolute; right: 8%; bottom: 20%; left: 8%; border-bottom: 1px solid #d9e2ec; pointer-events: none; }

.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.button { min-height: 44px; padding: .72rem 1rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 750; cursor: pointer; }
.button:focus-visible { outline: 3px solid rgba(31, 122, 140, .35); outline-offset: 2px; }
.primary { background: #102a43; color: #fff; }
.primary:hover { background: #1f7a8c; }
.secondary { border-color: #bcccdc; background: #fff; color: #243b53; }
.secondary:hover { background: #f0f4f8; }
.privacy { margin: 1rem .25rem 0; color: #627d98; font-size: .88rem; line-height: 1.5; }

@media (max-width: 620px) {
  .page { width: min(100% - 1rem, 960px); padding-top: 1.5rem; }
  .card { border-radius: .9rem; }
  .card-head { display: block; }
  .status { display: inline-block; margin-bottom: .8rem; }
  .actions .button { flex: 1 1 calc(50% - .7rem); }
}

