:root {
  color-scheme: light;
  --ink: #071b33;
  --muted: #51657d;
  --line: #cbdcf0;
  --paper: #f6faff;
  --sun: #f5b83b;
  --coral: #e5503c;
  --blue: #0866ff;
  --blue-dark: #063d9c;
  --blue-soft: #eaf3ff;
  --green: #0b9b81;
  --shadow: 0 24px 64px rgba(6, 61, 156, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

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

h1 {
  font-size: clamp(46px, 8vw, 92px);
  letter-spacing: 0;
  line-height: 0.92;
}

h2 {
  font-size: clamp(30px, 5vw, 56px);
  letter-spacing: 0;
  line-height: 0.98;
}

p,
li {
  color: var(--muted);
  line-height: 1.65;
}

.dolo-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.dolo-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-weight: 950;
  text-decoration: none;
}

.dolo-brand span {
  align-items: center;
  background: var(--blue);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

nav a {
  color: #29445f;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.button {
  align-items: center;
  border: 1px solid var(--blue);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
}

button.button {
  cursor: pointer;
  font: inherit;
}

.button.primary {
  background: var(--blue);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--blue-dark);
}

.button:hover {
  box-shadow: 0 10px 24px rgba(8, 102, 255, 0.2);
  transform: translateY(-1px);
}

.button:focus-visible,
nav a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(8, 102, 255, 0.28);
  outline-offset: 3px;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

main > section {
  padding: 76px clamp(18px, 5vw, 72px);
}

.dolo-hero {
  background: #063d9c;
  color: white;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  min-height: 680px;
  padding-top: 96px;
}

.dolo-hero p {
  color: #e9f3ff;
}

.dolo-hero .eyebrow {
  color: #8fd8ff;
}

.dolo-hero .button.primary {
  background: white;
  border-color: white;
  color: var(--blue-dark);
}

.dolo-hero .button.secondary {
  background: transparent;
  border-color: #9fd6ff;
  color: white;
}

.hero-copy {
  align-self: center;
  display: grid;
  gap: 22px;
  max-width: 920px;
}

.hero-copy > p:not(.eyebrow) {
  font-size: 19px;
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.operator-panel,
.output,
.grid article,
.lead-section,
.cofounder {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.operator-panel {
  border-color: #9fc8ff;
}

.operator-panel {
  align-self: center;
  overflow: hidden;
}

.panel-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  padding: 14px;
}

.panel-top span {
  background: var(--green);
  border-radius: 99px;
  height: 10px;
  width: 10px;
}

.panel-top span:nth-child(1) {
  background: var(--coral);
}

.panel-top span:nth-child(2) {
  background: var(--sun);
}

.operator-panel ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 24px;
}

.operator-panel li {
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
  padding: 14px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 860px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid article {
  box-shadow: none;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.grid strong {
  font-size: 26px;
}

.grid span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.cofounder {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 1fr) minmax(300px, 1fr);
}

.dolo-form {
  display: grid;
  gap: 14px;
}

.dolo-form label {
  color: var(--ink);
  display: grid;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
}

.dolo-form input,
.dolo-form textarea {
  border: 1px solid #c9d1df;
  border-radius: 8px;
  font: inherit;
  min-height: 44px;
  padding: 12px;
}

.consent {
  align-items: start;
  display: flex !important;
  gap: 10px !important;
  grid-template-columns: auto 1fr;
}

.output {
  box-shadow: none;
  min-height: 360px;
  overflow: auto;
  padding: 22px;
}

.output pre {
  color: #243042;
  font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lead-section {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1fr);
}

footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

.legal-page {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 920px;
}

.legal-page h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.legal-page h2 {
  font-size: 24px;
  line-height: 1.2;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .dolo-hero,
  .cofounder,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dolo-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  main > section {
    padding: 52px 18px;
  }
}
