:root {
  --primary: #69AF62;
  --text: #2D3645;
  --muted: #5D6778;
  --bg: #F7FAF7;
  --border: #D8DEE6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.5 "Poppins", system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(105, 175, 98, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 175, 98, .035) 1px, transparent 1px),
    linear-gradient(180deg, #F1F8F1, #FFFFFF 48%);
  background-size: 56px 56px, 56px 56px, auto;
}

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

.header, main, .footer { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.topbar { background: rgba(255, 255, 255, .82); border-bottom: 1px solid rgba(216, 222, 230, .55); }
.header { height: 76px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; line-height: 0; }
.logo img { display: block; width: 166px; height: auto; }
.header nav { margin-left: 48px; display: flex; gap: 20px; color: var(--muted); font-weight: 500; }
.signin { margin-left: auto; font-size: 14px; font-weight: 600; }

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  transition: background 0.18s ease;
  border: none;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: #57a050; }
.btn-light { background: #fff; color: var(--text); border: 1px solid var(--border); transition: background 0.18s ease, border-color 0.18s ease; }
.btn-light:hover { background: #eef1f5; border-color: #b5bfcc; }

h1, h2 { margin: 0 0 12px; font-family: "Oswald", "Poppins", sans-serif; font-weight: 700; line-height: 1.1; }
h1 { max-width: 520px; font-size: clamp(2.4rem, 3.8vw, 3rem); }
h1 span, .draft { color: var(--primary); }

.eyebrow { color: var(--primary); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lead { color: var(--muted); max-width: 520px; font-size: 18px; }
.rebuild-note { font-weight: 600; color: var(--text); font-size: 15px; }
.actions { margin: 22px 0; display: flex; gap: 12px; flex-wrap: wrap; }

.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; min-height: 100vh; padding: 72px 0 90px; }

.scene-caption { grid-column: 2; text-align: center; color: var(--muted); font-size: 14px; margin: 24px auto 0; max-width: 100%; line-height: 1.6; }

.eu-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #d8dee6;
  border-radius: 12px;
  background: rgba(255, 255, 255, .75);
  width: 100%;
}
.eu-badge img {
  width: 38px;
  height: 26px;
  border-radius: 3px;
  border: 1px solid #d3d9e2;
  object-fit: cover;
}
.eu-badge strong {
  display: block;
  font-size: 14px;
}
.eu-badge span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

.scene { position: relative; min-height: 500px; font-size: 13px; }
.scene *, .scene *::before {
  animation-duration: 70s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(45, 54, 69, .11);
}
.card header { padding: 12px 16px; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--muted); }

.sub { display: block; color: var(--muted); font-size: 12px; }
.avatar {
  flex: none; width: 38px; height: 38px; border-radius: 9px;
  background: #E8F3E7; color: #3F7040;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}

/* Animated inbox */
.inbox { left: 0; top: 70px; width: 82%; z-index: 2; transform: rotate(0deg); overflow: hidden; }
.win { display: flex; align-items: center; gap: 7px; background: var(--bg); border-radius: 14px 14px 0 0; }
.win-title { margin-left: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #EF4444; } .dot.y { background: #F59E0B; } .dot.g { background: var(--primary); }
.mail-list {
  position: relative;
  height: 240px;
  overflow: hidden;
  padding: 16px;
}
.email { display: flex; gap: 12px; align-items: center; height: 64px; padding: 0 14px; border-radius: 10px; background: #fff; }
.read { opacity: .56; margin-top: 0; animation-name: read-shift; }
.read + .read { margin-top: 8px; }
.new-mail {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 10px 12px;
  background: #F4FAF3;
  border: 1px solid #D9EED7;
  box-shadow: 0 6px 18px rgba(45, 54, 69, .08);
  overflow: hidden;
  animation-name: new-mail;
}
.mail-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  position: absolute;
  left: 12px;
  right: 12px;
  top: 38px;
  z-index: 2;
  transform: translateY(-50%);
  animation-name: mail-summary-fold;
}
.mail-summary > div { min-width: 0; }
.mail-summary .sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.open-mail {
  position: relative;
  z-index: 1;
  margin-top: 54px;
  padding-top: 8px;
  background: #fff;
  border-top: 1px solid #dcead9;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(0);
  animation-name: open-mail-body;
}
.open-mail p {
  margin: 0;
  color: #435162;
  font-size: 11px;
  line-height: 1.22;
}
.reading-text {
  position: relative;
  animation-name: quoted-original;
}
.quoted-label {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  animation-name: quoted-label;
}
.reply-composer {
  display: block;
  margin-bottom: 5px;
  padding: 5px 8px 6px;
  border: 1px solid #d7e4d4;
  border-radius: 8px;
  background: #f8fbf8;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  animation-name: reply-composer;
}
.reply-field {
  display: flex;
  gap: 6px;
  margin-bottom: 3px;
  color: #435162;
  font-size: 10px;
}
.reply-field span {
  color: #3f7040;
  font-weight: 700;
  text-decoration: underline;
}
.reply-field strong {
  color: #2d3645;
}
.draft-text {
  margin: 0;
  color: #2d3645;
  line-height: 1.12;
}
.draft-line {
  display: block;
  width: max-content;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
}
.draft-line-1 { animation: draft-line-1 70s steps(41, end) infinite; }
.draft-line-2 { animation: draft-line-2 70s steps(76, end) infinite; }
.draft-line-3 { animation: draft-line-3 70s steps(76, end) infinite; }
.read-chunk {
  border-radius: 5px;
  animation-name: read-highlight;
}
.read-chunk-1 { animation-delay: -.35s; }
.read-chunk-2 { animation-delay: .35s; }
.read-chunk-3 { animation-delay: 1.05s; }
.read-chunk-4 { animation-delay: 1.75s; }
.read-chunk-5 { animation-delay: 2.45s; }
.open-mail-meta {
  display: none;
  margin-top: 8px;
  gap: 8px;
}
.open-mail-meta span {
  font-size: 10px;
  font-weight: 600;
  color: #3f7040;
  background: #e8f3e7;
  border: 1px solid #d1e7cf;
  border-radius: 999px;
  padding: 3px 7px;
}
.tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: #d8ecd5;
  color: #2f5b31;
  border: 1px solid #b9d8b5;
  padding: 4px 10px;
  border-radius: 999px;
  animation-name: new-tag;
}
.draft-chip {
  display: inline-flex;
  position: absolute;
  right: 0;
  margin-left: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: #f3f8f1;
  color: #3f7040;
  border: 1px solid #b9d8b5;
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0;
  animation-name: draft-chip;
}
.folded-envelope {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  transform: none;
  animation-name: folded-envelope;
}
.draft-folder {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #cfe4cd;
  border-radius: 10px;
  background: #f8fbf8;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 10px 22px rgba(45, 54, 69, .08);
  animation-name: draft-folder;
}
.folder-icon {
  flex: none;
  width: 42px;
  height: 40px;
  object-fit: contain;
}
.draft-folder-copy {
  min-width: 0;
  flex: 1;
}
.draft-title {
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
}
.draft-count {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e8f3e7;
  border: 1px solid #c8e3c4;
  color: #3f7040;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}
.draft-count-zero,
.draft-count-one {
  grid-area: 1 / 1;
}
.draft-count-zero {
  animation-name: draft-count-zero;
}
.draft-count-one {
  opacity: 0;
  animation-name: draft-count-one;
}
.draft-preview {
  opacity: 0;
  transform: translateY(-3px);
  animation-name: draft-preview;
}

/* MailAgent mascot */
.agent-card {
  position: absolute;
  right: 22px;
  bottom: 46px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 320px;
  height: 104px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--primary);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(45, 54, 69, .12);
  transform: rotate(0deg);
  animation-name: agent-pulse;
}
.agent-card p { margin: 2px 0 0; color: var(--muted); }
.agent-content {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 60px;
}
.status-line {
  position: relative;
  min-height: 24px;
}
.status {
  position: absolute;
  top: 2px;
  left: 0;
  margin: 0;
  white-space: nowrap;
}
.waiting { animation-name: waiting-status; }
.got-mail { opacity: 0; animation-name: got-mail-status; }
.processing {
  position: absolute;
  left: 0;
  top: 36px;
  margin: 0;
  opacity: 0;
  white-space: nowrap;
  animation-name: processing;
}
.understanding {
  opacity: 0;
  animation-name: understanding;
}
.kb-check, .finding, .found,
.conclusion, .integrations-check, .order-result,
.inventory-result, .write-response, .save-draft {
  position: absolute;
  left: 0;
  margin: 0;
  opacity: 0;
  font-size: 12px;
}
.kb-check, .finding, .found { top: 36px; white-space: nowrap; }
.conclusion, .integrations-check, .order-result,
.inventory-result, .write-response, .save-draft { top: 20px; }
.integrations-check, .order-result,
.inventory-result, .write-response { white-space: nowrap; }
.conclusion, .save-draft { line-height: 1.28; }
.conclusion { color: var(--muted); }
.conclusion .typed, .save-draft .typed { display: block; width: max-content; }
.kb-check { animation-name: kb-check; }
.finding { animation-name: finding; }
.found { animation-name: found; }
.conclusion { animation-name: conclusion; }
.integrations-check { animation-name: integrations-check; }
.order-result { animation-name: order-result; }
.inventory-result { animation-name: inventory-result; }
.write-response { animation-name: write-response; }
.save-draft { animation-name: save-draft; }
.typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
}
.typed-got-mail { animation: typed-got-mail 70s steps(16, end) infinite; }
.typed-processing { animation: typed-processing 70s steps(15, end) infinite; }
.typed-understanding { animation: typed-understanding 70s steps(17, end) infinite; }
.typed-kb-check { animation: typed-kb-check 70s steps(35, end) infinite; }
.typed-finding { animation: typed-finding 70s steps(27, end) infinite; }
.typed-found { animation: typed-found 70s steps(30, end) infinite; }
.typed-conclusion-a { animation: typed-conclusion-a 70s steps(27, end) infinite; }
.typed-conclusion-b { animation: typed-conclusion-b 70s steps(18, end) infinite; }
.typed-integrations-check { animation: typed-integrations-check 70s steps(22, end) infinite; }
.typed-order-result { animation: typed-order-result 70s steps(25, end) infinite; }
.typed-inventory-result { animation: typed-inventory-result 70s steps(28, end) infinite; }
.typed-write-response { animation: typed-write-response 70s steps(32, end) infinite; }
.typed-save-draft-a { animation: typed-save-draft-a 70s steps(17, end) infinite; }
.typed-save-draft-b { animation: typed-save-draft-b 70s steps(17, end) infinite; }

.kb-box, .integrations-box {
  position: absolute;
  right: 0;
  top: 24px;
  z-index: 3;
  width: 540px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(45, 54, 69, .13);
  overflow: hidden;
}
.kb-box {
  height: 360px;
  animation-name: kb-box-float;
}
.kb-win, .integrations-win {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--muted);
}
.kb-body {
  height: calc(100% - 45px);
  padding: 12px 18px 18px;
}
.kb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.kb-head span {
  display: block;
  color: #6f7d6d;
  font-size: 11px;
  font-weight: 600;
}
.kb-spinner {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #dcead9;
  border-top-color: #69af62;
  opacity: 0;
  animation-name: kb-spinner;
  animation-timing-function: linear;
}
.kb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  height: 309px;
}
.kb-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 9px;
  row-gap: 3px;
  padding: 13px 12px;
  border-radius: 10px;
  background: #f7fbf7;
  color: #5b7159;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  margin-bottom: 10px;
}
.kb-list li.irrelevant { animation-name: kb-entry-drop; }
.kb-list li.relevant { animation-name: kb-entry-keep; }
.kb-list li span {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #e4f1e2;
  color: #3f7040;
  font-size: 10px;
  font-weight: 800;
}
.kb-list p {
  margin: 0;
  color: #405044;
  font-weight: 600;
}
.kb-list strong {
  display: block;
  color: #5b7159;
  font-size: 11px;
  font-weight: 600;
}

.integrations-box {
  opacity: 0;
  transform: translateY(10px);
  animation-name: integrations-box-float;
}
.integrations-body {
  display: grid;
  grid-template-rows: auto 0;
  gap: 8px;
  padding: 10px 16px 12px;
  overflow: hidden;
  animation-name: integrations-body-rows;
}
.integration-section {
  border: 1px solid #dcead9;
  border-radius: 12px;
  background: #f8fbf8;
  padding: 8px 10px;
  max-height: 132px;
  overflow: hidden;
  opacity: .42;
  transform: translateY(6px);
}
.inventory-section {
  min-height: 0;
}
.order-section { animation-name: order-section; }
.inventory-section { animation-name: inventory-section; }
.integration-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.integration-label span {
  color: #6f7d6d;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.integration-label strong {
  color: #405044;
  font-size: 12px;
}
.integration-section dl {
  display: grid;
  gap: 3px;
  margin: 0;
}
.integration-section dl div {
  display: grid;
  grid-template-columns: 94px 1fr;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}
.integration-section dt {
  color: #7d887d;
  font-size: 11px;
  font-weight: 600;
}
.integration-section dd {
  margin: 0;
  color: #3f4b3f;
  font-size: 12px;
  font-weight: 600;
}
.integration-section .confirmed {
  color: #2f5b31;
  border: 1px solid transparent;
}
.order-confirm { animation-name: integration-confirm-order; }
.inventory-confirm { animation-name: integration-confirm-inventory; }

.mascot {
  position: relative;
  flex: none;
  width: 62px;
  height: 70px;
  margin-top: 4px;
  animation-name: mascot-wake;
  will-change: transform, filter;
}
.mascot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.eye {
  position: absolute;
  top: 21px;
  width: 9px;
  height: 5px;
  overflow: hidden;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
  box-shadow: 0 1px 2px rgba(8, 15, 25, .34), inset 0 -1px 1px rgba(210, 216, 222, .55);
  animation-name: eyes;
  z-index: 2;
}
.eye::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 0;
  height: 1px;
  background: rgba(8, 15, 25, .1);
  border-radius: 999px;
}
.eye.left { left: calc(27% + 1px); }
.eye.right { right: calc(26% + 1px); }
.mouth {
  position: absolute;
  left: 50%;
  top: 40.6%;
  width: 7.45px;
  height: 2.05px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 82 17'%3E%3Cpath fill='%23fff' d='M5 0h70c4 0 7 2 7 6 0 5-8 9-25 11H25C8 15 0 11 0 6 0 2 2 0 5 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 .7px 1px rgba(8, 15, 25, .28));
  transform: translateX(-50%);
  z-index: 2;
}

@keyframes new-mail {
  0%, 3% { opacity: 0; transform: translateY(-84px); }
  3.9%, 7.66% {
    opacity: 1;
    transform: translateY(0);
    height: 76px;
    border-radius: 10px;
    background: #F4FAF3;
    border-color: #D9EED7;
    box-shadow: 0 6px 18px rgba(45, 54, 69, .08);
  }
  7.94% {
    opacity: 1;
    box-shadow: 0 0 0 10px rgba(105, 175, 98, .18), 0 16px 34px rgba(45, 54, 69, .18);
    border-color: rgba(105, 175, 98, .85);
    background: #f2faf1;
  }
  8.85% {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(105, 175, 98, .09), 0 12px 30px rgba(45, 54, 69, .13);
    border-color: rgba(105, 175, 98, .45);
    background: #f7fcf7;
  }
  9.75% {
    opacity: 1;
    box-shadow: 0 0 0 10px rgba(105, 175, 98, .18), 0 16px 34px rgba(45, 54, 69, .18);
    border-color: rgba(105, 175, 98, .85);
    background: #f2faf1;
  }
  10.65% {
    opacity: 1;
    animation-timing-function: ease-out;
    transform: translateY(0);
    height: 76px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(45, 54, 69, .12);
    border-color: #cfe4cd;
    background: #fff;
  }
  11.84%, 80% {
    opacity: 1;
    transform: translateY(0);
    height: 208px;
    border-radius: 12px;
    background: #fff;
    border-color: #cfe4cd;
    box-shadow: 0 16px 34px rgba(45, 54, 69, .16);
  }
  82.86% {
    opacity: 1;
    transform: translateY(0);
    height: 208px;
    left: 16px;
    right: 16px;
    top: 16px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border-color: rgba(105, 175, 98, .75);
    box-shadow: 0 0 0 5px rgba(105, 175, 98, .1), 0 16px 34px rgba(45, 54, 69, .16);
  }
  85.14% {
    border-color: transparent;
    box-shadow: none;
  }
  86.29% {
    opacity: 1;
    transform: translateY(0);
    left: calc(50% - 33px);
    right: calc(50% - 33px);
    top: 92px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    background: #f8fbf8;
    border-color: transparent;
    box-shadow: none;
  }
  89.29% {
    opacity: .9;
    transform: translateY(82px);
    left: calc(50% - 33px);
    right: calc(50% - 33px);
    top: 92px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    background: #f8fbf8;
    border-color: transparent;
    box-shadow: none;
  }
  90.71%, 100% {
    opacity: 0;
    transform: translateY(82px);
    left: calc(50% - 33px);
    right: calc(50% - 33px);
    top: 92px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    background: #f8fbf8;
    border-color: transparent;
    box-shadow: none;
  }
}
@keyframes read-shift {
  0%, 3% { transform: translateY(0); opacity: .56; }
  3.9%, 10.65% { transform: translateY(84px); opacity: .56; }
  11.25% { transform: translateY(84px); opacity: .14; }
  11.84%, 99% { transform: translateY(84px); opacity: 0; }
  100% { transform: translateY(0); opacity: .56; }
}
@keyframes open-mail-body {
  0%, 10.65% {
    opacity: 0;
    max-height: 0;
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  11.39% {
    opacity: 0;
    max-height: 130px;
    transform: translateY(0);
  }
  11.84%, 63.57% {
    opacity: 1;
    max-height: 130px;
    transform: translateY(0);
  }
  64.3%, 80% {
    opacity: 1;
    max-height: 148px;
    transform: translateY(0);
  }
  84.86%, 100% {
    opacity: 0;
    max-height: 0;
    transform: translateY(-5px);
  }
}
@keyframes reply-composer {
  0%, 63.57% {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  64.3%, 80% {
    opacity: 1;
    max-height: 92px;
    padding-top: 5px;
    padding-bottom: 6px;
    margin-bottom: 5px;
  }
  82.86% {
    opacity: 1;
    max-height: 92px;
    padding-top: 5px;
    padding-bottom: 6px;
    margin-bottom: 5px;
    border-color: rgba(105, 175, 98, .75);
    background: #f4faf3;
  }
  84.86%, 100% {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    border-color: #d7e4d4;
    background: #f8fbf8;
  }
}
@keyframes quoted-original {
  0%, 63.57% {
    opacity: 1;
    padding-left: 0;
    border-left: 0 solid transparent;
    color: #435162;
    font-size: 11px;
  }
  64.3%, 80% {
    opacity: .72;
    padding-left: 8px;
    border-left: 2px solid #d7e4d4;
    color: #6b7481;
    font-size: 9.5px;
  }
  84.86%, 100% {
    opacity: 0;
    padding-left: 8px;
    border-left: 2px solid #d7e4d4;
    color: #6b7481;
    font-size: 9.5px;
  }
}
@keyframes quoted-label {
  0%, 63.57% {
    opacity: 0;
    max-height: 0;
    margin: 0;
    color: #6b7481;
    font-size: 9.5px;
  }
  64.3%, 80% {
    opacity: .78;
    max-height: 14px;
    margin: 0 0 4px;
    color: #6b7481;
    font-size: 9.5px;
  }
  84.86%, 100% {
    opacity: 0;
    max-height: 0;
    margin: 0;
    color: #6b7481;
    font-size: 9.5px;
  }
}
@keyframes read-highlight {
  0%, 13.96% {
    background: transparent;
    box-shadow: none;
  }
  14.85%, 15.6% {
    background: rgba(105, 175, 98, .2);
    box-shadow: 0 0 0 3px rgba(105, 175, 98, .18);
  }
  16.2%, 100% {
    background: transparent;
    box-shadow: none;
  }
}
@keyframes mascot-wake {
  0%, 3.73% {
    transform: translateY(0);
    filter: grayscale(.5) saturate(.78) brightness(1.02);
  }
  3.94% {
    transform: translateY(-2px);
    filter: grayscale(.35) saturate(.86) brightness(1.01);
  }
  4.19% {
    transform: translateY(-5px);
    filter: grayscale(.15) saturate(.94) brightness(1);
  }
  4.49% {
    transform: translateY(-7px);
    filter: grayscale(0) saturate(1) brightness(1);
  }
  5.71%, 9.3%, 12.9%, 16.5%, 20.1%, 23.7%, 27.3%, 30.65%, 33.99%, 37.5%, 41.09%, 44.7%, 48.29%, 51.91%, 55.5%, 59.09%, 62.85%, 66.43%, 70%, 73.57%, 77.14%, 80.71%, 84.28%, 90%, 93.21%, 96.07% {
    transform: translateY(-2px);
    filter: grayscale(0) saturate(1) brightness(1);
  }
  7.49%, 11.11%, 14.7%, 18.3%, 21.9%, 25.5%, 29.1%, 32.31%, 35.66%, 39.3%, 42.9%, 46.51%, 50.1%, 53.69%, 57.31%, 60.9%, 64.64%, 68.21%, 71.79%, 75.36%, 78.93%, 82.86%, 87.14%, 91.43%, 94.64%, 97.5%, 99% {
    transform: translateY(-8px);
    filter: grayscale(0) saturate(1) brightness(1);
  }
  100% {
    transform: translateY(0);
    filter: grayscale(.5) saturate(.78) brightness(1.02);
  }
}
@keyframes eyes {
  0%, 3.73% { width: 7px; height: 1px; top: 24px; border-radius: 999px; }
  4.01% { width: 7px; height: 1px; top: 24px; border-radius: 999px; }
  4.49%, 99% { width: 9px; height: 5px; top: 21px; border-radius: 0 0 999px 999px; }
  100% { width: 7px; height: 1px; top: 24px; border-radius: 999px; }
}
@keyframes processing {
  0%, 3.73% { opacity: 0; }
  4.01%, 19.5% { opacity: 1; }
  20.1%, 100% { opacity: 0; }
}
@keyframes understanding {
  0%, 20.1% { opacity: 0; }
  20.4%, 35.29% { opacity: 1; }
  35.71%, 100% { opacity: 0; }
}
@keyframes kb-check {
  0%, 21.3% { opacity: 0; }
  21.6%, 24.9% { opacity: 1; }
  25.5%, 100% { opacity: 0; }
}
@keyframes finding {
  0%, 25.09% { opacity: 0; }
  25.5%, 30.02% { opacity: 1; }
  30.53%, 100% { opacity: 0; }
}
@keyframes found {
  0%, 31.02% { opacity: 0; }
  31.28%, 35.29% { opacity: 1; }
  35.71%, 100% { opacity: 0; }
}
@keyframes conclusion {
  0%, 35.29% { opacity: 0; }
  35.71%, 42.86% { opacity: 1; }
  43.2%, 100% { opacity: 0; }
}
@keyframes integrations-check {
  0%, 43.43% { opacity: 0; }
  43.43%, 46.43% { opacity: 1; }
  46.86%, 100% { opacity: 0; }
}
@keyframes order-result {
  0%, 46.43% { opacity: 0; }
  46.86%, 51.86% { opacity: 1; }
  52.2%, 100% { opacity: 0; }
}
@keyframes inventory-result {
  0%, 51.86% { opacity: 0; }
  51.86%, 58.71% { opacity: 1; }
  59.14%, 100% { opacity: 0; }
}
@keyframes write-response {
  0%, 59.29% { opacity: 0; }
  59.71%, 78.86% { opacity: 1; }
  79.43%, 100% { opacity: 0; }
}
@keyframes save-draft {
  0%, 79.43% { opacity: 0; }
  80%, 98.57% { opacity: 1; }
  99%, 100% { opacity: 0; }
}
@keyframes waiting-status {
  0%, 3.73% { opacity: 1; }
  4.01%, 99% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes got-mail-status {
  0%, 3.73% { opacity: 0; }
  4.01%, 19.5% { opacity: 1; }
  20.1%, 100% { opacity: 0; }
}
@keyframes typed-got-mail {
  0%, 4.01% { clip-path: inset(0 100% 0 0); }
  5.56%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-processing {
  0%, 5.75% { clip-path: inset(0 100% 0 0); }
  7.28%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-understanding {
  0%, 20.4% { clip-path: inset(0 100% 0 0); }
  21.17%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-kb-check {
  0%, 21.6% { clip-path: inset(0 100% 0 0); }
  23.1% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-finding {
  0%, 25.09% { clip-path: inset(0 100% 0 0); }
  26.94%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-found {
  0%, 31.28% { clip-path: inset(0 100% 0 0); }
  33.43%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-conclusion-a {
  0%, 35.71% { clip-path: inset(0 100% 0 0); }
  37.63%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-conclusion-b {
  0%, 37.79% { clip-path: inset(0 100% 0 0); }
  39.07%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-integrations-check {
  0%, 43.43% { clip-path: inset(0 100% 0 0); }
  45%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-order-result {
  0%, 46.86% { clip-path: inset(0 100% 0 0); }
  48.66%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-inventory-result {
  0%, 51.86% { clip-path: inset(0 100% 0 0); }
  53.86%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-write-response {
  0%, 59.71% { clip-path: inset(0 100% 0 0); }
  62%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-save-draft-a {
  0%, 80% { clip-path: inset(0 100% 0 0); }
  81.43%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes typed-save-draft-b {
  0%, 81.72% { clip-path: inset(0 100% 0 0); }
  83.14%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes draft-line-1 {
  0%, 64.71% { clip-path: inset(0 100% 0 0); }
  67.14%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes draft-line-2 {
  0%, 67.43% { clip-path: inset(0 100% 0 0); }
  72.29%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes draft-line-3 {
  0%, 72.57% { clip-path: inset(0 100% 0 0); }
  77.43%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes mail-summary-fold {
  0%, 83.72% { opacity: 1; }
  84.86%, 100% { opacity: 0; }
}
@keyframes new-tag {
  0%, 81.43% { opacity: 1; }
  82.86%, 100% { opacity: 0; }
}
@keyframes draft-chip {
  0%, 81.43% { opacity: 0; }
  82.86%, 84.28% { opacity: 1; }
  84.86%, 100% { opacity: 0; }
}
@keyframes folded-envelope {
  0%, 85.14% {
    opacity: 0;
    transform: none;
  }
  85.71% {
    opacity: .55;
    transform: none;
  }
  86.29%, 89.29% {
    opacity: 1;
    transform: none;
  }
  90.71%, 100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes draft-folder {
  0%, 85.72% {
    opacity: 0;
    transform: translateY(20px);
    border-color: #cfe4cd;
    box-shadow: 0 10px 22px rgba(45, 54, 69, .08);
  }
  86.29%, 90% {
    opacity: 1;
    transform: translateY(0);
    border-color: #cfe4cd;
    box-shadow: 0 10px 22px rgba(45, 54, 69, .08);
  }
  92.14%, 98.57% {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(105, 175, 98, .86);
    box-shadow: 0 0 0 9px rgba(105, 175, 98, .16), 0 14px 30px rgba(45, 54, 69, .13);
  }
  93.21% {
    border-color: rgba(105, 175, 98, .46);
    box-shadow: 0 0 0 3px rgba(105, 175, 98, .08), 0 10px 22px rgba(45, 54, 69, .08);
  }
  99%, 100% {
    opacity: 0;
    transform: translateY(20px);
    border-color: #cfe4cd;
    box-shadow: 0 10px 22px rgba(45, 54, 69, .08);
  }
}
@keyframes draft-count-zero {
  0%, 89.29% { opacity: 1; transform: scale(1); }
  89.71%, 99% { opacity: 0; transform: scale(.72); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes draft-count-one {
  0%, 89.29% { opacity: 0; transform: scale(.72); }
  89.71%, 98.57% { opacity: 1; transform: scale(1); }
  99%, 100% { opacity: 0; transform: scale(.72); }
}
@keyframes draft-preview {
  0%, 89.71% {
    opacity: 0;
    transform: translateY(-3px);
  }
  90.28%, 98.57% {
    opacity: 1;
    transform: translateY(0);
  }
  99%, 100% {
    opacity: 0;
    transform: translateY(-3px);
  }
}
@keyframes kb-spinner {
  0%, 25.09% {
    opacity: 0;
    transform: rotate(0deg);
  }
  25.5%, 29.39% {
    opacity: 1;
  }
  29.79%, 100% {
    opacity: 0;
    transform: rotate(720deg);
  }
}
@keyframes kb-box-float {
  0%, 24.52% {
    opacity: 0;
    transform: translateY(8px);
  }
  25.09%, 42% {
    opacity: .95;
    transform: translateY(0);
  }
  44.5%, 100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}
@keyframes kb-entry-drop {
  0%, 29.39% {
    opacity: 1;
    max-height: 76px;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-bottom: 10px;
    transform: translateY(0);
  }
  29.86% {
    opacity: .22;
    max-height: 76px;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-bottom: 10px;
    transform: translateY(4px);
  }
  30.65%, 100% {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    transform: translateY(8px);
  }
}
@keyframes kb-entry-keep {
  0%, 30.65% {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    background: #f7fbf7;
    box-shadow: none;
    transform: translateY(8px);
  }
  30.98% {
    opacity: .35;
    max-height: 76px;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-bottom: 10px;
    background: #f7fbf7;
    box-shadow: 0 0 0 2px rgba(105, 175, 98, .06);
    transform: translateY(3px);
  }
  31.28%, 33.43%, 36.4%, 39.38%, 42.29%, 43.43%, 100% {
    opacity: 1;
    max-height: 76px;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-bottom: 10px;
    transform: translateY(0);
    background: #f2faf1;
    box-shadow: 0 0 0 10px rgba(105, 175, 98, .18), 0 12px 28px rgba(45, 54, 69, .12);
  }
  32.31%, 34.91%, 37.85%, 40.86%, 42.86% {
    background: #f7fcf7;
    box-shadow: 0 0 0 4px rgba(105, 175, 98, .09), 0 8px 18px rgba(45, 54, 69, .08);
  }
}
@keyframes integrations-box-float {
  0%, 43% {
    opacity: 0;
    transform: translateY(12px);
  }
  45.5%, 62.85% {
    opacity: 1;
    transform: translateY(0);
  }
  63.57%, 100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes integrations-body-rows {
  0%, 49.57% {
    grid-template-rows: auto 0;
  }
  51.29%, 100% {
    grid-template-rows: auto 132px;
  }
}
@keyframes order-section {
  0%, 42.86% {
    opacity: 0;
    transform: translateY(8px);
    border-color: #dcead9;
    box-shadow: none;
  }
  43.43%, 49.57%, 100% {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(105, 175, 98, .72);
    box-shadow: 0 0 0 5px rgba(105, 175, 98, .1);
  }
  51.43% {
    opacity: .68;
    transform: translateY(0);
    border-color: #dcead9;
    box-shadow: none;
  }
}
@keyframes inventory-section {
  0%, 49.57% {
    opacity: 0;
    transform: translateY(8px);
    border-color: #dcead9;
    box-shadow: none;
  }
  50.14% {
    opacity: .18;
    transform: translateY(6px);
    border-color: #dcead9;
    box-shadow: none;
  }
  50.58% {
    opacity: .58;
    transform: translateY(3px);
    border-color: #dcead9;
    box-shadow: 0 0 0 2px rgba(105, 175, 98, .04);
  }
  51.29%, 100% {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(105, 175, 98, .72);
    box-shadow: 0 0 0 5px rgba(105, 175, 98, .1);
  }
}
@keyframes integration-confirm-order {
  0%, 45.71% {
    background: rgba(255, 255, 255, .72);
    border-color: transparent;
    box-shadow: none;
  }
  46.43%, 49.57%, 100% {
    background: #f2faf1;
    border-color: rgba(105, 175, 98, .54);
    box-shadow: 0 0 0 6px rgba(105, 175, 98, .13);
  }
  48.29%, 52.14% {
    background: #f7fcf7;
    border-color: rgba(105, 175, 98, .26);
    box-shadow: 0 0 0 2px rgba(105, 175, 98, .06);
  }
}
@keyframes integration-confirm-inventory {
  0%, 50.85% {
    background: rgba(255, 255, 255, .72);
    border-color: transparent;
    box-shadow: none;
  }
  51.43%, 54.43%, 100% {
    background: #f2faf1;
    border-color: rgba(105, 175, 98, .54);
    box-shadow: 0 0 0 6px rgba(105, 175, 98, .13);
  }
  52.86%, 56.86% {
    background: #f7fcf7;
    border-color: rgba(105, 175, 98, .26);
    box-shadow: 0 0 0 2px rgba(105, 175, 98, .06);
  }
}
@keyframes agent-pulse {
  0%, 3.73% {
    box-shadow: 0 18px 44px rgba(45, 54, 69, .12);
    border-color: var(--primary);
    background: #fff;
  }
  3.94% {
    box-shadow: 0 0 0 4px rgba(105, 175, 98, .08), 0 19px 45px rgba(45, 54, 69, .14);
    border-color: rgba(105, 175, 98, .56);
    background: #fbfffb;
  }
  4.49%, 7.49%, 11.11%, 14.7%, 18.3%, 21.9%, 25.5%, 29.1%, 32.31%, 35.66%, 39.3%, 42.9%, 46.51%, 50.1%, 53.69%, 57.31%, 60.9%, 64.64%, 68.21%, 71.79%, 75.36%, 78.93%, 82.86%, 87.14%, 91.43%, 94.64%, 97.5%, 99% {
    box-shadow: 0 0 0 12px rgba(105, 175, 98, .22), 0 22px 48px rgba(45, 54, 69, .22);
    border-color: rgba(105, 175, 98, .95);
    background: #f5fcf5;
  }
  5.71%, 9.3%, 12.9%, 16.5%, 20.1%, 23.7%, 27.3%, 30.65%, 33.99%, 37.5%, 41.09%, 44.7%, 48.29%, 51.91%, 55.5%, 59.09%, 62.85%, 66.43%, 70%, 73.57%, 77.14%, 80.71%, 84.28%, 90%, 93.21%, 96.07% {
    box-shadow: 0 0 0 3px rgba(105, 175, 98, .07), 0 19px 45px rgba(45, 54, 69, .14);
    border-color: rgba(105, 175, 98, .48);
    background: #fcfffc;
  }
  100% {
    box-shadow: 0 18px 44px rgba(45, 54, 69, .12);
    border-color: var(--primary);
    background: #fff;
  }
}
.section { padding: 56px 0; }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 24px; }
.section-alt { background: var(--bg); border-radius: 16px; padding: 40px 24px; }

.comparison-rows { display: grid; gap: 14px; }
.comparison-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.comparison-header span:last-child { padding-left: 4px; }
.comparison-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.comparison-row .without, .comparison-row .with { display: flex; align-items: center; gap: 12px; }
.comparison-row .without p, .comparison-row .with p { margin: 0; font-size: 14px; }
.comparison-row .without p { color: var(--muted); }
.comparison-row .with p { color: var(--text); font-weight: 500; }
.comparison-icon { font-size: 20px; flex-shrink: 0; color: var(--primary); width: 36px; height: 36px; display: grid; place-items: center; background: #E8F3E7; border-radius: 9px; font-style: normal; }
.comparison-arrow { color: var(--primary); font-weight: 700; font-size: 18px; display: grid; place-items: center; margin-right: 24px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid article { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.grid h3 { margin: 0 0 6px; }
.grid p { margin: 0; color: var(--muted); }

.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 40px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px 16px;
  text-align: center;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #E8F3E7;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.step:not(:nth-child(3n))::after {
  content: '→';
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  z-index: 1;
}

.cta { margin: 56px 0; padding: 30px; text-align: center; border-radius: 16px; background: var(--text); color: #fff; }
.cta p { color: rgba(255, 255, 255, .78); }

.policy { max-width: 720px; margin: 0 auto; }
.policy > p:first-of-type { font-size: 1.1rem; color: var(--muted); margin-bottom: 32px; }
.policy h3 { font-family: "Oswald", "Poppins", sans-serif; font-size: 1.4rem; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.policy h3:first-of-type { border-top: none; padding-top: 0; }
.policy h4 { font-size: 1rem; margin: 24px 0 6px; color: var(--text); }
.policy p { color: var(--muted); line-height: 1.7; margin: 0 0 12px; }
.policy strong { color: var(--text); font-weight: 600; }
.policy ul { color: var(--muted); line-height: 1.7; padding-left: 20px; margin: 0 0 16px; }
.policy li { margin-bottom: 8px; }
.policy ol { color: var(--muted); line-height: 1.7; padding-left: 20px; margin: 0 0 16px; }
.policy ol a { color: var(--primary); font-weight: 500; }
.policy ol a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 6px; max-width: 480px; }
.contact-form label { font-weight: 600; font-size: 14px; margin-top: 12px; }
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color .18s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: 16px; align-self: flex-start; border: none; cursor: pointer; font-size: 15px; }
.contact-form .btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status { margin-top: 12px; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.form-status.success { background: #e8f3e7; color: #3f7040; border: 1px solid #d1e7cf; }
.form-status.error { background: #fee; color: #b91c1c; border: 1px solid #fca5a5; }

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal.active { display: flex; }
.modal-content {
  position: relative;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 24px 64px rgba(45, 54, 69, 0.2);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}
.modal-close:hover { color: var(--text); }
.modal h2 { margin: 0 0 8px; font-size: 1.8rem; }
.modal p { color: var(--muted); margin: 0 0 24px; }

.waitlist-form { display: flex; flex-direction: column; gap: 16px; }
.waitlist-form .email-section { display: flex; flex-direction: column; gap: 12px; }
.waitlist-form input {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color .18s ease;
}
.waitlist-form input:focus { outline: none; border-color: var(--primary); }
.waitlist-form .btn { border: none; cursor: pointer; font-size: 15px; width: 100%; }
.waitlist-form .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.waitlist-form .comment-section { display: flex; flex-direction: column; gap: 12px; }
.waitlist-form .comment-section p { margin: 0; color: var(--muted); font-size: 14px; }
.waitlist-form .comment-section textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color .18s ease;
  width: 100%;
  resize: vertical;
  margin: 0;
}
.waitlist-form .comment-section textarea:focus { outline: none; border-color: var(--primary); }
.waitlist-form .form-status { margin-bottom: 8px; display: none; }
.waitlist-form .form-status.success,
.waitlist-form .form-status.error { display: block; }

.footer { text-align: center; padding: 28px 24px 40px; color: #8A92A0; font-size: 14px; }
.footer img { margin: 0 auto 10px; }

@media (max-width: 900px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .hero { gap: 24px; }
  .workflow { grid-template-columns: 1fr; gap: 12px; }
  .step::after { display: none; }
}

@media (max-width: 768px) {
  .comparison-header { display: none; }
  .comparison-row { grid-template-columns: 1fr; gap: 8px; }
  .comparison-arrow { display: none; }
}

@media (max-width: 720px) {
  .header { flex-wrap: wrap; height: auto; padding: 18px 24px 8px; gap: 12px; }
  .header nav { order: 3; width: 100%; margin: 0; justify-content: center; font-size: 14px; }
  .stats { flex-direction: column; gap: 10px; }
  .scene {
    min-height: 470px;
    font-size: 12px;
  }
  .inbox {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
  }
  .mail-list {
    height: 240px;
    padding: 14px;
  }
  .email {
    gap: 10px;
    padding: 0 12px;
  }
  .new-mail {
    left: 14px;
    right: 14px;
    top: 14px;
  }
  .open-mail p {
    font-size: 10.5px;
    line-height: 1.24;
  }
  .reply-composer {
    padding-left: 7px;
    padding-right: 7px;
  }
  .open-mail .draft-text {
    font-size: 7.8px;
    line-height: 1.14;
  }
  .draft-line {
    max-width: none;
    white-space: nowrap;
  }
  .agent-card {
    position: absolute;
    left: 0;
    right: 0;
    top: 296px;
    bottom: auto;
    width: 100%;
    height: 96px;
    padding: 14px;
  }
  .kb-box,
  .integrations-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    transform: none;
    margin: 0;
  }
  .kb-box {
    height: 286px;
  }
  .kb-body {
    height: calc(100% - 43px);
    padding: 10px 14px 14px;
  }
  .kb-head {
    margin-bottom: 8px;
  }
  .kb-list {
    height: 206px;
  }
  .kb-list li {
    grid-template-columns: 20px 1fr;
    column-gap: 8px;
    padding: 10px;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.28;
  }
  .kb-list li span {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }
  .kb-list strong {
    font-size: 10px;
  }
  .integrations-body {
    gap: 7px;
    padding: 9px 14px 11px;
  }
  .integration-section {
    padding: 7px 9px;
  }
  .integration-label strong,
  .integration-section dt,
  .integration-section dd {
    font-size: 10.5px;
  }
  .draft-folder {
    left: 14px;
    right: 14px;
  }
  .draft-preview {
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .new-mail, .processing { opacity: 1; max-height: none; }
  .typed { clip-path: inset(0 0 0 0); }
}
