/* SummaBooking marketing site — tokens mirror the live app's
   tailwind.config.ts / components/ui.tsx (Room Reservation Hero Flow
   design system), not the parent summacore.com blue system. */

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

:root {
  --canvas:        #FAF6F0;
  --surface:       #FFFFFF;
  --sunken:        #F2EBE0;
  --ink-1:         #1F1F1F;
  --ink-2:         #5C5C5C;
  --ink-3:         #8A8A8A;
  --accent:        #B86A3A;
  --accent-hover:  #9E5529;
  --accent-tint:   #FAF3EC;
  /* Primary CTA fill darkened one step from the app's accent so white label text clears AA (4.5:1). */
  --accent-strong:       #9E5529;
  --accent-strong-hover: #864620;
  --available:     #3F7A5C;
  --line:          #D9CFC1;
  --line-subtle:   #EBE3D6;
  --brand-slate:   #64748B;
  --brand-ink:     #0B1220;
  --font-display:  'Fraunces', 'Times New Roman', serif;
  --font-ui:       'Inter Tight', Inter, system-ui, -apple-system, sans-serif;
  --shadow-rest:   0 1px 2px rgba(31,31,31,0.04), 0 1px 1px rgba(31,31,31,0.06);
  --shadow-hover:  0 4px 12px rgba(31,31,31,0.08), 0 2px 4px rgba(31,31,31,0.06);
  --shadow-card:   0 1px 3px rgba(31,31,31,0.06), 0 2px 8px rgba(31,31,31,0.04);
  --radius-card:   12px;
}

html { overflow-x: hidden; }

body {
  font-family: var(--font-ui);
  background: var(--canvas);
  color: var(--ink-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

a { color: inherit; }

img { display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── Brand ── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-tile { flex-shrink: 0; display: block; }
.brand-word {
  font-family: var(--font-ui);
  font-size: 17px;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.brand-word .summa { color: var(--brand-slate); font-weight: 600; }
.brand-word .booking { color: var(--brand-ink); font-weight: 700; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line-subtle);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: -0.1px;
  padding: 12px 8px;
  margin: -12px -8px;
  transition: color 0.15s;
}
.nav-signin:hover { color: var(--ink-1); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--accent-strong);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-strong-hover); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink-1);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--sunken); }

/* ── Status pill ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.1px;
  color: #fff;
  background: var(--available);
  white-space: nowrap;
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #A8D9BD;
}

/* ── Hero ── */
.hero {
  padding: 64px 0 72px;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}
@media (min-width: 860px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
}
.hero-copy { max-width: 540px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: var(--ink-1);
}
.hero-sub {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-2);
  letter-spacing: -0.2px;
  line-height: 1.6;
  max-width: 460px;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ── Room vignette ── */
.room-vignette {
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
  transform: rotate(1deg);
}
.room-card {
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line-subtle);
  background: var(--surface);
  box-shadow: var(--shadow-hover);
}
.room-photo-wrap { position: relative; }
.room-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.room-pill-pos {
  position: absolute;
  left: 12px;
  top: 12px;
}
.room-info { padding: 20px; }
.room-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.6px;
  line-height: 1.1;
  color: var(--ink-1);
}
.room-meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ── Section shared ── */
.section {
  padding: 72px 0;
}
.section-head { max-width: 600px; margin-bottom: 44px; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 12px;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: var(--ink-1);
}
.section-intro {
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 520px;
}

.section-sunken { background: var(--sunken); }

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-hover);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--ink-1);
  margin-bottom: 8px;
}
.step p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── Feature grid ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.feature-card h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.2px;
  color: var(--ink-1);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(4, 1fr); }
  .feature-card:last-child { grid-column: span 2; }
}

/* ── Demo band ── */
.demo-band {
  background: var(--accent-tint);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}
.demo-inner {
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.demo-inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.6px;
  color: var(--ink-1);
  margin-bottom: 14px;
}
.demo-inner p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line-subtle);
  background: var(--canvas);
}
.footer-inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-copy {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: -0.05px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: -0.05px;
  padding: 12px 0;
  margin: -12px 0;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink-1); }
.footer-contact {
  font-size: 13px;
  color: var(--ink-2);
}

/* ── 404 ── */
.notfound {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.notfound h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -1px;
  color: var(--ink-1);
  margin-bottom: 12px;
}
.notfound p {
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 28px;
}

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