/* =========================================================
   Renova — Landing page design prototype
   Standalone HTML/CSS/JS. Layout and tokens mirror the app.
   ========================================================= */

:root {
  --ink: #181e1a;
  --ink-soft: #354238;
  --muted: #626d65;
  --muted-2: #75806f;
  --line: #e4e9e3;
  --line-soft: #edf0e9;
  --green: #477c61;
  --green-deep: #183c2c;
  --green-dark: #243d2d;
  --sage: #f4f7ef;
  --sage-2: #eaf0e3;
  --sage-3: #e0e8d4;
  --cream: #f6f1e9;
  --surface: #fafbf9;
  --white: #fff;

  --container: 1120px;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-soft: 0 18px 70px -30px rgba(48, 65, 46, 0.24);
  --shadow-card: 0 12px 30px -22px rgba(52, 71, 42, 0.28);
  --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);

  --font-sans: "Geist", "Segoe UI Variable Display", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "Geist Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --font-serif: Georgia, "Noto Serif SC", "Songti SC", serif;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection,
body *::selection {
  background: #cfe0c6;
  color: #122117;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

svg {
  display: block;
}

:focus-visible {
  outline: 3px solid #609777;
  outline-offset: 4px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.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-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 16px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--green-deep);
  color: #fff;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--green-dark);
  border-radius: 9px;
  background: linear-gradient(180deg, #344a39, #23372a);
  box-shadow:
    0 2px 3px rgba(27, 46, 32, 0.07),
    inset 0 1px rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(27, 46, 32, 0.45);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  width: 15px;
  height: 15px;
}

.btn-light {
  border-color: #dbe2d9;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
  box-shadow: 0 2px 3px rgba(27, 46, 32, 0.03);
}

.btn-light:hover {
  background: #fff;
  box-shadow: 0 12px 26px -18px rgba(27, 46, 32, 0.35);
}

.btn-ghost {
  border-color: #e0e7dd;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  box-shadow: none;
}

.btn-ghost:hover {
  background: #fff;
  box-shadow: 0 10px 22px -18px rgba(27, 46, 32, 0.35);
}

.btn-sm {
  min-height: 36px;
  padding-inline: 14px;
  border-radius: var(--radius-sm);
  font-size: 11px;
}

.btn-lg {
  min-height: 50px;
  padding-inline: 24px;
  border-radius: 10px;
  font-size: 13.5px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(223, 229, 221, 0.52);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    box-shadow 220ms ease,
    background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px -34px rgba(25, 42, 29, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-mark {
  width: 29px;
  height: 29px;
  color: var(--ink);
}

.brand-dot {
  color: #65936b;
}

.brand-small {
  gap: 7px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.brand-small .brand-mark {
  width: 25px;
  height: 25px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
  color: #626b63;
  font-size: 13px;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--green-deep);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-soft);
}

.menu-toggle .icon {
  width: 18px;
  height: 18px;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle.is-open .menu-icon {
  display: none;
}

.menu-toggle.is-open .close-icon {
  display: block;
}

.mobile-nav {
  display: grid;
  gap: 4px;
  padding: 8px 20px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6px;
  border-radius: 6px;
  color: #4d6043;
  font-size: 13px;
}

.mobile-nav a:hover {
  background: var(--sage);
}

.mobile-nav .icon {
  width: 14px;
  height: 14px;
}

/* =========================================================
   Signed-in header
   ========================================================= */

.header-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-auth[hidden] {
  display: none;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 52px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sage);
  color: var(--muted-2);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.theme-toggle:hover {
  background: var(--sage-2);
}

.theme-toggle .icon {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  transition: color 160ms ease;
}

.theme-toggle-sun {
  color: var(--green-deep);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(41, 56, 46, 0.16);
  transition:
    transform 200ms var(--ease-out),
    background 200ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
  transform: translateX(22px);
}

.theme-toggle[aria-pressed="true"] .theme-toggle-sun {
  color: var(--muted-2);
}

.theme-toggle[aria-pressed="true"] .theme-toggle-moon {
  color: var(--green-deep);
}

.account-menu {
  position: relative;
}

.account-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sage-2);
  color: var(--green-deep);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 180ms var(--ease-out);
}

.account-toggle:hover,
.account-toggle[aria-expanded="true"] {
  border-color: var(--sage-3);
  background: var(--sage-3);
  box-shadow: 0 8px 18px -14px rgba(27, 46, 32, 0.4);
}

.account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.account-avatar-lg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--sage-2);
  color: var(--green-deep);
  font-size: 12px;
}

.account-menu-panel {
  position: absolute;
  z-index: 70;
  top: calc(100% + 10px);
  right: 0;
  width: 248px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 50px -28px rgba(24, 42, 29, 0.42);
  animation: account-menu-in 160ms var(--ease-out);
}

.account-menu-panel[hidden] {
  display: none;
}

@keyframes account-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.account-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.account-identity {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.account-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-mail {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-links {
  display: grid;
  gap: 2px;
  padding-top: 8px;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: left;
  transition:
    background 140ms ease,
    color 140ms ease;
}

.account-menu-item:hover {
  background: var(--sage);
  color: var(--green-deep);
}

.account-menu-item .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .account-menu-panel {
    animation: none;
  }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 88px 0 52px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -180px 0 auto;
  height: 1040px;
  background:
    radial-gradient(ellipse at 20% 23%, rgba(237, 243, 231, 0.62), transparent 55%),
    radial-gradient(ellipse at 82% 31%, rgba(246, 241, 233, 0.7), transparent 53%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 120px;
  left: 50%;
  width: 780px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(218, 230, 200, 0.28), transparent 68%);
  filter: blur(60px);
  transform: translateX(-50%);
  pointer-events: none;
}

.announcement {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid #dde5d6;
  border-radius: 30px;
  background: rgba(244, 247, 239, 0.86);
  color: #526448;
  font-size: 11px;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.announcement:hover {
  border-color: #cfdcc4;
  background: var(--sage);
}

.announcement .icon {
  width: 12px;
  height: 12px;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7c9b64;
  box-shadow: 0 0 0 3px rgba(124, 155, 100, 0.14);
}

.announcement-divider {
  height: 12px;
  border-left: 1px solid #cfd9c7;
}

.hero h1 {
  max-width: 920px;
  margin: 28px auto 0;
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.gradient-text {
  background: linear-gradient(105deg, #253c2e 5%, #749368 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lede {
  max-width: 600px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-notes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
  color: #63725c;
  font-size: 11px;
  list-style: none;
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-notes .icon {
  width: 12px;
  height: 12px;
  color: #749368;
}

.hero-notes .note-sep {
  margin-inline: 4px;
  color: #a5b09e;
}

/* =========================================================
   Product preview
   ========================================================= */

.preview-section {
  position: relative;
  padding-bottom: 20px;
}

.preview-glow {
  position: absolute;
  z-index: -1;
  top: -6%;
  left: 7.5%;
  width: 85%;
  height: 78%;
  background: rgba(218, 230, 200, 0.3);
  filter: blur(70px);
  pointer-events: none;
}

.preview-shell {
  padding: 8px;
  border: 1px solid #e1e7db;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(237, 241, 233, 0.9), rgba(225, 231, 219, 0.42));
  box-shadow: 0 26px 80px -46px rgba(48, 65, 46, 0.42);
}

.preview-frame {
  overflow: hidden;
  border: 1px solid #dce3db;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 60px -36px rgba(48, 65, 46, 0.32);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--line);
  background: #fcfdfb;
  color: #677364;
  font-size: 9px;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border: 1px solid #d3d9ce;
  border-radius: 50%;
  background: #eef1eb;
}

.browser-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.browser-url .icon {
  width: 10px;
  height: 10px;
}

.browser-badge {
  font-size: 8px;
}

.browser-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 430px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 26px 18px 16px;
  border-right: 1px solid var(--line);
  background: #fafbf8;
}

.workspace {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 8px 7px;
  border: 1px solid #e0e6db;
  border-radius: var(--radius-sm);
  background: #fff;
}

.ws-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #cbd6bd;
  border-radius: 6px;
  background: #e7eddc;
  color: #5d7450;
  font-size: 15px;
  font-weight: 600;
}

.ws-copy {
  min-width: 0;
}

.ws-copy strong {
  display: block;
  overflow: hidden;
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-copy small {
  display: block;
  margin-top: 3px;
  color: #697360;
  font-size: 7px;
}

.ws-chevron {
  width: 11px;
  height: 11px;
  margin-left: auto;
  color: #697360;
}

.sidebar-label {
  margin: 22px 7px 8px;
  color: #697363;
  font-size: 8px;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
}

.sidebar-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 34px;
  padding-inline: 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #63705d;
  font-size: 9px;
  text-align: left;
  transition:
    background 150ms ease,
    color 150ms ease;
}

.sidebar-tab:hover {
  background: rgba(234, 240, 227, 0.55);
}

.sidebar-tab .icon {
  width: 13px;
  height: 13px;
}

.sidebar-tab.is-active {
  background: var(--sage-2);
  color: #425f36;
  font-weight: 600;
}

.sidebar-tab .active-dot {
  width: 4px;
  height: 4px;
  margin-left: auto;
  border-radius: 50%;
  background: #425f36;
  opacity: 0;
}

.sidebar-tab.is-active .active-dot {
  opacity: 1;
}

.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  color: #667460;
  font-size: 8px;
}

.sidebar-bottom .icon {
  width: 12px;
  height: 12px;
}

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  margin-left: auto;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--sage-3);
  color: #4b5a40;
  font-size: 6px;
  font-weight: 600;
}

.preview-content {
  min-width: 0;
  padding: 23px 28px 0;
}

.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #64715c;
  font-size: 9px;
}

.crumb-sep {
  margin-inline: 7px;
  color: #abb5a3;
}

.demo-label {
  padding: 3px 6px;
  border: 1px solid #e1e7da;
  border-radius: 4px;
  font-size: 7px;
}

.preview-panel {
  display: none;
}

.preview-panel.is-active {
  display: block;
  animation: panel-in 380ms var(--ease-out) both;
}

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

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}

.overline {
  display: block;
  color: #6a785e;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.panel-copy h2 {
  margin-top: 5px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.panel-copy p {
  margin-top: 6px;
  color: #687461;
  font-size: 9px;
}

.mini-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border: 1px solid #dde4d7;
  border-radius: 6px;
  background: #fafbf7;
  color: #59654f;
  font-size: 8px;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.mini-action:hover {
  border-color: #cfdac7;
  background: #fff;
}

.mini-action .icon {
  width: 11px;
  height: 11px;
}

.mini-action.is-loading {
  cursor: progress;
  opacity: 0.72;
}

/* Brief */

.brief-table {
  margin-top: 23px;
}

.brief-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 13px 9px;
  color: #637158;
  font-size: 8px;
}

.brief-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-top: 1px solid var(--line);
}

.brief-row:first-of-type {
  border-top: 0;
}

.brief-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--sage-3);
  color: #4b5a40;
  font-size: 8px;
  font-weight: 600;
}

.brief-copy {
  min-width: 0;
  flex: 1;
}

.brief-copy strong {
  font-size: 10px;
  font-weight: 600;
}

.brief-copy p {
  margin-top: 3px;
  color: #667360;
  font-size: 8px;
}

.status-chip {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #e2e8dc;
  border-radius: 5px;
  background: #f7f9f3;
  color: #536448;
  font-size: 8px;
}

.brief-note {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  color: #607353;
  font-size: 8px;
}

.brief-note .icon {
  width: 11px;
  height: 11px;
}

/* Studio */

.studio-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  margin-top: 18px;
}

.studio-chat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
}

.chat-head h3 {
  font-size: 10px;
  font-weight: 600;
}

.chat-head span {
  color: #677460;
  font-size: 8px;
}

.chat-list {
  display: flex;
  max-height: 240px;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d7e0ce transparent;
}

.chat-list::-webkit-scrollbar {
  width: 6px;
}

.chat-list::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #d7e0ce;
}

.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border-top: 1px solid var(--line);
  animation: chat-in 260ms var(--ease-out) both;
}

.chat-row:first-child {
  border-top: 0;
}

@keyframes chat-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage-3);
  color: #4b5a40;
  font-size: 7px;
  font-weight: 600;
}

.chat-avatar.is-ai {
  background: #e4deeb;
  color: #685978;
}

.chat-copy {
  min-width: 0;
  flex: 1;
}

.chat-copy strong {
  display: block;
  font-size: 9px;
  font-weight: 600;
}

.chat-copy p {
  margin-top: 3px;
  color: #5f6c58;
  font-size: 9px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.chat-status {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 4px;
  background: #f2f5ee;
  color: #536448;
  font-size: 7px;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.typing-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8d9c7f;
  animation: typing 1s infinite ease-in-out;
}

.typing-dots i:nth-child(2) {
  animation-delay: 120ms;
}

.typing-dots i:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #fcfdfb;
}

.chat-form input {
  min-width: 0;
  flex: 1;
  height: 34px;
  padding: 0 11px;
  border: 1px solid #e0e6db;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.chat-form input::placeholder {
  color: #9aa593;
}

.chat-form input:focus {
  border-color: #a9c19a;
  box-shadow: 0 0 0 3px rgba(96, 151, 119, 0.12);
  outline: none;
}

.send-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--green-dark);
  border-radius: 8px;
  background: linear-gradient(180deg, #344a39, #23372a);
  color: #fff;
  transition:
    transform 150ms ease,
    opacity 150ms ease;
}

.send-btn:hover {
  transform: translateY(-1px);
}

.send-btn .icon {
  width: 14px;
  height: 14px;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 12px;
}

.chat-suggestions button {
  padding: 5px 8px;
  border: 1px solid #e2e8dc;
  border-radius: 99px;
  background: #f8faf5;
  color: #63785a;
  font-size: 8px;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.chat-suggestions button:hover {
  border-color: #cdd9c5;
  background: #fff;
}

.studio-preview {
  min-width: 0;
}

.mini-site,
.site-art {
  position: relative;
  overflow: hidden;
  background: #29382e;
  color: #e2ecc2;
}

.mini-site {
  min-height: 250px;
  padding: 16px;
  border-radius: 10px;
}

.site-art {
  height: 180px;
  padding: 13px;
}

.mini-site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mini-site-nav sup {
  font-size: 6px;
  font-weight: 500;
}

.mini-site-nav span:last-child {
  font-size: 6px;
  font-weight: 500;
  opacity: 0.72;
}

.mini-eyebrow {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 38px;
  font-size: 5px;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

.site-art .mini-eyebrow {
  margin-top: 26px;
}

.mini-site strong,
.site-art strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.site-art strong {
  font-size: 20px;
}

.mini-site em,
.site-art em {
  font-family: var(--font-serif);
  font-style: normal;
}

.mini-orbit {
  position: absolute;
  right: -36px;
  bottom: -58px;
  width: 160px;
  height: 160px;
  border: 26px solid #bdcd82;
  border-radius: 50%;
  opacity: 0.92;
  transition: transform 600ms var(--ease-out);
}

.mini-site:hover .mini-orbit {
  transform: rotate(12deg) scale(1.04);
}

.studio-preview-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  color: #7b896f;
  font-size: 8px;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9db287;
  box-shadow: 0 0 0 3px rgba(157, 178, 135, 0.16);
}

/* Publish */

.publish-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  margin-top: 22px;
}

.site-card {
  overflow: hidden;
  border: 1px solid #e0e5da;
  border-radius: 10px;
  background: #fff;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.site-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -26px rgba(41, 56, 46, 0.4);
}

.site-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
}

.site-meta h3 {
  font-size: 10px;
  font-weight: 600;
}

.site-meta p {
  margin-top: 4px;
  color: #697461;
  font-size: 8px;
}

.published-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #65705d;
  font-size: 7px;
}

.published-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #aab99b;
}

.published-badge.is-fresh i {
  background: #7fa268;
  box-shadow: 0 0 0 3px rgba(127, 162, 104, 0.16);
}

.publish-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  border: 1px solid #e0e7d7;
  border-radius: 10px;
  background: #fbfcf8;
}

.publish-checks h3 {
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 600;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border: 1px solid #e5eadd;
  border-radius: 5px;
  background: #fff;
  color: #6d7d5f;
  font-size: 8px;
}

.check-row > span:last-child {
  margin-left: auto;
  color: #8f9e80;
  font-family: var(--font-mono);
  font-size: 7px;
}

.check-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #90a77a;
}

.publish-checks p {
  margin-top: auto;
  padding-top: 2px;
  color: #7b896f;
  font-size: 8px;
  line-height: 1.7;
}

/* Preview controls / caption */

.preview-controls {
  display: flex;
  width: fit-content;
  gap: 3px;
  margin: 28px auto 0;
  padding: 4px;
  border: 1px solid #e3e8de;
  border-radius: 30px;
  background: #f6f8f2;
}

.preview-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 25px;
  background: transparent;
  color: #64725a;
  font-size: 10px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.preview-tab .icon {
  width: 12px;
  height: 12px;
}

.preview-tab:hover {
  color: #425f36;
}

.preview-tab.is-active {
  border-color: #e0e6d9;
  background: #fff;
  color: #35492d;
  box-shadow: 0 1px 3px rgba(41, 56, 46, 0.04);
}

.preview-caption {
  margin-top: 15px;
  color: #65735c;
  font-size: 11px;
  text-align: center;
}

.preview-caption span {
  display: block;
  margin-top: 6px;
  color: #737e6c;
  font-size: 9px;
}

/* =========================================================
   Shared section styles
   ========================================================= */

.section {
  padding-block: 112px;
}

.section-head {
  max-width: 660px;
  margin-bottom: 36px;
}

.eyebrow {
  display: block;
  color: #6d7a61;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.section-head h2 {
  margin-top: 15px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -1.4px;
}

.section-head p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.mobile-break {
  display: none;
}

/* Quick start */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  list-style: none;
}

.steps li {
  padding: 27px 29px 31px;
  border-left: 1px solid var(--line);
}

.steps li:first-child {
  border-left: 0;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #69805a;
}

.step-top .icon {
  width: 18px;
  height: 18px;
}

.step-number {
  color: #6a785f;
  font-family: var(--font-mono);
  font-size: 11px;
}

.steps h3 {
  margin-top: 27px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.steps p {
  max-width: 270px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #47623b;
  font-size: 12px;
}

.text-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 180ms var(--ease-out);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* =========================================================
   Features
   ========================================================= */

.features-section {
  padding-block: 90px 98px;
  border-block: 1px solid var(--line-soft);
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-width: 0;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid #e1e7dc;
  border-radius: var(--radius-md);
  background: #fff;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -34px rgba(52, 71, 42, 0.35);
}

.feature-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: span 2;
  align-items: center;
}

.feature-copy {
  position: relative;
  z-index: 2;
  padding: 32px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e3e9dc;
  border-radius: 9px;
  background: #f7f9f2;
  color: #698657;
}

.feature-icon .icon {
  width: 17px;
  height: 17px;
}

.feature-copy h3 {
  margin-top: 20px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.7px;
}

.feature-copy p {
  max-width: 268px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.feature-edit {
  display: flex;
  flex-direction: column;
}

.feature-edit .feature-copy {
  padding-top: 0;
}

.feature-edit .feature-copy h3 {
  margin-top: 0;
}

.feature-security {
  background: linear-gradient(140deg, #fff, #fbfcf8);
}

.feature-focus {
  background: linear-gradient(125deg, #fff 30%, #f8faf3);
}

/* Feature art — workspace */

.space-art {
  margin-right: -22px;
  padding-right: 6px;
  transform: rotate(-4deg);
}

.space-root {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px;
  border: 1px solid #dde5d4;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(52, 71, 42, 0.03);
  font-size: 11px;
  font-weight: 500;
}

.space-root-copy {
  min-width: 0;
}

.space-root-copy strong {
  display: block;
}

.space-root-copy small {
  display: block;
  margin-top: 4px;
  color: #7d8a72;
  font-size: 8px;
  font-weight: 400;
}

.space-count {
  margin-left: auto;
  color: #7b896f;
  font-size: 8px;
  white-space: nowrap;
}

.space-branches {
  display: grid;
  gap: 9px;
  margin: 10px 0 0 26px;
  padding: 9px 0 0 18px;
  border-left: 1px dashed #d7e0ce;
}

.space-branches > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e5eadd;
  border-radius: 7px;
  background: #fbfcf9;
  color: #56684a;
  font-size: 10px;
}

.space-branches .icon {
  width: 14px;
  height: 14px;
  color: #8ca17c;
}

.space-branches > div > :last-child {
  margin-left: auto;
}

.space-pill {
  padding: 3px 7px;
  border-radius: 4px;
  background: #eef3e6;
  color: #7d8f68;
  font-size: 8px;
}

.space-spark {
  color: #a2b88e !important;
}

/* Feature art — people */

.people-art {
  position: relative;
  flex: 1;
  min-height: 195px;
  background: radial-gradient(ellipse at center, #f1f6e9, transparent 70%);
}

.people-orbit {
  position: absolute;
  top: -22px;
  left: calc(50% - 112px);
  width: 225px;
  height: 225px;
  border: 1px solid #e5ecdb;
  border-radius: 50%;
}

.people-orbit.is-inner {
  top: 16px;
  left: calc(50% - 75px);
  width: 150px;
  height: 150px;
}

.person {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 600;
  box-shadow: 0 3px 7px rgba(52, 71, 42, 0.07);
}

.person-one {
  top: 22px;
  left: 25%;
  background: #e0e8d4;
  color: #637451;
}

.person-two {
  top: 55px;
  right: 14%;
  background: #f0dfd4;
  color: #8d705c;
}

.person-three {
  top: 130px;
  left: 15%;
  background: #e4deeb;
  color: #83708c;
}

.people-center {
  position: absolute;
  top: 67px;
  left: calc(50% - 27px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border: 1px solid #dde6d1;
  border-radius: 15px;
  background: #fff;
  color: #7d9866;
  box-shadow: 0 6px 14px rgba(52, 71, 42, 0.04);
}

.people-center .icon {
  width: 25px;
  height: 25px;
}

.people-label {
  position: absolute;
  top: 140px;
  left: 38%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #e0e7d7;
  border-radius: 5px;
  background: #fff;
  color: #758867;
  font-size: 8px;
  white-space: nowrap;
  transform: rotate(-5deg);
  box-shadow: 0 4px 12px rgba(52, 71, 42, 0.04);
}

.people-label .icon {
  width: 11px;
  height: 11px;
}

/* Feature art — permissions */

.permission-art {
  display: grid;
  gap: 8px;
  padding: 0 32px 28px;
}

.permission-art > div {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border: 1px solid #e5eadd;
  border-radius: 5px;
  background: #fff;
  color: #6d7d5f;
  font-size: 8px;
}

.permission-art > div > span:last-child {
  margin-left: auto;
  color: #8f9e80;
  font-family: var(--font-mono);
  font-size: 7px;
}

.permission-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #90a77a;
}

/* Feature art — focus */

.focus-art {
  position: relative;
  margin-top: 26px;
  padding-right: 22px;
}

.focus-window {
  height: 228px;
  padding: 19px;
  border: 1px solid #dfe6d5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(52, 71, 42, 0.04);
  transform: rotate(-5deg) translateX(26px);
  transition: transform 400ms var(--ease-out);
}

.feature-focus:hover .focus-window {
  transform: rotate(-3deg) translateX(18px);
}

.focus-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 36px;
}

.focus-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dce5d3;
}

.focus-muted {
  display: block;
  color: #9bac8b;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.focus-window strong {
  display: block;
  color: #4b6340;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

.focus-window strong span {
  margin-left: 8px;
  color: #9caf87;
}

.focus-line {
  display: block;
  width: 75%;
  height: 5px;
  margin-top: 22px;
  border-radius: 5px;
  background: #eff3e9;
}

.focus-line.is-short {
  width: 50%;
  margin-top: 8px;
}

.focus-badge {
  position: absolute;
  bottom: -7px;
  left: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 17px;
  border: 1px solid #e0e7d7;
  border-radius: 7px;
  background: #fff;
  color: #728961;
  font-size: 9px;
  box-shadow: 0 5px 15px rgba(52, 71, 42, 0.04);
}

.focus-badge .icon {
  width: 13px;
  height: 13px;
}

/* =========================================================
   Pricing
   ========================================================= */

.pricing {
  padding-block: 90px;
}

.pricing-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 66px 24px 46px;
  border: 1px solid #e0e7d7;
  border-radius: var(--radius-lg);
  background: #fbfcf8;
  text-align: center;
}

.pricing-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, #e2ebd0, transparent 65%);
}

.pricing-card h2 {
  margin-top: 17px;
  font-size: 37px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -1.3px;
}

.pricing-card p {
  margin-top: 16px;
  color: #637357;
  font-size: 13px;
  line-height: 1.9;
}

.pricing-card .btn {
  margin-top: 26px;
}

.pricing-audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
  color: #677b58;
  font-size: 10px;
}

.pricing-audience span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pricing-audience .icon {
  width: 12px;
  height: 12px;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 43px 0 25px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand p {
  margin-top: 12px;
  color: #6d7966;
  font-size: 11px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-nav a {
  color: #65725d;
  font-size: 11px;
  transition: color 150ms ease;
}

.footer-nav a:hover {
  color: #253c2e;
}

.back-top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #65725d;
  font-size: 10px;
}

.back-top .icon {
  width: 12px;
  height: 12px;
  transform: rotate(-90deg);
  transition: transform 180ms var(--ease-out);
}

.back-top:hover .icon {
  transform: rotate(-90deg) translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: #6d7965;
  font-size: 9px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 21px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #90ab78;
}

/* =========================================================
   Toast
   ========================================================= */

.toast {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 48px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(24, 30, 26, 0.94);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 200ms ease,
    transform 260ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Reveal / motion
   ========================================================= */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1000px) {
  .container {
    width: calc(100% - 48px);
  }

  .desktop-nav {
    gap: 24px;
  }

  .browser-body {
    grid-template-columns: 176px minmax(0, 1fr);
  }

  .preview-sidebar {
    padding-inline: 13px;
  }

  .preview-content {
    padding-inline: 20px;
  }

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

  .studio-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
  }

  .mini-site {
    min-height: 190px;
  }

  .mini-site strong {
    font-size: 22px;
  }

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

  .feature-wide {
    grid-column: span 2;
    min-height: 320px;
  }

  .feature-edit {
    grid-column: 2;
    grid-row: 2;
  }

  .feature-security {
    grid-column: 1;
    grid-row: 2;
  }

  .feature-focus {
    grid-row: 3;
  }

  .feature-copy {
    padding: 26px;
  }

  .feature-copy h3 {
    font-size: 21px;
  }

  .steps li {
    padding-inline: 24px;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    height: 66px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 64px 0 44px;
  }

  .hero h1 {
    font-size: clamp(40px, 8vw, 58px);
    letter-spacing: -0.04em;
  }

  .hero-lede {
    max-width: 460px;
    font-size: 14.5px;
  }

  .desktop-break {
    display: none;
  }

  .hero-notes {
    gap: 6px;
    font-size: 10px;
  }

  .preview-shell {
    padding: 6px;
    border-radius: 15px;
  }

  .browser-bar {
    height: 34px;
    padding-inline: 11px;
    font-size: 8px;
  }

  .browser-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-content {
    padding: 19px 18px 0;
  }

  .panel-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .panel-copy h2 {
    font-size: 20px;
  }

  .panel-copy p {
    font-size: 8.5px;
  }

  .mini-action {
    padding: 6px 8px;
  }

  .brief-row {
    gap: 8px;
    padding: 11px;
  }

  .brief-copy p {
    font-size: 7.5px;
  }

  .studio-grid {
    margin-top: 16px;
  }

  .chat-list {
    max-height: 240px;
  }

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

  .preview-controls {
    margin-top: 22px;
  }

  .section {
    padding-block: 78px;
  }

  .section-head h2 {
    font-size: 31px;
  }

  .section-head p {
    font-size: 12px;
  }

  .feature-grid {
    gap: 14px;
  }

  .feature-copy h3 {
    font-size: 22px;
  }

  .pricing {
    padding-block: 68px;
  }

  .pricing-card h2 {
    font-size: 33px;
  }

  .footer-main {
    flex-wrap: wrap;
  }

  .footer-nav {
    gap: 22px;
  }

  .footer-status {
    gap: 12px;
  }
}

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

  .steps li {
    padding: 23px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .steps li:first-child {
    border-top: 0;
  }

  .steps h3 {
    margin-top: 16px;
  }

  .steps p {
    max-width: none;
  }

  .mobile-break {
    display: block;
  }
}

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

  .feature-card {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto;
  }

  .feature-wide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .feature-copy {
    padding: 28px;
  }

  .feature-copy p {
    max-width: 280px;
  }

  .space-art {
    margin: 0 0 30px 54px;
  }

  .focus-art {
    margin: 10px 0 36px 54px;
  }

  .permission-art {
    padding: 0 28px 28px;
  }

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

  .studio-preview {
    grid-template-columns: 1fr;
  }

  .studio-preview-note {
    margin-top: 0;
  }

  .preview-caption {
    font-size: 10px;
  }

  .preview-caption span {
    font-size: 8px;
  }
}

@media (max-width: 600px) {
  .header-actions,
  .header-auth {
    gap: 8px;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 260px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 36px);
  }

  .brand {
    font-size: 23px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .btn-sm {
    padding-inline: 10px;
    font-size: 10px;
  }

  .hero {
    padding-top: 50px;
  }

  .announcement {
    gap: 6px;
    font-size: 9px;
  }

  .hero h1 {
    margin-top: 25px;
    font-size: 41px;
    line-height: 1.24;
  }

  .hero-lede {
    max-width: 330px;
    margin-top: 18px;
    font-size: 13px;
  }

  .hero-notes {
    flex-wrap: wrap;
    margin-top: 19px;
    font-size: 9px;
  }

  .browser-badge {
    display: none;
  }

  .preview-content {
    padding: 15px 14px 0;
  }

  .preview-topline {
    font-size: 8px;
  }

  .demo-label {
    font-size: 6px;
  }

  .panel-heading {
    margin-top: 18px;
  }

  .panel-copy h2 {
    font-size: 18px;
  }

  .mini-action span {
    display: none;
  }

  .brief-labels {
    font-size: 7px;
  }

  .brief-copy strong {
    font-size: 9px;
  }

  .status-chip {
    font-size: 7px;
  }

  .chat-suggestions button {
    font-size: 7.5px;
  }

  .preview-tab {
    padding: 7px 10px;
    font-size: 9px;
  }

  .preview-tab .icon {
    width: 11px;
    height: 11px;
  }

  .section-head h2 {
    font-size: 27px;
    letter-spacing: -1px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .feature-copy {
    padding: 24px;
  }

  .feature-copy h3 {
    font-size: 23px;
  }

  .space-art {
    margin-left: 30px;
  }

  .focus-art {
    margin-left: 30px;
  }

  .pricing-card {
    padding: 48px 18px 36px;
  }

  .pricing-card h2 {
    font-size: 28px;
  }

  .pricing-card p {
    font-size: 12px;
  }

  .pricing-audience {
    gap: 14px;
    font-size: 9px;
  }

  .footer-main {
    align-items: flex-start;
    gap: 24px;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-nav {
    gap: 18px;
  }

  .footer-nav a {
    font-size: 10px;
  }

  .back-top {
    font-size: 9px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 28px;
    font-size: 8px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    max-width: calc(100vw - 32px);
  }
}