/* Spring Booking — public landing page
   Palette and type follow springwebsites.com (cream, deep teal, cyan tiles). */

:root {
  --cream: #f6f4ec;
  --cream-2: #efece1;
  --ink: #122024;
  --ink-2: #3b4a4d;
  --muted: #6b7a7d;
  --teal: #0e3a42;
  --teal-2: #0e7490;
  --cyan: #22b8cf;
  --pale: #8ed0de;
  --line: rgba(18, 32, 36, 0.1);
  --radius: 22px;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; line-height: 1.02; }
h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 700; }
h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.92em; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

.shell { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); }
.wide { display: none; }
@media (min-width: 900px) { .wide { display: inline; } }

/* Film grain over everything, very faint. */
.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 24px;
  background: rgba(246, 244, 236, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: 20px; color: var(--ink); }
.brand-word em { font-style: normal; color: var(--teal-2); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-parent { display: inline-flex; align-items: center; gap: 5px; color: var(--teal-2) !important; }
.nav-cta { padding: 10px 18px; font-size: 15px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 480px) {
  .nav { padding: 12px 16px; gap: 12px; }
  .brand-word { font-size: 17px; }
  .nav-cta { padding: 9px 14px; font-size: 14px; }
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  font-weight: 500; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s, color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--teal); color: var(--cream); box-shadow: 0 10px 30px -12px rgba(14, 58, 66, 0.6); }
.btn-solid:hover { background: #0b2e35; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(18, 32, 36, 0.2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost svg { transition: transform 0.3s var(--ease); }
.btn-ghost:hover svg { transform: translateY(3px); }
.btn-light { background: var(--cream); color: var(--teal); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--cream); border: 1px solid rgba(246, 244, 236, 0.4); }
.btn-outline:hover { border-color: var(--cream); }

/* ------------------------------------------------------------ shared bits */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-2);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 184, 207, 0.6); animation: ping 2.4s infinite; }
.eyebrow.light { color: var(--pale); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 184, 207, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(34, 184, 207, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 184, 207, 0); } }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 54ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Load-time staggered rise (hero). */
.rise { opacity: 0; transform: translateY(22px); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Scroll reveals. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 100px);
}
.hero-copy { position: relative; z-index: 2; }
.ink-swap {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-2) 45%, var(--cyan) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.hero .lede { margin: 26px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 34px; margin: 44px 0 0; padding: 0; }
.hero-stats div { border-left: 2px solid var(--pale); padding-left: 12px; }
.hero-stats dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.hero-stats dd { margin: 3px 0 0; font-weight: 600; font-size: 15px; }

/* Floating brand tiles behind the demo. */
.hero-deco { position: absolute; right: -40px; top: 0; width: 560px; height: 100%; pointer-events: none; z-index: 0; }
.tile { position: absolute; border-radius: 26px; opacity: 0.9; animation: floaty 9s ease-in-out infinite; }
.t1 { width: 150px; height: 150px; background: var(--teal); left: 0; top: 6%; animation-delay: -1s; }
.t2 { width: 120px; height: 120px; background: var(--pale); left: 40px; bottom: 4%; animation-delay: -4s; }
.t3 { width: 110px; height: 110px; background: var(--teal-2); right: 8%; bottom: 14%; animation-delay: -6s; }
.t4 { width: 170px; height: 170px; background: var(--cyan); right: 2%; top: -2%; border-radius: 0 100% 0 100% / 0 100% 0 100%; animation-delay: -2.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(2deg); } }

/* ------------------------------------------------------------ animated widget demo */
.hero-demo { position: relative; z-index: 1; justify-self: center; width: 100%; max-width: 460px; }
.widget {
  --loop: 11s;
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(14, 58, 66, 0.45), 0 2px 6px rgba(18, 32, 36, 0.06);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.8s var(--ease);
}
.hero-demo:hover .widget { transform: perspective(1400px) rotateY(0) rotateX(0); }
.w-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.w-avatar { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(from 200deg, var(--cyan), var(--teal-2), var(--pale), var(--cyan)); }
.w-name { font-weight: 600; font-size: 15px; }
.w-meta { font-size: 13px; color: var(--muted); }
.w-body { display: grid; grid-template-columns: 1.35fr 1fr; }
.w-cal { padding: 16px 18px 18px; border-right: 1px solid var(--line); }
.w-month { font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.w-month span { color: var(--muted); font-weight: 400; }
.w-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.w-grid i, .w-grid b {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px;
  font-size: 12px; font-style: normal; font-weight: 500;
}
.w-grid i { color: var(--muted); font-size: 10px; letter-spacing: 0.05em; }
.w-grid b { background: rgba(34, 184, 207, 0.12); color: var(--teal); }
.w-grid b.mute { background: transparent; color: rgba(18, 32, 36, 0.28); font-weight: 400; }
.w-grid b.pick { position: relative; animation: pickDay var(--loop) infinite; }
@keyframes pickDay {
  0%, 9% { background: rgba(34, 184, 207, 0.12); color: var(--teal); }
  11%, 90% { background: var(--teal); color: #fff; }
  94%, 100% { background: rgba(34, 184, 207, 0.12); color: var(--teal); }
}
.w-grid b.pick::after {
  content: ""; position: absolute; inset: -3px; border-radius: 10px; border: 2px solid var(--cyan);
  opacity: 0; animation: ring var(--loop) infinite;
}
@keyframes ring {
  10% { opacity: 0; transform: scale(0.9); }
  12% { opacity: 1; transform: scale(1); }
  20% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; }
}
.w-slots { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 7px; }
.w-day { font-weight: 600; font-size: 13px; margin-bottom: 4px; opacity: 0; animation: fadeStay var(--loop) infinite; }
.w-slots span {
  display: block; text-align: center; padding: 8px 6px; border-radius: 9px;
  border: 1px solid rgba(14, 116, 144, 0.35); color: var(--teal-2); font-size: 13px; font-weight: 500;
  opacity: 0; transform: translateX(10px);
  animation: slotIn var(--loop) infinite;
}
.w-slots span:nth-child(2) { animation-delay: 0.05s; }
.w-slots span:nth-child(3) { animation-delay: 0.10s; }
.w-slots span:nth-child(4) { animation-delay: 0.15s; }
.w-slots span:nth-child(5) { animation-delay: 0.20s; }
.w-slots span:nth-child(6) { animation-delay: 0.25s; }
@keyframes fadeStay { 0%, 12% { opacity: 0; } 15%, 90% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes slotIn {
  0%, 13% { opacity: 0; transform: translateX(10px); }
  17%, 90% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateX(10px); }
}
.w-slots span.pick { animation: slotIn var(--loop) infinite, pickSlot var(--loop) infinite; }
@keyframes pickSlot {
  0%, 33% { background: transparent; color: var(--teal-2); }
  35%, 90% { background: var(--teal-2); color: #fff; border-color: var(--teal-2); }
  94%, 100% { background: transparent; color: var(--teal-2); }
}
.w-confirm {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--teal); color: #fff;
  transform: translateY(105%); animation: confirmIn var(--loop) infinite;
}
.w-confirm .w-meta { color: var(--pale); }
.w-check { width: 40px; height: 40px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; color: var(--teal); }
.w-check svg { width: 22px; height: 22px; }
.w-check svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw var(--loop) infinite; }
@keyframes confirmIn { 0%, 44% { transform: translateY(105%); } 48%, 86% { transform: translateY(0); } 90%, 100% { transform: translateY(105%); } }
@keyframes draw { 0%, 48% { stroke-dashoffset: 30; } 56%, 100% { stroke-dashoffset: 0; } }

.w-cursor {
  position: absolute; width: 16px; height: 16px; z-index: 5; pointer-events: none;
  background: var(--ink); clip-path: polygon(0 0, 100% 55%, 55% 62%, 38% 100%);
  animation: cursor var(--loop) infinite;
}
@keyframes cursor {
  0% { left: 92%; top: 92%; opacity: 0; }
  5% { opacity: 1; }
  10%, 20% { left: 22%; top: 64%; }
  32%, 42% { left: 78%; top: 51%; }
  46% { left: 84%; top: 82%; opacity: 1; }
  52% { left: 96%; top: 96%; opacity: 0; }
  100% { left: 96%; top: 96%; opacity: 0; }
}

.gcal-chip {
  position: absolute; left: -26px; bottom: -22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--teal);
  box-shadow: 0 14px 40px -18px rgba(14, 58, 66, 0.5);
  opacity: 0; transform: translateY(10px) scale(0.96);
  animation: chip var(--loop) infinite;
}
.gcal-chip svg { color: var(--cyan); }
@keyframes chip {
  0%, 52% { opacity: 0; transform: translateY(10px) scale(0.96); }
  56%, 86% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: translateY(10px) scale(0.96); }
}

/* ------------------------------------------------------------ ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream-2); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; animation: ticker 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--ink-2); white-space: nowrap; }
.ticker-track i { width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 30px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(14, 58, 66, 0.45); border-color: rgba(34, 184, 207, 0.5); }
.card-wide { grid-column: span 2; }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(34, 184, 207, 0.14); color: var(--teal-2); }
.card-icon svg { width: 24px; height: 24px; }
.card-dark { background: var(--teal); color: var(--cream); border-color: transparent; }
.card-dark p { color: rgba(246, 244, 236, 0.78); }
.card-dark .card-icon { background: rgba(142, 208, 222, 0.18); color: var(--pale); }

.sync-line { position: absolute; right: 28px; top: 34px; display: flex; gap: 6px; }
.sync-line span { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); opacity: 0.25; animation: syncDot 1.6s ease-in-out infinite; }
.sync-line span:nth-child(2) { animation-delay: 0.2s; }
.sync-line span:nth-child(3) { animation-delay: 0.4s; }
@keyframes syncDot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

.card-full { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.chat-lines { display: flex; flex-direction: column; gap: 10px; }
.chat-line {
  align-self: flex-end; max-width: 92%;
  background: rgba(246, 244, 236, 0.12); border-radius: 14px 14px 4px 14px;
  padding: 8px 12px; font-size: 13px; opacity: 0; transform: translateY(8px);
}
.chat-line.reply { align-self: flex-start; background: var(--cyan); color: var(--teal); border-radius: 14px 14px 14px 4px; }
.card-dark.in .chat-line { animation: rise 0.6s var(--ease) forwards; animation-delay: calc(var(--i) * 0.7s + 0.4s); }
.chat-line:nth-child(1) { --i: 0; } .chat-line:nth-child(2) { --i: 1; } .chat-line:nth-child(3) { --i: 2; } .chat-line:nth-child(4) { --i: 3; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
}
@media (max-width: 760px) {
  .card-full { grid-template-columns: 1fr; gap: 24px; }
}

/* ------------------------------------------------------------ how */
.how {
  background: var(--teal); color: var(--cream);
  padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px);
  position: relative; overflow: hidden;
}
.how::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(34, 184, 207, 0.25), transparent 70%),
    radial-gradient(500px 300px at 5% 100%, rgba(142, 208, 222, 0.16), transparent 70%);
}
.how .shell { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 0;
  border-top: 2px dashed rgba(142, 208, 222, 0.35);
}
.step { position: relative; padding: 0 12px; }
.step-n {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--teal); border: 2px solid var(--pale); color: var(--pale);
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
  position: relative; margin-bottom: 22px;
}
.step-n::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--cyan);
  opacity: 0; transform: scale(0.8);
}
.step.in .step-n::after { animation: halo 1.4s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 250ms + 300ms); }
@keyframes halo { 0% { opacity: 0.9; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.35); } }
.step h3 { color: #fff; margin-bottom: 10px; }
.step p { color: rgba(246, 244, 236, 0.75); font-size: 15.5px; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
}

/* ------------------------------------------------------------ embed */
.embed { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.embed .lede { margin: 18px 0 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ticks em { font-style: normal; font-weight: 600; color: var(--teal-2); }

.code {
  background: #0b1f24; color: #d8ecef; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(14, 58, 66, 0.7);
  border: 1px solid rgba(142, 208, 222, 0.14);
}
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(142, 208, 222, 0.14); font-family: var(--mono); font-size: 12px; color: rgba(216, 236, 239, 0.55); }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(216, 236, 239, 0.2); }
.code-bar i:first-child { background: var(--cyan); }
.code-bar span { margin-left: 8px; }
.code pre { margin: 0; padding: 22px 22px 26px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; min-height: 220px; }
.code code { color: var(--pale); }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--cyan); vertical-align: -0.2em; margin-left: 2px; animation: blink 1s steps(2) infinite; }
.code pre.done .caret { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 860px) {
  .embed { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ portals */
.portals { padding-top: 0; }
.doors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; }
.door {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 24px; min-height: 200px;
  transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s, color 0.4s;
}
.door:hover { transform: translateY(-4px); background: var(--teal); color: var(--cream); border-color: transparent; }
.door-k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--teal-2); }
.door:hover .door-k { color: var(--pale); }
.door strong { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.door > span:nth-child(3) { color: var(--ink-2); font-size: 15px; }
.door:hover > span:nth-child(3) { color: rgba(246, 244, 236, 0.75); }
.door-go { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 14px; color: var(--teal-2); transition: transform 0.4s var(--ease); }
.door:hover .door-go { color: var(--cyan); transform: translateX(4px); }
@media (max-width: 800px) { .doors { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ cta */
.cta { padding-bottom: clamp(56px, 8vw, 110px); }
.cta-inner {
  position: relative; overflow: hidden;
  background: var(--teal); color: var(--cream); border-radius: 30px;
  padding: clamp(44px, 7vw, 84px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { max-width: 58ch; margin: 18px auto 30px; color: rgba(246, 244, 236, 0.8); font-size: 17px; }
.cta-inner .hero-actions { justify-content: center; }
.cta-deco span {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.55; pointer-events: none;
  animation: floaty 12s ease-in-out infinite;
}
.cta-deco span:nth-child(1) { width: 320px; height: 320px; background: var(--cyan); left: -80px; top: -120px; }
.cta-deco span:nth-child(2) { width: 260px; height: 260px; background: var(--teal-2); right: -60px; bottom: -120px; animation-delay: -5s; }
.cta-deco span:nth-child(3) { width: 180px; height: 180px; background: var(--pale); right: 20%; top: -90px; animation-delay: -8s; opacity: 0.3; }
.cta-inner > *:not(.cta-deco) { position: relative; }

/* ------------------------------------------------------------ footer */
.footer {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.footer p { flex: 1; min-width: 240px; }
.footer p a { color: var(--teal-2); text-decoration: none; font-weight: 600; }
.footer p a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { color: var(--teal-2); }

/* ------------------------------------------------------------ responsive hero */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-demo { max-width: 520px; justify-self: start; margin-top: 12px; }
  .widget { transform: none; }
  .hero-deco { right: -120px; opacity: 0.5; }
  .gcal-chip { left: 12px; bottom: -18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .w-body { grid-template-columns: 1fr; }
  .w-cal { border-right: 0; border-bottom: 1px solid var(--line); }
  .w-slots { flex-direction: row; flex-wrap: wrap; }
  .w-day { width: 100%; }
  .w-slots span { flex: 1 1 30%; }
  .w-cursor { display: none; }
  .hero-deco { display: none; }
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .tile, .ticker-track, .eyebrow .dot, .ink-swap, .sync-line span, .cta-deco span, .w-cursor, .gcal-chip { animation: none !important; }
  .w-grid b.pick { background: var(--teal); color: #fff; animation: none; }
  .w-grid b.pick::after { display: none; }
  .w-day, .w-slots span { opacity: 1; transform: none; animation: none; }
  .w-slots span.pick { background: var(--teal-2); color: #fff; }
  .w-confirm { display: none; }
  .gcal-chip { opacity: 1; transform: none; }
  .chat-line { opacity: 1; transform: none; }
  .widget { transform: none; }
}
