:root {
  color-scheme: dark;
  --bg: #171616;
  --panel: #221f1e;
  --ink: #f8f4ee;
  --muted: #c9c0b9;
  --rule: #49413e;
  --accent: #ff9a85;
  --paper: #f4efe7;
  --dark: #211b19;
  --red: #863d32;
  --header: 68px;
  font-family: "Segoe UI", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
summary {
  touch-action: manipulation;
}
button,
input,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ff967b;
  outline-offset: 4px;
}
.wrap {
  width: min(1240px, 90%);
  margin: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  background: white;
  color: black;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
.bar,
.bar nav,
.langs,
.actions,
.chips {
  display: flex;
  align-items: center;
}
.bar {
  min-height: var(--header);
  justify-content: space-between;
  gap: 20px;
}
.mark img {
  width: 107px;
  display: block;
}
.bar nav,
.langs {
  gap: 22px;
}
.bar nav a,
.langs a {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 0;
}
.langs {
  gap: 12px;
}
.langs [aria-current] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
header {
  border-bottom: 1px solid var(--rule);
  background: #171616;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #161413;
  padding: clamp(68px, 7.4vw, 112px) 0 clamp(45px, 5.5vw, 76px);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #161413 5%,
      #161413f3 30%,
      #16141350 60%,
      transparent 83%
    ),
    url("/assets/studio/prism.webp") 80% 51% / cover no-repeat;
}
.hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6.5vw, 6.75rem);
  letter-spacing: -0.072em;
  line-height: 0.98;
  font-weight: 620;
  margin: 0;
}
.hero h1 em {
  color: #ffac99;
}
.hero p {
  max-width: 56ch;
  margin: 24px 0 30px;
  color: #f1e8df;
}
.hero em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.actions {
  gap: 10px;
  flex-wrap: wrap;
}
.btn,
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid #97817a;
  border-radius: 24px;
  background: linear-gradient(150deg, #ffffff1c, transparent 55%), #332927;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
}
.btn.hot {
  background: linear-gradient(145deg, #ffffff1a, transparent 65%), var(--red);
  border-color: #d68c79;
}
.btn:hover,
.tab:hover {
  border-color: #ffc6b7;
}
.btn i,
.textlink i {
  font-style: normal;
}
.btn span {
  z-index: 1;
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: 600;
  padding: 6px 0;
}
.sec {
  padding: clamp(48px, 6vw, 85px) 0;
  border-top: 1px solid var(--rule);
}
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: clamp(2.15rem, 4.1vw, 4.4rem);
  letter-spacing: -0.056em;
  font-weight: 590;
  line-height: 1.05;
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.2rem, 1.75vw, 1.65rem);
  letter-spacing: -0.033em;
  line-height: 1.2;
  font-weight: 610;
}
.lead,
p {
  color: var(--muted);
}
.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
  max-width: 59ch;
  margin-top: 15px;
}
.k {
  display: block;
  margin-bottom: 12px;
  font-size: 0.83rem;
  font-weight: 650;
  color: var(--accent);
}
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(17px, 3vw, 42px);
  margin: 30px 0 20px;
}
.columns article {
  padding: 19px 0;
  border-top: 1px solid var(--rule);
}
article p {
  margin: 10px 0;
}
.compact {
  margin-top: 32px;
  padding-top: 25px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 28px;
}
.compact h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steps b {
  display: block;
}
.steps p {
  margin-top: 6px;
  font-size: 0.9rem;
}
.paper {
  --muted: #5b514d;
  --rule: #c9bfb7;
  --accent: #8b392d;
  background: var(--paper);
  color: var(--dark);
  color-scheme: light;
}
.paper .btn:not(.hot),
.paper .tab {
  color: var(--dark);
  background: #fffaf3;
  border-color: #887870;
}
.paper .hot {
  color: white;
}
.eyeline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 25px 0 22px;
}
.paper .tab[aria-pressed="true"] {
  background: #312624;
  color: #fff8f2;
  border-color: #312624;
}
.feature {
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #201e1d;
  color: #fff7f1;
  align-items: stretch;
}
.feature .info {
  padding: clamp(20px, 3vw, 38px);
}
.feature p {
  color: #dbd2cb;
}
.feature h3 {
  font-size: 2.15rem;
}
.feature .actions {
  margin: 14px 0;
}
.feature .poster {
  display: block;
  background: #191717 url("/assets/studio/home/agentos-poster.webp")
    center/cover;
  min-height: 230px;
}
.paper .feature .textlink {
  color: var(--ink);
}
.softlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 20px;
}
.soft {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
  align-content: start;
}
.soft img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 9px;
}
.soft h3 {
  font-size: 1.12rem;
}
.soft p {
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 4px 0;
}
.soft .textlink {
  font-size: 0.86rem;
}
.ed article {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.ed article .textlink {
  margin-top: auto;
}
.ed small {
  color: var(--accent);
  font-weight: 650;
}
.familyfooter {
  margin-top: 22px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 75px);
  align-items: center;
}
.book {
  width: 100%;
  height: clamp(245px, 25vw, 355px);
  object-fit: cover;
}
.split .actions {
  margin-top: 22px;
}
.partner {
  background: #2b2220;
}
.partner .lead {
  color: #e7dbd2;
}
.caselist details,
details.fold {
  border-bottom: 1px solid var(--rule);
}
summary {
  padding: 16px 0;
  font-weight: 630;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
}
details[open] > summary:after {
  content: "−";
}
details > p {
  padding-bottom: 16px;
  max-width: 76ch;
}
.caselist {
  margin: 24px 0;
}
.caseband {
  display: flex;
  align-items: center;
  gap: 10px;
}
.caseband img {
  width: 55px;
  height: 24px;
  object-fit: contain;
  background: #282323;
  border-radius: 3px;
  padding: 3px;
}
.chips {
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 18px;
}
.chips span {
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: 20px;
}
.faqgrid,
.contactgrid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}
.contactgrid label {
  font-weight: 600;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
input:not([type="checkbox"]),
textarea {
  display: block;
  width: 100%;
  border: 1px solid #877a73;
  background: #211d1c;
  color: #fff;
  padding: 9px 11px;
  border-radius: 6px;
  margin-top: 5px;
}
textarea {
  resize: vertical;
}
.wide {
  grid-column: 1/-1;
}
.check label {
  font-size: 0.9rem;
  font-weight: 400;
}
.notice {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 12px 0;
}
.protect {
  padding: 9px 12px;
  border-left: 2px solid #8b7972;
}
.contactgrid ul {
  color: var(--muted);
  padding-left: 19px;
}
.footgrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 25px;
}
.footgrid a {
  display: block;
  padding: 4px 0;
}
.footgrid b {
  display: block;
  margin-bottom: 6px;
}
.footgrid .mark {
  margin: 4px 0 14px;
}
.footgrid p {
  font-size: 0.87rem;
}
[hidden] {
  display: none !important;
}
footer {
  padding-bottom: 70px !important;
}
.product-archive {
  margin: 12px 0;
}
.product-archive summary {
  padding: 8px 0;
}
.product-archive a {
  margin: 0 15px 10px 0;
}
.ed {
  margin-top: 12px;
}
article .k {
  margin: 0 0 8px;
}
.skip:focus {
  color: black;
}
@media (max-width: 790px) {
  .bar {
    flex-wrap: wrap;
    gap: 0;
    min-height: 0;
    padding-top: 12px;
  }
  .bar nav {
    order: 3;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }
  .langs a {
    min-width: 28px;
    text-align: center;
  }
  .hero:before {
    background-position: 70% 50%;
  }
  .hero {
    padding: 58px 0 45px;
  }
  .wrap {
    width: 89%;
  }
  .hero p {
    max-width: 42ch;
  }
  .columns,
  .softlist {
    grid-template-columns: 1fr 1fr;
  }
  .columns article:last-child {
    grid-column: 1/-1;
  }
  .compact,
  .faqgrid,
  .contactgrid,
  .split {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 1.2fr 1fr;
  }
  .footgrid {
    grid-template-columns: 1fr 1fr;
  }
  .book {
    max-height: 270px;
  }
}
@media (max-width: 540px) {
  .bar nav a {
    min-height: 44px;
  }
  .hero {
    padding: 52px 0 35px;
  }
  .hero:before {
    background-image:
      linear-gradient(90deg, #181514ed 3%, #181514ce 48%, #18151467),
      url("/assets/studio/prism.webp");
  }
  .hero h1 {
    font-size: clamp(3rem, 12vw, 4rem);
  }
  .hero p {
    margin: 18px 0 22px;
  }
  .hero .actions {
    display: grid;
    gap: 8px;
    max-width: 340px;
  }
  .hero .btn {
    justify-content: space-between;
  }
  .columns,
  .softlist,
  .steps,
  .feature {
    grid-template-columns: 1fr;
  }
  .columns {
    gap: 0;
  }
  .compact {
    gap: 18px;
  }
  .steps {
    gap: 12px;
  }
  .feature .poster {
    min-height: 150px;
    order: -1;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .tabs .tab {
    font-size: 0.86rem;
    padding: 7px 13px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .book {
    height: 195px;
  }
  .footgrid {
    gap: 24px 13px;
  }
  .footgrid .mark img {
    width: 92px;
  }
  .hero .btn {
    min-height: 44px;
  }
  .sec {
    padding-block: 45px;
  }
  .soft {
    padding-block: 12px;
  }
  .partner .actions {
    align-items: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::after,
  *::before {
    animation: none !important;
    transition: none !important;
  }
}
.feature .poster {
  position: relative;
}
.play {
  position: absolute;
  bottom: 12px;
  left: 12px;
  border: 1px solid #958780;
  border-radius: 30px;
  padding: 7px 13px;
  background: #181514eb;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}
.caselist h3 {
  margin: 24px 0 8px;
}
.product-archive summary,
.soft .textlink,
.familyfooter .textlink {
  min-height: 44px;
}
.footgrid a {
  font-size: 0.9rem;
}
.caseband img {
  padding: 4px;
}
.softlist h3 {
  overflow-wrap: anywhere;
}
@media (max-width: 540px) {
  .contactgrid {
    padding-right: 12px;
  }
  .footgrid .textlink {
    overflow-wrap: anywhere;
  }
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.lead-form > :not(.field),
.lead-form .field:has(textarea) {
  grid-column: 1/-1;
}
.lead-form .field-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.whitepaper-consent {
  font-size: 0.9rem;
}
.intake-verification {
  border-left: 2px solid #8b7972;
  padding: 8px 12px;
}
.intake-verification p,
.form-foot {
  font-size: 0.85rem;
  margin: 3px 0;
}
.intake-verification [data-turnstile-container] {
  max-width: 100%;
}
.form-bottom .form-foot {
  margin-top: 9px;
}
.form-foot a {
  text-decoration: underline;
}
.form-success,
.form-error {
  display: none;
}
.form-success.show,
.form-error.show {
  display: block;
}
.form-error {
  color: #ffad9d;
}
.version-badge {
  font: 0.8rem/1.5 monospace;
  color: var(--muted);
}
.partner-context {
  font-weight: 600;
}
@media (max-width: 540px) {
  .lead-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-archive video {
  display: block;
  width: min(100%, 42rem);
  height: auto;
  margin: 12px 0;
}
