/*
 * sailepos.com — the public website.
 *
 * Identity: the saile brand system (brand/brand-guide.html), the same one the
 * product wears. Ink carries the brand. Slate is the working secondary. Copper
 * is an accent, not a fill: the dot, one call to action per screen. Cream and
 * white are the surfaces. Sora for display, Manrope for text. The tile radius
 * is 24% of the edge everywhere. The name is the logo: the wordmark file from
 * brand/logo is used as given, never re-typeset.
 *
 * No build step. Plain CSS, one file, custom properties on :root. Mobile-first
 * at 16px gutters; the page never scrolls sideways.
 */

@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('fonts/Sora-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('fonts/Sora-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --ink: #1c2b33;
  --ink-hover: #243740;
  --slate: #2e4a57;
  --slate-deep: #243740;
  --copper: #e07a3f;
  --copper-hover: #c4661f;
  --cream: #f7f4ef;
  --mist: #c9d3d8;
  --surface: #ffffff;
  --sunken: #dfe6ea;
  --line: #d9e1e5;
  --line-strong: #8fa3ad;
  --text: var(--ink);
  --muted: #4a6472;
  --dim: #5b7180;
  --good: #2e7d57;
  --good-tint: #e9f4ec;
  --info-tint: #eef2f4;
  --slate-tint: #e4ebee;
  --copper-tint: #fbf1ea;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-display: 'Sora', 'Manrope', system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 43, 51, 0.06), 0 1px 1px rgba(28, 43, 51, 0.04);
  --shadow: 0 6px 24px -8px rgba(28, 43, 51, 0.18), 0 2px 6px rgba(28, 43, 51, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(28, 43, 51, 0.35), 0 8px 20px -8px rgba(28, 43, 51, 0.12);
  --container: 1180px;
  --gutter: 16px;
  --nav-h: 68px;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--slate);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--slate);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* ----- type --------------------------------------------------------------- */

.display {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
}

.h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--copper);
}

.gradient-text {
  color: var(--copper);
}

/* The square copper dot from the mark, closing a headline. */
.dot {
  color: var(--copper);
}

.muted {
  color: var(--muted);
}

.dim {
  color: var(--dim);
}

.small {
  font-size: 15px;
}

/* ----- buttons ------------------------------------------------------------ */

.btn {
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn .icon {
  font-size: 18px;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(28, 43, 51, 0.7);
}

.btn--primary:hover {
  background: var(--ink-hover);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(224, 122, 63, 0.7);
}

.btn--accent:hover {
  background: var(--copper-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--info-tint);
}

.btn--white {
  background: var(--cream);
  color: var(--ink);
}

.btn--white:hover {
  background: #fff;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ----- nav ---------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand--footer img {
  height: 34px;
}

.brand__desc {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15.5px;
}

.nav__links a:hover,
.nav__links a[aria-current='page'] {
  color: var(--ink);
  background: var(--sunken);
  text-decoration: none;
}

.nav__actions {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav__toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.nav__menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 12px var(--gutter) 20px;
}

.nav__menu[data-open='true'] {
  display: block;
}

.nav__menu a:not(.btn) {
  display: block;
  padding: 12px 8px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav__menu .btn {
  margin-top: 14px;
}

@media (min-width: 900px) {
  .nav__links,
  .nav__actions {
    display: flex;
  }

  .nav__toggle,
  .nav__menu {
    display: none !important;
  }
}

/* ----- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(36px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(201, 211, 216, 0.55), transparent 70%),
    radial-gradient(50% 45% at 75% 20%, rgba(247, 244, 239, 1), transparent 70%),
    radial-gradient(40% 40% at 60% 80%, rgba(224, 122, 63, 0.08), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero__pill b {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero .display {
  max-width: 980px;
  margin: 0 auto 22px;
}

.hero .lede {
  max-width: 720px;
  margin: 0 auto 34px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--dim);
}

/* ----- app grid (the Odoo gesture) --------------------------------------- */

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 1060px;
  margin: clamp(32px, 5vw, 60px) auto 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .apps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .apps-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
  }
}

.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 6px;
  border-radius: var(--radius);
  color: var(--ink);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}

.app-tile:hover {
  text-decoration: none;
  transform: translateY(-3px);
  background: var(--cream);
}

.app-tile__icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 24%;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--ink);
  font-size: 30px;
  box-shadow: 0 8px 18px -10px rgba(28, 43, 51, 0.55);
}

.app-tile__icon .icon {
  stroke-width: 1.7;
}

.app-tile__icon::after {
  content: '';
  position: absolute;
  top: 16%;
  right: 16%;
  width: 15%;
  height: 15%;
  border-radius: 28%;
  background: var(--copper);
}

/* Tone classes are kept on the markup so a future variant can use them; in
   the brand system every tile is ink. */
.t-royal, .t-electric, .t-violet, .t-sky, .t-navy, .t-oak, .t-teal, .t-indigo { background: var(--ink); }

.apps-more {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
}

/* ----- sections ----------------------------------------------------------- */

.section {
  padding: clamp(56px, 8vw, 112px) 0;
}

.section--tight {
  padding: clamp(40px, 6vw, 80px) 0;
}

.section--paper {
  background: var(--cream);
}

.section--dark {
  background: var(--ink);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark .lede {
  color: rgba(255, 255, 255, 0.72);
}

.section--royal {
  background: var(--slate);
  color: var(--cream);
}

.section--royal h2,
.section--royal h3 {
  color: #fff;
}

.section--royal .lede {
  color: rgba(255, 255, 255, 0.8);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .h2 {
  margin: 14px 0 16px;
}

/* ----- feature split ------------------------------------------------------ */

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .split--flip .split__copy {
    order: 2;
  }
}

.split > *,
.trial-layout > * {
  min-width: 0;
}

.split + .split {
  margin-top: clamp(64px, 9vw, 128px);
}

.split__copy .h2 {
  margin: 14px 0 16px;
}

.split__copy .lede {
  margin-bottom: 22px;
}

.checks {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.checks li .icon {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  color: var(--good);
  stroke-width: 2.2;
}

.section--dark .checks li,
.section--royal .checks li {
  color: rgba(255, 255, 255, 0.8);
}

.section--royal .checks li .icon {
  color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.link-arrow .icon {
  transition: transform 0.15s ease;
}

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

/* ----- cards -------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 18px;
}

.cards--2 {
  grid-template-columns: 1fr;
}

.cards--3 {
  grid-template-columns: 1fr;
}

.cards--4 {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 700px) {
  .cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

a.card {
  color: inherit;
}

a.card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--ink);
  background: var(--info-tint);
  margin-bottom: 18px;
}

.card__icon--violet {
  color: var(--slate);
  background: var(--slate-tint);
}

.card__icon--oak {
  color: #8d6436;
  background: var(--copper-tint);
}

.card__icon--good {
  color: var(--good);
  background: var(--good-tint);
}

.card .h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15.5px;
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.section--dark .card .h3 {
  color: #fff;
}

.section--dark .card p {
  color: rgba(255, 255, 255, 0.72);
}

.section--dark .card__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--copper);
}

/* ----- stats -------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats b {
  display: block;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stats span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

/* ----- product mock-ups --------------------------------------------------- */

.mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

.mock__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mock__bar span {
  margin-left: 8px;
}

.mock__body {
  padding: 16px;
}

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

.mock__row:last-child {
  border-bottom: 0;
}

.mock__row b {
  font-weight: 600;
}

.mock__row small {
  color: var(--dim);
  display: block;
  font-size: 12px;
}

.mock__thumb {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex: none;
  background: linear-gradient(140deg, var(--copper-tint), var(--copper));
}

.mock__thumb--blue {
  background: linear-gradient(140deg, #cfe0ff, var(--slate));
}

.mock__thumb--navy {
  background: linear-gradient(140deg, #b9c7e6, var(--ink));
}

.mock__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.mock__total span {
  font-size: 20px;
}

.mock__pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.mock__pay span {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 9px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
}

.mock__pay span:last-child {
  background: var(--copper);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.chip--good {
  background: var(--good-tint);
  color: var(--good);
}

.chip--info {
  background: var(--info-tint);
  color: var(--ink);
}

.chip--violet {
  background: var(--slate-tint);
  color: var(--slate);
}

.chip--oak {
  background: var(--copper-tint);
  color: #8d6436;
}

.chip--warn {
  background: #fdf1e1;
  color: #b26a12;
}

.chip--muted {
  background: var(--sunken);
  color: var(--muted);
}

.mock__kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock__col h5 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.mock__card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.mock__card b {
  display: block;
  font-weight: 600;
}

.mock__card small {
  color: var(--dim);
}

.mock__toby {
  display: grid;
  gap: 10px;
}

.mock__msg {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 14px;
  line-height: 1.45;
  background: var(--cream);
  border: 1px solid var(--line);
}

.mock__msg--me {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.mock__msg--ai {
  border-color: #d6c8ff;
  background: linear-gradient(140deg, #f6f2ff, #eef3ff);
}

.mock__msg--ai b {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--slate);
  font-size: 12px;
  margin-bottom: 4px;
}

.mock__calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock__field {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}

.mock__field small {
  display: block;
  color: var(--dim);
  font-size: 11px;
}

.mock__field b {
  font-size: 14px;
}

.mock__result {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--info-tint);
  color: var(--ink);
  font-weight: 600;
}

.mock__result b {
  font-size: 18px;
}

.mock__float {
  position: absolute;
  right: -10px;
  bottom: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
}

.mock__float .icon {
  color: var(--good);
}

@media (max-width: 899px) {
  .mock__float {
    display: none;
  }
}

/* ----- ledger / xero -------------------------------------------------------- */

.mock__table {
  width: 100%;
  border-collapse: collapse;
}

.mock__table th,
.mock__table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}

.mock__table td.num,
.mock__table th.num {
  white-space: nowrap;
}

.mock__table th {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}

.mock__table td.num,
.mock__table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ----- diagram: one company, many sites ------------------------------------ */

.diagram {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink), var(--slate));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.diagram__hub {
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.diagram__hub b {
  display: block;
  font-size: 16px;
}

.diagram__hub span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.diagram__sites {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.diagram__site {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 12px;
  font-size: 12.5px;
  line-height: 1.4;
}

.diagram__site b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 4px;
}

.diagram__site .icon {
  color: var(--ink);
}

.diagram__site small {
  color: var(--dim);
}

.diagram__link {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

/* ----- trades ------------------------------------------------------------- */

.trade {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: #fff;
}

.trade--furniture {
  background: linear-gradient(160deg, var(--ink), var(--slate));
}

.trade--flooring {
  background: linear-gradient(160deg, var(--slate), var(--ink));
}

.trade--interiors {
  background: linear-gradient(160deg, #3a5a68, var(--slate));
}

.trade::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
}

.trade > * {
  position: relative;
}

.trade .icon {
  font-size: 40px;
  margin-bottom: auto;
  opacity: 0.9;
}

.trade h3 {
  color: #fff;
  font-size: 24px;
  margin: 24px 0 8px;
}

.trade p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

/* ----- pricing ------------------------------------------------------------ */

.plans {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.plan--featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  position: relative;
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 22px;
}

.plan__for {
  color: var(--muted);
  font-size: 15px;
  margin: 6px 0 20px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.plan__price b {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan__price span {
  color: var(--dim);
  font-size: 15px;
}

.plan__per {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 22px;
}

.plan .btn {
  margin-bottom: 22px;
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.plan li {
  display: flex;
  gap: 10px;
}

.plan li .icon {
  color: var(--ink);
  margin-top: 3px;
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.plan__limits {
  margin-top: auto;
  padding-top: 20px;
  font-size: 14px;
  color: var(--dim);
}

.addons {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}

.addons th,
.addons td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.addons th {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}

.addons td.num {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.addons small {
  display: block;
  color: var(--dim);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  color: var(--muted);
  padding-bottom: 18px;
}

/* ----- forms (sign in, trial) ---------------------------------------------- */

.form-shell {
  max-width: 520px;
  margin: 0 auto;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label,
legend.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field .hint {
  font-size: 13.5px;
  color: var(--dim);
}

.input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: 0 0 0 4px rgba(46, 74, 87, 0.18);
}

.input[aria-invalid='true'] {
  border-color: #b3261e;
}

.input--domain {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.input--domain input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  text-align: right;
}

.input--domain input:focus {
  outline: none;
}

.input--domain:focus-within {
  border-color: var(--slate);
  box-shadow: 0 0 0 4px rgba(46, 74, 87, 0.18);
}

.input--domain span {
  display: flex;
  align-items: center;
  padding: 0 14px 0 2px;
  color: var(--dim);
  font-weight: 500;
  white-space: nowrap;
}

.error {
  display: none;
  color: #b3261e;
  font-size: 14px;
  font-weight: 500;
  margin-top: -8px;
  margin-bottom: 16px;
}

.error[data-show='true'] {
  display: block;
}

.recent {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.recent li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
}

.recent li a:hover {
  text-decoration: none;
  border-color: var(--ink);
  background: var(--info-tint);
}

.recent li a small {
  color: var(--dim);
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
  color: var(--dim);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.picker {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .picker {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .picker {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pick {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pick:hover {
  border-color: var(--line-strong);
}

.pick input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.pick:has(input:checked) {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(28, 43, 51, 0.14);
  background: #f7f9ff;
}

.pick:has(input:focus-visible) {
  outline: 3px solid var(--slate);
  outline-offset: 2px;
}

.pick__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  flex: none;
}

.pick > span:not(.pick__icon):not(.pick__tick) {
  min-width: 0;
  padding-right: 26px;
}

.pick b {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
}

.pick small {
  display: block;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.4;
  margin-top: 2px;
}

.pick .chip {
  margin-top: 8px;
}

.pick__tick {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: #fff;
  background: #fff;
}

.pick:has(input:checked) .pick__tick {
  background: var(--ink);
  border-color: var(--ink);
}

.pick__tick .icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.summary {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.summary h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.summary__domain {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  word-break: break-all;
  margin-bottom: 14px;
}

.summary ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.summary ul li {
  display: flex;
  gap: 8px;
}

.summary ul li .icon {
  color: var(--ink);
  margin-top: 3px;
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.summary__total span {
  font-size: 22px;
}

.trial-layout {
  display: grid;
  gap: 28px;
}

@media (min-width: 1000px) {
  .trial-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

.steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--sunken);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.steps li::before {
  content: counter(step);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
}

.steps li[aria-current='step'] {
  background: var(--ink);
  color: #fff;
}

.steps li[aria-current='step']::before {
  background: #fff;
}

.notice {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--info-tint);
  border: 1px solid #c7dbff;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}

.notice .icon {
  flex: none;
  margin-top: 3px;
}

.notice--good {
  background: var(--good-tint);
  border-color: #bfe0cc;
  color: var(--good);
}

/* ----- cta band ----------------------------------------------------------- */

.cta {
  text-align: center;
}

.cta .h2 {
  margin-bottom: 14px;
}

.cta .lede {
  margin: 0 auto 30px;
  max-width: 620px;
}

/* ----- footer ------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: #bcc8ce;
  padding: 64px 0 36px;
  font-size: 15px;
}

.footer__grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .footer__brand {
    grid-column: auto;
  }
}

.footer .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer__strap {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ----- page hero (inner pages) --------------------------------------------- */

.page-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px);
}

.page-hero .display {
  font-size: clamp(36px, 5vw, 60px);
  margin: 14px 0 18px;
  max-width: 820px;
}

.page-hero .lede {
  max-width: 680px;
}

/* ----- app catalogue page --------------------------------------------------- */

.catalogue-group {
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}

.catalogue-group:first-of-type {
  border-top: 0;
}

.catalogue-group .h3 {
  margin-bottom: 6px;
}

.catalogue-group > .muted {
  margin-bottom: 22px;
}

.app-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.app-row .app-tile__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  font-size: 22px;
}

.app-row b {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 16px;
  margin-bottom: 4px;
}

.app-row p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ----- about ----------------------------------------------------------------- */

.meaning {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .meaning {
    grid-template-columns: repeat(2, 1fr);
  }
}

.meaning__row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.meaning__letter {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  min-width: 56px;
}

.meaning__term {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}

.meaning__body {
  color: var(--muted);
  font-size: 15.5px;
}

/* ----- utilities ------------------------------------------------------------ */

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.center { text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.c-royal, .c-violet, .c-oak { color: inherit; }

/* ----- the pillars band (the sheet's bottom strip) ---------------------------- */

.pillars {
  background: var(--slate);
  color: var(--cream);
  padding: 22px 0;
}

.pillars__inner {
  display: grid;
  gap: 18px;
  align-items: center;
}

@media (min-width: 1000px) {
  .pillars__inner {
    grid-template-columns: auto 1fr;
    gap: 36px;
  }
}

.pillars__lead {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  padding-right: 24px;
}

@media (min-width: 1000px) {
  .pillars__lead {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
}


.pillars ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
}

@media (min-width: 700px) {
  .pillars ul {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pillars li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}

.pillars li .icon {
  font-size: 26px;
  stroke-width: 1.5;
  color: var(--copper);
}

.pillars li b {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

/* ----- legal pages ---------------------------------------------------------- */

.legal {
  max-width: 780px;
}

.legal h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16.5px;
}

.legal ul {
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

/* ----- product screenshots in the feature sections --------------------------- */

.shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.shot img {
  width: 100%;
  height: auto;
}

.shot img {
  image-rendering: auto;
}

.shot--hero {
  max-width: 1120px;
  margin: clamp(32px, 5vw, 56px) auto 0;
}
