/* Harbour Padel, a demo venue site. Its own look, not Pinglo's: harbour navy, sea teal, sand
   and a coral ball, so a prospect sees Pinglo's chat sitting on a venue's site, as it would on theirs. */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0e2233;
  --ink-2: #44566a;
  --sea: #12606f;
  --sea-soft: #e3efee;
  --sand: #f3ecdf;
  --paper: #fbf8f2;
  --coral: #e45f3a;
  --coral-ink: #b8431f;
  --line: #e2d9c8;
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--coral); letter-spacing: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.demo-bar { background: var(--ink); color: #e9eef3; font-size: 13.5px; padding: 8px var(--gutter); text-align: center; }
.demo-bar a { color: #9fd6d2; }

.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  padding: 12px var(--gutter); background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.top nav { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .top nav a { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer;
  background: var(--coral); color: #fff; font: 600 16px/1 var(--font); text-decoration: none;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--coral-ink); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.hero { position: relative; min-height: min(78vh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 34, 51, 0.05) 30%, rgba(14, 34, 51, 0.82) 100%); }
.hero-copy { position: relative; z-index: 1; display: grid; gap: 16px; max-width: 760px; padding: clamp(48px, 10vw, 96px) var(--gutter) clamp(32px, 6vw, 64px); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0.9; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 700; }
.hero h1 em { color: #ffb59c; }
.lede { font-size: clamp(17px, 2vw, 19px); max-width: 56ch; opacity: 0.94; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) var(--gutter); display: grid; gap: 22px; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-lede { color: var(--ink-2); max-width: 60ch; font-size: 17px; }

.try { background: var(--sea-soft); }
.try .btn { justify-self: start; }
.tries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tries li { background: #fff; border: 1px solid #cfe3e1; border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px; }
.tries strong { font-size: 15px; color: var(--sea); }
.tries span { color: var(--ink); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cards article { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; display: grid; gap: 8px; align-content: start; }
.cards h3 { font-size: 20px; }
.cards p { color: var(--ink-2); }

.prices { background: var(--sand); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
th { font-weight: 600; min-width: 200px; }
td { color: var(--ink-2); }
td.price { color: var(--ink); font-weight: 700; white-space: nowrap; font-size: 18px; }
.fine { color: var(--ink-2); font-size: 14.5px; }

.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.two > div { display: grid; gap: 12px; align-content: start; }
.two h3 { font-size: 18px; margin-top: 10px; }
.rules { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.foot { border-top: 1px solid var(--line); padding: 28px var(--gutter) calc(96px + env(safe-area-inset-bottom, 0px)); color: var(--ink-2); font-size: 14px; text-align: center; }
