/* Nuitée for Sabre — 2026 refresh
   Palette per Sabre 2026 brand: terracotta #E2553C, off-white #F3EFE4, near-black #1F2937 */

:root {
  --terracotta: #e2553c;
  --terracotta-deep: #c4432c;
  --terracotta-soft: rgba(226, 85, 60, 0.1);
  --canvas: #f3efe4;
  --canvas-2: #ece6d6;
  --ink: #000000;
  --ink-soft: #555555;
  --muted: #767676;
  --line: #ded7c4;
  --line-soft: #e7e1d1;
  --white: #fffdf8;
  --gold: #ebc73a;
  --sabre-bevel: polygon(
    6px 0,
    calc(100% - 6px) 0,
    100% 6px,
    100% calc(100% - 6px),
    calc(100% - 6px) 100%,
    6px 100%,
    0 calc(100% - 6px),
    0 6px
  );
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.sabre-page {
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sabre-page a {
  color: inherit;
  text-decoration: none;
}

.sabre-page img {
  max-width: 100%;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- reveal on scroll ---------- */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 650ms var(--ease-out),
    transform 650ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  clip-path: var(--sabre-bevel);
  border: none;
  cursor: pointer;
  font: 600 16px/1 "Outfit", sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease-out),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.sabre-page .btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(196, 67, 44, 0.25);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
}

.btn .btn-ico {
  display: inline-flex;
  align-items: center;
  transition: transform 200ms var(--ease-out);
}

.btn .btn-ico svg {
  width: 15px;
  height: 15px;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn-ico {
    transform: translateX(3px);
  }
}

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

.sabre-page .text-link {
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 180ms ease;
}

.text-link:hover {
  text-decoration-color: var(--terracotta);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-top: 3px solid var(--gold);
  background: rgba(243, 239, 228, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand img {
  height: 22px;
  display: block;
}

.nav-brand .cobrand-x {
  color: var(--muted);
  font-size: 16px;
}

.nav-brand .sabre-logo {
  height: 15px;
  width: auto;
  display: block;
}

.nav-actions .for-sabre {
  font-size: 15px;
  color: var(--ink-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-actions .login {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 150ms ease;
}

.nav-actions .login:hover {
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 40px;
}

.sabre-page section.after-hero {
  padding-top: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 22px;
}

.eyebrow .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px var(--terracotta-soft);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.08;
  text-wrap: balance;
  letter-spacing: -0.025em;
  font-weight: 650;
}

.hero h1 em {
  font-style: normal;
  color: var(--terracotta);
  white-space: nowrap;
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 15px;
}

.hero-lockup img {
  height: 18px;
  width: auto;
  display: block;
}

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

.hero .sub {
  margin: 0 0 34px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-art {
  justify-self: end;
  width: min(100%, 420px);
}

.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.compass-ring {
  transform-origin: 210px 210px;
  animation: ring-drift 90s linear infinite;
}

@keyframes ring-drift {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .compass-ring {
    animation: none;
  }
}

/* ---------- trust strip ---------- */
.trust {
  background: var(--canvas-2);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.trust .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.trust .divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terracotta);
}

.trust .sabre-logo {
  height: 15px;
  width: auto;
  display: block;
}

/* ---------- sections ---------- */
.sabre-page section {
  padding: 104px 0;
}

.on-white {
  background: var(--white);
}

.sabre-page h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 650;
  max-width: 24ch;
}

.section-eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.how .section-eyebrow {
  color: var(--terracotta);
}

.lead {
  margin: 0 0 52px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 54ch;
}

/* ---------- benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.benefit {
  padding: 34px 32px;
  background: var(--canvas);
  transition: transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .benefit:hover {
    transform: translateY(-6px);
  }
}

.benefit.feature {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.benefit .b-ico {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--terracotta-soft);
  color: var(--terracotta-deep);
}

.benefit.feature .b-ico {
  background: rgba(255, 253, 248, 0.16);
  color: var(--white);
}

.benefit .b-ico svg {
  width: 20px;
  height: 20px;
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.benefit p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.benefit.feature p {
  color: rgba(255, 253, 248, 0.88);
}

/* ---------- inventory ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 0 60px;
}

.stat {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.stat.accent {
  border-top-color: var(--terracotta);
}

.stat .num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat .num sup {
  color: var(--terracotta);
  font-size: 0.55em;
  top: -0.55em;
  position: relative;
}

.stat .lbl {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

.logo-row .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta-deep);
  white-space: nowrap;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.logo-row img {
  height: 30px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1);
  transition:
    opacity 220ms ease,
    filter 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .logo-row img:hover {
    opacity: 1;
    filter: none;
  }
}

/* ---------- how it works (dark) ---------- */
.how {
  background: var(--ink);
  color: var(--canvas);
}

.how h2 {
  color: var(--white);
}

.how .lead {
  color: rgba(243, 239, 228, 0.66);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--terracotta),
    rgba(226, 85, 60, 0.25)
  );
}

.step {
  position: relative;
}

.step .s-num {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  font-size: 15px;
  margin-bottom: 22px;
  box-shadow: 0 0 0 6px var(--ink);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 15.5px;
  color: rgba(243, 239, 228, 0.66);
}

/* ---------- rate models ---------- */
.models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.model {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  padding: 34px 32px;
  transition: transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .model:hover {
    transform: translateY(-6px);
  }
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  background: var(--terracotta-soft);
  clip-path: polygon(
    4px 0,
    calc(100% - 4px) 0,
    100% 4px,
    100% calc(100% - 4px),
    calc(100% - 4px) 100%,
    4px 100%,
    0 calc(100% - 4px),
    0 4px
  );
  padding: 6px 13px;
  margin-bottom: 22px;
}

.model {
  padding: 38px 36px;
}

.model .tag {
  align-self: flex-start;
  margin-bottom: 22px;
}

.model h3 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.model .lede {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.model .mech {
  background: var(--white);
  padding: 20px 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.model .mech b {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  font-weight: 600;
}

.model .fit b {
  color: var(--ink);
  font-weight: 600;
}

.model .fit {
  margin-top: auto;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- final cta ---------- */
.final {
  background: var(--terracotta);
  color: var(--ink);
  text-align: center;
  padding: 96px 0;
}

.final h2 {
  color: var(--ink);
  margin: 0 auto 30px;
  max-width: 14ch;
}

.sabre-page .btn-on-terracotta {
  background: var(--ink);
  color: var(--white);
}

.sabre-page .btn-on-terracotta:hover {
  background: #242424;
}

.final .aside {
  margin-top: 20px;
  font-size: 15px;
}

.final .aside a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(0, 0, 0, 0.4);
  transition: text-decoration-color 180ms ease;
}

.final .aside a:hover {
  text-decoration-color: var(--ink);
}

/* ---------- footer ---------- */
.sabre-page footer {
  background: var(--ink);
  color: var(--canvas);
  padding: 64px 0 36px;
  font-size: 14.5px;
}

.sabre-page footer .cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(243, 239, 228, 0.12);
}

.sabre-page footer .brand img {
  height: 20px;
  filter: invert(1) brightness(1.6);
}

.sabre-page footer .brand p {
  margin: 14px 0 0;
  max-width: 38ch;
  color: rgba(243, 239, 228, 0.6);
  line-height: 1.6;
}

.sabre-page footer .col-title {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(243, 239, 228, 0.5);
  margin-bottom: 12px;
}

.sabre-page footer .links a {
  display: block;
  padding: 4px 0;
  color: rgba(243, 239, 228, 0.75);
  transition: color 150ms ease;
}

.sabre-page footer .links a:hover {
  color: var(--white);
}

.sabre-page footer .meta {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(243, 239, 228, 0.45);
  font-size: 13px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .sabre-page section {
    padding: 72px 0;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .hero-art {
    justify-self: center;
    width: min(70%, 340px);
  }
  .steps,
  .models {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 32px;
  }
  .steps::before {
    left: 17px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      var(--terracotta),
      rgba(226, 85, 60, 0.25)
    );
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }
  .nav-actions .for-sabre {
    display: none;
  }
  .nav-actions {
    gap: 14px;
  }
  .benefits,
  .models,
  .stats {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 22px;
  }
  .logo-row {
    justify-content: center;
    gap: 22px 30px;
  }
  .logo-row img {
    height: 24px;
  }
  .hero .sub {
    font-size: 17px;
  }
  .final {
    padding: 72px 0;
  }
}
