/* ============================================================
   Roomsy 2026 — Hi-fi Homepage
   Aesthetic: confident hospitality software.
   Warm off-white canvas, deep ink type, single terracotta accent.
   Editorial serif headlines (Fraunces alternative: Instrument Serif)
   Clean grotesk body (Geist).
   ============================================================ */

:root {
  /* Color */
  --ink: #15140F;
  --ink-2: #2A2823;
  --ink-3: #5A574E;
  --ink-4: #8A8678;
  --line: #E5E1D6;
  --line-2: #EFECE3;
  --paper: #F6F2E8;
  --paper-2: #FBF8EF;
  --white: #FFFDF6;
  --accent: #C75A3A;          /* terracotta */
  --accent-ink: #8A3A21;
  --accent-soft: #F4D9CC;
  --green: #4A6B3E;            /* available */
  --amber: #C58E2A;            /* held */
  --slate: #4A5568;

  /* Type */
  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --f-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-card: 0 1px 0 rgba(21,20,15,.04), 0 12px 40px -12px rgba(21,20,15,.18);
  --shadow-pop:  0 1px 0 rgba(21,20,15,.04), 0 24px 60px -16px rgba(21,20,15,.28);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ---- Type ---- */
.h-display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: var(--ink);
}
.h-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.h-section {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--ink);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper-2);
}
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(21,20,15,.06); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 242, 232, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.brand-img {
  height: 22px;
  width: auto;
  display: block;
}
.footer .brand-img { height: 26px; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background .15s ease;
}
.nav-link:hover { background: rgba(21,20,15,.05); }
.nav-cta { display: flex; gap: 6px; }

/* ---- Hero ---- */
.hero {
  padding: 56px 0 32px;
  position: relative;
  overflow: hidden;
}

/* ---- Hero — Aurora variant: animated mesh gradient + dotted globe ---- */
.hero.hero-aurora {
  padding: 80px 0 96px;
  margin-bottom: 32px;
  border-radius: 0 0 32px 32px;
  isolation: isolate;
}
.hero.hero-aurora h1 { color: #fff; text-shadow: 0 1px 40px rgba(40, 20, 80, 0.25); }
.hero.hero-aurora h1 em { color: #ffd3a8; }
.hero.hero-aurora .hero-sub { color: rgba(255,255,255,0.86); max-width: 460px; }
.hero.hero-aurora .btn-primary {
  background: #fff;
  color: #2a1d6b;
}
.hero.hero-aurora .btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.3);
}
.hero.hero-aurora .btn-ghost {
  color: rgba(255,255,255,0.94);
}
.hero.hero-aurora .btn-ghost:hover { background: rgba(255,255,255,0.12); }

.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  background: #1a1654; /* deep base — peeks through behind everything */
}

/* Animated mesh gradient — 4 large color blobs drift & pulse */
.hero-bg-mesh {
  position: absolute; inset: -10%;
  filter: blur(60px) saturate(140%);
}
.hero-bg-mesh .blob {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.95;
}
.hero-bg-mesh .b1 {
  background: radial-gradient(circle, #4a7df5 0%, transparent 65%);
  top: -10%; left: -5%;
  animation: blobDrift1 22s ease-in-out infinite alternate;
}
.hero-bg-mesh .b2 {
  background: radial-gradient(circle, #8a4ff0 0%, transparent 65%);
  top: 5%; right: -10%;
  animation: blobDrift2 28s ease-in-out infinite alternate;
}
.hero-bg-mesh .b3 {
  background: radial-gradient(circle, #c554d6 0%, transparent 60%);
  bottom: -25%; left: 30%;
  width: 70vw; height: 70vw;
  animation: blobDrift3 34s ease-in-out infinite alternate;
}
.hero-bg-mesh .b4 {
  background: radial-gradient(circle, #38c5ff 0%, transparent 60%);
  bottom: -10%; left: -15%;
  width: 50vw; height: 50vw;
  opacity: 0.7;
  animation: blobDrift4 26s ease-in-out infinite alternate;
}
@keyframes blobDrift1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(8vw, 6vh) scale(1.15); }
}
@keyframes blobDrift2 {
  0%   { transform: translate(0,0) scale(1.1); }
  100% { transform: translate(-6vw, 4vh) scale(1); }
}
@keyframes blobDrift3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-10vw, -8vh) scale(1.2); }
}
@keyframes blobDrift4 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(6vw, -4vh) scale(1.1); }
}

/* Dotted globe wireframe — sits behind the iMac on the right */
.hero-bg-globe-wrap {
  position: absolute;
  right: -8%; top: 50%;
  transform: translateY(-50%);
  width: 70%; aspect-ratio: 1;
  max-width: 720px;
  pointer-events: none;
}
.hero-bg-globe {
  width: 100%; height: 100%;
  animation: globeSpin 90s linear infinite;
  opacity: 0.85;
}
@keyframes globeSpin {
  to { transform: rotate(360deg); }
}

/* Sweeping orbital arcs — give a sense of motion + connectivity */
.hero-bg-orbits {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
  animation: orbitsPulse 8s ease-in-out infinite;
}
@keyframes orbitsPulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 0.75; }
}

/* Subtle film grain — kills any banding in the gradient */
.hero-bg-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPScwIDAgMCAwIDEgIDAgMCAwIDAgMSAgMCAwIDAgMCAxICAwIDAgMCAwLjYgMCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJyBmaWx0ZXI9J3VybCglMjNuKScgb3BhY2l0eT0nMC41Jy8+PC9zdmc+");
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-bg-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(20, 10, 50, 0.45) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 30%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow-row {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  white-space: nowrap;
}
.hero-eyebrow-row .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74,107,62,.18);
}
.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.02;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 480px;
}
.hero-actions {
  margin-top: 30px;
  display: flex; gap: 10px; align-items: center;
}
.hero-meta {
  margin-top: 28px;
  display: flex; align-items: center; gap: 18px;
  color: var(--ink-3);
  font-size: 13px;
}
.hero-meta .stars {
  display: inline-flex; gap: 2px;
  color: var(--accent);
}
.hero-meta-divider {
  width: 1px; height: 14px; background: var(--line);
}

/* ---- App preview shell (the live calendar mock) ---- */
.app-shell {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  transform: perspective(1800px) rotateY(-3deg) rotateX(2deg);
  transform-origin: center;
}
.app-titlebar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, #fbf9f2 0%, #f7f4ea 100%);
}
.tl-dots { display: flex; gap: 6px; }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.tl-dot:nth-child(1) { background: #E08372; }
.tl-dot:nth-child(2) { background: #D9B259; }
.tl-dot:nth-child(3) { background: #7BA973; }
.tl-url {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
  flex: 1; text-align: center;
}

.app-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: 480px;
}
.app-side {
  border-right: 1px solid var(--line-2);
  padding: 14px 12px;
  background: var(--paper-2);
  font-size: 12.5px;
  display: flex; flex-direction: column; gap: 2px;
}
.app-side .group-label {
  font-family: var(--f-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  padding: 10px 8px 4px;
}
.app-side .item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .12s;
}
.app-side .item:hover { background: rgba(21,20,15,.04); }
.app-side .item.active { background: var(--ink); color: var(--paper-2); }
.app-side .item .ico {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: .85;
}
.app-side .item .count {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 10px;
  opacity: .7;
}

.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-toolbar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
}
.app-toolbar .title {
  font-family: var(--f-display);
  font-size: 18px;
}
.app-toolbar .seg {
  display: flex; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden;
  margin-left: auto;
  font-size: 11.5px;
  font-family: var(--f-mono);
}
.app-toolbar .seg button {
  padding: 5px 10px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.app-toolbar .seg button.on { background: var(--ink); color: var(--paper-2); }
.app-toolbar .pill {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

/* The actual calendar grid */
.cal {
  flex: 1;
  display: grid;
  grid-template-columns: 120px repeat(14, 1fr);
  font-size: 11px;
  position: relative;
  overflow: hidden;
}
.cal-head {
  display: contents;
}
.cal-head .col {
  border-bottom: 1px solid var(--line-2);
  padding: 8px 6px;
  text-align: center;
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.cal-head .col.weekend { background: rgba(199,90,58,.04); }
.cal-head .col .dow { font-size: 9px; text-transform: uppercase; opacity: .6; }
.cal-head .col .dnum { font-size: 13px; color: var(--ink); margin-top: 2px; font-family: var(--f-display); }
.cal-head .roomh {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  padding: 8px 12px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  display: flex; align-items: center;
}

.cal-row { display: contents; }
.cal-room {
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
  background: var(--paper-2);
  font-size: 11.5px;
  color: var(--ink-2);
  height: 44px;
}
.cal-room .swatch {
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent);
}
.cal-cell {
  border-bottom: 1px solid var(--line-2);
  border-right: 1px dashed rgba(21,20,15,0.05);
  position: relative;
  height: 44px;
}
.cal-cell.weekend { background: rgba(199,90,58,.025); }

.booking {
  position: absolute;
  top: 6px; bottom: 6px;
  border-radius: 6px;
  padding: 0 10px;
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  z-index: 2;
}
.booking:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgba(21,20,15,.3); z-index: 3; }
.booking.confirmed { background: var(--ink); color: var(--paper-2); }
.booking.held { background: var(--amber); color: white; }
.booking.checkedin { background: var(--accent); color: white; }
.booking.confirmed-2 { background: #2D4933; color: white; }
.booking .ota {
  font-family: var(--f-mono);
  font-size: 8.5px;
  text-transform: uppercase;
  opacity: .6;
  letter-spacing: 0.08em;
}
.booking .name { font-weight: 500; }

/* "Live" indicator floating over hero card */
.live-tag {
  position: absolute;
  left: -8px; top: -16px;
  z-index: 5;
  background: var(--ink);
  color: var(--paper-2);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-card);
  transform: rotate(-3deg);
}
.live-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.floating-stat {
  position: absolute;
  right: -18px; bottom: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  font-size: 12px;
  display: flex; flex-direction: column; gap: 4px;
  transform: rotate(2deg);
}
.floating-stat .num {
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: -0.02em;
}
.floating-stat .lbl { color: var(--ink-3); font-size: 11px; }

.review-card {
  padding: 16px 18px;
  gap: 10px;
  transform: rotate(-2deg);
  min-width: 200px;
}
.review-card .review-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-2);
}
.review-card .review-row .stars {
  display: inline-flex; gap: 2px;
  color: #f4a72b;
}
.review-card .review-source {
  font-weight: 500;
  color: var(--ink);
  font-size: 12px;
}
.review-card .review-foot {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid var(--line-2);
  margin-top: 4px;
}

/* ---- Logo strip ---- */
.logos {
  padding: 28px 0 56px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.logos-label {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 22px;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  align-items: center;
}
.logo-mark {
  font-family: var(--f-display);
  text-align: center;
  color: var(--ink-3);
  font-size: 18px;
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity .15s, color .15s;
}
.logo-mark:hover { opacity: 1; color: var(--ink); }
.logo-mark .mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- Section: Built for ---- */
.section { padding: 100px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(40px, 5.2vw, 68px);
  margin: 14px 0 0;
}
.section-head p {
  color: var(--ink-3);
  font-size: 17px;
  line-height: 1.55;
  max-width: 460px;
  margin: 0;
}

.builtfor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.builtfor .tile {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  background: var(--ink-2);
  display: block;
}
.builtfor .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.builtfor .tile .tile-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.builtfor .tile:hover .tile-img { transform: scale(1.04); }
.builtfor .tile .tile-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.65) 100%);
}
.builtfor .tile .label {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  color: white;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.builtfor .tile .count {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.85);
}
.builtfor .tile .arrow {
  position: absolute;
  top: 12px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: background .15s, transform .15s;
}
.builtfor .tile:hover .arrow { background: white; color: var(--ink); transform: rotate(-45deg); }

/* ---- Features ---- */
.features-section {
  background: var(--ink);
  color: var(--paper-2);
  padding: 120px 0;
  border-radius: 24px;
  margin: 0 28px;
}
.features-section .container { max-width: 1184px; }
.features-section .h-eyebrow { color: rgba(246,242,232,.5); }
.features-section h2 { color: var(--paper-2); }
.features-section .section-head p { color: rgba(246,242,232,.65); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(246,242,232,.1);
  border: 1px solid rgba(246,242,232,.1);
  border-radius: 16px;
  overflow: hidden;
}
.feature {
  background: var(--ink);
  padding: 28px 24px 32px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
  transition: background .2s ease;
  cursor: pointer;
  position: relative;
}
.feature:hover { background: var(--ink-2); }
.feature .num {
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(246,242,232,.4);
  letter-spacing: 0.12em;
}
.feature .ttl {
  font-family: var(--f-display);
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-top: 60px;
}
.feature .desc {
  font-size: 13px;
  color: rgba(246,242,232,.6);
  line-height: 1.5;
  margin-top: auto;
}
.feature .ico {
  position: absolute;
  top: 24px; right: 24px;
  width: 26px; height: 26px;
  color: rgba(246,242,232,.4);
  transition: color .2s;
}
.feature:hover .ico { color: var(--accent); }

/* ---- Testimonials ---- */
.testimonials { padding: 120px 0; }
.testimonials .head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 48px;
  gap: 32px;
}
.testimonials h2 {
  font-size: clamp(40px, 5.2vw, 68px);
  margin: 14px 0 0;
  max-width: 720px;
}
.testimonial-controls { display: flex; gap: 8px; }
.tc-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.tc-btn:hover { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.tc-btn:disabled { opacity: .35; cursor: not-allowed; }
.tc-btn:disabled:hover { background: transparent; color: var(--ink); border-color: var(--line); }

.t-rail {
  display: flex; gap: 18px;
  overflow: hidden;
}
.t-card {
  flex: 0 0 calc((100% - 54px) / 4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.t-photo {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--paper-2);
  flex-shrink: 0;
}
.t-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.t-body {
  padding: 20px 22px 20px;
  display: flex; flex-direction: column;
  flex: 1;
}
.t-card .stars { display: flex; gap: 2px; color: var(--accent); }
.t-card .quote {
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 1;
}
.t-card .who {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.t-card .who-text { min-width: 0; }
.t-card .who-stars { flex-shrink: 0; opacity: 0.85; }
.t-card .name { font-size: 15px; font-weight: 500; }
.t-card .place { font-size: 12px; color: var(--ink-3); font-family: var(--f-mono); letter-spacing: 0.02em; margin-top: 2px; }
.t-card .ota-badge {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

/* ---- OTA strip ---- */
.ota-strip {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ota-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.ota-grid h2 { font-size: clamp(36px, 4.6vw, 56px); margin: 14px 0 0; }
.ota-grid p { color: var(--ink-3); font-size: 17px; line-height: 1.55; max-width: 440px; }

.ota-viz {
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.ota-center {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  z-index: 4;
  position: relative;
}
.ota-center::after {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px dashed var(--line);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ota-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.ota-orbit.r1 { width: 50%; height: 50%; }
.ota-orbit.r2 { width: 78%; height: 78%; }
.ota-orbit.r3 { width: 100%; height: 100%; }

.ota-node {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-card);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.ota-node .swatch {
  width: 18px; height: 18px;
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--f-mono);
}

/* ---- FAQ ---- */
.faq-section { padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq-grid h2 { font-size: clamp(40px, 5.2vw, 68px); margin: 14px 0 0; }
.faq-grid .faq-intro { color: var(--ink-3); font-size: 16px; max-width: 320px; line-height: 1.55; margin-top: 20px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: var(--f-display);
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .15s;
  font-size: 18px;
}
.faq-item.open .faq-q .plus { background: var(--ink); color: var(--paper-2); border-color: var(--ink); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.2,.8,.2,1), margin-top .25s;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 220px; margin-top: 14px; }
.faq-a-inner { padding-bottom: 4px; }

/* ---- CTA Banner ---- */
.cta-banner {
  margin: 0 28px 60px;
  background: var(--accent);
  color: white;
  border-radius: 24px;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  right: 80px; bottom: -180px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.cta-banner h2 {
  font-family: var(--f-display);
  font-size: clamp(44px, 5.4vw, 76px);
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
}
.cta-banner h2 em { font-style: italic; }
.cta-banner .sub {
  font-size: 17px;
  line-height: 1.5;
  opacity: .88;
  max-width: 360px;
  margin-top: 18px;
}
.cta-actions {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
.cta-banner .btn-primary { background: var(--ink); color: var(--paper-2); }
.cta-banner .btn-primary:hover { background: white; color: var(--ink); }
.cta-trial {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: .85;
  white-space: nowrap;
}
.cta-trial .check {
  width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.3);
  display: inline-flex; align-items: center; justify-content: center; font-size: 9px;
  flex-shrink: 0;
}

/* ---- Footer ---- */
.footer {
  padding: 80px 0 36px;
  background: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer .brand { font-size: 24px; }
.footer-tag { color: var(--ink-3); font-size: 14px; line-height: 1.55; margin-top: 14px; max-width: 260px; }
.footer-col-title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.newsletter-form {
  display: flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  align-items: center;
  margin-top: 10px;
}
.newsletter-form input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  padding: 8px 4px;
}
.newsletter-form input::placeholder { color: var(--ink-4); }
.newsletter-form button {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-2);
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}
.footer-bottom a:hover { color: var(--ink); }
.footer-locales { display: flex; gap: 18px; }

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  min-width: 0;
}
/* Soft warm halo behind the iMac — separates the white monitor from the cream page */
.hero:not(.hero-aurora) .hero-visual { isolation: isolate; }
.hero:not(.hero-aurora) .hero-visual::before {
  content: '';
  position: absolute;
  inset: -10% -15% -4% -10%;
  background: radial-gradient(
    ellipse 62% 55% at 52% 42%,
    #E8D2A8 0%,
    rgba(232, 210, 168, 0.55) 32%,
    rgba(232, 210, 168, 0.15) 60%,
    transparent 78%
  );
  filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}
.imac-wrap {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 30px 40px rgba(21,20,15,.18));
}
.imac-wrap img { width: 100%; height: auto; display: block; }

/* OTA logo grid (replaces orbit viz) */
.ota-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.ota-logo-cell {
  background: var(--white);
  aspect-ratio: 1.6;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 22px;
  transition: background .15s;
}
.ota-logo-cell:hover { background: var(--paper-2); }
.ota-logo-cell img {
  max-width: 80%;
  max-height: 84px;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter .2s;
}
.ota-logo-cell:hover img { filter: grayscale(0); }
@media (max-width: 1100px) {
  .t-card { flex: 0 0 calc((100% - 36px) / 3); }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .builtfor { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ota-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logos-row { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .t-card { flex: 0 0 calc((100% - 18px) / 2); }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .nav-links .nav-link:not(:last-child) { display: none; }
  .builtfor { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .footer-grid { grid-template-columns: 1fr; }
  .features-section { margin: 0 12px; padding: 64px 0; }
  .cta-banner { margin: 0 12px 40px; padding: 48px 28px; }
  .testimonials .head { flex-direction: column; align-items: flex-start; }
  .t-card { flex: 0 0 calc(100% - 8px); }
}
