/*
 * olivia — the site. Visual identity from docs/design-system.html
 * ("Cor do dia"): Outfit in light weights, a fixed linen/ink/stone base,
 * one accent.
 */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/outfit-latin.woff2') format('woff2');
}

:root {
  --linen: #F2F0EB;
  --ink: #1C1B19;
  --stone: #D6D2C8;
  --muted: #55524C;
  --line: #CFCAC0;
  --surface: #E9E6DE;
  --accent: #AEBB9C;
  --on-dark: #CFCAC0;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 300 1rem/1.6 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--muted); }

h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
}

.lede { font-size: 1.05rem; color: var(--muted); max-width: 30rem; }

/* The wordmark: a dotless ı carrying a dot in the accent colour, sized and
   placed like Outfit's own tittle at weight 200. */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.wordmark .i { position: relative; display: inline-block; line-height: 1; }
.wordmark .i::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.695em;
  width: 0.13em;
  height: 0.13em;
  margin-left: -0.065em;
  border-radius: 50%;
  background: var(--accent);
}

/* Header */

.site-header { display: flex; justify-content: space-between; align-items: center; height: 88px; }
.site-header .wordmark { font-size: 32px; }
.site-nav { display: flex; gap: 32px; align-items: center; font-size: 15px; font-weight: 400; }
.site-nav a { text-decoration: none; }

.button {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--linen);
  text-decoration: none;
}
.button:hover { background: #3A3833; color: var(--linen); }

/* Store buttons */

.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--linen);
  text-decoration: none;
  line-height: 1.1;
}
.store:hover { background: #3A3833; color: var(--linen); }
.store svg { flex: none; }
.store span { display: flex; flex-direction: column; text-align: left; }
.store small { font-size: 11px; font-weight: 400; }
.store strong { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 88px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  font-weight: 200;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  letter-spacing: -0.03em;
  line-height: 0.92;
}
.hero .lede { font-size: 1.2rem; max-width: 32rem; }
.hero .note { font-size: 14px; color: var(--muted); }

/* The phone: a drawn sketch of the Home screen, not a screenshot. */

.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 300px;
  height: 620px;
  border-radius: 48px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(28, 27, 25, 0.45);
}
.screen {
  height: 100%;
  border-radius: 38px;
  background: var(--linen);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 16px 16px;
  font-size: 13px;
  line-height: 1.4;
}
.screen-top { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.screen-top .wordmark { font-size: 22px; }
.screen .eyebrow { font-size: 10px; }
.screen-top .eyebrow { font-size: 11px; letter-spacing: 0.12em; }
.look {
  height: 280px;
  border-radius: 26px;
  background: var(--accent);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.look .eyebrow { color: var(--ink); }
.look .photo { font-size: 11px; opacity: 0.6; text-align: center; }
.look strong { display: block; font-weight: 200; font-size: 30px; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.look small { font-size: 12px; font-weight: 400; }
.pieces { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.piece { display: flex; align-items: center; gap: 10px; }
.piece .swatch { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.piece span:nth-child(2) { flex-grow: 1; }
.piece small { font-size: 11px; color: var(--muted); }
.mix { margin-top: auto; display: flex; flex-direction: column; gap: 7px; padding: 12px 4px 0; border-top: 1px solid var(--stone); }
.bar { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.bar span { width: 64px; }
.bar div { flex-grow: 1; height: 5px; border-radius: 3px; background: #E3E0D8; }
.bar i { display: block; height: 5px; border-radius: 3px; }

/* Sections */

.section { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.dark { background: var(--ink); color: var(--linen); }
.dark .lede { color: var(--on-dark); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--muted); }
.step .eyebrow { color: var(--accent); }
.step h3 { font-weight: 300; font-size: 1.6rem; letter-spacing: -0.01em; line-height: 1.2; }
.step p { color: var(--on-dark); }

.styles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.style { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: var(--surface); font-weight: 400; }
.style::before { content: ''; width: 28px; height: 28px; border-radius: 50%; background: var(--c); }

.faq-section { border-top: 1px solid var(--stone); }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--stone); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 1.2rem; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; font-weight: 200; font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 44rem; }

.closing { background: var(--accent); }
.closing .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.closing h2 { font-weight: 200; font-size: clamp(2.8rem, 7vw, 4.4rem); letter-spacing: -0.03em; line-height: 0.95; max-width: 44rem; }
.closing .stores { justify-content: center; }

/* Footer */

.site-footer .wrap {
  padding-top: 40px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .wordmark { font-size: 26px; margin-bottom: 10px; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 400; }

/* Legal and support pages */

.doc { max-width: 720px; padding-top: 56px; padding-bottom: 104px; }
.doc h1 { font-weight: 200; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; }
.doc .eyebrow { margin-bottom: 48px; }
.doc h2 { font-weight: 400; font-size: 1.3rem; letter-spacing: -0.01em; margin: 44px 0 12px; }
.doc p { margin-bottom: 14px; color: #3A3833; }
.doc p strong { font-weight: 500; color: var(--ink); }
.doc .updated { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--stone); font-size: 14px; color: var(--muted); }

/* Phone width */

@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .site-nav { gap: 20px; }
  .site-nav .hide-sm { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-top: 72px; padding-bottom: 72px; }
}
