:root {
  --paper: #eceff2;
  --ink: #12141a;
  --quiet: #5c6370;
  --line: #d5dae2;
  --trace: #2a4d8f;
  --panel: #ffffff;
  --danger: #9b3b2e;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: 48px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--trace); text-decoration: none; }
a:hover { text-decoration: underline; }

.shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.brush {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  height: min(220px, 28vh);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}
.brush svg {
  width: 100%;
  height: 100%;
  display: block;
}

.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--pad) 0;
}
.mark {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.mark:hover { text-decoration: none; }

.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  width: min(1120px, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: 56px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 380px);
  gap: 64px;
  align-items: start;
}

.intro h1 {
  margin: 0 0 16px;
  max-width: 14ch;
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.intro p {
  margin: 0;
  max-width: 36ch;
  color: var(--quiet);
  font-size: 17px;
  line-height: 1.55;
}

.side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
}
.panel h2 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
}
.field { margin: 0 0 14px; }
input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}
input:focus {
  border-color: var(--trace);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--trace) 16%, transparent);
}
button {
  width: 100%;
  height: 44px;
  margin-top: 4px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
button:hover { background: var(--trace); }
button:active { transform: translateY(1px); }
.alert {
  display: none;
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--danger);
}
.alert.is-on { display: block; }

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.service h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.service p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--quiet);
}

.foot {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) 28px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--quiet);
}

@media (prefers-reduced-motion: reduce) {
  button:active { transform: none; }
}

@media (max-width: 860px) {
  :root { --pad: 20px; }
  .stage {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 0 56px;
  }
  .service { grid-template-columns: 1fr 1fr; }
  .brush { opacity: 0.16; bottom: 8%; }
}

@media (max-width: 480px) {
  .service { grid-template-columns: 1fr; }
}
