@charset "utf-8";
/* Greetkeep site: shared tokens, chrome, intro and guide. Light only.
   Layout: a white page with soft, rounded lilac and ink panels inset from the edges; one 1120px reading column inside. */
/* Fonts: self-hosted latin subsets of the Google Fonts variable files (Bricolage Grotesque opsz 12-96, wght 500-800; Instrument Sans wght 400-700). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-stretch: 100%; font-display: swap; src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url("/fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --bg: #FFFFFF; --surface: #F3F4F6; --tint: #F1EEFF; --fg: #16181D; --muted: #5A5F68;
  --line: #E4E6EA; --line-strong: #C9CCD2; --tint-line: #E0D9FF;
  --violet: #6A4CFF; --primary: #4B2FD6; --hl: #D2C9FF;
  --button: #6A4CFF; --on-button: #FFFFFF; --soft: rgba(106, 76, 255, .11); --on-soft: #4B2FD6;
  --band: #16181D; --band-fg: #FFFFFF; --band-muted: #B9BCC6; --band-line: #2C2F38;
  --card: #FFFFFF; --bar: #BDB1FF; --bar-soft: #EEF0F3;
  --face: #6A4CFF; --eye: #FFFFFF; --glow: rgba(106, 76, 255, .24);
  --nav-bg: rgba(255, 255, 255, .86); --shadow: 0 22px 50px -24px rgba(22, 24, 29, .3);
  --warn-bg: #FFF4DA; --warn-fg: #4A4232; --error: #B42318;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: var(--body);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --d0: .95s; /* when page content starts, as the intro opens */
}
html.no-intro { --d0: .05s; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
[hidden]:not([hidden="until-found" i]) { display: none !important; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.05; font-weight: 740; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 650; }
p { margin: 0; max-width: 62ch; }
a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font: 600 14.5px/1.3 var(--body); color: var(--primary); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--soft); }
.lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 19.5px); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* Bands: white sections run edge to edge; lilac and ink sections are rounded panels inset from the edges. */
.sec { padding-block: clamp(64px, 9vw, 108px); }
.wrap { max-width: 1184px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 28px; }
.body { min-width: 0; display: grid; gap: 24px; align-content: start; }
.head { display: grid; gap: 14px; }
.alt, .band { margin-inline: max(10px, calc((100% - 1320px) / 2)); border-radius: clamp(22px, 3vw, 36px); }
.alt { background: var(--tint); }
.band { background: var(--band); color: var(--band-fg); }
.band .muted, .band .lede, .band p { color: var(--band-muted); }
.band .eyebrow { color: var(--hl); }
.band .eyebrow::before { background: var(--hl); box-shadow: 0 0 0 4px rgba(210, 201, 255, .16); }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--nav-bg); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); }
.nav .in { max-width: 1184px; margin: 0 auto; padding-block: 14px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; }
.mark { display: flex; align-items: center; gap: 7px; color: var(--fg); text-decoration: none; font: 780 25px/1 var(--display); letter-spacing: -0.04em; }
.mark { gap: 10px; }
.mark .otto { width: 34px; --sw: 1.6px; transition: transform .25s var(--bounce); }
.mark:hover .otto { transform: rotate(-8deg) scale(1.06); }
.fmark { display: inline-flex; align-items: center; gap: 8px; }
.fmark .otto { width: 22px; }
.links { display: flex; gap: 4px; margin-left: auto; background: var(--surface); border-radius: 999px; padding: 4px; }
.links a { color: var(--muted); text-decoration: none; font: 500 15px/1 var(--body); padding: 9px 15px; border-radius: 999px; transition: color .15s, background .15s; }
.links a:hover { color: var(--fg); }
.links a[aria-current="page"] { color: var(--fg); background: var(--card); box-shadow: 0 1px 3px rgba(22, 24, 29, .12); font-weight: 600; }
.nav .btn { padding: 11px 18px; font-size: 15px; }
@media (max-width: 640px) {
  /* On phones the two-row header would eat a fifth of the screen, so it scrolls away with the page. */
  .nav { position: relative; }
  .links { order: 3; margin-left: 0; }
  .nav .btn { margin-left: auto; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--body); padding: 16px 24px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--button); color: var(--on-button); box-shadow: 0 10px 24px -12px var(--glow); }
.btn-primary:hover { background: #5B3CF5; }
.btn-ghost { background: var(--card); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
.band .btn-ghost { background: transparent; color: var(--band-fg); box-shadow: inset 0 0 0 1.5px var(--band-line); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.pulse, .ds-btn.pulse { animation: btn-pulse 1.1s ease-out 2; }
@keyframes btn-pulse { 0% { box-shadow: 0 0 0 0 rgba(106, 76, 255, .55); } 100% { box-shadow: 0 0 0 16px rgba(106, 76, 255, 0); } }

/* Otto ("Big eyes"): a glossy violet ball with big eyes set low, pink cheeks and a tiny "w" mouth.
   Pupils take --lx/--ly to look around, --sy closes the eyes to blink, and .happy turns them into smiling arcs. */
.otto { --lx: 0px; --ly: 0px; --sy: 1; --sw: 2px; position: relative; display: inline-block; flex: none; width: 40px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(7.5% 4.5% at 22% 64%, rgba(255, 143, 196, .75) 98%, transparent 100%), radial-gradient(7.5% 4.5% at 78% 64%, rgba(255, 143, 196, .75) 98%, transparent 100%), radial-gradient(circle at 35% 28%, #9C88FF, #5B3CF5 80%);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.otto i { position: absolute; top: 37%; width: 22%; height: 26%; border-radius: 50%; background: #FFFFFF; scale: 1 var(--sy); transition: scale .09s ease, height .18s, top .18s, border-radius .18s, background .12s; }
.otto i:first-child { left: 23%; }
.otto i:last-child { right: 23%; }
.otto i::before, .otto i::after { content: ""; position: absolute; border-radius: 50%; translate: calc(var(--lx) * .55) calc(var(--ly) * .55); transition: translate .25s var(--ease), opacity .12s; }
.otto i::before { left: 20.5%; top: 29%; width: 68%; height: 58%; background: #16181D; }
.otto i::after { left: 56%; top: 34%; width: 24%; height: 20%; background: #FFFFFF; }
.otto::after { content: ""; position: absolute; left: 44%; top: 66.5%; width: 12%; height: 5%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 6'%3E%3Cpath d='M1 1.2 Q3.5 5 6 1.2 Q8.5 5 11 1.2' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.otto.blink { --sy: .1; }
.otto.wink i:last-child { scale: 1 .1; }
.otto.happy i { top: 41%; height: 12%; background: transparent; border: var(--sw) solid #FFFFFF; border-bottom: 0; border-radius: 999px 999px 0 0; }
.otto.happy i::before, .otto.happy i::after { opacity: 0; }
.otto.bump { animation: bump .2s ease; }
@keyframes bump { 50% { transform: scale(1.07) rotate(-3deg); } }

/* Intro: Otto pops up and says hi on a lilac screen, then the page opens out of a circle as he drops to his corner. Once per visit. */
@property --r { syntax: "<length>"; inherits: false; initial-value: 0px; }
.intro { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
html.no-intro .intro { display: none; }
.intro-bg { position: absolute; inset: 0; background: var(--tint); -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 1px)); mask-image: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 1px)); animation: open-up .62s cubic-bezier(.7, 0, .3, 1) .95s both, fade-out .2s linear 1.5s both; }
@keyframes open-up { to { --r: 120vmax; } }
@keyframes fade-out { to { opacity: 0; visibility: hidden; } }
.intro-otto { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; will-change: transform; }
.intro-otto .otto { width: 76px; --sw: 3px; animation: pop .5s var(--bounce) both; }
.intro-otto .otto i { animation: eyes-open .2s ease-out .25s both; }
.intro-hi { position: absolute; left: calc(100% + 12px); bottom: 62%; white-space: nowrap; background: var(--card); color: var(--fg); font: 650 17px/1 var(--display); padding: 11px 15px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow); transform-origin: 0 100%; animation: pop .4s var(--bounce) .38s both; }
.intro.leaving .intro-hi { opacity: 0; transform: scale(.8); transition: opacity .15s, transform .15s; animation: none; }
@keyframes pop { from { opacity: 0; transform: scale(.3); } }
@keyframes eyes-open { from { scale: 1 .1; } }
@keyframes fade-in { from { opacity: 0; } }

/* Entrance used by every page header */
.rv { animation: rise .7s var(--ease) both; animation-delay: calc(var(--d0) + var(--i, 0) * .08s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hl { background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 90% / 100% 42%; padding-inline: 4px; margin-inline: -4px; animation: hl-draw .7s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(var(--d0) + var(--hl-at, .45s)); }
@keyframes hl-draw { from { background-size: 0% 42%; } }

/* Page header for inner pages */
.phead { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 72px); }
.phead h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1; font-weight: 790; letter-spacing: -0.035em; }
.phead .body { gap: 20px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Headlines stay narrow so Otto has room beside them during the tour. */
.head h2 { max-width: 18ch; }
.final h2 { max-width: 15ch; }

/* Shared bits */
.tag { justify-self: start; display: inline-block; font: 600 12.5px/1 var(--body); padding: 7px 11px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.tag.on { background: var(--soft); color: var(--on-soft); }
.ticks { margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { list-style: none; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
.ticks li::before { content: "\2713"; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--soft); color: var(--violet); font-weight: 800; font-size: 11px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; font: 620 18px/1.35 var(--display); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--violet); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: -6px 0 0; padding: 0 20px 18px; color: var(--muted); }
.final h2 { font-size: clamp(34px, 5vw, 58px); }
.final .row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.email { display: inline-block; padding-block: 10px; font: 600 15px/1 var(--body); color: var(--band-fg); text-decoration: underline; text-decoration-color: var(--band-line); text-underline-offset: 4px; }
.email:hover { text-decoration-color: var(--hl); }
footer .in { max-width: 1184px; margin: 0 auto; padding-block: 30px calc(30px + 70px); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; gap: 14px 24px; justify-content: space-between; flex-wrap: wrap; align-items: center; font: 400 14px/1.5 var(--body); color: var(--muted); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: 10px; }
footer a:hover { color: var(--fg); }

/* ---------- The guide ---------- */
/* Each stop runs a lavender highlighter across its headline. */
.gk-mark { background-image: linear-gradient(var(--hl), var(--hl)); background-repeat: no-repeat; background-position: 0 90%; background-size: 0% 40%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .6s cubic-bezier(.65, 0, .35, 1); padding-inline: 3px; margin-inline: -3px; }
.gk-mark.on { background-size: 100% 40%; }
.band .gk-mark { background-image: linear-gradient(rgba(106, 76, 255, .7), rgba(106, 76, 255, .7)); }

/* Otto lives in the bottom-left corner; his speech bubble opens beside him. */
.gdock { position: fixed; z-index: 60; left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: flex-end; gap: 12px; }
.gdock-face { position: relative; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; flex: none; transition: transform .2s var(--bounce), opacity .2s; }
.gdock-face .otto { width: 56px; --sw: 2.6px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 12px 26px -10px var(--glow); }
.gdock-face:hover { transform: translateY(-2px) rotate(-4deg); }
.gdock-face.wait { opacity: 0; }
.gdock.roam { left: 0; top: 0; right: auto; bottom: auto; will-change: transform; }
.gdock.flip { flex-direction: row-reverse; }
.gdock.flip .gbub { border-radius: 22px 22px 6px 22px; transform-origin: 100% 100%; }
.gdock .otto { transition: rotate .2s ease-out; }
.gdock-face.landed .otto { animation: squash .34s ease-out; }
@keyframes squash { 30% { transform: scale(1.14, .86); } 65% { transform: scale(.95, 1.06); } }
.gdock-face::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--violet); opacity: 0; }
.gdock-face.call::after { animation: call 1.6s ease-out infinite; }
@keyframes call { from { opacity: .7; transform: scale(.9); } to { opacity: 0; transform: scale(1.35); } }
.gdock-tip { position: absolute; left: calc(100% + 10px); bottom: 12px; white-space: nowrap; background: var(--fg); color: var(--bg); font: 600 13px/1 var(--body); padding: 8px 11px; border-radius: 999px; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; pointer-events: none; }
.gdock-face:hover .gdock-tip { opacity: 1; transform: none; }
.gbub { position: relative; width: min(370px, calc(100vw - 120px)); background: var(--card); color: var(--fg); border: 1.5px solid var(--tint-line); border-radius: 22px 22px 22px 6px; padding: 16px 16px 14px; box-shadow: var(--shadow); display: grid; gap: 12px; margin-bottom: 14px; transform-origin: 0 100%; animation: bub-in .38s var(--bounce) both; }
.gbub.ripple { animation: bub-step .4s var(--bounce); }
@keyframes bub-in { from { opacity: 0; transform: scale(.85) translateY(8px); } }
@keyframes bub-step { 40% { transform: scale(1.015); } }
.gb-head { display: flex; align-items: center; gap: 10px; min-height: 24px; }
.gb-id b { font: 700 15px/1 var(--display); letter-spacing: -0.01em; }
.gb-id small { font: 500 13px/1 var(--body); color: var(--muted); margin-left: 6px; }
.gdots { display: flex; gap: 5px; align-items: center; }
.gdots i { width: 7px; height: 7px; border-radius: 999px; background: var(--line-strong); position: relative; overflow: hidden; transition: width .3s var(--ease), background .2s; }
.gdots i.done { background: var(--violet); }
.gdots i.now { width: 26px; background: var(--hl); }
.gdots i.now b { position: absolute; inset: 0; background: var(--violet); transform-origin: left; transform: scaleX(var(--p, 1)); }
.gb-tools { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.gb-icon { background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: 999px; width: 30px; height: 30px; display: inline-grid; place-items: center; padding: 0; }
.gb-icon:hover { color: var(--fg); background: var(--surface); }
.gb-icon svg { width: 17px; height: 17px; }
.gbub[data-mode="tour"] .gb-id, .gbub:not([data-mode="tour"]) .gdots { display: none; }
.gb-line { margin: 0; font-size: 16px; line-height: 1.5; cursor: text; }
.gb-line .rest { color: transparent; }
.gb-line .typed::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin: 0 -2px 0 1px; vertical-align: -3px; background: var(--violet); border-radius: 1px; animation: caret 1s steps(1) infinite; }
.gbub.typed .gb-line .typed::after { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.gb-ctrl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gb-ctrl button, .gb-ctrl a { font: 600 14.5px/1 var(--body); border-radius: 999px; padding: 11px 16px; cursor: pointer; border: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: transform .12s, background .15s; }
.gb-ctrl button:active, .gb-ctrl a:active { transform: scale(.97); }
.gb-ctrl .go { background: var(--button); color: var(--on-button); }
.gb-ctrl .next { background: var(--button); color: var(--on-button); margin-left: auto; }
.gb-ctrl .ghost { background: transparent; color: var(--muted); padding-inline: 6px; }
.gb-ctrl .ghost:hover { color: var(--fg); }
.gb-ctrl .plain { background: var(--surface); color: var(--fg); }
.gb-ask { display: flex; gap: 6px; background: var(--surface); border-radius: 999px; padding: 4px 4px 4px 14px; }
.gb-ask:focus-within { box-shadow: 0 0 0 2px var(--violet); }
.gb-ask input { flex: 1; min-width: 0; font: 400 15px/1.2 var(--body); color: var(--fg); background: transparent; border: 0; padding: 8px 0; }
.gb-ask input:focus { outline: none; }
.gb-ask button { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--violet); color: var(--on-button); cursor: pointer; font-size: 15px; }
.gb-ctrl kbd { font: 600 11px/1 var(--body); padding: 4px 7px; margin-left: 2px; border-radius: 6px; background: rgba(255, 255, 255, .2); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18); letter-spacing: .02em; }
.gbub[data-mode="tour"] .gb-line { cursor: pointer; }
.gb-hint { margin: -4px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.gb-hint::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); animation: hint 1.4s ease-in-out infinite; }
@keyframes hint { 50% { opacity: .25; } }
.gbub[data-mode="tour"] .gb-ask, .gbub[data-mode="peek"] .gb-ask, .gbub[data-mode="peek"] .gb-head { display: none; }
.gbub[data-mode="peek"] { width: min(330px, calc(100vw - 120px)); padding-block: 14px 12px; gap: 10px; }
@media (max-width: 719px) {
  .gdock { left: calc(12px + env(safe-area-inset-left, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
  .gdock > * { pointer-events: auto; }
  .gdock-face { width: 48px; height: 48px; }
  .gdock-face .otto { width: 48px; }
  .gbub { position: absolute; left: 0; right: 0; bottom: 60px; width: auto; margin: 0; border-radius: 22px 22px 22px 6px; }
}

.gptr { position: absolute; z-index: 70; width: 28px; height: 28px; margin: -3px 0 0 -3px; pointer-events: none; opacity: 0; transition: opacity .18s; }
.gptr.on { opacity: 1; }
.gptr svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 6px rgba(22, 24, 29, .3)); }
.gptr.tap svg { animation: tap .42s ease-out; }
@keyframes tap { 45% { transform: scale(.8); } }
.gptr .ring { position: absolute; left: 3px; top: 3px; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--hl); opacity: 0; z-index: -1; }
.gptr.tap .ring { animation: ring .6s ease-out; }
@keyframes ring { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.7); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .intro { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Booking dialog ---------- */
.bookd { width: min(660px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 28px; padding: 0; background: var(--card); color: var(--fg); box-shadow: 0 40px 90px -30px rgba(22, 24, 29, .55); overflow: auto; }
.bookd::backdrop { background: rgba(22, 24, 29, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.bookd[open] { animation: bk-in .38s var(--ease); }
@keyframes bk-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.bk-top { display: flex; gap: 14px; align-items: flex-start; padding: 24px 24px 0; }
.bk-top .otto { width: 46px; --sw: 2px; }
.bk-head { display: grid; gap: 4px; min-width: 0; }
.bk-head h2 { font-size: 27px; max-width: none; }
.bk-say { color: var(--muted); font-size: 15.5px; }
.bk-x { margin-left: auto; flex: none; }
.bk-form, .bk-done { padding: 20px 24px 24px; display: grid; gap: 20px; }
.bk-steps { display: flex; gap: 8px; flex-wrap: wrap; font: 600 13px/1 var(--body); color: var(--muted); }
.bk-steps span { padding: 7px 12px; border-radius: 999px; background: var(--surface); }
.bk-steps .on { background: var(--soft); color: var(--on-soft); }
.bk-steps .done { color: var(--fg); }
.bk-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .bk-grid { grid-template-columns: minmax(0, 1fr); } .bk-top, .bk-form, .bk-done { padding-inline: 18px; } }
.fld { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.fld > span, .fld legend { font: 600 14.5px/1.3 var(--body); padding: 0; margin-bottom: 7px; }
.fld > span { margin-bottom: 0; }
.fld em { font-style: normal; color: var(--muted); font-weight: 500; }
.fld input:not([type="radio"]):not([type="checkbox"]), .fld textarea { width: 100%; min-width: 0; font: 400 16px/1.35 var(--body); color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 13px; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--soft); }
.fld .msg { display: none; color: var(--error); font-size: 13.5px; }
.fld.bad .msg { display: block; }
.fld.bad input:not([type="radio"]):not([type="checkbox"]) { border-color: var(--error); }
.fld.bad .chip span { border-color: #E6A39D; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); font: 500 14.5px/1 var(--body); color: var(--fg); background: var(--card); transition: background .15s, border-color .15s, color .15s; }
.chip:hover span { border-color: var(--line-strong); }
.chip input:checked + span { background: var(--soft); border-color: var(--violet); color: var(--on-soft); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.bk-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14.5px; }
.bk-fit { border-radius: 16px; padding: 14px 16px; background: var(--soft); color: var(--fg); font-size: 15.5px; }
.bk-fit.warn { background: var(--warn-bg); color: var(--warn-fg); }
.bk-cal { border: 2px dashed var(--tint-line); border-radius: 20px; padding: 36px 24px; text-align: center; display: grid; gap: 8px; justify-items: center; background: var(--tint); }
.bk-cal b { font: 700 19px/1.2 var(--display); }
.bk-cal p { color: var(--muted); font-size: 15px; }
.bk-cal a { font-weight: 600; }
/* Cal.com inline embed: the iframe sizes itself; the box keeps the space while it loads. */
.bk-cal.live { display: block; padding: 0; border: 0; background: none; text-align: left; min-height: 420px; border-radius: 16px; overflow: hidden; }
.bk-cal.live iframe { border-radius: 16px; }
.bk-err { border-radius: 16px; padding: 14px 16px; background: #FEF3F2; color: var(--error); border: 1px solid #FDA29B; font-size: 15px; }
.bk-err a { color: var(--error); font-weight: 600; }
.bk-actions a { font-weight: 600; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
