:root {
  --ink: #14171c;
  --ink-2: #242a31;
  --muted: #646d78;
  --paper: #f8f6f1;
  --soft: #edf1f4;
  --line: rgba(20, 23, 28, 0.12);
  --red: #fa2a12;
  --red-dark: #b51e12;
  --cyan: #1f9ea8;
  --gold: #d9a23b;
  --green: #6db27c;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(20, 23, 28, 0.16);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  clip: auto;
  left: 16px;
  top: 16px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(248, 246, 241, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(248, 246, 241, 0.94);
}

.brand img {
  width: min(217px, 54vw);
  height: auto;
}

.brand,
.footer-brand {
  white-space: nowrap;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a {
  padding: 10px 12px;
  color: rgba(20, 23, 28, 0.74);
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(20, 23, 28, 0.07);
}

.site-nav .nav-cta {
  margin-left: 4px;
  color: var(--white);
  background: var(--ink);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--red);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.hero-home,
.product-hero {
  background:
    linear-gradient(115deg, rgba(250, 42, 18, 0.13), transparent 32%),
    linear-gradient(145deg, var(--paper), #e6eef4 72%);
}

.bookings-hero {
  background:
    linear-gradient(120deg, rgba(31, 158, 168, 0.19), transparent 34%),
    linear-gradient(145deg, var(--paper), #e8eef4 74%);
}

.help-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  background: linear-gradient(145deg, #15181d, #2b3037);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.product-copy h2,
.media-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(52px, 8vw, 116px);
}

.product-hero h1,
.help-hero h1 {
  font-size: clamp(44px, 6vw, 86px);
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.34;
}

.help-hero .lede,
.dark-band p,
.dark-band a {
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 28px rgba(250, 42, 18, 0.25);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.button.light {
  color: var(--ink);
  background: var(--white);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.text-only-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
}

.text-only-hero .hero-copy {
  max-width: 900px;
}

.large-shot,
.phone-overlap {
  position: absolute;
  filter: drop-shadow(0 30px 38px rgba(20, 23, 28, 0.28));
}

.home-stage {
  min-height: 640px;
}

.home-ai-device,
.home-bookings-device {
  position: absolute;
  filter: drop-shadow(0 30px 38px rgba(20, 23, 28, 0.22));
}

.home-ai-device {
  width: min(500px, 43vw);
  left: 0;
  top: 104px;
  z-index: 2;
}

.home-bookings-device {
  width: min(610px, 54vw);
  right: -2vw;
  top: 330px;
  z-index: 1;
}

.product-stage .large-shot {
  width: min(690px, 64vw);
  right: -8vw;
  top: 28px;
}

.ai-product-stage .large-shot {
  width: min(740px, 66vw);
  right: -6vw;
  top: 68px;
}

.phone-overlap {
  width: min(230px, 24vw);
  right: -5vw;
  bottom: 52px;
}

.device-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #2a2f37, #07090d);
  border: 1px solid rgba(20, 23, 28, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stock-macbook {
  position: relative;
  display: block;
  margin: 0;
  filter: drop-shadow(0 30px 38px rgba(20, 23, 28, 0.18));
}

.stock-macbook-device {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.stock-macbook-wallpaper,
.stock-macbook-screen {
  position: absolute;
  z-index: 2;
  left: 15.05%;
  top: 6.45%;
  width: 70.4%;
  height: 68.2%;
}

.stock-macbook-wallpaper {
  object-fit: cover;
  object-position: center;
}

.stock-macbook-screen {
  z-index: 3;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 1.1%;
  box-shadow: 0 18px 42px rgba(20, 23, 28, 0.24);
}

.ai-macbook .stock-macbook-screen {
  left: 34.6%;
  top: 15.6%;
  width: 28.5%;
  height: 48.4%;
}

.bookings-macbook .stock-macbook-screen {
  left: 23.9%;
  top: 14.8%;
  width: 52.8%;
  height: 45.7%;
  object-fit: cover;
}

.device-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #05070a;
  box-shadow: none;
}

.mac-frame {
  aspect-ratio: 16 / 10.6;
  padding: 18px 18px 62px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, #f6f7f8 0%, #cfd5da 70%, #aab2b9 100%);
  border-color: rgba(120, 128, 136, 0.38);
}

.mac-frame img {
  border-radius: 12px;
  border: 12px solid #090b0f;
}

.mac-frame::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 14px;
  height: 28px;
  border-radius: 4px 4px 24px 24px;
  background:
    radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.52), transparent 42%),
    linear-gradient(180deg, #e6e9ec, #aab1b8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.phone-frame {
  aspect-ratio: 9 / 19.5;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(145deg, #222831, #05070a);
}

.phone-frame img {
  border-radius: 30px;
}

.tablet-frame {
  aspect-ratio: 3 / 4;
  padding: 16px;
  border-radius: 34px;
  background: linear-gradient(145deg, #252b33, #07090d);
}

.tablet-frame img {
  border-radius: 22px;
}

.watch-frame {
  aspect-ratio: 5 / 6;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(145deg, #242932, #05070a);
}

.watch-frame img {
  border-radius: 24px;
}

.product-device {
  position: relative;
  width: 100%;
}

.media-device {
  position: relative;
}

.device-lineup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.32fr) minmax(74px, 0.22fr);
  gap: clamp(12px, 2vw, 22px);
  align-items: end;
  width: 100%;
}

.media-device-lineup {
  grid-template-columns: minmax(0, 1.7fr) minmax(104px, 0.3fr) minmax(82px, 0.22fr) minmax(60px, 0.14fr);
}

.lineup-mac,
.lineup-tablet,
.lineup-phone,
.lineup-watch {
  width: 100%;
}

.lineup-watch {
  margin-bottom: 8px;
}

.product-device-lineup {
  min-height: 360px;
}

.media-device-lineup {
  min-height: 460px;
}

.section,
.app-showcase,
.media-section {
  padding: clamp(64px, 8vw, 118px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.split h2,
.product-copy h2,
.media-section h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.split p,
.product-copy p,
.media-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.intro-band {
  background: var(--white);
}

.dark-band {
  color: var(--white);
  background: var(--ink);
}

.product-row {
  display: block;
  max-width: 820px;
  margin-bottom: clamp(62px, 8vw, 112px);
}

.product-row.alternate {
  margin-left: auto;
}

.product-media > img,
.media-section > img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-media .device-frame img,
.media-section .device-frame img {
  box-shadow: none;
}

.screenshot-band {
  background: #f3f6f8;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: clamp(30px, 5vw, 56px);
}

.screenshot-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screenshot-grid figure {
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 248, 0.88));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(20, 23, 28, 0.1);
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 16px;
  object-fit: contain;
  object-position: top center;
}

.screenshot-grid.two-up img {
  aspect-ratio: 4 / 3.2;
}

.screenshot-grid .wide-shot img {
  aspect-ratio: 16 / 10;
}

.screenshot-grid .phone-shot img {
  aspect-ratio: 9 / 16;
}

.screenshot-grid .tall-shot img {
  aspect-ratio: 3 / 4;
}

.screenshot-grid .watch-shot img {
  aspect-ratio: 1 / 1;
}

.screenshot-grid figcaption {
  min-height: 46px;
  padding: 12px 15px 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--red-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.feature-grid,
.platform-grid,
.faq-grid,
.manual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 56px);
}

.feature-grid article,
.platform-grid article,
.manual-grid article,
.faq-group,
.help-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(20, 23, 28, 0.07);
}

.feature-grid article,
.platform-grid article,
.manual-grid article {
  padding: 24px;
}

.feature-grid h3,
.platform-grid h3,
.manual-grid h3,
.faq-group h2,
.help-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.15;
}

.feature-grid p,
.platform-grid p,
.manual-grid p,
.faq-group p,
.help-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.bookings-help-section {
  background: #edf1f4;
}

.help-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.platform-band {
  background: #edf1f4;
}

.muted-card {
  opacity: 0.78;
}

.media-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--white);
}

.bookings-media-section {
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
}

.bookings-media-section h2 {
  font-size: clamp(32px, 4.2vw, 54px);
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-weight: 700;
}

.check-list li {
  margin: 12px 0;
  padding-left: 26px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.help-card {
  padding: 28px;
  align-self: center;
  color: var(--ink);
}

.faq-group {
  padding: 24px;
}

details {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

details:first-of-type {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  padding-top: 10px;
}

.data-section {
  background: #f6f8fa;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: 38px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #101318;
}

.footer-brand img {
  width: 173px;
  height: auto;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  line-height: 1.5;
}

.site-footer nav {
  display: grid;
  gap: 9px;
  justify-items: end;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: grid;
    align-items: stretch;
  }
  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }
  .hero,
  .help-hero,
  .split,
  .product-row,
  .product-row.alternate,
  .media-section,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 42px;
  }
  .hero-stage {
    min-height: 500px;
  }
  .home-stage {
    min-height: 620px;
  }
  .home-bookings-device {
    width: min(720px, 96vw);
    right: -18vw;
    top: 40px;
  }
  .home-ai-device {
    width: min(520px, 72vw);
    left: 0;
    top: 330px;
  }
  .device-lineup,
  .media-device-lineup {
    grid-template-columns: minmax(0, 1fr) minmax(88px, 0.3fr) minmax(68px, 0.2fr);
    min-height: auto;
  }
  .media-device-lineup .lineup-watch {
    display: none;
  }
  .product-row.alternate .product-media {
    order: 0;
  }
  .feature-grid,
  .platform-grid,
  .faq-grid,
  .manual-grid,
  .screenshot-grid,
  .screenshot-grid.two-up {
    grid-template-columns: 1fr;
  }
  .screenshot-grid img,
  .screenshot-grid.two-up img {
    height: auto;
    max-height: 520px;
  }
  .site-footer nav {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }
  .hero {
    padding-inline: 16px;
  }
  .hero h1 {
    font-size: clamp(42px, 15vw, 62px);
  }
  .hero-stage {
    min-height: 370px;
  }
  .home-stage {
    min-height: 430px;
  }
  .home-bookings-device {
    width: 104vw;
    right: -34vw;
    top: 20px;
  }
  .home-ai-device {
    width: 78vw;
    left: -3vw;
    top: 230px;
  }
  .product-stage .large-shot {
    width: 112vw;
    right: -26vw;
  }
  .ai-product-stage .large-shot {
    width: 116vw;
    right: -42vw;
  }
  .phone-overlap {
    width: 33vw;
    right: 0;
    top: 228px;
    bottom: auto;
  }
  .device-lineup,
  .media-device-lineup {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .lineup-tablet,
  .lineup-phone,
  .lineup-watch {
    display: none;
  }
  .section,
  .app-showcase,
  .media-section {
    padding-inline: 16px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
