/* Saidframe's public pages on codystevens.studio/saidframe: the landing page, Privacy and Support.
   Ember on Night (docs/brand): always dark, people's words in a serif, Ember only for the voice. */

@font-face { font-family: 'Newsreader'; src: url('/saidframe/fonts/newsreader-medium.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/saidframe/fonts/newsreader-italic.woff2') format('woff2'); font-weight: 400 500; font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  --night: #0b0b0c;
  --graphite: #1c1c1f;
  --bone: #f2eee6;
  --ash: #9c9aa0;
  --ember: #ff5a36;
  --ember-core: #ffb199;
  --hairline: rgba(255, 255, 255, 0.08);
  --chrome: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --words: 'Newsreader', ui-serif, 'New York', 'Iowan Old Style', Georgia, serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--bone); font: 17px/1.6 var(--chrome); }
a { color: var(--ember-core); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
strong { font-weight: 600; }
img { display: block; max-width: 100%; }

/* Brand mark: Bone viewfinder corners around the Ember orb. */
.brand { margin: 0; font: 600 21px/1 var(--words); }
.brand a { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; border-radius: 8px; }
.brand a::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #ffb199, #ff6a45 35%, #e0461f);
  box-shadow: 0 0 12px rgba(255, 90, 54, 0.55);
}

/* Privacy and Support */
.page { max-width: 680px; margin: 0 auto; padding: 40px 24px 64px; }
.page .brand { margin-bottom: 48px; }
.page h1 { margin: 0 0 8px; font: 500 44px/1.1 var(--words); letter-spacing: -0.01em; }
.page h2 { margin: 40px 0 8px; font: 500 24px/1.25 var(--words); }
.page ul { padding-left: 20px; }
.page li { margin: 6px 0; }
.meta { margin: 0 0 32px; color: var(--ash); font-size: 15px; }
.foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--hairline); color: var(--ash); font-size: 15px; }

/* Landing */
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 24px; }
.top nav a { color: var(--ash); text-decoration: none; font-size: 15px; border-radius: 999px; padding: 8px 14px; }
.top nav a:hover { color: var(--bone); background: var(--graphite); }

.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 48px;
  max-width: 1120px; margin: 0 auto; padding: 56px 24px 96px;
}
.hero h1 { margin: 0; font: 500 clamp(48px, 6.6vw, 84px)/1 var(--words); letter-spacing: -0.025em; text-wrap: balance; }
.hero h1 em { display: block; color: var(--ember-core); font-style: italic; font-weight: 400; }
.lede { max-width: 31em; margin: 28px 0 36px; color: var(--ash); font-size: 19px; line-height: 1.55; }
.lede strong { color: var(--bone); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--bone); color: var(--night); font-weight: 600; text-decoration: none;
  transition: transform 160ms var(--ease), background 160ms var(--ease);
}
.button:hover { background: #fff; }
.button:active { transform: scale(0.97); }
.quiet { color: var(--ash); font-size: 15px; }

/* The phone: a real screenshot when there is one, the orb and a spoken line until then. */
.phone {
  position: relative; justify-self: center; width: min(100%, 340px); aspect-ratio: 1320 / 2868;
  border-radius: 48px; padding: 10px; background: #1a1a1d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 120px -20px rgba(255, 90, 54, 0.28), 0 30px 60px rgba(0, 0, 0, 0.6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 39px; }
.glow {
  position: absolute; inset: -12% -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 90, 54, 0.22), rgba(255, 90, 54, 0) 70%);
  animation: breathe 6s var(--ease) infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.7; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }

/* Said: the people's words, large, the way the app keeps them. */
.said { max-width: 1120px; margin: 0 auto; padding: 72px 24px; border-top: 1px solid var(--hairline); }
.said blockquote { max-width: 22em; margin: 0; font: italic 400 clamp(30px, 4.4vw, 52px)/1.2 var(--words); letter-spacing: -0.01em; }
.said blockquote::before { content: '“'; color: var(--ember); }
.said blockquote::after { content: '”'; color: var(--ember); }
.said p { margin: 20px 0 0; color: var(--ash); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1120px; margin: 0 auto; padding: 24px 24px 96px; }
.steps h2, .team h2 { margin: 0 0 10px; font: 500 28px/1.2 var(--words); }
.steps p, .team p, .team li { margin: 0; color: var(--ash); }
.steps .n { display: block; margin-bottom: 16px; color: var(--ember); font: 500 20px/1 var(--words); }

.team {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start;
  max-width: 1120px; margin: 0 auto 96px; padding: 48px; border-radius: 28px; background: var(--graphite);
}
.team h2 { font-size: 40px; line-height: 1.1; }
.team ul { margin: 0; padding: 0; list-style: none; }
.team li { padding: 14px 0; border-top: 1px solid var(--hairline); }
.team li:first-child { border-top: 0; padding-top: 0; }
.team li strong { display: block; color: var(--bone); }

.site-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; max-width: 1120px; margin: 0 auto; padding: 32px 24px 48px; border-top: 1px solid var(--hairline); color: var(--ash); font-size: 15px; }
.site-foot nav { display: flex; gap: 20px; }
.site-foot a { color: var(--ash); }
.site-foot a:hover { color: var(--bone); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 24px; padding-bottom: 72px; }
  .phone { width: min(78%, 300px); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .team { grid-template-columns: 1fr; gap: 32px; margin: 0 16px 72px; padding: 32px 24px; }
  .team h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; opacity: 0.9; }
  .button { transition: none; }
}
