/* Randevu Technology Platforms — corporate site
   Palette: deep navy ink, cool neutral ground, teal primary accent,
   gold reserved for CTAs/emphasis only. Fraunces (display) + IBM Plex
   Sans (body/UI) for a platform-company feel with some warmth. */

:root {
  --ink: #12172b;
  --ink-secondary: #4a5268;
  --ink-muted: #7b8296;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-sunken: #eef0f4;
  --border: #e2e5ea;
  --teal: #0e7c86;
  --teal-dark: #0a5d65;
  --teal-tint: #e4f3f2;
  --gold: #c98a2e;
  --gold-tint: #faf1e0;
  --shadow: 0 1px 2px rgba(18, 23, 43, 0.04), 0 8px 24px rgba(18, 23, 43, 0.06);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

:root[data-theme="dark"] {
  --ink: #edeff4;
  --ink-secondary: #aeb4c4;
  --ink-muted: #7c8398;
  --bg: #0b0e17;
  --surface: #141a28;
  --surface-sunken: #0f1420;
  --border: #232a3c;
  --teal: #35cdbf;
  --teal-dark: #22a89b;
  --teal-tint: #12292a;
  --gold: #e4b25c;
  --gold-tint: #2a2213;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #edeff4;
    --ink-secondary: #aeb4c4;
    --ink-muted: #7c8398;
    --bg: #0b0e17;
    --surface: #141a28;
    --surface-sunken: #0f1420;
    --border: #232a3c;
    --teal: #35cdbf;
    --teal-dark: #22a89b;
    --teal-tint: #12292a;
    --gold: #e4b25c;
    --gold-tint: #2a2213;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.4);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
  color: var(--ink-secondary);
  max-width: 62ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

/* ---------- layout shells ---------- */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

.wordmark .dot {
  color: var(--teal);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

nav.main-nav a:hover {
  color: var(--ink);
}

nav.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

@media (max-width: 720px) {
  nav.main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header.menu-open nav.main-nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
  }
  .site-header.menu-open nav.main-nav a {
    width: 100%;
    padding: 10px 0;
  }
}

main {
  overflow-x: hidden;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface-sunken);
}

/* ---------- hero ---------- */

.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  max-width: 16ch;
}

.hero .lede {
  font-size: 1.15rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 20ch;
}

/* ---------- sections ---------- */

section {
  padding: 72px 0;
}

section.tight {
  padding: 48px 0;
}

section.sunken {
  background: var(--surface-sunken);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 60ch;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ---------- grids & cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 800px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
}

/* ---------- product cards ---------- */

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

.product-mark .swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.swatch-yesft {
  background: var(--teal);
}

.swatch-washdom {
  background: var(--gold);
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 6px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-dark);
}

.tag-gold {
  background: var(--gold-tint);
  color: var(--gold);
}

.product-card .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* ---------- stat strip ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

@media (max-width: 640px) {
  .stat-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.stat-strip dt {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-strip dd {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-row .pillar-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-row h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-row a {
  text-decoration: none;
  font-weight: 500;
}

.contact-row a:hover {
  text-decoration: underline;
}

/* ---------- footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-fine {
  color: var(--ink-muted);
  font-size: 0.8rem;
}
