.host-page {
  padding-bottom: 10px;
}
.host-hero {
  max-width: 760px;
  padding: 28px 0 24px;
}
.host-hero h1 {
  margin: 0;
  font: 400 clamp(42px, 5.2vw, 64px) / 0.97 var(--display);
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.host-lede {
  max-width: 58ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}
.host-showcase {
  padding: 4px 0 8px;
}
.host-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.host-rail,
.host-compare {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #ddd5c5;
  border-radius: 999px;
  background: #fffdf8a8;
}
.host-rail button,
.host-compare button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}
.host-rail button:hover,
.host-compare button:hover {
  color: var(--ink);
}
.host-rail button[aria-pressed="true"],
.host-compare button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff8ec;
}
.host-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.host-dot[data-host-dot="claude"] {
  background: #c86543;
}
.host-dot[data-host-dot="chatgpt"] {
  background: #10a37f;
}
.host-dot[data-host-dot="gemini"] {
  background: #4f7df3;
}
.host-caption {
  min-height: 16px;
  margin: 10px 0 12px;
  color: var(--muted);
  font: 500 9px/1.4 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.host-stage {
  max-width: 1040px;
  min-height: 676px;
  margin-inline: auto;
}
.host-noscript {
  max-width: 60ch;
  margin: 12px auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Window */
.host-window {
  --host-bg: #f5f1e8;
  --host-surface: #fffdf8;
  --host-sidebar: #efe9dd;
  --host-ink: #29251f;
  --host-muted: #766d60;
  --host-line: #e2d8c8;
  --host-bubble: #eee6d8;
  --host-accent: #c86543;
  --host-radius: 14px;
  --host-font: "Helvetica Neue", Arial, sans-serif;
  --host-display: "Iowan Old Style", Georgia, serif;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    0 1px 0 #ffffffb3 inset,
    0 32px 70px -50px #19181680;
}
.host-window[data-host="chatgpt"] {
  --host-bg: #f7f7f8;
  --host-surface: #ffffff;
  --host-sidebar: #ececee;
  --host-ink: #0d0d0d;
  --host-muted: #6b6b6b;
  --host-line: #e3e3e6;
  --host-bubble: #ececee;
  --host-accent: #10a37f;
  --host-radius: 18px;
  --host-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --host-display:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.host-window[data-host="gemini"] {
  --host-bg: #f5f8ff;
  --host-surface: #ffffff;
  --host-sidebar: #eef3ff;
  --host-ink: #1f2328;
  --host-muted: #5f6773;
  --host-line: #e0e7f4;
  --host-bubble: #e8efff;
  --host-accent: #4f7df3;
  --host-radius: 22px;
  --host-font: Roboto, "Helvetica Neue", Arial, sans-serif;
  --host-display: Roboto, "Helvetica Neue", Arial, sans-serif;
}
.host-window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f3eee4;
  color: #857b6b;
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.04em;
}
.host-window-dots {
  display: flex;
  gap: 5px;
}
.host-window-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8ccb9;
}
.host-window-dots i:first-child {
  background: #d8a08f;
}
.host-window-dots i:nth-child(2) {
  background: #d8c08f;
}
.host-window-dots i:last-child {
  background: #a8b99a;
}
.host-domain {
  margin-left: 4px;
}
.host-illustrative {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid #ded4c3;
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.host-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  height: 640px;
  background: var(--host-bg);
  color: var(--host-ink);
  font-family: var(--host-font);
}
.host-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 11px 12px;
  border-right: 1px solid var(--host-line);
  background: var(--host-sidebar);
}
.host-side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}
.host-brand {
  color: var(--host-ink);
  font: 600 15px/1 var(--host-display);
  letter-spacing: -0.03em;
}
.host-new {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-left: auto;
  border: 1px solid var(--host-line);
  border-radius: 7px;
  color: var(--host-muted);
  font-size: 16px;
  line-height: 1;
}
.host-side-list {
  display: grid;
  gap: 1px;
  margin-top: 18px;
}
.host-side-list p {
  margin: 0 7px 5px;
  color: var(--host-muted);
  font: 500 8px/1 var(--host-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.host-side-item {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 7px;
  border-radius: 6px;
  color: var(--host-muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.host-side-item.is-active {
  background: var(--host-surface);
  color: var(--host-ink);
}
.host-side-item.is-active::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--host-accent);
}
.host-side-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 8px 4px 0;
  border-top: 1px solid var(--host-line);
  color: var(--host-muted);
  font-size: 10px;
}
.host-avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--host-accent);
  color: #fff;
  font: 600 8px/1 var(--host-font);
}
.host-more {
  margin-left: auto;
  letter-spacing: 0.06em;
}
.host-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--host-surface);
}
.host-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--host-line);
}
.host-chat-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.host-chat-title b {
  color: var(--host-ink);
  font: 600 14px/1 var(--host-display);
  letter-spacing: -0.02em;
}
.host-chat-title span {
  color: var(--host-muted);
  font: 500 9px/1 var(--host-font);
}
.host-chat-tag {
  padding: 4px 7px;
  border: 1px solid var(--host-line);
  border-radius: 999px;
  color: var(--host-muted);
  font: 500 8px/1 var(--host-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.host-chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  min-height: 0;
  padding: 18px 20px 8px;
  overflow: hidden;
}
.host-msg,
.host-ad,
.host-composer {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}
.host-msg {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.host-user {
  justify-content: flex-end;
}
.host-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--host-bubble);
  color: var(--host-ink);
  font-size: 12px;
  line-height: 1.5;
}
.host-assistant {
  max-width: 88%;
}
.host-msg-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--host-accent);
  color: #fff;
  font: 600 8px/1 var(--host-font);
}
.host-answer p {
  margin: 0;
  color: var(--host-ink);
  font-size: 12.5px;
  line-height: 1.55;
}
.host-answer > span {
  display: block;
  margin-top: 4px;
  color: var(--host-muted);
  font: 500 7px/1.2 var(--host-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.host-ad {
  margin-top: 2px;
}
.host-card {
  overflow: hidden;
}
.host-native {
  border: 1px solid var(--host-line);
  border-radius: var(--host-radius);
  background: var(--host-surface);
  box-shadow: 0 6px 20px -18px #00000059;
}
.host-native-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(180deg, #00000024, #00000024),
    url("./assets/still-matinee.jpg") center / cover no-repeat;
}
.host-native-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #00000080 0%,
    transparent 26%,
    transparent 56%,
    #080807cc 100%
  );
}
.host-native-top {
  position: absolute;
  inset: 10px 12px auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #f7f1e3;
  font: 500 8px/1 var(--host-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px #000a;
}
.host-native-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: 0 8px 22px #0005;
  transform: translate(-50%, -50%);
  text-decoration: none;
}
.host-native-play span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #17150f;
}
.host-native-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
}
.host-native-bottom {
  position: absolute;
  inset: auto 12px 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.host-native-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.host-native-copy b {
  overflow: hidden;
  color: #f7f1e3;
  font: 500 16px/1.1 var(--host-display);
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px #000a;
}
.host-native-copy span {
  color: #d9d6cb;
  font: 500 8px/1.2 var(--host-font);
  text-shadow: 0 1px 8px #000a;
}
.host-native-reward {
  flex: none;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--host-accent);
  color: #fff;
  font: 600 8px/1 var(--host-font);
  white-space: nowrap;
}
.host-native-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  border-top: 1px solid var(--host-line);
  color: var(--host-muted);
  font: 500 8px/1 var(--host-font);
}
.host-native-foot span:first-child {
  color: var(--host-ink);
  font: 600 10px/1 var(--host-display);
}
.host-generic {
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.host-generic-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(180deg, #0000001f, #00000080),
    url("./assets/still-matinee.jpg") center / cover no-repeat;
}
.host-generic-sponsored {
  position: absolute;
  top: 10px;
  left: 11px;
  padding: 4px 6px;
  border-radius: 3px;
  background: #ffffffdb;
  color: #5f594f;
  font:
    500 7px/1 "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.host-generic-copy {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 13px;
  color: #fff;
}
.host-generic-brand {
  display: block;
  margin-bottom: 3px;
  font:
    400 18px/1 "Iowan Old Style",
    Georgia,
    serif;
  letter-spacing: -0.04em;
}
.host-generic-copy p {
  margin: 0 0 9px;
  font:
    500 16px/1.1 "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: -0.03em;
}
.host-generic-cta {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 3px;
  background: #f2eee5;
  color: #29251f;
  font:
    600 9px/1 "Helvetica Neue",
    Arial,
    sans-serif;
}
.host-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  margin-top: auto;
  margin-bottom: 14px;
  padding: 0 7px 0 13px;
  border: 1px solid var(--host-line);
  border-radius: calc(var(--host-radius) + 6px);
  background: var(--host-surface);
  color: var(--host-muted);
  font-size: 11px;
}
.host-send {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--host-accent);
  color: #fff;
  font: 600 14px/1 var(--host-font);
}

/* Contract */
.host-contract {
  max-width: 1040px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.host-contract h2 {
  margin: 0;
  font: 400 clamp(28px, 3.2vw, 40px) / 1 var(--display);
  letter-spacing: -0.045em;
}
.host-contract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.host-contract-grid > div {
  padding-top: 12px;
  border-top: 1px solid #d8d0c1;
}
.host-contract h3 {
  margin: 0;
  color: var(--red-deep);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.host-contract p {
  max-width: 40ch;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.host-footer {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .host-hero h1 {
    font-size: clamp(38px, 5.6vw, 54px);
  }
  .host-shell {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .host-stage {
    min-height: 660px;
  }
  .host-contract-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .host-hero {
    padding: 22px 0 18px;
  }
  .host-hero h1 {
    font-size: clamp(36px, 9vw, 48px);
  }
  .host-lede {
    font-size: 13px;
  }
  .host-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .host-rail,
  .host-compare {
    width: 100%;
  }
  .host-rail button,
  .host-compare button {
    flex: 1;
    padding: 0 8px;
  }
  .host-stage {
    min-height: 0;
  }
  .host-window {
    border-radius: 14px;
  }
  .host-window-bar {
    height: 32px;
    padding: 0 10px;
  }
  .host-domain {
    font-size: 8px;
  }
  .host-shell {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 560px;
  }
  .host-sidebar {
    display: none;
  }
  .host-chat-head {
    padding: 0 14px;
  }
  .host-chat {
    padding: 14px 12px 6px;
    gap: 11px;
  }
  .host-native-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .host-native-copy b {
    font-size: 14px;
  }
  .host-composer {
    margin: 0 12px 12px;
  }
  .host-contract-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 460px) {
  .host-window-dots {
    gap: 4px;
  }
  .host-window-dots i {
    width: 6px;
    height: 6px;
  }
  .host-chat-title span {
    display: none;
  }
  .host-native-top {
    inset: 8px 9px auto;
    font-size: 7px;
  }
  .host-native-bottom {
    inset: auto 9px 8px;
  }
  .host-native-reward {
    padding: 6px 8px;
    font-size: 7px;
  }
  .host-native-foot {
    padding: 6px 9px;
  }
}
