/* Interview marketing site — Ember on BONE, from the app's design system
   (design/tokens). One ember accent, warm paper, char ink, three type families. */

:root {
  --bone-000: #FFFFFF;
  --bone-050: #FBF7EC;
  --bone-100: #F2EAD3;
  --bone-200: #EBE3D0;
  --bone-300: #DCD0B2;
  --char: #1A0F0A;
  --paper: #F2EBDC;
  --ember-300: #F09E48;
  --ember-500: #B85818;
  --ember-600: #9A4A14;
  --ember-700: #6B2A06;
  --ink-800: #14161C;

  --text: var(--char);
  --text-muted: rgba(30,18,8,0.72);
  --text-dim: rgba(30,18,8,0.52);
  --hairline: rgba(30,18,8,0.10);
  --hairline-strong: rgba(30,18,8,0.16);
  --accent-text: var(--ember-600);

  --font-display: 'Manrope', -apple-system, system-ui, sans-serif;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --container: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone-200);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--ember-700); }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Type */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent-text);
}
.meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim);
}
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lede {
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 520px;
  text-wrap: pretty;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: opacity 200ms cubic-bezier(.4,0,.2,1), color 200ms cubic-bezier(.4,0,.2,1);
}
.btn--primary {
  min-height: 52px;
  color: var(--paper);
  background: linear-gradient(180deg, var(--ember-300), var(--ember-500));
  box-shadow: 0 10px 26px -8px rgba(184,88,24,0.55);
}
.btn--primary:hover { color: var(--paper); opacity: 0.92; }
.btn--ghost {
  padding: 0 18px;
  font-size: 14.5px;
  color: var(--text);
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--hairline-strong);
}
.btn--ghost:hover { color: var(--text); background: rgba(255,255,255,0.7); }

/* Hero */
.hero {
  background:
    radial-gradient(75% 50% at 50% 12%, rgba(255,180,80,0.22) 0%, transparent 55%),
    radial-gradient(80% 65% at 80% 100%, rgba(214,162,110,0.28) 0%, transparent 55%),
    linear-gradient(160deg, var(--bone-100) 0%, var(--bone-200) 60%, var(--bone-300) 100%);
  padding-bottom: 96px;
}
.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.mark { width: 40px; height: 40px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.5px;
  color: var(--text);
}
.wordmark--small { font-size: 15px; letter-spacing: -0.3px; }

.hero__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: center;
  padding-top: 72px;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__cta { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 8px; align-self: flex-start; }

/* Phones: real screenshots in a device frame */
.phones {
  position: relative;
  height: 820px;
}
.phone {
  position: absolute;
  overflow: hidden;
  background: #07090C;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 40px 90px -30px rgba(120,80,40,0.5), 0 0 0 6px var(--ink-800);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone--back {
  left: 24px; bottom: 60px;
  width: 300px; height: 652px;
  border-radius: 40px;
  opacity: 0.88;
}
.phone--front {
  right: 20px; bottom: 0;
  width: 360px; height: 783px;
  border-radius: 46px;
}

/* Three points */
.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  padding-top: 104px;
  padding-bottom: 96px;
}
.point {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline-strong);
}
.point h2 { font-size: 30px; line-height: 1.15; }
.point p { font-size: 16.5px; line-height: 1.55; color: var(--text-muted); text-wrap: pretty; }

/* Closing */
.closing { padding-bottom: 0; }
.closing__card {
  padding: 80px 64px;
  border-radius: 28px;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255,180,80,0.26) 0%, transparent 60%),
    var(--bone-050);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.closing__card h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.12; }
.closing__card .btn { margin-top: 8px; }

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 48px;
}
.footer__links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: rgba(30,18,8,0.62); }
.footer__links a:hover { color: var(--text); }
.footer .meta { text-transform: none; letter-spacing: 0.4px; }

/* Phone width */
@media (max-width: 820px) {
  .hero { padding-bottom: 56px; }
  .nav { height: 64px; }
  .mark { width: 34px; height: 34px; }
  .wordmark { font-size: 19px; }
  .hero__body { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
  .hero__copy { gap: 20px; }
  .phones { height: auto; display: flex; justify-content: center; }
  .phone--back { display: none; }
  .phone--front {
    position: static;
    width: min(320px, 100%);
    height: auto;
    aspect-ratio: 598 / 1300;
    border-radius: 42px;
  }
  .points { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; padding-bottom: 64px; }
  .point { gap: 10px; padding-top: 22px; }
  .point h2 { font-size: 27px; }
  .point p { font-size: 15px; }
  .closing__card { padding: 52px 24px; gap: 18px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 44px; padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
