/* Bene coming-soon site — warm-paper editorial, matching the app's design
   language (Anthropic-style paper surfaces, brick accent, serif display,
   hairline borders, no shadows). Zero JS, system font stacks only. */

:root {
  --paper: #f7f5ee;
  --card: #ffffff;
  --ink: #1f1b16;
  --ink-secondary: #5c564d;
  --ink-tertiary: #8a8275;
  --accent: #a32d2d;
  --hairline: #e3ddd0;

  --font-serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --font-sans: ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI",
    Inter, Roboto, sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --text-hero: clamp(2.4rem, 1.4rem + 4.5vw, 4.25rem);

  --space-section: clamp(3.5rem, 2.5rem + 4vw, 7rem);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Decorative radial glows (mirrors the app's welcome screen) */
.glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow-top {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(163, 45, 45, 0.1) 0%,
    rgba(163, 45, 45, 0) 70%
  );
}

.glow-bottom {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -120px;
  background: radial-gradient(
    circle,
    rgba(94, 107, 74, 0.09) 0%,
    rgba(94, 107, 74, 0) 70%
  );
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Header / brand */
.site-header {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  padding-top: var(--space-section);
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--hairline);
  background: var(--card);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: var(--text-hero);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.lead {
  color: var(--ink-secondary);
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-tertiary);
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 0.9rem;
  transition: opacity 150ms ease;
}

.cta:hover,
.cta:focus-visible {
  opacity: 0.88;
}

.cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-block: var(--space-section);
  animation: rise 0.7s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pillar {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  padding: 1.5rem;
}

.pillar h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

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

/* Footer — the legal identity block Apple's organization check (and UK
   trading-disclosure rules) need: trading name → legal entity, company
   number, registered office. */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding-block: 2rem 2.5rem;
  font-size: 0.85rem;
  color: var(--ink-tertiary);
  text-align: center;
}

.site-footer p {
  margin-bottom: 0.4rem;
}

.site-footer strong {
  color: var(--ink-secondary);
  font-weight: 600;
}

.site-footer a {
  color: var(--ink-secondary);
}

.copyright {
  margin-top: 0.8rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero,
  .pillars {
    animation: none;
  }
}
