:root {
  color-scheme: light;
  --bo-bg: #f7f7f4;
  --bo-surface: #ffffff;
  --bo-ink: #080808;
  --bo-muted: #66666b;
  --bo-line: #d8d8d2;
  --bo-soft: #edede8;
  --bo-ok: #047857;
  --bo-danger: #b91c1c;
  --bo-radius-sm: 14px;
  --bo-radius-md: 18px;
  --bo-radius-lg: 26px;
  --bo-radius-xl: 36px;
  font-family: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bo-bg);
  color: var(--bo-ink);
}

a { color: inherit; }

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

.bo-brand {
  display: inline-flex;
  width: 146px;
  height: 44px;
  align-items: center;
}

.bo-brand img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.25);
}

.bo-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--bo-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bo-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) 0 80px;
}

.bo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: end;
  padding: 0 0 clamp(24px, 5vw, 52px);
  border-bottom: 1px solid var(--bo-line);
}

.bo-eyebrow {
  display: inline-block;
  color: var(--bo-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bo-hero h1 {
  margin: 8px 0 0;
  max-width: 780px;
  font-family: Archivo, Inter, Arial, sans-serif;
  font-size: clamp(44px, 8.4vw, 118px);
  line-height: .9;
  font-weight: 600;
  letter-spacing: 0;
}

.bo-hero p {
  margin: 0;
  max-width: 520px;
  color: var(--bo-muted);
  font-size: 16px;
  line-height: 1.6;
}

.bo-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  margin-top: 20px;
}

.bo-form,
.bo-result {
  border: 1px solid var(--bo-line);
  background: var(--bo-surface);
}

.bo-form {
  padding: clamp(18px, 4vw, 34px);
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--bo-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--bo-ink);
  border-radius: var(--bo-radius-sm);
  background: #fff;
  color: var(--bo-ink);
  padding: 13px 0;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  outline: none;
}

/* Rounded storefront alignment 2026-07-09. */
.bo-header,
.bo-form,
.bo-result,
.bo-message {
  border-radius: var(--bo-radius-lg);
}

.bo-button,
input,
select,
textarea {
  border-radius: var(--bo-radius-md);
}

.bo-form,
.bo-result {
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(8, 8, 8, .06);
}

.bo-button {
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bo-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(8, 8, 8, .08), 0 0 0 1px var(--bo-ink) inset;
}

@media (hover: hover) and (pointer: fine) {
  .bo-button:hover {
    box-shadow: 0 16px 44px rgba(8, 8, 8, .12);
  }
}

textarea {
  min-height: 124px;
  resize: vertical;
  line-height: 1.5;
}

.bo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--bo-ink);
  background: #fff;
  color: var(--bo-ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}

.bo-button:hover {
  background: var(--bo-ink);
  color: #fff;
}

.bo-button-dark {
  width: 100%;
  background: var(--bo-ink);
  color: #fff;
}

.bo-button-dark:hover {
  background: #fff;
  color: var(--bo-ink);
}

.bo-message {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--bo-muted);
  font-size: 13px;
  line-height: 1.4;
}

.bo-message[data-tone="ok"] { color: var(--bo-ok); }
.bo-message[data-tone="error"] { color: var(--bo-danger); }

.bo-result {
  align-self: start;
  padding: 24px;
  position: sticky;
  top: 92px;
}

.bo-result h2 {
  margin: 8px 0 20px;
  font-family: Archivo, Inter, Arial, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  font-weight: 600;
}

.bo-result dl {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
  border-top: 1px solid var(--bo-line);
}

.bo-result dl > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bo-line);
}

.bo-result dt {
  color: var(--bo-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bo-result dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

[hidden] { display: none !important; }

@media (max-width: 760px) {
  .bo-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .bo-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
  }

  .bo-hero,
  .bo-workspace,
  .bo-grid {
    grid-template-columns: 1fr;
  }

  .bo-workspace {
    gap: 14px;
  }

  .bo-result {
    position: static;
  }
}
