/* Lemon Code's public landing page. Neutral palette, local fonts, no framework. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: only light;
  --bg: #fafaf8;
  --ink: #242622;
  --muted: #62655e;
  --faint: #8b8e86;
  --line: #dedfd8;
  --line-soft: #e7e8e2;
  --panel: #ffffff;
  --surface: #f0f1ec;
  --dot: #d3d5cc;
  --btn-bg: #242622;
  --btn-fg: #ffffff;
  --focus: #242622;
  --shadow: 0 16px 48px -24px #24262226;
  --shadow-window: 0 32px 80px -36px #24262259, 0 12px 28px -18px #24262226;
  --wrap: min(1120px, 100% - 80px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}
h1,
h2 {
  font-weight: 550;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
}
h3 {
  font-weight: 550;
  letter-spacing: -0.02em;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
.wrap {
  width: var(--wrap);
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 50;
  top: -64px;
  left: 24px;
  padding: 10px 16px;
  background: var(--btn-bg);
  color: var(--btn-fg);
}
.skip:focus {
  top: 8px;
}

/* The dotted surface every product shot sits on. */
.stage {
  border: 1px solid var(--line-soft);
  background-color: var(--surface);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 18px 18px;
}

/* Header: translucent, so the page reads through it while you scroll. */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-soft);
  background: #fafaf8e0;
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.brand img {
  width: 30px;
  height: 30px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
}
.nav-links a:hover {
  background: var(--surface);
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.nav-signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
.nav-signin:hover,
.footer a:hover {
  color: var(--muted);
}
.nav-links .nav-signin-inline,
.menu-btn {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    box-shadow 0.15s;
}
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow:
    inset 0 1px 0 #ffffff24,
    0 1px 2px #24262240;
}
.btn-primary:hover {
  background: #3a3d37;
}
.btn-secondary {
  border-color: var(--line);
  background: var(--panel);
  box-shadow: 0 1px 2px #2426220d;
}
.btn-secondary:hover {
  background: var(--surface);
}
.btn-sm {
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13px;
}
.ico {
  flex: none;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

/* Hero: the copy on top, the app on its dotted stage underneath. */
.hero {
  overflow-x: clip;
  padding-block: clamp(56px, 7vw, 96px);
  scroll-margin-top: 100px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.hero h1 span {
  display: block;
}
.lede {
  max-width: 34em;
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.hero .btns {
  justify-content: center;
  margin-top: 36px;
}
.hero .btn {
  min-height: 48px;
  padding-inline: 24px;
  font-size: 15px;
}
.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.hero-shot {
  position: relative;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(20px, 4.5vw, 56px);
}
.hero-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background-color: var(--surface);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 18px 18px;
}
.window {
  min-width: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.window img {
  width: 100%;
}
.hero-shot .product-preview {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* A small, explorable workspace stays sharp at every screen size. */
.product-preview {
  overflow: hidden;
  border: 1px solid #d7d9d1;
  border-radius: 14px;
  background: var(--panel);
  box-shadow:
    0 8px 12px -8px #24262212,
    0 32px 60px -40px #24262245;
  font-size: 13px;
  text-align: left;
}
.preview-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.preview-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 550;
}
.preview-brand img {
  width: 22px;
  height: 22px;
}
.preview-label {
  color: var(--muted);
  font-size: 11px;
}
.preview-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}
.preview-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 8px;
  background: #f4f5f0;
  border-right: 1px solid var(--line);
}
.preview-nav {
  display: grid;
  gap: 5px;
}
.preview-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #62655e;
  text-align: left;
  font-size: 12px;
}
.preview-tab svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.preview-tab:hover {
  background: #eaede3;
  color: var(--ink);
}
.preview-tab[aria-selected="true"] {
  background: #e9ecdf;
  color: var(--ink);
  font-weight: 550;
}
.preview-tab:focus-visible {
  outline-offset: -3px;
}
.preview-sidebar-note {
  margin-left: 10px;
  color: var(--muted);
  font-size: 10px;
}
.preview-content {
  min-width: 0;
  container: preview / inline-size;
}
/* Stack the panels so the preview is as tall as its tallest view and never jumps between tabs. */
.js .preview-content {
  display: grid;
}
.js .preview-panel {
  grid-area: 1 / 1;
}
.js .preview-panel[hidden] {
  display: block !important;
  visibility: hidden;
}
.preview-panel {
  padding: 30px;
}
.preview-panel:focus-visible {
  outline-offset: -4px;
}
.preview-panel h2 {
  font-size: 24px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.preview-build {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}
.preview-start h2 {
  text-align: center;
}
.preview-composer {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #d2d5ca;
  border-radius: 12px;
  color: var(--muted);
  box-shadow: 0 3px 7px #24262208;
}
.preview-composer:hover {
  border-color: #8b927e;
}
.preview-composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 21px;
}
.preview-send {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 19px;
}
.preview-subtitle {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
}
.preview-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-block: 10px;
  font-size: 12px;
}
.preview-task + .preview-task {
  border-top: 1px solid #f0f1ec;
}
.preview-done {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #aab6a0;
  border-radius: 50%;
  color: #507144;
  font-size: 10px;
}
.preview-task-state {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}
.preview-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.preview-panel-heading a {
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.preview-request {
  margin-bottom: 28px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 13px;
}
.preview-steps {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  font-size: 13px;
}
.preview-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.preview-steps li span {
  color: #507144;
}
.preview-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.preview-result strong {
  color: var(--ink);
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.03em;
}
.preview-enabled {
  flex: none;
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 4px;
  background: #eff3e9;
  color: #42623a;
  font-size: 10px;
}
.preview-apps {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.preview-apps li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
/* One column keeps four apps so this view stays as short as the others; two columns fit all six. */
.preview-apps li:nth-child(n + 5) {
  display: none;
}
@container preview (min-width: 600px) {
  .preview-apps {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .preview-apps li {
    padding: 12px;
  }
  .preview-apps li:nth-child(n + 5) {
    display: flex;
  }
}
.preview-apps img {
  flex: none;
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  object-fit: contain;
}
.preview-app {
  display: grid;
  gap: 1px;
  min-width: 0;
  font-size: 13px;
  font-weight: 550;
}
.preview-app small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview-more {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}
.preview-connect {
  flex: none;
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
}
.no-js .preview-nav {
  display: none;
}
.no-js .preview-panel + .preview-panel {
  border-top: 1px solid var(--line);
}

/* Build: the three views, each with a line saying what it shows. */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  margin-top: 96px;
  scroll-margin-top: 100px;
}
.feature-copy {
  max-width: 360px;
}
.feature-copy p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
.feature-media {
  min-width: 0;
}
.tabpanels {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3.5vw, 44px);
  border-radius: 24px;
}
.tabpanels .window {
  box-shadow: var(--shadow-window);
}
.tablist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 32px;
}
.tab {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px 0 12px 18px;
  border: 0;
  border-left: 2px solid var(--line);
  background: transparent;
  text-align: left;
}
.tab-title {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.tab-desc {
  color: var(--faint);
  font-size: 14px;
  line-height: 1.5;
}
.tab:hover .tab-title,
.tab[aria-selected="true"] .tab-title {
  color: var(--ink);
}
.tab[aria-selected="true"] {
  border-left-color: var(--ink);
}
.tab[aria-selected="true"] .tab-desc {
  color: var(--muted);
}
.no-js .tablist {
  display: none;
}

/* Automate: the apps it connects to, then what it does with them. */
.apps {
  margin-top: 128px;
  scroll-margin-top: 100px;
}
.apps-head,
.section-head {
  max-width: 600px;
}
.apps-head {
  margin-inline: auto;
  text-align: center;
}
.apps-head p,
.section-head p,
.apps-reach {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
.apps-head p,
.section-head p {
  margin-top: 18px;
}
/* A fixed-width grid, centred and cropped by its frame, fades out at the sides. */
.logo-frame {
  margin-top: 48px;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
}
.logo-cloud {
  position: relative;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(10, 64px);
  gap: 14px;
  width: max-content;
  padding: 8px 0 16px;
  margin: 0;
  list-style: none;
  transform: translateX(-50%);
}
.logo-cloud li,
.flow-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--panel);
}
.logo-cloud li {
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 8px 20px -14px #24262240;
}
.logo-cloud img,
.flow-logo img {
  object-fit: contain;
}
.apps-reach {
  max-width: 560px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 15px;
}
.flows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin-top: 64px;
  list-style: none;
}
.flow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.flow-apps {
  display: flex;
  gap: 6px;
}
.flow-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.flow h3 {
  margin-top: 20px;
  font-size: 17px;
}
.flow p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
.flow-tag {
  margin-top: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}
.connect {
  margin-top: 96px;
}
.connect h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

/* Control: one tall tile and two short ones, each ending in a product shot. */
.control {
  margin-top: 128px;
  scroll-margin-top: 100px;
}
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
}
.tile-tall {
  grid-row: span 2;
}
.tile-copy {
  padding: 28px 28px 0;
}
.tile h3 {
  font-size: 19px;
}
.tile p {
  max-width: 34em;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
.tile-media {
  margin-top: auto;
  padding: 24px 0 0 28px;
}
.tile-media img {
  border: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 12px;
  box-shadow: 0 12px 32px -20px #24262240;
}

.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 7vw, 96px);
  padding-block: 128px 96px;
  scroll-margin-top: 76px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 22px 36px 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 19px;
  color: var(--muted);
  font-size: 21px;
  font-weight: 300;
}
.faq details[open] summary::after {
  content: "−";
}
.answer {
  padding: 0 28px 24px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.answer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta {
  padding-bottom: 96px;
  scroll-margin-top: 100px;
}
.cta-panel {
  padding: clamp(56px, 8vw, 96px) 24px;
  border-radius: 28px;
  text-align: center;
}
.cta-panel h2 {
  font-size: clamp(32px, 3.6vw, 48px);
}
.cta-panel p {
  max-width: 30em;
  text-wrap: balance;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.cta-panel .btns {
  justify-content: center;
}

.footer {
  border-top: 1px solid var(--line);
  padding-block: 28px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 13px;
}
.footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer p {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 860px) {
  :root {
    --wrap: calc(100% - 40px);
  }
  .nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-signin {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    font-size: 13px;
  }
  .js .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }
  .js .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-links a {
    min-height: 44px;
    font-size: 15px;
  }
  .nav-links .nav-signin-inline {
    display: inline-flex;
  }
  .no-js .nav {
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .no-js .nav-links {
    order: 3;
    flex-wrap: wrap;
    width: 100%;
  }
  .no-js .menu-btn {
    display: none;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 72px;
  }
  .feature-copy {
    max-width: 560px;
  }
  .tablist {
    max-width: 420px;
    margin-top: 24px;
  }
  .apps,
  .control {
    margin-top: 88px;
  }
  .flows {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }
  .connect {
    margin-top: 72px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile-tall {
    grid-row: auto;
  }
  .tile-tall .tile-media img {
    max-height: 420px;
    object-fit: cover;
    object-position: top left;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 88px 72px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer p {
    width: 100%;
  }
}
@media (max-width: 560px) {
  :root {
    --wrap: calc(100% - 36px);
  }
  .nav .brand {
    font-size: 15px;
  }
  .nav .brand img {
    width: 24px;
    height: 24px;
  }
  .nav .btn-sm {
    display: none;
  }
  .hero {
    padding-top: 40px;
  }
  .lede {
    font-size: 17px;
  }
  .btns,
  .hero .btns {
    gap: 8px;
    margin-top: 28px;
  }
  .btn {
    padding-inline: 16px;
    font-size: 13px;
  }
  .hero-shot {
    padding: 14px;
  }
  .hero-shot::before {
    border-radius: 20px;
  }
  .tabpanels {
    padding: 16px;
    border-radius: 18px;
  }
  .tabpanels .window img {
    width: 460px;
    max-width: none;
  }
  .flows {
    grid-template-columns: 1fr;
  }
  .apps-media .window img {
    width: 640px;
    max-width: none;
  }
  .apps-media .window {
    max-height: 350px;
  }
  .tile-copy {
    padding: 22px 22px 0;
  }
  .tile-media {
    padding: 20px 0 0 22px;
  }
  .cta-panel {
    border-radius: 20px;
  }
  .footer {
    gap: 20px;
  }
  .footer nav {
    width: 100%;
    margin: 0;
    gap: 24px;
  }
  .footer p {
    margin-top: 0;
  }
}
@media (max-width: 560px) {
  .preview-layout {
    grid-template-columns: 1fr;
  }
  .preview-titlebar {
    min-height: 44px;
    padding: 8px 12px;
  }
  .preview-sidebar {
    padding: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .preview-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }
  .preview-tab {
    justify-content: center;
    gap: 6px;
    padding: 9px 4px;
    font-size: 11px;
  }
  .preview-tab svg {
    width: 15px;
    height: 15px;
  }
  .preview-sidebar-note {
    display: none;
  }
  .preview-panel {
    padding: 24px 18px;
  }
  .preview-panel h2 {
    font-size: 22px;
  }
  .preview-build {
    gap: 28px;
  }
  .preview-panel-heading {
    margin-bottom: 16px;
  }
  .preview-enabled {
    padding: 3px 5px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-shot .product-preview {
    animation: none;
  }
}
