@font-face {
  font-family: "Darker Grotesque";
  src: url("fonts/darker-grotesque-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0e1114;
  --surface: #181d22;
  --surface-2: #21272d;
  --ink: #eef2f5;
  --muted: #9aa6b2;
  --line: rgba(238, 242, 245, 0.1);
  --line-strong: rgba(238, 242, 245, 0.18);
  --accent: #ff7a1a;
  --accent-hot: #ff9648;
  --accent-2: #3ec1d3;
  --accent-ink: #180d04;
  --radius: 6px;
  --display: "Darker Grotesque", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: min(100% - 2rem, 72rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-color: #39434d var(--bg);
}

html[data-lang="ms"] .lang-en {
  display: none !important;
}

html[data-lang="en"] .lang-ms {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  max-width: 100%;
  background-color: var(--bg);
  background-image:
    radial-gradient(58rem 42rem at 88% -12%, rgba(62, 193, 211, 0.09), transparent 62%),
    radial-gradient(46rem 38rem at -8% 14%, rgba(255, 122, 26, 0.08), transparent 58%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
  background-size: auto, auto, 160px 160px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.skip {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 60;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 0.65rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  padding: 0.65rem max(1rem, calc((100vw - 72rem) / 2));
  background: rgba(14, 17, 20, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 0 20px -6px rgba(255, 122, 26, 0.8);
}

.brand-name {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.header-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-preview {
  border-color: rgba(255, 122, 26, 0.36);
  background: rgba(255, 122, 26, 0.08);
  color: var(--accent);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7d8995;
}

.lang-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(238, 242, 245, 0.035);
}

.lang-switch button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 55svh;
  padding: clamp(2rem, 7svh, 5rem) 0 clamp(2rem, 6svh, 4.25rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  inset: -30% -10% -20%;
  z-index: -1;
  background:
    radial-gradient(closest-side at 76% 26%, rgba(255, 122, 26, 0.2), transparent 72%),
    radial-gradient(closest-side at 24% 68%, rgba(62, 193, 211, 0.14), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.steam {
  position: absolute;
  top: -28%;
  right: -6%;
  width: min(72vw, 34rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 34%,
    rgba(255, 122, 26, 0.24) 44%,
    transparent 54% 68%,
    rgba(62, 193, 211, 0.2) 78%,
    transparent 88%
  );
  filter: blur(38px);
  opacity: 0.6;
  animation: steam-spin 26s linear infinite;
  pointer-events: none;
}

.hero-inner {
  width: var(--wrap);
  margin-inline: auto;
}

@keyframes steam-spin {
  to {
    transform: rotate(1turn);
  }
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker-line {
  width: 26px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.7);
}

.hero-title {
  margin: 0.65rem 0 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 14.5vw, 7.4rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.title-visual {
  display: block;
}

.hero-title .line {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.22em;
}

.hero-title .w {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}

.hero-title .wi {
  display: block;
  transform: translateY(112%);
  animation: word-rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .line .w:nth-child(1) .wi {
  animation-delay: 0.06s;
}

.hero-title .line:nth-child(2) .w:nth-child(1) .wi {
  animation-delay: 0.16s;
}

.hero-title .line:nth-child(2) .w:nth-child(2) .wi {
  animation-delay: 0.25s;
}

.hero-title .accent {
  color: var(--accent);
  background: linear-gradient(102deg, var(--accent-hot), var(--accent) 62%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes word-rise {
  to {
    transform: translateY(0);
  }
}

.hero-sub {
  max-width: 38rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  margin-top: 1.45rem;
  padding: 0.72rem 1.15rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 38px -14px rgba(255, 122, 26, 0.75);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.cta:hover {
  background: var(--accent-hot);
  box-shadow: 0 18px 44px -14px rgba(255, 122, 26, 0.85);
}

.cta:active {
  transform: scale(0.97);
}

.cta svg {
  transition: transform 0.18s ease;
}

.cta:hover svg {
  transform: translateY(2px);
}

.cta:focus-visible {
  outline-color: var(--ink);
}

/* Sample notice */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.notice p {
  margin: 0;
  padding-top: 0.15rem;
  overflow-wrap: anywhere;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.52rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.chip-sample {
  flex: none;
  border-color: rgba(62, 193, 211, 0.42);
  background: rgba(62, 193, 211, 0.09);
  color: var(--accent-2);
}

.chip-demo {
  border-color: var(--line-strong);
  color: var(--muted);
}

/* Chat card */
.chat-section {
  width: min(100% - 2rem, 46rem);
  margin: 0.75rem auto 0;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.chat-card {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 6.5rem;
  border: 1px solid rgba(238, 242, 245, 0.13);
  border-radius: calc(var(--radius) + 4px);
  background-color: var(--surface);
  background-image: linear-gradient(180deg, rgba(33, 39, 45, 0.94), rgba(24, 29, 34, 0.97));
  box-shadow:
    0 34px 90px -34px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.chat-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.6), rgba(62, 193, 211, 0.5), transparent);
  pointer-events: none;
}

.chat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 17, 20, 0.22);
}

.who {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.status-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5ee0a0;
  box-shadow: 0 0 0 0 rgba(94, 224, 160, 0.55);
  animation: online-pulse 2.4s ease-out infinite;
}

@keyframes online-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 224, 160, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(94, 224, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(94, 224, 160, 0);
  }
}

.who-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.who-name {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
}

.who-state {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: min(60svh, 32rem);
  padding: 1.1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #3b4650 transparent;
}

.chat-log::-webkit-scrollbar {
  width: 8px;
}

.chat-log::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #3b4650;
  background-clip: padding-box;
}

.chat-log > .empty[hidden] + .msg,
.chat-log > .empty[hidden] + .typing {
  margin-top: auto;
}

.empty {
  max-width: 22rem;
  margin: auto;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.7rem;
  border: 1px solid rgba(62, 193, 211, 0.35);
  border-radius: 50%;
  background: rgba(62, 193, 211, 0.08);
  color: var(--accent-2);
}

.empty-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}

.empty-list {
  display: grid;
  gap: 0.42rem;
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.empty-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.empty-list li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.msg {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  max-width: 100%;
  animation: msg-in 0.22s ease-out both;
}

.msg-user {
  justify-content: flex-end;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 122, 26, 0.4);
  border-radius: 50%;
  background: rgba(255, 122, 26, 0.13);
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.bubble {
  max-width: 85%;
  min-width: 0;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.55;
}

.msg-assistant .bubble {
  border: 1px solid var(--line);
  border-bottom-left-radius: 1px;
  background: var(--surface-2);
}

.msg-user .bubble {
  border-bottom-right-radius: 1px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
}

.bubble-text {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bubble-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.chip-handoff {
  border-color: rgba(62, 193, 211, 0.45);
  background: rgba(62, 193, 211, 0.11);
  color: var(--accent-2);
}

.chip-saved {
  border-color: rgba(255, 122, 26, 0.4);
  background: rgba(255, 122, 26, 0.11);
  color: var(--accent);
}

.typing .bubble {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.35rem;
}

.typing .bubble span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: dot-bounce 1.15s ease-in-out infinite;
}

.typing .bubble span:nth-child(2) {
  animation-delay: 0.14s;
}

.typing .bubble span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes dot-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* Quick replies */
.quick-wrap {
  border-top: 1px solid var(--line);
  background: rgba(14, 17, 20, 0.28);
}

.quick-row {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem 0.6rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.quick-row::-webkit-scrollbar {
  display: none;
}

.quick {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(238, 242, 245, 0.15);
  border-radius: 999px;
  background: rgba(238, 242, 245, 0.045);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.quick:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 26, 0.55);
  background: rgba(255, 122, 26, 0.1);
}

.quick:active {
  transform: scale(0.97);
}

/* Error */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.7rem 1.1rem 0;
  padding: 0.6rem 0.65rem;
  border: 1px solid rgba(255, 122, 26, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 122, 26, 0.1);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.45;
}

.alert > svg {
  flex: none;
  margin-top: 0.12rem;
  color: var(--accent);
}

.alert p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.alert-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: -0.55rem -0.55rem -0.55rem 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.alert-close:hover {
  background: rgba(238, 242, 245, 0.07);
  color: var(--ink);
}

/* Composer */
.composer {
  padding: 0.75rem 1.1rem 0.8rem;
  border-top: 1px solid var(--line);
  background: rgba(14, 17, 20, 0.32);
}

.composer-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.3rem 0.35rem 0.3rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(14, 17, 20, 0.6);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.composer-row:focus-within {
  border-color: rgba(255, 122, 26, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.14);
}

#message {
  flex: 1 1 auto;
  min-width: 0;
  max-height: 7.4rem;
  padding: 0.52rem 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.45;
  resize: none;
}

#message::placeholder {
  color: #7b8894;
  opacity: 1;
}

.send {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, opacity 0.18s ease;
}

.send:hover:not(:disabled) {
  background: var(--accent-hot);
}

.send:hover:not(:disabled) svg {
  transform: translateY(-2px);
}

.send:active:not(:disabled) {
  transform: scale(0.97);
}

.send:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.send svg {
  transition: transform 0.18s ease;
}

.composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 1.15rem;
  padding: 0.35rem 0.1rem 0;
}

.composer-hint {
  color: #7b8894;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.counter {
  color: var(--muted);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Features */
.features {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.features-title {
  margin: 0 0 1.35rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5.6vw, 3.3rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.tile {
  min-width: 0;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(33, 39, 45, 0.86), rgba(24, 29, 34, 0.62));
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tile:hover {
  border-color: rgba(255, 122, 26, 0.38);
  background: linear-gradient(158deg, rgba(40, 47, 54, 0.92), rgba(24, 29, 34, 0.7));
}

.tile > svg {
  margin-bottom: 0.8rem;
  color: var(--accent-2);
}

.tile h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* Scroll reveal */
.reveal {
  opacity: 1;
}

@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-in linear both;
    animation-timeline: view();
    animation-range: entry 8% entry 58%;
  }

  @keyframes reveal-in {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@supports not (animation-timeline: view()) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* Footer */
.site-footer {
  padding: 1.4rem 0 2.6rem;
  border-top: 1px solid var(--line);
  color: #7b8894;
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .site-header {
    gap: 0.35rem 0.55rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .header-badges {
    order: 3;
    width: 100%;
  }

  .hero {
    min-height: 55svh;
    padding-top: 1.7rem;
    padding-bottom: 2.2rem;
  }

  .notice {
    padding-top: 0.85rem;
  }

  .chat-section {
    width: calc(100% - 1.25rem);
    margin-top: 0.6rem;
  }

  .chat-top,
  .chat-log {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .quick-row {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .composer {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .alert {
    margin-right: 0.9rem;
    margin-left: 0.9rem;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 1.32rem;
  }

  .hero-title {
    font-size: clamp(3.1rem, 15.5vw, 4.2rem);
  }

  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile {
    padding: 0.95rem;
  }

  .empty {
    padding: 0.25rem 0.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-title .wi {
    transform: none !important;
  }

  .steam {
    animation: none !important;
  }

  .reveal,
  .js .reveal,
  .js .reveal.in {
    opacity: 1 !important;
    transform: none !important;
  }

  .typing .bubble span {
    animation: none !important;
    opacity: 0.65;
    transform: none !important;
  }

  .quick,
  .quick:hover,
  .quick:active,
  .cta:active,
  .send:active:not(:disabled),
  .cta:hover svg,
  .send:hover:not(:disabled) svg {
    transform: none !important;
  }
}
