@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Outfit:wght@650&display=swap');

:root {
  color-scheme: dark;
  --bg: #0a0909;
  --ink: #f5f0ea;
  --muted: #b1a9a1;
  --amber: #ff902e;
  --line: #302822;
  --content-width: 1360px;
  --column-gap: clamp(24px, 4vw, 64px);
  --gutter: clamp(20px, 6vw, 24px);
  --content-inset: max(var(--gutter), (100% - var(--content-width)) / 2);
  --section-space: clamp(44px, 6vw, 104px);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: clamp(48px, 4.45vw, 64px); } }
* { box-sizing: border-box; }
.site-frame { width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); margin-inline: auto; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--amber); }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
figure, p, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2 { line-height: .99; letter-spacing: -.066em; text-wrap: balance; }
h1 { font-size: clamp(64px, 7.1vw, 132px); }
h2 { font-size: clamp(48px, 6.1vw, 102px); }
h3 { font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.045em; }
em { font-family: 'Instrument Serif', Georgia, serif; color: var(--amber); font-weight: 400; letter-spacing: -.035em; }
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 22px var(--content-inset);
  border-bottom: 1px solid #f5f0ea22;
  background: #0a0909f5;
}
.logo { width: fit-content; font: 650 34px/.9 Outfit, sans-serif; letter-spacing: -.06em; }
.logo img { width: 85px; height: auto; }
.logo span, .site-footer p span { color: var(--amber); }
nav { display: flex; gap: clamp(18px, 3vw, 48px); }
nav a { font-size: 13px; font-weight: 600; }
.main-nav [aria-current="page"] { color: var(--amber); }

.hero { position: relative; display: flex; align-items: center; min-height: clamp(566px, calc(100svh - 93px), 760px); isolation: isolate; overflow: hidden; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 57% center; z-index: -2; }
.hero::after { content: ''; background: linear-gradient(90deg, #090706ef, #0907067a 42%, transparent 69%), linear-gradient(0deg, var(--bg), transparent 25%); }
.hero-copy { padding: var(--section-space) var(--content-inset); }
.kicker { margin-bottom: 20px; color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.kicker i { display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: currentColor; }
.lead { max-width: 395px; margin: 24px 0 28px; color: #dbd2c9; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.55; }
.button, .small-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 46px; border-radius: 100px; font-size: 13px; font-weight: 700; }
.button { padding: 0 20px; background: var(--amber); color: #16100b; }
.button:hover { background: #ffaf62; color: #16100b; }
.hero-next { position: absolute; bottom: 28px; left: var(--gutter); color: var(--muted); font-size: 12px; }
.hero-next span { margin-left: 10px; }
.section { width: 100%; padding: var(--section-space) var(--content-inset); }
.hardware { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr); align-items: center; gap: clamp(28px, 4vw, 58px); }
.hardware h2 { max-width: 680px; font-size: clamp(42px, 5.5vw, 80px); }
.hardware-copy > p:not(.kicker), .section-intro > p, #mode-description, .faq-list p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.hardware-copy > p:not(.kicker) { margin: 24px 0; }
.hardware-image { position: relative; isolation: isolate; }
.hardware-image::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 4% 2% 12%;
  background: radial-gradient(ellipse at 50% 52%, #cb6d292b, #cb6d2912 43%, transparent 72%);
}
.hardware-image img { filter: drop-shadow(0 22px 16px #0009); }
@media (prefers-reduced-motion: no-preference) {
  .hardware-image img { animation: hardware-float 7s ease-in-out infinite; }
  @keyframes hardware-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
}
.feature-list > div { padding: 15px 0; border-top: 1px solid var(--line); }
.feature-list dt { font-size: 15px; font-weight: 700; }
.feature-list dd { margin-top: 4px; color: var(--muted); font-size: 14px; }
.section-intro { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 26px; margin-bottom: 36px; }
.section-intro > p { max-width: 420px; }
.experience { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #14100e; }
.mode-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 38px; padding: clamp(22px, 4vw, 56px); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button, .small-button { color: var(--ink); background: transparent; border: 1px solid #f5f0ea35; cursor: pointer; }
.tabs button { min-height: 40px; padding: 0 15px; border-radius: 100px; font-size: 13px; }
.tabs button:hover, .small-button:hover { border-color: var(--amber); }
.tabs button[aria-selected=true] { color: #17100a; background: var(--amber); border-color: var(--amber); }
#mode-description { min-height: 3.3em; margin: 12px 0 22px; }
.small-button { padding: 0 16px; }
.demo-label { color: var(--muted); font-size: 12px; }
.device-stage { position: relative; display: grid; place-items: center; min-height: 410px; overflow: hidden; background: radial-gradient(ellipse at 50% 65%, #63351c86, transparent 70%), #100d0c; }
.stage-orbit { position: absolute; width: 360px; aspect-ratio: 1; border: 1px solid #ff902e20; border-radius: 50%; pointer-events: none; }
.orbit-two { width: 460px; }
.demo-puck { position: relative; width: clamp(240px, 24vw, 330px); aspect-ratio: 1; border-radius: 50%; padding: 8px; background: linear-gradient(145deg, #58534d, #111 48%, #38332f); box-shadow: 0 12px 0 #171310, 0 14px 1px #9b5425, 0 28px 60px #000c; }
.puck-screen { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; height: 100%; padding: 20px; border-radius: 50%; background: radial-gradient(ellipse at 15% 0%, #262525, #070707 65%); border: 1px solid #7e7e7270; overflow: hidden; text-align: center; }
.screen-eyebrow { font-size: 8px; letter-spacing: .14em; color: #aaa099; margin-bottom: 12px; }
.wave { display: flex; gap: 4px; align-items: center; height: 45px; margin-bottom: 10px; }
.wave i { display: block; background: var(--amber); border-radius: 2px; width: 3px; transform: rotate(18deg); }
.wave.active i { animation: wave .7s infinite alternate; }
@keyframes wave { to { transform: rotate(18deg) scaleY(.3); opacity: .5; } }
.screen-main { font-size: clamp(19px, 2.5vw, 28px); letter-spacing: -.04em; }
.screen-sub { font-size: 11px; color: var(--muted); margin-top: 8px; max-width: 190px; }
.screen-dot { position: absolute; bottom: 18px; height: 5px; width: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
#focus-controls { margin-top: 12px; width: 126px; font-size: 10px; color: var(--muted); }
input[type=range] { width: 100%; accent-color: var(--amber); }
.stand-gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.stand-gallery img { height: clamp(280px, 35vw, 560px); object-fit: cover; object-position: 48% center; border-radius: 8px; }
figcaption { padding-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.workspace { border-block: 1px solid var(--line); }
.workspace img { width: min(100%, 1920px); margin-inline: auto; }
.workspace figcaption { display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: space-between; padding: 16px var(--content-inset); }
.workspace strong { color: var(--ink); font-weight: 500; }
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; }
.faq-list details { padding: 19px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
.faq-list summary span::before { content: '+'; color: var(--amber); font-size: 20px; }
.faq-list details[open] summary span::before { content: '−'; }
.faq-list p { margin-top: 12px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 28px var(--content-inset); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer .logo { color: var(--ink); }
@media (max-width: 980px) {
  .hero-image { object-position: 62% center; }
  h1 { font-size: clamp(60px, 9vw, 90px); }
}
@media (max-width: 767px) {
  .hero { min-height: 0; }
  .hero-copy { padding: clamp(32px, 10vw, 52px) var(--gutter) clamp(28px, 8vw, 44px); }
  .hero-image { position: relative; inset: auto; aspect-ratio: 1.14; height: auto; object-position: 68% center; }
  .hero { display: flex; flex-direction: column; align-items: stretch; }
  .hero-image { order: 1; }
  .hero::after { inset: auto 0 0; height: clamp(255px, 75vw, 480px); z-index: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, var(--bg)); }
  .hero-next { z-index: 1; bottom: 16px; }
  h1 { font-size: clamp(54px, 11.6vw, 82px); }
  .lead { margin: 18px 0 21px; }
  .hardware, .section-intro, .experience-grid, .stand-gallery, .faq { grid-template-columns: minmax(0, 1fr); }
  .section-intro { gap: 16px; margin-bottom: 25px; }
  .mode-panel { gap: 24px; }
  .device-stage { min-height: 345px; }
  .stand-gallery img { height: auto; }
  .stand-gallery { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave.active i { animation: none; }
}

/* Integration identity wall */
.integrations { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 85% 8%, #47291622, transparent 55%); }
.integration-lead { align-self: end; max-width: 480px; }
.integration-lead .integration-disclaimer { margin-top: 16px; font-size: 13px; line-height: 1.65; }
.integration-group { margin-top: 38px; }
.integration-group-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.integration-group-heading h3 { font-size: 17px; }
.integration-group-heading p { color: var(--muted); font-size: 12px; }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); border-radius: 14px; overflow: hidden; }
.logo-tile { padding: 27px 24px 21px; background: #11100f; min-width: 0; transition: background .2s; }
.logo-tile:hover { background: #1b1713; }
.brand-line { display: flex; align-items: center; gap: 15px; }
.brand-symbol { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; }
.brand-symbol img { width: 34px; height: 34px; object-fit: contain; }
.brand-name { font-size: clamp(17px,1.7vw,22px); font-weight: 600; letter-spacing: -.035em; }
.integration-status { display: block; margin-top: 20px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.integration-footnote { max-width: 850px; margin-top: 22px; font-size: 11px; line-height: 1.7; color: var(--muted); }
@media (max-width: 767px) {
 .logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .logo-tile { padding: 22px 16px 18px; }
 .brand-line { gap: 10px; }
 .brand-symbol { width: 30px; height: 32px; }
 .brand-symbol img { width: 28px; height: 28px; }
 .integration-group-heading { display: block; }
 .integration-group-heading p { margin-top: 6px; }
}
@media (max-width: 380px) { .brand-line { gap: 8px; } .brand-name { font-size: 15px; } .logo-tile { padding-inline: 12px; } }

.brand-symbol img:not([src$="hermes.png"]):not([src$="openclaw.svg"]) { filter: invert(1); }

.subpage > .section:first-child { border-top: 0; }
.subpage h1 { font-size: clamp(50px, 6.1vw, 100px); }
.subpage-next { padding-top: 0; }

.legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-page > :is(h1, h2, p) { max-width: 72ch; }
.legal-page h1 { font-size: clamp(46px, 7vw, 92px); }
.legal-page h2 { margin-top: 32px; font-size: 25px; letter-spacing: -.025em; }
.legal-page p { margin-top: 12px; color: var(--muted); line-height: 1.65; }
.legal-page a { color: var(--amber); text-decoration: underline; }

.integration-group h4 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.integration-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.integration-directory .logo-tile { padding: clamp(12px, 2vw, 24px); }
.integration-directory .brand-line { min-height: 36px; gap: 10px; }
.integration-directory .brand-name { overflow-wrap: anywhere; }
.integration-directory .integration-status { margin-top: 9px; }
.directory-note { margin: 10px 0 18px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.automation-callout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(14px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #18110d;
  padding: clamp(18px, 4vw, 48px);
}
.automation-callout p:not(.kicker) { color: var(--muted); line-height: 1.65; }
.automation-callout a, .directory-note a, .demo-label a, .feature-list a { color: var(--amber); text-decoration: underline; }
.setup-paths h3, .integration-group.faq-list h3 { margin-bottom: 20px; }
.variant .agent-section { align-items: start; }
@media (max-width: 767px) {
  .integration-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .automation-callout { grid-template-columns: minmax(0, 1fr); }
}

.integration-directory .brand-symbol img[src^="/assets/brands/"] { filter: none; }
.coding-directory { margin-top: 36px; }
.variant .agent-section .coding-directory,
.variant .agent-section .integration-directory { grid-column: 1 / -1; }
.variant .agent-section .integration-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) {
  .variant .agent-section .integration-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product-expanded { border-top: 1px solid var(--line); }
.product-expanded p:not(.kicker) { color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; }
.product-stories, .product-points, .product-split {
  display: grid;
  gap: clamp(18px, 4vw, 62px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-stories img, .product-split img, .stand-wide img { border-radius: 12px; }
.product-stories img { aspect-ratio: 1.35; object-fit: cover; }
.product-stories h3 { margin-top: 20px; }
.product-expanded article p, .product-split p, .product-split dl { margin-top: 14px; }
.product-split { align-items: center; }
.product-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-points article { border-top: 1px solid var(--line); padding-top: 18px; }
.product-points h3 { font-size: clamp(24px, 3vw, 42px); }
.stand-wide img { aspect-ratio: 1.8; object-fit: cover; }
.stand-intro { margin-top: clamp(30px, 6vw, 84px); }
@media (max-width: 767px) {
  .product-stories, .product-points, .product-split { grid-template-columns: minmax(0, 1fr); }
  .stand-wide img { aspect-ratio: 1.4; }
}

.home-stand {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
}
.home-stand-copy > p:not(.kicker) {
  max-width: 410px;
  margin: 22px 0;
  color: var(--muted);
  line-height: 1.65;
}
.home-stand > img { border-radius: 12px; }
@media (max-width: 767px) {
  .home-stand { grid-template-columns: minmax(0, 1fr); }
}

.mini-voice-story > img { aspect-ratio: 1.25; object-fit: cover; }
.product-expanded .mini-voice-story p { font-size: 16px; }
.mini-voice-example { margin: 22px 0; padding: 12px 0 12px 17px; border-left: 2px solid var(--amber); }
.mini-voice-example blockquote { margin: 0; line-height: 1.55; }
.mini-voice-example figcaption { padding-top: 6px; }
.product-expanded .mini-use-cases p { font-size: 16px; }
.mini-benefits dd { line-height: 1.6; }

.site-header .header-cta {
  justify-self: end;
  white-space: nowrap;
  gap: 10px;
  min-height: 48px;
  border: 1px solid #f5f0ea45;
  background: transparent;
  color: var(--ink);
}
.site-header .header-cta:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.site-header nav { gap: clamp(14px, 2.1vw, 34px); }
@media (max-width: 1000px) {
  html { scroll-padding-top: 140px; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding-block: 12px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; gap: 8px 16px; }
  .site-header nav a { font-size: 12px; }
  .site-header .header-cta { min-height: 40px; font-size: 12px; }

  html:has(.has-mobile-menu) { scroll-padding-top: 68px; }
  .site-header.has-mobile-menu {
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 8px;
    min-height: 61px;
    padding-block: 8px;
  }
  .has-mobile-menu .logo img { width: 76px; }
  .site-header.has-mobile-menu .header-cta { display: inline-flex; min-height: 44px; padding-inline: 14px; }
  .mobile-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #f5f0ea35;
    border-radius: 50%;
    background: var(--bg);
    color: var(--ink);
    cursor: pointer;
  }
  .mobile-menu-toggle span { position: relative; width: 18px; height: 12px; }
  .mobile-menu-toggle span::before, .mobile-menu-toggle span::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: '';
  }
  .mobile-menu-toggle span::before { top: 2px; }
  .mobile-menu-toggle span::after { bottom: 2px; }
  .mobile-menu-toggle[aria-expanded="true"] span::before { top: 5px; transform: rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span::after { bottom: 5px; transform: rotate(-45deg); }
  .site-header.has-mobile-menu nav {
    position: absolute;
    inset: 100% 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex-wrap: nowrap;
    max-height: calc(100dvh - 61px);
    gap: 0;
    overflow-y: auto;
    padding: 6px var(--content-inset) 12px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 16px 28px #0006;
  }
  .site-header.has-mobile-menu nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 16px;
  }
  .site-header.has-mobile-menu nav a + a { border-top: 1px solid var(--line); }
}

.site-header .main-nav { align-items: center; }
.product-nav { position: relative; display: flex; align-items: center; }
.product-disclosure > summary {
  display: grid;
  place-items: center;
  width: 30px;
  height: 38px;
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  border-radius: 6px;
}
.product-disclosure > summary::-webkit-details-marker { display: none; }
.product-disclosure > summary span {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.product-disclosure[open] > summary span { margin-top: 3px; transform: rotate(225deg); }
.product-disclosure > summary:hover { color: var(--ink); background-color: #ffffff0e; }
.product-nav:has(.product-submenu [aria-current]) .product-overview { color: var(--amber); }
.product-submenu {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: -12px;
  min-width: 188px;
  list-style: none;
  margin: 0;
  padding: 6px;
  border-radius: 10px;
  background: #161413;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px #0005;
}
.site-header .product-submenu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: .90625rem;
  white-space: nowrap;
}
.product-submenu a:is(:hover, :focus-visible) { background: #ffffff0b; color: var(--ink); }
.product-submenu a[aria-current] { color: var(--amber); }
@media (max-width: 1000px) {
  .site-header.has-mobile-menu .main-nav { align-items: stretch; }
  .has-mobile-menu .product-nav { display: block; border-block: 1px solid var(--line); }
  .has-mobile-menu .product-overview { width: calc(100% - 48px); }
  .has-mobile-menu .product-disclosure > summary {
    position: absolute;
    inset: 0 0 auto auto;
    width: 48px;
    height: 48px;
  }
  .has-mobile-menu .product-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}
