/* Yeroma LLC — design system aligned with Newly Booked
   Display: Sora · Body: Inter · Mono: JetBrains Mono */

:root {
  --blue: #155eef;
  --blue-bright: #3e8bff;
  --blue-deep: #2b54e8;
  --navy: #081124;
  --navy-2: #0e1620;
  --ink: #101828;
  --ink-2: #344054;
  --ink-3: #667085;
  --ink-4: #98a2b3;
  --line: #d0d5dd;
  --line-soft: #e7ecf2;
  --bg: #ffffff;
  --bg-tint: #f3f8fb;
  --white: #ffffff;

  --display: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 72rem;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 54rem; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }

h1 { font-size: clamp(2.15rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.18; margin-bottom: 1rem; }
h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.55rem; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.hl { color: var(--blue-bright); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1rem;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #a9bbd8;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.eyebrow-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-bright);
}

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 17, 36, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.5rem; }

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }

.mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(150deg, var(--blue-bright), var(--blue-deep));
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  color: #fff; letter-spacing: -0.03em;
  box-shadow: 0 2px 12px rgba(21, 94, 239, 0.4);
}

.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: #fff; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { color: #a9bbd8; text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .nav-cta {
  color: #fff; background: var(--blue);
  padding: 0.55rem 1.1rem; border-radius: 8px;
}
.nav .nav-cta:hover { background: var(--blue-deep); }

@media (max-width: 680px) { .nav .nav-hide { display: none; } }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(21, 94, 239, 0.32), transparent 62%),
    linear-gradient(180deg, var(--navy) 0%, #0b1730 55%, #0a1428 100%);
  color: #fff;
  text-align: center;
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero h1 { max-width: 19ch; margin: 0 auto 1.4rem; }

.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: #c3d2ea;
  max-width: 54ch;
  margin: 0 auto 2.5rem;
}

.hero-note {
  font-size: 0.86rem; color: var(--ink-4);
  margin-top: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff; text-decoration: none;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 0.95rem 2rem;
  border: none; border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(21, 94, 239, 0.32);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 8px 26px rgba(21, 94, 239, 0.42); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-sub { display: block; font-size: 0.8rem; font-weight: 400; opacity: 0.82; margin-top: 2px; }

/* hero button row — flex gap, not margins, so stacking never collapses the space */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.btn-ghost {
  background: transparent; color: #c3d2ea;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); color: #fff; box-shadow: none; }

.btn-quiet {
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line); box-shadow: none;
  padding: 0.8rem 1.4rem; font-size: 0.94rem;
}
.btn-quiet:hover { background: var(--bg-tint); color: var(--ink); box-shadow: none; transform: none; }

/* ---------- sections ---------- */

section { padding: 5.5rem 0; }
.sec-tint { background: var(--bg-tint); }
.sec-dark {
  background:
    radial-gradient(760px 420px at 50% 0%, rgba(21,94,239,0.22), transparent 62%),
    linear-gradient(180deg, #0a1428, var(--navy));
  color: #fff;
}
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .eyebrow { color: var(--blue-bright); }

.sec-head { text-align: center; max-width: 42rem; margin: 0 auto 3.25rem; }
.sec-head p { color: var(--ink-2); font-size: 1.03rem; }
.sec-dark .sec-head p { color: #a9bbd8; }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.85rem 1.6rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover { box-shadow: 0 10px 30px rgba(16, 24, 40, 0.09); transform: translateY(-2px); }
.card p { color: var(--ink-3); font-size: 0.95rem; margin: 0; }

.card-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(21, 94, 239, 0.09);
  color: var(--blue);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 500;
  margin-bottom: 1.15rem;
}

.card-dark {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: none;
}
.card-dark:hover { background: rgba(255,255,255,0.07); box-shadow: none; }
.card-dark p { color: #a9bbd8; }

.check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 700;
  margin-bottom: 1rem;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

.about-card {
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.about-card .mark { width: 46px; height: 46px; border-radius: 12px; font-size: 1.25rem; margin-bottom: 1.15rem; }
.about-card .role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-4); }
.about-body p { color: var(--ink-2); }
.about-body strong { color: var(--ink); font-weight: 600; }

.facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.facts li { display: flex; gap: 0.7rem; align-items: baseline; font-size: 0.93rem; color: var(--ink-2); }
.facts .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); min-width: 7.5rem; }

/* ---------- funnel ---------- */

.funnel {
  max-width: 40rem; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.1);
  overflow: hidden;
}

.funnel-bar { height: 4px; background: var(--line-soft); }
.funnel-bar span { display: block; height: 100%; width: 33.33%; background: var(--blue); transition: width 0.3s ease; }

.funnel-inner { padding: 2.25rem 2rem 2rem; }

.step-count { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 0.9rem; }

.funnel h3 { font-family: var(--display); font-size: 1.32rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.02em; }
.funnel .q-help { color: var(--ink-3); font-size: 0.93rem; margin-bottom: 1.5rem; }

.step { display: none; }
.step.active { display: block; animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.opts { display: grid; gap: 0.7rem; margin-bottom: 1.6rem; }

.opt {
  display: flex; align-items: center; gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  font-size: 0.97rem;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.opt:hover { border-color: var(--blue); background: rgba(21,94,239,0.03); }
.opt input { accent-color: var(--blue); width: 17px; height: 17px; flex: none; margin: 0; }
.opt.sel { border-color: var(--blue); background: rgba(21,94,239,0.05); }

.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.4rem; }

.field input, .field textarea {
  width: 100%;
  font-family: var(--body); font-size: 0.97rem; color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.78rem 0.9rem;
  background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,94,239,0.13); }
.field textarea { min-height: 6.5rem; resize: vertical; }

.funnel-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.funnel-actions .btn { padding: 0.85rem 1.7rem; }

.link-back { background: none; border: none; color: var(--ink-3); font-family: var(--body); font-size: 0.9rem; cursor: pointer; padding: 0.5rem 0; }
.link-back:hover { color: var(--ink); text-decoration: underline; }

.privacy-note { font-size: 0.8rem; color: var(--ink-4); margin-top: 1.1rem; }
.privacy-note a { color: var(--ink-3); }

.done { text-align: center; padding: 1rem 0 0.5rem; }
.done .tick {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(21,94,239,0.1); color: var(--blue);
  display: grid; place-items: center; font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}
.done p { color: var(--ink-3); font-size: 0.97rem; }
.done a { color: var(--blue); font-weight: 500; }

/* ---------- contact strip ---------- */

.strip { text-align: center; }
.mail {
  font-family: var(--mono); font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--blue-bright); text-decoration: none;
  border-bottom: 1px solid rgba(62,139,255,0.35); padding-bottom: 3px;
}
.mail:hover { border-bottom-color: var(--blue-bright); }

/* ---------- footer ---------- */

.site-foot { background: var(--navy); color: var(--ink-4); padding: 3.5rem 0 2.5rem; font-size: 0.88rem; }
.foot-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.foot-top .brand-name { font-size: 1rem; }
.foot-addr { margin-top: 1rem; line-height: 1.75; }
.site-foot a { color: var(--ink-4); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.09);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.82rem;
}

/* ---------- legal pages ---------- */

.legal-head { background: linear-gradient(180deg, var(--navy), #0b1730); color: #fff; padding: 3.5rem 0 3rem; }
.legal-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.6rem; }
.legal-head .updated { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }

.legal { padding: 3.5rem 0 5rem; max-width: 48rem; }
.legal h2 { font-size: 1.18rem; font-family: var(--display); margin: 2.75rem 0 0.8rem; letter-spacing: -0.015em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1rem; margin: 1.75rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink-2); font-size: 0.97rem; }
.legal ul { padding-left: 1.15rem; margin: 0 0 1.1rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a { color: var(--blue); }
.legal .caps { font-size: 0.9rem; color: var(--ink-2); }

.back { display: inline-block; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); text-decoration: none; margin-bottom: 2rem; }
.back:hover { color: var(--blue); }

/* ---------- anchor offset under the sticky header ---------- */

section[id], .legal-head { scroll-margin-top: 5rem; }

/* ---------- nicer line breaking ---------- */

h1, h2, .hero-sub { text-wrap: balance; }

/* ---------- tablet ---------- */

@media (max-width: 900px) {
  .hero h1 { max-width: 24ch; }
}

/* ---------- phone ---------- */

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 1.15rem; }

  section { padding: 3.5rem 0; }
  .sec-head { margin-bottom: 2.25rem; }
  h2 { max-width: none; }

  /* hero: let the headline use the full width instead of the desktop 19ch cap */
  .hero { padding: 3.25rem 0 3.75rem; }
  .hero h1 { max-width: none; font-size: clamp(1.9rem, 8.2vw, 2.5rem); letter-spacing: -0.025em; }
  .hero-sub { font-size: 1rem; margin-bottom: 2rem; max-width: none; }

  /* buttons stack full-width, with a real gap between them */
  .hero-cta { flex-direction: column; align-items: stretch; gap: 1rem; }
  .btn { display: block; width: 100%; text-align: center; padding: 0.9rem 1.25rem; }
  .hero-note { margin-top: 1.75rem; font-size: 0.83rem; }

  .site-head .wrap { height: 4rem; }
  .nav { gap: 0.9rem; }
  .nav .nav-cta { padding: 0.5rem 0.9rem; font-size: 0.88rem; }

  .cards { gap: 1rem; }
  .card { padding: 1.5rem 1.3rem; }

  .about-card { padding: 1.6rem 1.35rem; }
  .facts .k { min-width: 6.5rem; }

  .funnel { border-radius: 14px; }
  .funnel-inner { padding: 1.6rem 1.2rem 1.5rem; }
  .funnel h3 { font-size: 1.15rem; }
  .opt { padding: 0.85rem 0.95rem; font-size: 0.93rem; align-items: flex-start; }
  .funnel-actions { gap: 0.5rem; }
  .funnel-actions .btn { width: 100%; }
  .link-back { width: 100%; text-align: center; }

  .legal { padding: 2.5rem 0 3.5rem; }
  .legal-head { padding: 2.5rem 0 2.25rem; }

  .foot-top { gap: 1.75rem; }
  .foot-bottom { margin-top: 2rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.75rem; }
  .brand-name { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
