/*
 * Landing pages for both brands — premium/README.md "one CSS file, two brand
 * deployments". Everything brand-specific is a custom property set on <html>
 * by the Blade view (resources/views/landing/*.blade.php); nothing in here
 * names a brand.
 *
 * This file exists because the landings dropped the design-tool runtime
 * (support.js), which fetched React + Babel from unpkg at page load and
 * rendered every word client-side. Hover styles that used to be `style-hover`
 * attributes, and the chip states that used to be inline style objects
 * computed in JS, are plain CSS here so the served HTML is complete on its own.
 */

:root {
  color-scheme: light;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #F7FAF9;
  font-family: 'Schibsted Grotesk', sans-serif;
  color: #0B2436;
}

a { color: #0B2436; }
a:hover { color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes fishflick {
    0%   { transform: rotate(0deg); }
    35%  { transform: rotate(14deg); }
    70%  { transform: rotate(-8deg); }
    100% { transform: rotate(0deg); }
  }
  /* Was a React state toggle flipping between two identical keyframe sets. */
  .fish-tail { animation: fishflick 0.5s ease-out 0.3s both; }
  .brandmark:hover .fish-tail { animation: fishflick 0.5s ease-out both; }
}

/* --- nav / CTA hovers (were style-hover attributes) --------------------- */

.btn-solid {
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  padding: 10px 20px;
  white-space: nowrap;
}
.btn-solid:hover { background: var(--accent-strong); color: #FFFFFF; }

.btn-solid-lg { font-size: 16px; padding: 14px 28px; }

.btn-ghost {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #0B2436;
  border: 1px solid rgba(91,115,133,0.35);
  border-radius: 999px;
  padding: 9px 18px;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  padding: 14px 24px;
  border: 1.5px solid rgba(91,115,133,0.35);
  white-space: nowrap;
}

.footer-link { color: #A9BCC9; text-decoration: none; }
.footer-link:hover { color: #F7FAF9; }

.lang-switch a { color: #5B7385; text-decoration: none; }
.lang-switch a:hover { color: var(--accent); }
.lang-switch a[aria-current="true"] { color: #0B2436; font-weight: 500; }

/* --- pricing CTAs ------------------------------------------------------- */

.price-cta {
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  padding: 15px 28px;
  margin-top: auto;
}
.price-cta:hover { background: var(--accent-strong); color: #FFFFFF; }

.price-cta-quiet {
  background: #FFFFFF;
  color: #0B2436;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  padding: 15px 28px;
  border: 1.5px solid rgba(91,115,133,0.35);
  margin-top: auto;
}
.price-cta-quiet:hover { border-color: var(--accent); color: var(--accent-strong); }

/* --- FAQ ---------------------------------------------------------------- */

.faq-item { background: #F7FAF9; border-radius: 16px; overflow: hidden; }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  color: #0B2436;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'Spline Sans Mono', monospace;
  color: var(--accent);
  font-size: 16px;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 22px 20px; font-size: 15px; line-height: 1.6; color: #5B7385; }

/* --- hero demo ---------------------------------------------------------- */
/*
 * The demo is progressive enhancement: the server renders it in its default
 * state (a service/party preselected, no time picked yet) and landing-demo.js
 * only swaps classes and text. With JS off it stays a legible, correct still.
 */

.demo-label { font-size: 13px; font-weight: 500; color: #5B7385; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.chip {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 13.5px;
  background: #F7FAF9;
  color: #0B2436;
  border: 1.5px solid rgba(91,115,133,0.35);
  border-radius: 999px;
  padding: 8px 0;
  min-width: 44px;
  min-height: 38px;
  flex: 1 1 auto;
  cursor: pointer;
  text-align: center;
}
.chip:hover { border-color: var(--accent); }
.chip.is-on {
  background: var(--accent);
  color: #FFFFFF;
  border: 1.5px solid var(--accent);
  font-weight: 500;
}

.chip-service {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #F7FAF9;
  color: #0B2436;
  border: 1.5px solid rgba(91,115,133,0.35);
  border-radius: 14px;
  padding: 11px 16px;
  min-height: 44px;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.chip-service.is-on { background: var(--accent-soft); border: 1.5px solid var(--accent); }
.chip-service .mins { font-family: 'Spline Sans Mono', monospace; font-size: 12.5px; opacity: 0.75; }

.demo-book {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  background: rgba(91,115,133,0.18);
  color: #5B7385;
  border: none;
  border-radius: 999px;
  padding: 15px 20px;
  cursor: default;
  margin-top: 4px;
}
.demo-book.is-ready { background: var(--accent); color: #FFFFFF; cursor: pointer; }
.demo-book.is-ready:hover { background: var(--accent-strong); }

.demo-caption { font-size: 12px; color: var(--accent); font-style: italic; }

.demo-reset {
  background: #FFFFFF;
  color: #0B2436;
  border: 1.5px solid rgba(91,115,133,0.35);
  border-radius: 999px;
  padding: 11px 22px;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.demo-reset:hover { border-color: var(--accent); color: var(--accent-strong); }

/* Swapped by landing-demo.js. Both panels carry display:flex inline, which
   would otherwise beat the [hidden] UA rule. */
[data-demo-picker][hidden],
[data-demo-confirm][hidden] { display: none !important; }
