/* DetailBooked — shared product styles (landing + builder) */
:root {
  --ink: #0a0f1f;
  --ink-2: #1e2740;
  --mut: #5a6378;
  --mut-2: #8a92a6;
  --line: #e5e8f0;
  --line-2: #eef0f6;
  --bg: #ffffff;
  --bg-2: #f5f7fc;
  --bg-3: #eef2fb;
  --blue: #2563ff;
  --blue-d: #1a4fe0;
  --cyan: #22d3ee;
  --green: #10b981;
  --amber: #f59e0b;
  --grad: linear-gradient(120deg, #2563ff 0%, #22b8f5 70%, #22d3ee 100%);
  --blue-10: rgba(37, 99, 255, .1);
  --blue-20: rgba(37, 99, 255, .2);
  --shadow-s: 0 1px 2px rgba(10, 15, 31, .06), 0 2px 8px rgba(10, 15, 31, .04);
  --shadow-m: 0 10px 30px -12px rgba(10, 15, 31, .18), 0 2px 6px rgba(10, 15, 31, .04);
  --shadow-l: 0 40px 80px -30px rgba(10, 15, 31, .3), 0 8px 24px -8px rgba(10, 15, 31, .08);
  --head: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font: 400 16px/1.6 Inter, system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.grad-t { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1, .h2, .h3, .head { font-family: var(--head); letter-spacing: -.035em; line-height: 1.02; font-weight: 800; }
.h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
.h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.lead { color: var(--mut); font-size: 1.08rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 650; font-size: 1rem; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s, color .2s; position: relative; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-p { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-p:hover { background: var(--blue-d); transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(37, 99, 255, .75); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1b2238; }
.btn-o { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-o:hover { border-color: var(--ink); }
.btn-ghost { color: var(--mut); }
.btn-ghost:hover { color: var(--ink); background: var(--bg-2); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 1.08rem; border-radius: 16px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 11px; }
.btn-w { width: 100%; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.shine::after { content: ""; position: absolute; inset: -2px; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .42) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.4s 1.4s infinite; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* form fields */
.fld { display: block; margin-bottom: 14px; }
.fld > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.fld > span em { font-style: normal; font-weight: 500; color: var(--mut-2); font-size: .8rem; }
.inp { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.inp::placeholder { color: #a5acbd; }
.inp:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-20); }
.inp.err { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .15); }
.inp-lg { min-height: 64px; font-size: 1.25rem; font-weight: 600; border-radius: 16px; padding: 16px 20px; }
.inp-pre { position: relative; }
.inp-pre > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--mut-2); font-weight: 600; pointer-events: none; }
.inp-pre > .inp { padding-left: 32px; }
select.inp { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6378' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 40px; }
textarea.inp { resize: vertical; min-height: 90px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(10, 15, 31, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-c { position: relative; width: 100%; max-width: 520px; max-height: 92vh; max-height: 92dvh; overflow: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 28px 22px calc(22px + env(safe-area-inset-bottom)); transform: translateY(40px); transition: transform .45s var(--ease); box-shadow: var(--shadow-l); }
.modal.open .modal-c { transform: none; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--mut); }
.modal-x:hover { background: var(--bg-2); color: var(--ink); }
@media (min-width: 640px) {
  .modal { align-items: center; padding: 20px; }
  .modal-c { border-radius: 24px; padding: 34px; }
}

/* misc */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li .ic { width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%; background: rgba(16, 185, 129, .14); color: var(--green); stroke-width: 3; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 30px); opacity: 0; visibility: hidden; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-l); transition: transform .4s var(--ease), opacity .3s, visibility .3s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
