/* CLAILA web v2: the product page of DESK (design: Figma "CLAILA UI", page "P1 · DESK"). Its own face is the warm paper and
   terracotta of DESK itself; the bar and the footer stay the website's. Classes d-*; motion comes from motion.css / motion.js. */
.w2-ai-desk {
  --d-paper: #F7F1E7; --d-paper-2: #EFE5D6; --d-line: #E4D8C6; --d-brown: #1C1612; --d-brown-2: #5B4A3C; --d-brown-3: #8A7767;
  --d-terra: #C2541E; --d-terra-soft: #FBE7DA; --d-cream: #FFFBF5; --d-on-brown: #D8C9B6;
}
.d-over { color: var(--d-terra); }

/* ---- hero */
.d-hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: var(--d-paper); }
.d-hero::before { content: ''; position: absolute; right: -180px; top: -220px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(194, 84, 30, .16), rgba(194, 84, 30, 0)); pointer-events: none; }
.d-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 56px; align-items: center; }
.d-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.d-eyebrow { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 6px 12px; border-radius: 999px; background: var(--d-terra-soft); color: var(--d-terra); font-size: 13px; line-height: 18px; font-weight: 500; }
.d-hero h1 { font-size: 58px; line-height: 62px; font-weight: 600; letter-spacing: -.028em; color: var(--d-brown); text-wrap: balance; }
.d-lead { font-size: 19px; line-height: 30px; color: var(--d-brown-2); }
.d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.d-btn { height: 52px; padding: 0 26px; }
.d-btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: var(--w-r-btn); border: 1px solid #CBB9A3; color: var(--d-brown); font-size: 16px; line-height: 22px; font-weight: 600; transition: border-color .15s, background .15s; }
.d-btn-ghost:hover { border-color: var(--d-brown); background: rgba(255, 255, 255, .5); }
.d-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; line-height: 20px; color: var(--d-brown-2); }
.d-trust li { display: inline-flex; align-items: center; gap: 6px; }
.d-trust .w-ic { color: var(--d-terra); }
.d-hero-visual { position: relative; min-width: 0; }

/* a browser window around a real screenshot */
.d-window { overflow: hidden; border-radius: 14px; border: 1px solid var(--d-line); background: #fff; box-shadow: 0 8px 16px rgba(60, 40, 20, .06), 0 28px 56px rgba(60, 40, 20, .16); }
.d-window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--d-paper-2); }
.d-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E0C9AE; }
.d-window-bar span { margin-left: auto; font-size: 11px; line-height: 14px; color: var(--d-brown-2); }
.d-window img { display: block; width: 100%; height: auto; }

/* labels that pop up around the hero picture (one line in English; a longer translation may wrap instead of running out) */
.d-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--d-line); box-shadow: 0 10px 28px rgba(60, 40, 20, .18);
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--d-brown); }
.d-float .w-ic { color: var(--d-terra); }
.d-float-1 { left: -28px; top: 18%; }
.d-float-2 { right: -18px; top: 46%; }
.d-float-3 { left: 8%; bottom: -18px; background: var(--d-brown); border-color: var(--d-brown); color: #fff; }
.d-float-3 .w-ic { color: var(--w-mint); }
@media (prefers-reduced-motion: no-preference) {
  .d-float.is-in { animation: d-bob 5s ease-in-out 1.6s infinite; }
  .d-float-2.is-in { animation-delay: 2.4s; } .d-float-3.is-in { animation-delay: 3.1s; }
}
@keyframes d-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ---- cards */
.d-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.d-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: var(--w-r-card); background: var(--w-surface); border: 1px solid var(--w-line); }
.d-card > .w-ic { color: var(--d-terra); }
.d-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.d-card p { font-size: 16px; line-height: 26px; color: var(--w-text-2); }
.d-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--d-terra-soft); color: var(--d-terra); }
.d-cards-6 .d-card { padding: 24px; gap: 8px; }
.d-cards-6 .d-card h3 { font-size: 18px; line-height: 26px; }
.d-cards-6 .d-card p { font-size: 15px; line-height: 24px; }

/* ---- autopilot: four steps that play by themselves */
.d-auto { padding: 96px 0; background: var(--d-paper); }
.d-auto .w-h2 { color: var(--d-brown); max-width: 760px; }
.d-scenes { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 48px; align-items: start; }
.d-scenes-tabs { display: flex; flex-direction: column; gap: 8px; }
.d-step { display: flex; gap: 16px; width: 100%; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; text-align: left; transition: background .2s, border-color .2s, box-shadow .2s; }
.d-step:hover { background: rgba(255, 255, 255, .55); }
.d-step[aria-selected="true"] { background: #fff; border-color: var(--d-line); box-shadow: 0 2px 6px rgba(60, 40, 20, .05), 0 12px 28px rgba(60, 40, 20, .09); }
.d-step-n { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--d-paper-2); color: var(--d-brown-2); font-size: 15px; line-height: 20px; font-weight: 600; transition: background .2s, color .2s; }
.d-step[aria-selected="true"] .d-step-n { background: var(--d-terra); color: #fff; }
.d-step-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; padding-top: 5px; }
.d-step-copy strong { font-size: 19px; line-height: 26px; font-weight: 600; color: var(--d-brown); }
.d-step-text { display: none; font-size: 15px; line-height: 24px; color: var(--d-brown-2); }
.d-step .w-scene-bar { display: none; margin-top: 10px; color: var(--d-terra); background: var(--d-paper-2); }
.d-step[aria-selected="true"] .d-step-text, .d-step[aria-selected="true"] .w-scene-bar { display: block; }
.d-scenes-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 0 20px; font-size: 15px; line-height: 24px; color: var(--d-brown-2); }
.d-scenes-note .w-ic { flex: none; margin-top: 4px; color: var(--d-terra); }
.d-scenes-view { min-width: 0; }
.w2-ai-desk .w-spot { --w-spot: var(--d-terra); }

/* ---- the price: per agent elsewhere, one price here */
.d-save { padding: 88px 0; background: var(--d-brown); color: #fff; }
.d-save-in { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 64px; align-items: center; }
.d-save-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.d-save-copy h2 { font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.d-save-copy p:not(.w-over) { font-size: 18px; line-height: 28px; color: var(--d-on-brown); }
.d-save-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--w-mint); }
.d-save-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.d-calc { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 20px; background: #2A211B; }
.d-calc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; line-height: 24px; font-weight: 600; }
.d-cnt { display: inline-flex; align-items: center; gap: 6px; }
.d-cnt button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--d-brown-2); color: #fff; transition: border-color .15s; }
.d-cnt button:hover { border-color: #fff; }
.d-cnt button[disabled] { opacity: .4; cursor: default; }
.d-cnt output { min-width: 44px; text-align: center; font-size: 18px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.d-bar-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: center; font-size: 15px; line-height: 22px; color: var(--d-on-brown); }
.d-bar { display: flex; align-items: baseline; gap: 8px; width: var(--p, 100%); min-width: 76px; height: 40px; padding: 0 12px; border-radius: 10px; background: #4A3B30; color: #fff; line-height: 40px; white-space: nowrap; font-variant-numeric: tabular-nums; transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.d-bar strong { font-size: 16px; font-weight: 600; }
.d-bar em { font-style: normal; font-size: 13px; color: var(--d-on-brown); }
.d-bar-us { background: var(--w-mint); color: var(--d-brown); }
.d-calc-save { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 16px; line-height: 24px; color: var(--d-on-brown); }
.d-calc-save strong { font-size: 22px; font-weight: 600; color: var(--w-mint); font-variant-numeric: tabular-nums; }
.d-calc-note { font-size: 13px; line-height: 20px; color: #A8957F; }

/* ---- comparison */
.d-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--w-r-card); border: 1px solid var(--w-line); background: var(--w-surface); box-shadow: var(--w-shadow-sm); }
.d-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.d-table th, .d-table td { padding: 18px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--w-line); }
.d-table tbody tr:last-child th, .d-table tbody tr:last-child td { border-bottom: 0; }
.d-table thead th { padding: 16px 24px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--w-text-3); }
.d-table tbody th { width: 220px; font-weight: 600; }
.d-table td { color: var(--w-text-2); }
.d-table .d-us { background: #FFF8F1; color: var(--w-text-1); }
.d-table thead .d-us { color: var(--d-terra); }
.d-table td.d-us { display: flex; gap: 10px; }
.d-table td.d-us .w-ic { flex: none; margin-top: 2px; color: var(--d-terra); }
.d-foot { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--w-text-3); }

/* ---- features */
.d-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }

/* ---- works with */
.d-chips { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.d-chips p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.d-chips span { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--w-text-3); }
.d-chips i { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 14px; border-radius: 999px; background: var(--d-cream); border: 1px solid var(--d-line); font-style: normal; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--d-brown); }

/* ---- trust */
.d-trustband { padding: 72px 0; background: var(--d-paper); }
.d-trustband-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.d-trustband-in > div { display: flex; gap: 14px; }
.d-trustband-in > div > .w-ic { flex: none; margin-top: 2px; color: var(--d-terra); }
.d-trustband h3 { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--d-brown); }
.d-trustband p { margin-top: 4px; font-size: 15px; line-height: 24px; color: var(--d-brown-2); }

/* ---- closing */
.d-close { padding: 96px 0; background: var(--d-brown); color: #fff; text-align: center; }
.d-close-in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.d-close h2 { max-width: 820px; font-size: 48px; line-height: 54px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.d-close-in > p:not(.d-bundle) { max-width: 640px; font-size: 18px; line-height: 28px; color: var(--d-on-brown); }
.d-close .w-btn { margin-top: 12px; }
.d-bundle { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; font-size: 14px; line-height: 20px; color: #A8957F; }
.d-bundle i { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--d-brown-2); font-style: normal; font-size: 13px; font-weight: 500; color: var(--d-on-brown); }
.d-bundle a { color: var(--w-mint); font-weight: 600; }
.d-close + .w-foot { border-top: 1px solid rgba(255, 255, 255, .08); }

@media (max-width: 1180px) {
  .d-hero h1 { font-size: 50px; line-height: 54px; }
  .d-float-1 { left: -8px; } .d-float-2 { right: -8px; }
}
@media (max-width: 1020px) {
  .d-hero { padding: 48px 0 72px; }
  .d-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .d-hero h1 { font-size: 44px; line-height: 48px; }
  .d-cards { grid-template-columns: 1fr; gap: 12px; }
  .d-cards-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-auto { padding: 64px 0; }
  .d-scenes { grid-template-columns: 1fr; gap: 24px; }
  .d-scenes-tabs { flex-direction: row; flex-wrap: wrap; }
  .d-step { width: auto; flex: 1 1 calc(50% - 4px); padding: 12px 14px; gap: 10px; }
  .d-step-n { width: 30px; height: 30px; font-size: 13px; }
  .d-step-copy { padding-top: 3px; } .d-step-copy strong { font-size: 16px; line-height: 22px; }
  .d-step[aria-selected="true"] .d-step-text { display: none; }
  .d-scenes-note { flex-basis: 100%; padding: 0 4px; }
  .d-save { padding: 64px 0; } .d-save-in { grid-template-columns: 1fr; gap: 32px; }
  .d-shots { grid-template-columns: 1fr; }
  .d-trustband { padding: 56px 0; } .d-trustband-in { grid-template-columns: 1fr; gap: 24px; }
  .d-close { padding: 72px 0; } .d-close h2 { font-size: 36px; line-height: 42px; }
}
@media (max-width: 680px) {
  .d-hero { padding: 32px 0 56px; }
  .d-hero h1 { font-size: 34px; line-height: 38px; }
  .d-lead { font-size: 17px; line-height: 27px; }
  .d-actions { width: 100%; } .d-actions .w-btn, .d-btn-ghost { flex: 1 1 100%; justify-content: center; }
  .d-trust { flex-direction: column; gap: 6px; }
  .d-float { min-height: 34px; padding: 6px 10px; font-size: 12px; }
  .d-float-1 { left: 6px; top: -14px; } .d-float-2 { right: 6px; top: 52%; } .d-float-3 { left: 6px; bottom: -14px; }
  .d-cards-6 { grid-template-columns: 1fr; }
  .d-card { padding: 22px; }
  .d-save-copy h2 { font-size: 28px; line-height: 34px; }
  .d-calc { padding: 20px; }
  .d-bar-row { grid-template-columns: 1fr; gap: 6px; }
  .d-close h2 { font-size: 28px; line-height: 34px; }
  /* the comparison as stacked cards: topic, DESK, the typical help desk */
  .d-table-scroll { overflow: visible; border: 0; background: none; box-shadow: none; }
  .d-table, .d-table tbody, .d-table tr, .d-table th, .d-table td { display: block; width: auto; min-width: 0; }
  .d-table thead { display: none; }
  .d-table tr { margin-bottom: 12px; border-radius: 14px; border: 1px solid var(--w-line); background: var(--w-surface); overflow: hidden; }
  .d-table tbody th { width: auto; padding: 14px 16px 4px; border: 0; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--w-text-3); }
  .d-table td { padding: 8px 16px; border: 0; }
  .d-table td.d-us { padding-top: 10px; padding-bottom: 10px; }
  .d-table td:last-child { padding-bottom: 14px; font-size: 14px; color: var(--w-text-3); }
  .d-table td:last-child::before { content: attr(data-label) ' '; font-weight: 600; }
}
