/* ==========================================================================
   Orca Serve — the hospitality product's page.

   Its own stylesheet on purpose, like /filmheaven/: the main site sells
   logistics software in ocean blue, and this page must not borrow that shell
   (or be reachable from its navigation) — see deploy/README.md.

   Navy from the app icon, warm orange for food and "order now", and the
   gradient ramps lifted from the app's src/theme.ts so the illustrated till
   on this page is the same colour as the real one.
   ========================================================================== */

:root {
  --os-navy-950: #050f24;
  --os-navy-900: #081a3a;
  --os-navy-800: #0d2a5a;
  --os-navy-700: #143a78;
  --os-ink: #0b1220;

  --os-orange: #f97316;
  --os-amber: #f59e0b;
  --os-rose: #f43f5e;
  --os-emerald: #10b981;
  --os-blue: #3b82f6;

  --os-cream: #fff8f1;
  --os-light: #f6f7fb;
  --os-line-light: #e2e8f0;
  --os-slate: #475569;

  --os-text: #ffffff;
  --os-muted: rgba(255, 255, 255, 0.68);
  --os-faint: rgba(255, 255, 255, 0.42);
  --os-line: rgba(255, 255, 255, 0.1);
  --os-panel: rgba(255, 255, 255, 0.05);

  --os-grad: linear-gradient(100deg, #fb923c 0%, #f59e0b 45%, #f43f5e 100%);
  --os-grad-btn: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);

  --os-radius: 16px;
  --os-radius-lg: 24px;
  --os-shadow: 0 30px 80px rgba(2, 8, 23, 0.45);
}

/* --------------------------------------------------------------------------
   Page shell
   -------------------------------------------------------------------------- */

html { scroll-padding-top: 90px; }

body.os {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--os-text);
  background: var(--os-navy-950);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.os h1,
.os h2,
.os h3 { font-family: "Sora", "Plus Jakarta Sans", sans-serif; letter-spacing: -0.3px; }

.os-grad {
  background: var(--os-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* App gradient ramps — src/theme.ts in the app repo. */
.tone-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.tone-blue { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.tone-emerald { background: linear-gradient(135deg, #10b981, #14b8a6); }
.tone-purple { background: linear-gradient(135deg, #a855f7, #8b5cf6); }
.tone-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.tone-rose { background: linear-gradient(135deg, #ef4444, #f43f5e); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.os-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.os-btn:hover { transform: translateY(-2px); }
.os-btn-lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }

.os-btn-primary {
  background: var(--os-grad-btn);
  color: #1c0b00;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
}
.os-btn-primary:hover { color: #1c0b00; box-shadow: 0 16px 40px rgba(249, 115, 22, 0.5); }
.os-btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }

.os-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.os-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.os-btn-dark { background: var(--os-ink); color: #fff; }
.os-btn-dark:hover { color: #fff; box-shadow: 0 12px 30px rgba(2, 8, 23, 0.35); }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.os-nav {
  padding: 0.9rem 0;
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.os-nav.is-scrolled {
  padding: 0.55rem 0;
  background: rgba(5, 15, 36, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--os-line);
}

.os-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}
.os-brand:hover { color: #fff; }
.os-brand img { border-radius: 11px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.os-brand b { font-weight: 800; background: var(--os-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.os-nav .nav-link {
  color: var(--os-muted);
  font-weight: 700;
  font-size: 0.93rem;
  padding: 0.5rem 0.85rem;
}
.os-nav .nav-link:hover { color: #fff; }
.os-nav .os-nav-quote { color: var(--os-amber); }

.os-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.os-btn-call {
  background: var(--os-grad-btn);
  color: #1c0b00;
  padding: 0.55rem 1.05rem;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}
.os-btn-call:hover { color: #1c0b00; }
.os-call-label { display: none; }
.os-call-number { font-variant-numeric: tabular-nums; }

.os-btn-wa {
  width: 42px;
  height: 42px;
  padding: 0;
  background: #25d366;
  color: #fff;
  font-size: 1.3rem;
}
.os-btn-wa:hover { color: #fff; }

.os-nav .navbar-toggler {
  border: 1px solid var(--os-line);
  color: #fff;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
}
.os-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.35); }

@media (max-width: 991.98px) {
  .os-nav .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.6rem;
    border-radius: 18px;
    background: rgba(5, 15, 36, 0.96);
    border: 1px solid var(--os-line);
  }
  .os-nav:not(.is-scrolled) { background: rgba(5, 15, 36, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}

@media (min-width: 992px) {
  .os-nav-actions { margin-left: 0; }
}

/* Phones: brand, Call, WhatsApp and the menu button have to share one row —
   the word "Call" instead of the number, and everything drawn in a little. */
@media (max-width: 575.98px) {
  .os-call-number { display: none; }
  .os-call-label { display: inline; }
  .os-brand { gap: 0.5rem; font-size: 1rem; }
  .os-brand img { width: 36px; height: 36px; }
  .os-nav-actions { gap: 0.35rem; }
  .os-btn-call { padding: 0.5rem 0.85rem; font-size: 0.9rem; }
  .os-btn-wa { width: 38px; height: 38px; font-size: 1.15rem; }
  .os-nav .navbar-toggler { padding: 0.35rem 0.6rem; }
}

/* The smallest phones: WhatsApp gives up its seat in the bar (it is still in
   the contact section) so "Call us" never has to wrap onto a second row. */
@media (max-width: 379.98px) {
  .os-nav .os-btn-wa { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.os-hero {
  position: relative;
  padding: 160px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(249, 115, 22, 0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 90%, rgba(59, 130, 246, 0.25), transparent 60%),
    linear-gradient(180deg, var(--os-navy-900) 0%, var(--os-navy-950) 100%);
}

.os-hero-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.os-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fdba74;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.os-hero-title {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  margin: 1.3rem 0 1.2rem;
  text-wrap: balance;
}
.os-hero-title .os-grad { display: block; }

.os-hero-sub {
  color: var(--os-muted);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: 1.8rem;
}

.os-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }

.os-hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0.6rem 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
}
.os-hero-points i {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  font-size: 0.65rem;
}

/* ----- Devices ----- */

.os-hero-devices { position: relative; padding: 0 6% 60px 0; }

.os-tablet {
  margin: 0;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(160deg, #1e293b, #0b1220);
  box-shadow: var(--os-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}

.os-tablet-screen {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f6f7f9;
  color: #111827;
  padding: 12px 12px 58px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.os-phone {
  margin: 0;
  padding: 7px;
  border-radius: 32px;
  background: linear-gradient(160deg, #1e293b, #0b1220);
  box-shadow: 0 24px 60px rgba(2, 8, 23, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.os-phone img { display: block; width: 100%; height: auto; border-radius: 25px; }

.os-phone-hero {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  transform: rotate(4deg);
}

.os-toast {
  position: absolute;
  left: -14px;
  top: -26px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border-radius: 16px;
  background: #fff;
  color: var(--os-ink);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.4);
  animation: os-toast 5s ease-in-out infinite;
}
.os-toast-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  font-size: 1.1rem;
}
.os-toast b { display: block; font-size: 0.88rem; }
.os-toast small { color: #64748b; font-weight: 600; }

@keyframes os-toast {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ----- The illustrated app screen ----- */

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.8rem;
}
.app-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  padding: 2px 8px;
  border-radius: 999px;
}
.app-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: os-pulse 1.6s ease-in-out infinite;
}
@keyframes os-pulse { 50% { opacity: 0.3; } }

.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.app-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.app-card.is-new { border-color: #fb923c; }
.app-card.is-phone { border-color: #ea580c; }

.app-rule { height: 4px; }
.app-orange { background: linear-gradient(90deg, #f97316, #f59e0b); }
.app-emerald { background: linear-gradient(90deg, #10b981, #14b8a6); }
.app-blue { background: linear-gradient(90deg, #3b82f6, #6366f1); }

.app-body { padding: 8px 9px 9px; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.app-head b { font-size: 0.78rem; font-weight: 800; }

.app-badge {
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.app-meta,
.app-items { margin: 5px 0 0; font-size: 0.6rem; line-height: 1.35; color: #374151; }
.app-items { color: #6b7280; }
.app-eta { color: #2563eb; }

.app-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px dashed #e5e7eb;
}
.app-foot b { font-size: 0.75rem; }
.app-paid { font-size: 0.55rem; font-weight: 700; color: #059669; }
.app-pay {
  font-size: 0.55rem;
  font-weight: 800;
  color: #fff;
  padding: 3px 8px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.app-phonebar { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.app-phonebar span { font-size: 0.52rem; font-weight: 800; color: #ea580c; letter-spacing: 0.4px; }
.app-phonebar em {
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 800;
  color: #fff;
  background: #ea580c;
  padding: 1px 6px;
  border-radius: 999px;
}
.app-code {
  font-size: 0.62rem;
  font-weight: 800;
  color: #ea580c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 6px;
  padding: 1px 6px;
}

.app-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  padding: 6px 0 7px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  font-size: 0.9rem;
  text-align: center;
}
.app-tabs small { display: block; font-size: 0.5rem; font-weight: 700; color: #9ca3af; }
.app-tabs .on small { color: #2563eb; }

/* --------------------------------------------------------------------------
   Strip
   -------------------------------------------------------------------------- */

.os-strip {
  border-top: 1px solid var(--os-line);
  border-bottom: 1px solid var(--os-line);
  background: rgba(255, 255, 255, 0.02);
}
.os-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.2rem;
  list-style: none;
  margin: 0;
  padding: 1.3rem 0;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.93rem;
}
.os-strip i { color: var(--os-amber); margin-right: 0.45rem; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.os-section { padding: 110px 0; position: relative; }

.os-light { background: var(--os-light); color: var(--os-ink); }
.os-contact { background: var(--os-cream); color: var(--os-ink); }

.os-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--os-orange);
  margin-bottom: 0.6rem;
}

.os-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.os-lead {
  color: var(--os-muted);
  font-size: 1.07rem;
  line-height: 1.75;
  max-width: 60ch;
}
.os-light .os-lead,
.os-contact .os-lead { color: var(--os-slate); }

/* ----- Online shop ----- */

.os-feature-list { display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.os-feature { display: flex; gap: 1rem; align-items: flex-start; }
.os-feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.15);
}
.os-feature h3 { font-size: 1.05rem; font-weight: 700; margin: 0.15rem 0 0.3rem; }
.os-feature p { margin: 0; color: var(--os-slate); line-height: 1.65; font-size: 0.96rem; }

.os-phones {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 0.5rem;
}
.os-phones .os-phone { width: 32%; max-width: 250px; }
.os-phones .os-phone-front { position: relative; z-index: 2; width: 36%; margin: 0 -4%; }
.os-tilt-l { transform: rotate(-6deg) translateY(24px); }
.os-tilt-r { transform: rotate(6deg) translateY(24px); }

.os-caption { text-align: center; margin: 2.2rem 0 0; color: #64748b; font-size: 0.88rem; font-weight: 600; }

/* ----- Cards (dark) ----- */

.os-card {
  height: 100%;
  padding: 1.7rem;
  border-radius: var(--os-radius-lg);
  background: var(--os-panel);
  border: 1px solid var(--os-line);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.os-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(255, 255, 255, 0.07);
}
.os-card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}
.os-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.55rem; }
.os-card p { color: var(--os-muted); line-height: 1.7; margin: 0; font-size: 0.96rem; }
.os-card b { color: #fdba74; }

.os-chip-inline {
  display: inline-block;
  margin: 0 0.2rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fed7aa;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ----- Rates ----- */

.os-rates {
  background:
    radial-gradient(700px 400px at 90% 50%, rgba(249, 115, 22, 0.16), transparent 60%),
    linear-gradient(180deg, var(--os-navy-950), var(--os-navy-900));
}

.os-ticks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.7rem; font-weight: 600; }
.os-ticks i { color: #34d399; margin-right: 0.55rem; }

.os-rate-card {
  padding: 2rem;
  border-radius: 26px;
  background: #fff;
  color: var(--os-ink);
  box-shadow: var(--os-shadow);
}
.os-rate-q { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.15rem; margin-bottom: 1.2rem; }
.os-rate-row {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--os-light);
  font-weight: 600;
  margin-bottom: 1.3rem;
}
.os-rate-bars { display: grid; gap: 1rem; }
.os-rate-bars > div { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 0.8rem; font-size: 0.92rem; }
.os-rate-bars span { color: var(--os-slate); font-weight: 700; }
.os-bar { height: 12px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.os-bar i { display: block; height: 100%; border-radius: inherit; background: var(--os-grad-btn); }
.os-rate-bars > div:last-child .os-bar i { background: linear-gradient(90deg, #10b981, #14b8a6); }
.os-rate-save {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #065f46;
  font-weight: 700;
}
.os-rate-save b { font-family: "Sora", sans-serif; font-size: 1.35rem; }
.os-rate-note { margin: 1rem 0 0; font-size: 0.82rem; color: #64748b; }

/* ----- See it live ----- */

.os-live {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 3.2rem;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(125, 211, 252, 0.35), transparent 60%),
    linear-gradient(135deg, #0c4a6e 0%, var(--os-navy-800) 60%, var(--os-navy-900) 100%);
  box-shadow: 0 30px 70px rgba(8, 26, 58, 0.3);
}
.os-live .os-lead { color: rgba(255, 255, 255, 0.78); margin-bottom: 1.6rem; }
.os-live .os-kicker { color: #7dd3fc; }
.os-live .os-btn-dark { background: #fff; color: var(--os-ink); }
.os-phone-live { width: 70%; max-width: 250px; justify-self: center; transform: rotate(5deg) translateY(30px); margin-bottom: -40px; }

/* ----- Steps ----- */

.os-step {
  height: 100%;
  padding: 2rem 1.7rem;
  border-radius: var(--os-radius-lg);
  background: var(--os-panel);
  border: 1px solid var(--os-line);
  text-align: center;
}
.os-step-n {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--os-grad-btn);
  color: #1c0b00;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
}
.os-step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.os-step p { color: var(--os-muted); margin: 0; line-height: 1.7; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.os-reach { display: grid; gap: 0.75rem; margin-top: 2rem; }
.os-reach-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f1e6d8;
  color: var(--os-ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.os-reach-item:hover { color: var(--os-ink); transform: translateX(4px); box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08); }
.os-reach-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  font-size: 1.05rem;
}
.os-reach-item small { display: block; color: #64748b; font-weight: 700; font-size: 0.75rem; }
.os-reach-item b { font-size: 0.98rem; word-break: break-word; }

.os-form {
  padding: 2.2rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #f1e6d8;
  box-shadow: 0 30px 70px rgba(124, 45, 18, 0.1);
}

.os-form fieldset { margin-bottom: 1.9rem; }
.os-form legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--os-ink);
}
.os-form legend span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--os-grad-btn);
  color: #1c0b00;
  font-size: 0.85rem;
  font-weight: 800;
}

.os-label { display: block; font-weight: 700; font-size: 0.88rem; color: #334155; margin-bottom: 0.4rem; }
.os-label em { font-style: normal; color: var(--os-orange); }

.os-input {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--os-line-light);
  background: #fbfcfe;
  color: var(--os-ink);
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.os-input:focus {
  outline: none;
  border-color: var(--os-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}
.os-input.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); }
select.os-input { appearance: auto; }
textarea.os-input { resize: vertical; }

.os-hint { margin: 0; font-size: 0.83rem; color: #64748b; }

/* Checkbox pills */
.os-checks { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.os-checks input,
.os-seg input { position: absolute; opacity: 0; pointer-events: none; }
.os-checks span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--os-line-light);
  background: #fbfcfe;
  font-weight: 700;
  font-size: 0.9rem;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.os-checks span i { color: #94a3b8; }
.os-checks input:checked + span {
  border-color: var(--os-orange);
  background: #fff7ed;
  color: #9a3412;
}
.os-checks input:checked + span i { color: var(--os-orange); }
.os-checks input:focus-visible + span,
.os-seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.25); }

/* Segmented control */
.os-seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--os-line-light);
}
.os-seg span {
  display: block;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.os-seg input:checked + span { background: #fff; color: var(--os-ink); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12); }
.os-seg-sm span { padding: 0.5rem 0.95rem; }

/* Inputs with a % or £ stuck to them */
.os-affix { position: relative; }
.os-affix > span {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: #94a3b8;
  font-weight: 800;
  pointer-events: none;
}
.os-affix .os-input { padding-right: 2.4rem; }
.os-affix-pre > span { right: auto; left: 1rem; }
.os-affix-pre .os-input { padding-left: 2.1rem; padding-right: 1rem; }

.os-turnover { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.os-turnover .os-affix { flex: 1 1 180px; }

/* Live sums under the turnover */
.os-calc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--os-navy-900), var(--os-navy-800));
  color: #fff;
}
.os-calc[hidden] { display: none; }
.os-calc > div { padding: 0.4rem 0.6rem; }
.os-calc small { display: block; color: rgba(255, 255, 255, 0.6); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.6px; }
.os-calc b { font-family: "Sora", sans-serif; font-size: 1.35rem; }
.os-calc-fees { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 0.8rem !important; }
.os-calc-fees b { color: #fdba74; }
.os-calc-fees em { display: block; font-style: normal; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

.os-privacy { margin: 0.9rem 0 0; text-align: center; font-size: 0.83rem; color: #64748b; }
.os-privacy a { color: #c2410c; }

.os-alert {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.os-alert[hidden] { display: none; }
.os-alert i { margin-top: 0.2rem; }
.os-alert b { display: block; }
.os-alert-good { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.os-alert-warn { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-weight: 700; }

/* Off-screen rather than display:none — some bots skip hidden fields. */
.os-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Footer and phone dock
   -------------------------------------------------------------------------- */

.os-footer { padding: 56px 0 28px; background: #030a19; color: var(--os-muted); }
.os-footer p { margin: 0.8rem 0 0; font-size: 0.93rem; }
.os-footer a { display: inline-flex; align-items: center; gap: 0.45rem; color: #cbd5e1; text-decoration: none; margin: 0.3rem 0 0.3rem 1.2rem; font-weight: 600; font-size: 0.93rem; }
.os-footer a:hover { color: #fff; }
.os-brand-foot { font-size: 1.05rem; }
.os-footer-legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--os-line); text-align: center; font-size: 0.83rem; color: var(--os-faint); }

.os-dock { display: none; }

@media (max-width: 767.98px) {
  body.os { padding-bottom: 76px; }

  .os-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1025;
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 6px;
    padding: 6px;
    border-radius: 20px;
    background: rgba(5, 15, 36, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--os-line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  }
  .os-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 0.4rem;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.07);
  }
  .os-dock a.is-primary { background: var(--os-grad-btn); color: #1c0b00; }

  .os-footer a { margin-left: 0; margin-right: 1.2rem; }
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
  .os-hero { padding: 130px 0 80px; }
  .os-section { padding: 80px 0; }
  .os-tablet { transform: none; }
  .os-live { grid-template-columns: 1fr; padding: 2.2rem 1.6rem 0; text-align: left; }
  .os-phone-live { width: 60%; margin-bottom: -30px; }
}

@media (max-width: 575.98px) {
  .os-hero-points { grid-template-columns: 1fr; }
  .os-hero-devices { padding: 20px 0 50px; }
  .os-toast { left: 0; top: -8px; }
  .os-phone-hero { width: 38%; right: -4px; }
  .os-tablet-screen { padding: 8px 8px 50px; }
  .app-grid { gap: 6px; }
  .os-form { padding: 1.4rem; border-radius: 22px; }
  .os-rate-card { padding: 1.4rem; }
  .os-rate-bars > div { grid-template-columns: 56px 1fr auto; gap: 0.5rem; font-size: 0.85rem; }
  .os-hero-ctas .os-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .os-toast,
  .app-live i { animation: none; }
  .os-btn:hover,
  .os-card:hover,
  .os-reach-item:hover { transform: none; }
}
