:root {
  --ink: #123633;
  --ink-soft: #33514d;
  --green: #123f39;
  --green-2: #1d544b;
  --orange: #e87534;
  --orange-2: #f6b185;
  --cream: #fff9ee;
  --cream-2: #f8eddc;
  --paper: #fffdf8;
  --line: #eadbc5;
  --muted: #6f7774;
  --shadow: 0 24px 70px rgba(61, 43, 24, 0.14);
  --radius: 8px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 117, 52, 0.08), transparent 28%),
    linear-gradient(180deg, #fffaf1 0%, var(--cream) 52%, #fffdf8 100%);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(18, 54, 51, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 54, 51, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1720px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 84px) 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-name {
  font-family: var(--hand);
  font-size: clamp(1.9rem, 2.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.brand.small .brand-name {
  font-size: 2rem;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 62px;
  border: 3px solid var(--ink);
  border-radius: 42% 58% 44% 56% / 48% 46% 54% 52%;
  background: var(--paper);
  transform-origin: 50% 80%;
}

.brand-mark::after {
  position: absolute;
  right: 9px;
  bottom: -9px;
  width: 15px;
  height: 15px;
  content: "";
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
  transform: rotate(28deg);
}

.cow-face,
.mini-cow,
.chat-cow {
  position: relative;
  display: block;
  width: 44px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 45% 55% 46% 54%;
  background: #fff7ea;
}

.cow-face.tiny {
  width: 30px;
  height: 28px;
}

.ear,
.horn,
.spot,
.eye,
.muzzle,
.muzzle span {
  position: absolute;
  display: block;
}

.ear {
  top: 2px;
  width: 16px;
  height: 15px;
  border-radius: 70% 30% 70% 30%;
  background: var(--ink);
}

.ear-left {
  left: -8px;
  transform: rotate(-35deg);
}

.ear-right {
  right: -8px;
  transform: rotate(35deg) scaleX(-1);
}

.horn {
  top: -6px;
  width: 9px;
  height: 13px;
  border-radius: 80% 20% 60% 30%;
  background: #e6d7ba;
}

.horn-left {
  left: 9px;
  transform: rotate(-18deg);
}

.horn-right {
  right: 9px;
  transform: rotate(18deg) scaleX(-1);
}

.spot {
  background: var(--ink);
}

.spot-left {
  top: 7px;
  left: 6px;
  width: 15px;
  height: 16px;
  border-radius: 64% 36% 58% 42%;
}

.spot-right {
  top: 6px;
  right: 5px;
  width: 12px;
  height: 18px;
  border-radius: 50% 50% 62% 38%;
}

.eye {
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.eye-left {
  left: 14px;
}

.eye-right {
  right: 14px;
}

.muzzle {
  left: 50%;
  bottom: 4px;
  width: 25px;
  height: 17px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #f6b191;
  transform: translateX(-50%);
}

.muzzle span {
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}

.muzzle span:first-child {
  left: 6px;
}

.muzzle span:last-child {
  right: 6px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 52px);
  font-weight: 700;
}

.main-nav a,
.login-link {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after,
.login-link::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.login-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(18, 63, 57, 0.18);
  transform: translateZ(0);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.button span {
  pointer-events: none;
}

.button-green {
  background: linear-gradient(180deg, var(--green-2), var(--green));
}

.button-orange {
  background: linear-gradient(180deg, #ef8b4f, var(--orange));
  box-shadow: 0 14px 30px rgba(232, 117, 52, 0.22);
}

.button:hover {
  box-shadow: 0 18px 36px rgba(18, 63, 57, 0.22);
}

.compact {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.85rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(620px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 96px);
  padding: 18px clamp(20px, 5vw, 84px) 30px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 600px;
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(4.7rem, 8vw, 8.3rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: 0;
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--orange);
}

.hero h1 span::after {
  position: absolute;
  left: 5%;
  bottom: -4px;
  width: 88%;
  height: 11px;
  content: "";
  border-radius: 50%;
  background: rgba(92, 140, 116, 0.62);
  transform: rotate(-2deg);
}

.hero-text {
  max-width: 530px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 34px 0 0;
}

.how-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hand);
  font-size: 1.55rem;
  font-weight: 700;
}

.how-link span {
  border-bottom: 3px solid var(--orange);
}

.how-link svg {
  width: 28px;
  height: 28px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  max-width: 500px;
  margin-top: 32px;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 36px rgba(61, 43, 24, 0.08);
}

.link-icon,
.step-icon,
.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  background: #f7ecd9;
}

.link-icon svg,
.step-icon svg,
.feature-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

.link-card p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.link-card strong {
  font-size: 1.08rem;
}

.link-note {
  position: absolute;
  right: -154px;
  top: 18px;
  max-width: 150px;
  color: #5d8a70;
  font-family: var(--hand);
  font-size: 1.35rem;
  line-height: 1.05;
  transform: rotate(-4deg);
}

.link-note::before {
  position: absolute;
  left: -38px;
  top: 18px;
  width: 32px;
  height: 18px;
  content: "";
  border-bottom: 3px solid #79a489;
  border-left: 3px solid #79a489;
  border-radius: 50%;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--cream-2);
}

.icon-button.copied {
  color: #fff;
  background: var(--green);
}

.hero-product {
  min-width: 0;
}

.app-window {
  overflow: hidden;
  border: 2px solid #d8cbb7;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform-origin: center;
}

.window-top {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.window-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-top span:nth-child(1) {
  background: #ef7d40;
}

.window-top span:nth-child(2) {
  background: #eebf51;
}

.window-top span:nth-child(3) {
  background: #77a47e;
}

.app-grid {
  display: grid;
  grid-template-columns: 178px minmax(260px, 0.9fr) minmax(310px, 1.1fr);
  min-height: 520px;
}

.sidebar {
  padding: 24px 18px;
  color: #f5fbf6;
  background: linear-gradient(150deg, #123f39, #0d2f2b);
}

.mini-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--hand);
  font-size: 1.4rem;
}

.mini-cow,
.chat-cow {
  width: 34px;
  height: 32px;
  border-color: #10322f;
  background:
    radial-gradient(circle at 38% 42%, #10322f 0 8px, transparent 9px),
    radial-gradient(circle at 66% 36%, #10322f 0 7px, transparent 8px),
    radial-gradient(ellipse at 50% 77%, #f4a885 0 10px, transparent 11px),
    #fff6ea;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 700;
}

.sidebar a span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border-radius: 50%;
  color: var(--green);
  background: #b4c5ad;
  font-size: 0.75rem;
}

.sidebar svg {
  width: 18px;
  height: 18px;
}

.side-active {
  background: rgba(255, 255, 255, 0.16);
}

.sidebar hr {
  height: 1px;
  margin: 18px 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
}

.conversation-list,
.chat-panel {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.chat-panel {
  border-right: 0;
}

.panel-heading,
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-heading {
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.05rem;
}

.panel-heading button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 700;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.search input,
.reply-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.search svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.conversation {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
}

.conversation.active {
  background: #fbf0e3;
}

.conversation strong,
.chat-header strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.conversation p,
.chat-header p {
  margin: 0;
  color: #304a46;
  font-size: 0.78rem;
  line-height: 1.3;
}

.conversation time {
  align-self: start;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.sarah {
  background: #d87950;
}

.teal {
  background: #89b8a7;
}

.sage {
  background: #a7bd90;
}

.ochre {
  background: #b89651;
}

.chat-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.status {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eff4e8;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 360px;
  padding: 24px 0 18px;
}

.bubble {
  width: fit-content;
  max-width: 76%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.bubble.agent {
  align-self: flex-end;
  border-color: #f1ad82;
  background: #f8b184;
}

.bubble.resolved {
  align-self: flex-end;
  border-color: #cbdab9;
  background: #dce8cc;
}

.stamp {
  color: var(--muted);
  font-size: 0.7rem;
}

.stamp.right {
  align-self: flex-end;
}

.reply-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps {
  padding: 10px clamp(20px, 5vw, 84px) 44px;
  text-align: center;
}

.steps h2,
.section-heading h2,
.pricing h2 {
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 26px auto 0;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  align-items: center;
  gap: 4px 18px;
  min-height: 106px;
  padding: 18px;
  text-align: left;
}

.number {
  position: absolute;
  left: 58px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.step-icon {
  grid-area: icon;
}

.step-card h3 {
  grid-area: title;
  margin: 0;
  font-size: 1rem;
}

.step-card p {
  grid-area: text;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.features {
  padding: 42px clamp(20px, 5vw, 84px) 54px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.62);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.feature-grid article {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 253, 248, 0.92);
}

.feature-grid h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.feature-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin: 52px clamp(20px, 5vw, 84px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  box-shadow: 0 20px 54px rgba(18, 63, 57, 0.18);
}

.pricing .eyebrow {
  color: #f8bd90;
}

.pricing p:last-child {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 84px) 34px;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
}

.floating-chat {
  position: fixed;
  right: 34px;
  bottom: 30px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  max-width: 245px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(61, 43, 24, 0.16);
  color: var(--ink);
  cursor: pointer;
}

.floating-chat span:first-child {
  display: grid;
  gap: 4px;
  text-align: left;
  font-weight: 800;
}

.floating-chat strong {
  font-size: 0.86rem;
}

.chat-cow {
  flex: 0 0 auto;
  width: 54px;
  height: 52px;
  border-width: 3px;
  background-color: #fff6ea;
}

.chat-cow::after {
  position: absolute;
  right: -5px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  content: "";
  background: var(--orange);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    justify-content: end;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .link-note {
    position: static;
    grid-column: 1 / -1;
    max-width: none;
    transform: none;
  }

  .link-note::before {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-top: 18px;
  }

  .brand-mark {
    width: 58px;
    height: 52px;
  }

  .brand-name {
    font-size: 2.25rem;
  }

  .header-actions .login-link {
    display: none;
  }

  .header-actions .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(4rem, 18vw, 5.8rem);
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .link-card {
    grid-template-columns: 48px 1fr auto;
  }

  .app-window {
    min-width: 760px;
    transform-origin: left top;
  }

  .hero-product {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .step-row,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    max-width: 460px;
    margin: 0 auto;
  }

  .pricing,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-chat {
    right: 16px;
    bottom: 16px;
    min-height: 62px;
    max-width: 194px;
  }

  .chat-cow {
    width: 44px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .header-actions {
    justify-content: start;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .link-card {
    grid-template-columns: 48px 1fr;
  }

  .icon-button {
    grid-column: 2;
    justify-self: start;
  }

  .feature-grid article {
    min-height: 170px;
  }
}

/* Tighten the first viewport and replace the rough generated-looking mark. */
.page-shell {
  overflow: visible;
}

.brand-mark {
  width: 64px;
  height: 58px;
  border-width: 2px;
  border-radius: 46% 54% 48% 52% / 48% 45% 55% 52%;
}

.brand-mark::after {
  right: 8px;
  bottom: -8px;
  width: 13px;
  height: 13px;
  border-width: 2px;
}

.cow-logo {
  position: relative;
  display: block;
  width: 43px;
  height: 39px;
  border: 2px solid var(--ink);
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 32% 43%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 68% 43%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 25% 20%, var(--ink) 0 10px, transparent 11px),
    radial-gradient(circle at 76% 20%, var(--ink) 0 10px, transparent 11px),
    radial-gradient(ellipse at 50% 73%, #f4a985 0 13px, transparent 14px),
    #fff7ea;
}

.cow-logo::before,
.cow-logo::after {
  position: absolute;
  top: 8px;
  width: 14px;
  height: 16px;
  content: "";
  border-radius: 50%;
  background: var(--ink);
}

.cow-logo::before {
  left: -7px;
}

.cow-logo::after {
  right: -7px;
}

.cow-logo.mini {
  width: 32px;
  height: 29px;
  border-color: rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(circle at 32% 43%, var(--green) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 43%, var(--green) 0 3px, transparent 4px),
    radial-gradient(circle at 25% 20%, var(--green) 0 8px, transparent 9px),
    radial-gradient(circle at 76% 20%, var(--green) 0 8px, transparent 9px),
    radial-gradient(ellipse at 50% 74%, #f4a985 0 10px, transparent 11px),
    #fff7ea;
}

.cow-logo.mini::before,
.cow-logo.mini::after {
  top: 6px;
  width: 10px;
  height: 12px;
  background: var(--green);
}

.cow-logo.mini::before {
  left: -5px;
}

.cow-logo.mini::after {
  right: -5px;
}

.cow-logo.chat {
  flex: 0 0 auto;
  width: 50px;
  height: 47px;
}

.cow-logo.chat::after {
  right: -10px;
}

.floating-chat::after {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: var(--orange);
}

.brand-mark {
  overflow: visible;
  border: 0;
  background: transparent;
}

.brand-mark::after {
  display: none;
}

.brand-logo-img {
  display: block;
  width: 72px;
  height: 70px;
  object-fit: contain;
}

.brand.small .brand-logo-img {
  width: 48px;
  height: 46px;
}

.mini-logo-img {
  display: block;
  width: 34px;
  height: 32px;
  object-fit: contain;
}

.floating-logo-img {
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 56px;
  object-fit: contain;
}

.floating-chat::after {
  display: none;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(18, 54, 51, 0.08);
  border-radius: 7px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(18, 63, 57, 0.12);
}

.button-green {
  background: var(--green);
}

.button-orange {
  background: var(--orange);
  box-shadow: 0 10px 22px rgba(232, 117, 52, 0.16);
}

.button:hover {
  box-shadow: 0 12px 24px rgba(18, 63, 57, 0.15);
}

.hero {
  grid-template-columns: minmax(420px, 0.86fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  padding-top: 18px;
}

.hero h1 {
  font-size: clamp(4rem, 6.4vw, 6.8rem);
}

.hero-text {
  max-width: 610px;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
}

.link-card {
  max-width: 560px;
}

.link-note {
  position: static;
  grid-column: 1 / -1;
  max-width: 390px;
  font-size: 1.15rem;
  line-height: 1.12;
  transform: none;
}

.link-note::before {
  display: none;
}

.hero-product {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
  padding-top: 4px;
}

.app-window {
  width: min(100%, 835px);
}

.app-grid {
  grid-template-columns: 142px minmax(238px, 0.88fr) minmax(285px, 1fr);
  min-height: 400px;
}

.sidebar {
  padding: 18px 14px;
}

.sidebar a {
  min-height: 34px;
  font-size: 0.78rem;
}

.mini-logo {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.conversation-list,
.chat-panel {
  padding: 18px;
}

.window-top {
  height: 34px;
}

.conversation {
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
}

.avatar {
  width: 36px;
  height: 36px;
  font-size: 0.74rem;
}

.messages {
  min-height: 255px;
  padding: 16px 0 12px;
}

.bubble {
  padding: 10px 12px;
  font-size: 0.78rem;
}

.reply-box {
  min-height: 48px;
}

.search {
  height: 36px;
}

.panel-heading {
  margin-bottom: 12px;
}

.chat-header {
  padding-bottom: 14px;
}

.floating-chat {
  overflow: visible;
}

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

  .hero-product {
    justify-content: flex-start;
  }

  .app-window {
    width: min(100%, 900px);
  }
}

@media (max-width: 820px) {
  .app-window {
    width: 760px;
  }
}

/* Final hero sizing pass: keep logo and mockup controlled in the first viewport. */
.site-header .brand-mark {
  width: 58px;
  height: 56px;
}

.brand-logo-img {
  width: 58px !important;
  height: 56px !important;
  object-fit: contain;
}

.brand.small .brand-logo-img {
  width: 44px !important;
  height: 43px !important;
}

.mini-logo-img {
  width: 30px !important;
  height: 29px !important;
}

.hero {
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
  align-items: start;
  min-height: auto;
  padding-top: 10px;
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(3.8rem, 5.8vw, 6.1rem);
}

.hero-text {
  max-width: 660px;
  margin-top: 22px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.hero-actions {
  margin-top: 28px;
}

.link-card {
  margin-top: 26px;
}

.hero-product {
  justify-content: flex-end;
  padding-top: 0;
}

.app-window {
  width: min(100%, 760px);
  box-shadow: 0 18px 46px rgba(61, 43, 24, 0.13);
}

.app-grid {
  grid-template-columns: 126px minmax(220px, 0.82fr) minmax(250px, 1fr);
  min-height: 360px;
}

.window-top {
  height: 30px;
  padding: 0 18px;
}

.window-top span {
  width: 9px;
  height: 9px;
}

.sidebar {
  padding: 14px 12px;
}

.sidebar a {
  min-height: 31px;
  gap: 8px;
  padding: 0 9px;
  font-size: 0.72rem;
}

.sidebar hr {
  margin: 12px 6px;
}

.mini-logo {
  gap: 7px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.conversation-list,
.chat-panel {
  padding: 14px;
}

.panel-heading {
  margin-bottom: 9px;
}

.panel-heading h2 {
  font-size: 0.9rem;
}

.panel-heading button {
  height: 30px;
  font-size: 0.76rem;
}

.search {
  height: 32px;
}

.conversation {
  grid-template-columns: 32px 1fr auto;
  gap: 8px;
  margin-top: 8px;
  padding: 8px;
}

.conversation strong,
.chat-header strong {
  font-size: 0.82rem;
}

.conversation p,
.chat-header p {
  font-size: 0.7rem;
}

.avatar {
  width: 32px;
  height: 32px;
  font-size: 0.68rem;
}

.chat-header {
  padding-bottom: 10px;
}

.status {
  padding: 6px 9px;
  font-size: 0.68rem;
}

.messages {
  min-height: 230px;
  padding: 12px 0 10px;
}

.bubble {
  padding: 9px 10px;
  font-size: 0.7rem;
}

.stamp {
  font-size: 0.62rem;
}

.reply-box {
  min-height: 42px;
}

.floating-chat {
  right: 20px;
  bottom: 18px;
  min-height: 58px;
  max-width: 176px;
  padding: 9px 10px 9px 12px;
  gap: 8px;
}

.floating-chat span:first-child {
  font-size: 0.9rem;
  line-height: 1.08;
}

.floating-chat strong {
  font-size: 0.72rem;
}

.floating-logo-img {
  width: 42px !important;
  height: 41px !important;
  object-fit: contain;
}

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

  .hero-product {
    justify-content: flex-start;
  }

  .app-window {
    width: min(100%, 760px);
  }
}

@media (min-width: 1121px) {
  .hero {
    grid-template-columns: minmax(360px, 0.72fr) minmax(560px, 1fr) !important;
  }

  .hero-product {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: flex-end !important;
  }

  .app-window {
    width: min(100%, 760px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
