:root {
  color-scheme: light;
  --ink: #172323;
  --muted: #687575;
  --line: #dbe3de;
  --panel: rgba(255, 255, 252, 0.82);
  --paper: #f4f7f2;
  --accent: #dd5d37;
  --accent-dark: #b84425;
  --mint: #d8eee4;
  --teal: #247c6b;
  --shadow: 0 18px 50px rgba(42, 63, 55, 0.09);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 238, 228, 0.85), transparent 32%),
    radial-gradient(circle at 96% 18%, rgba(247, 222, 205, 0.55), transparent 28%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(36, 124, 107, 0.28);
  outline-offset: 2px;
}

.app-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  padding: 28px 0 18px;
}

.brand,
.docs-link {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fffdf8;
  background: var(--ink);
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.docs-link {
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease;
}

.docs-link:hover {
  color: var(--accent-dark);
}

.hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 54px 0 42px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 11px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  color: var(--teal);
  background: rgba(216, 238, 228, 0.72);
  border: 1px solid rgba(36, 124, 107, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.signal-dot,
.live-dot {
  width: 7px;
  height: 7px;
  background: #43a67d;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(67, 166, 125, 0.14);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 20px;
  align-items: start;
}

.form-column {
  display: grid;
  gap: 20px;
}
.panel {
  padding: 25px;
  background: var(--panel);
  border: 1px solid rgba(219, 227, 222, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.result-panel {
  position: sticky;
  top: 20px;
  min-height: 580px;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.compact-heading {
  margin-bottom: 19px;
}

h2 {
  margin-bottom: 0;
  font-size: 20px;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.secure-badge,
.required-badge,
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.secure-badge {
  color: var(--teal);
  background: var(--mint);
}

.required-badge {
  color: var(--muted);
  background: #edf1ed;
}

.live-badge {
  color: var(--accent-dark);
  background: #fae7de;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: #41504d;
  font-size: 12px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input,
select {
  height: 43px;
  padding: 0 13px;
}

textarea {
  min-height: 80px;
  padding: 12px 13px;
  line-height: 1.6;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #a4afaa;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(36, 124, 107, 0.65);
  box-shadow: 0 0 0 4px rgba(36, 124, 107, 0.1);
  outline: none;
}

.input-with-action {
  position: relative;
}

.input-with-action input {
  padding-right: 68px;
}

.inline-button {
  position: absolute;
  top: 50%;
  right: 9px;
  padding: 4px 5px;
  color: var(--teal);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 750;
  transform: translateY(-50%);
}

.connection-options,
.field-footer,
.action-row,
.usage-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.connection-options {
  margin-top: 12px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.checkbox-label input {
  width: 15px;
  height: 15px;
  accent-color: var(--teal);
}
