:root {
  --ink: #111111;
  --ink-soft: #5b5b5b;
  --surface: #ffffff;
  --surface-muted: #f7f7f7;
  --border: #dddddd;
  --border-strong: #8b8b8b;
  --header: #121212;
  --footer: #1b1b1b;
  --footer-ink: #d7d7d7;
  --accent: #d97958;
  --accent-dark: #c76442;
  --brand: #007cc3;
  --danger: #d97958;
  --sans: "Roboto", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shell: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--surface);
}

a {
  color: inherit;
  text-decoration: none;
}

code,
pre {
  font-family: var(--mono);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.shell-inner {
  width: min(var(--shell), calc(100vw - 56px));
  margin: 0 auto;
}

.top-strip {
  background: var(--header);
  color: #ffffff;
}

.top-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-strip-inner,
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-strip-inner {
  min-height: 44px;
}

.site-header {
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid #ebebeb;
}

.site-header-inner {
  min-height: 78px;
}

.utility-nav,
.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.utility-nav a {
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.site-nav a {
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.site-nav a:hover,
.utility-nav a:hover,
.demo-dock a:hover,
.site-footer a:hover,
.marketing-row a:hover {
  text-decoration: underline;
}

.brand-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mark {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
}

.brand-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6a6a6a;
}

.demo-dock {
  position: fixed;
  top: 136px;
  right: 24px;
  z-index: 20;
  width: 268px;
  display: grid;
  gap: 14px;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e4e4e4;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.demo-dock-eyebrow,
.demo-dock-label,
.breadcrumb,
.field-label {
  color: #626262;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.demo-dock-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
}

.demo-dock-title {
  font-size: 1.2rem;
  font-weight: 500;
}

.demo-dock-copy {
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.98rem;
}

.demo-dock-links {
  display: grid;
  gap: 10px;
}

.demo-dock-links a {
  font-weight: 500;
}

.demo-dock-meta {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #ececec;
}

.demo-dock-label {
  font-size: 0.78rem;
  font-weight: 700;
}

.demo-dock-meta code {
  font-size: 0.78rem;
  word-break: break-word;
}

.demo-dock-status {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-dock-status.is-ready {
  color: #1f5e2b;
  background: #edf7ef;
}

.demo-dock-status.is-missing {
  color: #8a4a18;
  background: #fff4eb;
}

.page-main {
  padding: 34px 0 80px;
}

.page-header,
.form-section,
.result-strip {
  margin-bottom: 28px;
}

.page-header {
  display: grid;
  gap: 12px;
}

.breadcrumb {
  font-size: 0.92rem;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.15rem, 3vw, 3.15rem);
  line-height: 1.04;
  font-weight: 400;
}

.page-lede,
.demo-note p,
.result-intro p,
.site-footer p,
.site-footer li {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.62;
}

.page-lede {
  max-width: 760px;
}

.demo-note {
  border-left: 3px solid var(--accent);
  background: #faf7f4;
  padding: 14px 16px;
  max-width: 760px;
}

.demo-note h2 {
  margin-bottom: 6px;
  font-size: 1.08rem;
  font-weight: 500;
}

.required-note {
  margin-bottom: 22px;
  font-size: 1.1rem;
  font-weight: 700;
}

.required-subnote {
  margin-bottom: 36px;
  font-size: 1.05rem;
  color: #444444;
}

.required-star {
  color: var(--danger);
}

.infosys-form,
.helper-form {
  display: grid;
  gap: 18px;
}

.infosys-form {
  max-width: 850px;
}

.infosys-form-flat {
  gap: 26px;
}

.grid-two,
.result-grid,
.code-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

.field {
  display: grid;
  gap: 10px;
}

.field-label {
  font-size: 0.92rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.field input,
.field textarea,
.field select {
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.field-flat {
  gap: 18px;
}

.field-flat input,
.field-flat textarea {
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  font-size: 1.08rem;
}

.field-flat input:focus,
.field-flat textarea:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}

.field-flat textarea {
  min-height: 104px;
  resize: vertical;
}

.field-select select,
.helper-form input,
.helper-form textarea,
.helper-form select {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(17, 17, 17, 0.03);
}

.field-select select:focus,
.helper-form input:focus,
.helper-form textarea:focus,
.helper-form select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(217, 121, 88, 0.2);
}

.consent-row {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 1rem;
}

.marketing-row {
  margin-top: 6px;
  color: #3e3e3e;
  font-size: 1.03rem;
}

.marketing-row input[type="checkbox"] {
  appearance: none;
  width: 42px;
  height: 24px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #dddddd;
  position: relative;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.marketing-row input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition: transform 140ms ease;
}

.marketing-row input[type="checkbox"]:checked {
  background: #1d1d1d;
}

.marketing-row input[type="checkbox"]:checked::after {
  transform: translateX(18px);
}

.marketing-row a {
  text-decoration: underline;
  font-weight: 500;
}

.primary-button,
.secondary-button {
  appearance: none;
  border: 0;
  border-radius: 0;
  padding: 14px 34px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 164px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.primary-button {
  background: #111111;
  color: #ffffff;
}

.primary-button:hover,
.secondary-button:hover {
  background: #000000;
}

.secondary-button {
  background: #2a2a2a;
  color: #ffffff;
}

.result-grid article,
.code-grid article {
  border: 1px solid var(--border);
  padding: 18px;
  background: var(--surface-muted);
}

.result-grid {
  margin-bottom: 18px;
}

.result-grid article:nth-child(3):last-child {
  grid-column: 1 / -1;
}

.result-grid h3,
.code-grid h3,
.footer-grid h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 500;
}

.result-grid code,
.code-grid pre {
  color: var(--ink-soft);
}

.result-intro {
  margin-bottom: 18px;
}

.code-grid pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.86rem;
  line-height: 1.55;
}

.inline-action {
  margin-top: 18px;
}

.banner {
  margin: 20px auto 0;
  padding: 14px 16px;
}

.banner-error {
  color: #9f4427;
  border: 1px solid #f1c9bd;
  background: #fff5f2;
}

.site-footer {
  background: var(--footer);
  color: #ffffff;
  padding: 48px 0 64px;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li,
.site-footer p + p {
  margin-top: 8px;
}

.site-footer a {
  color: var(--footer-ink);
}

.footer-meta {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 10px;
  color: var(--footer-ink);
}

.country-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.helper-form-wide {
  grid-template-columns: repeat(2, minmax(0, max-content));
}

@media (max-width: 1180px) {
  .demo-dock {
    position: static;
    width: min(var(--shell), calc(100vw - 56px));
    margin: 20px auto 0;
  }
}

@media (max-width: 980px) {
  .grid-two,
  .result-grid,
  .code-grid,
  .footer-grid,
  .helper-form-wide {
    grid-template-columns: 1fr;
  }

  .top-strip-inner,
  .site-header-inner {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .shell-inner,
  .demo-dock {
    width: min(var(--shell), calc(100vw - 32px));
  }

  .brand-mark {
    font-size: 1.55rem;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .consent-row {
    align-items: flex-start;
  }
}
