@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');

/* =========================================================================
   CHOSENRAY — "Premium Daylight"
   Airbnb-grade: white canvas · photography-first · one warm accent ·
   soft rounded corners · modest weights · depth from whitespace.
   Type: General Sans (geometric-humanist).
   ========================================================================= */

:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-2: #faf8f4; /* warm ivory section */
  --bg-3: #f3f0ea;
  --card: #ffffff;

  /* ink */
  --ink: #1c1b19;
  --ink-2: #56534d;
  --muted: #918d85;
  --on-accent: #ffffff;

  /* one warm accent + a friendly amber for stars */
  --accent: #d75f33;
  --accent-700: #b94c26;
  --accent-tint: #fbefe8;
  --star: #f0a63c;

  /* lines */
  --line: #eceae3;
  --line-2: #e2ded5;

  /* radii */
  --r-xl: 26px;
  --r-lg: 18px;
  --r-md: 13px;
  --r-sm: 10px;
  --pill: 999px;

  /* soft shadows (used sparingly) */
  --sh-sm: 0 1px 2px rgba(28, 27, 25, 0.04), 0 2px 8px rgba(28, 27, 25, 0.04);
  --sh-md: 0 8px 24px -14px rgba(28, 27, 25, 0.22);
  --sh-lg: 0 20px 48px -20px rgba(28, 27, 25, 0.26);

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: 'General Sans', system-ui, -apple-system, sans-serif;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --font-mono: var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  color: inherit;
}
::selection {
  background: var(--accent-tint);
  color: var(--accent-700);
}

/* scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

/* ---------- Typography --------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h1 {
  font-size: clamp(2.4rem, 7.4vw, 4.6rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(1.2rem, 3.4vw, 1.6rem);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
}
.lead {
  font-size: clamp(1.02rem, 2.3vw, 1.22rem);
  color: var(--ink-2);
  line-height: 1.55;
  font-weight: 400;
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--accent);
}

/* ---------- Layout ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding-top: clamp(52px, 9vw, 110px);
  padding-bottom: clamp(52px, 9vw, 110px);
}
.section-tight {
  padding-top: clamp(36px, 6vw, 70px);
  padding-bottom: clamp(36px, 6vw, 70px);
}
.tint {
  background: var(--bg-2);
}
.row {
  display: flex;
  align-items: center;
}
.between {
  justify-content: space-between;
}
.gap-s {
  gap: 10px;
}
.gap-m {
  gap: 16px;
}
.center {
  text-align: center;
}
.hr {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
/* primary = warm accent */
.btn-solid,
.btn-ember {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn-solid:hover,
.btn-ember:hover {
  background: var(--accent-700);
  border-color: var(--accent-700);
  color: var(--on-accent);
  box-shadow: var(--sh-md);
}
/* dark ink button */
.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
  border-radius: var(--r-md);
}

/* text link with arrow */
.ulink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: gap 0.2s var(--ease), color 0.2s;
}
.ulink:hover {
  color: var(--accent);
  gap: 11px;
}

/* icon button */
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--ink);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.icon-btn:hover {
  box-shadow: var(--sh-sm);
  transform: translateY(-1px);
}

/* ---------- Pills / tags ------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 11px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
}
.tag-accent {
  background: var(--accent);
  color: #fff;
}
.tag-soft {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--sh-sm);
}

/* ---------- Scroll reveal (FOUC-safe) ----------------------------------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js-reveal .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}
