/* Site de prezentare Rețetapp (retetapp.ro). Culorile și fonturile sunt cele din src/theme/tokens.ts. */

@font-face { font-family: 'Playfair Display'; font-weight: 600; font-display: swap; src: url('/fonts/PlayfairDisplay_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('/fonts/DMSans_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url('/fonts/DMSans_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('/fonts/DMSans_700Bold.ttf') format('truetype'); }

:root {
  --primary: #435A43;
  --primary-pressed: #344735;
  --primary-tint: #E6EBDF;
  --accent: #A85F45;
  --accent-tint: #F1E7DA;
  --background: #F7F3EA;
  --surface: #FFFFFF;
  --surface-2: #E8E4DA;
  --border: #D6CEBD;
  --divider: #EAE4D7;
  --text: #35372F;
  --muted: #6E6A60;
  --heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--text); font: 400 17px/1.6 var(--body); }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; color: var(--text); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--primary); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Antet */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 22px/1 var(--heading); }
.logo { width: 40px; height: 40px; border-radius: 13px; background: var(--accent-tint); display: grid; place-items: center; flex: none; }
.logo svg { width: 24px; height: 24px; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 14px; background: var(--primary); color: #fff; text-decoration: none; font: 600 16px/1.2 var(--body);
}
.btn:hover { background: var(--primary-pressed); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 15px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 72px; }
.overline { font: 700 13px/1.3 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; }
.lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 34em; }
.cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.soon { font-size: 15px; color: var(--muted); }

/* Telefonul cu lista */
.phone {
  justify-self: center; width: 300px; padding: 12px; border-radius: 44px; background: #2E302A;
  box-shadow: 0 30px 60px -20px rgba(53, 55, 47, 0.45);
}
.screen { border-radius: 34px; background: var(--background); padding: 26px 16px 22px; overflow: hidden; }
.s-over { font: 700 10px/1.3 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.s-title { font: 600 23px/1.2 var(--heading); margin-top: 4px; }
.s-card { margin-top: 12px; background: var(--surface); border-radius: 14px; padding: 10px 12px; }
.s-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.s-row strong { font: 600 17px/1 var(--heading); }
.s-bar { margin-top: 8px; height: 6px; border-radius: 3px; background: var(--divider); overflow: hidden; }
.s-bar span { display: block; height: 100%; background: var(--primary); }
.s-aisle { margin-top: 10px; background: var(--surface); border-radius: 14px; padding: 8px 12px 4px; }
.s-cap { font: 700 10px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 2px; }
.s-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--divider); font-size: 14px; }
.s-item:first-of-type { border-top: 0; }
.s-item i { width: 18px; height: 18px; border-radius: 5px; border: 2px solid #BDB4A2; flex: none; }
.s-item span { flex: 1; font-weight: 600; }
.s-item em { font-style: normal; font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 10px; padding: 1px 8px; }
.s-item.done i { background: var(--primary); border-color: var(--primary); position: relative; }
.s-item.done i::after { content: ''; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.s-item.done span { color: #A39C8C; text-decoration: line-through; font-weight: 400; }

/* Secțiuni */
section h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.2; }
.features, .steps { padding-top: 24px; padding-bottom: 64px; }
.grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { background: var(--surface); border-radius: 18px; padding: 24px; }
.feature h3 { font-size: 21px; line-height: 1.25; margin-top: 14px; }
.feature p { margin-top: 8px; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-tint); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.steps ol { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span { flex: none; width: 40px; height: 40px; border-radius: 20px; background: var(--accent-tint); color: #7A3F2B; display: grid; place-items: center; font: 600 20px/1 var(--heading); }
.steps h3 { font-size: 19px; line-height: 1.3; }
.steps p { margin-top: 4px; color: var(--muted); font-size: 16px; }

.promise { padding-bottom: 72px; }
.promise-card { background: var(--primary); color: #fff; border-radius: 24px; padding: 40px; }
.promise-card h2 { color: #fff; }
.promise-card p { margin-top: 12px; max-width: 40em; color: #E6EBDF; }
.promise-card .beta { font-size: 15px; color: #C9D3C0; }
.promise-card .btn { margin-top: 24px; background: #fff; color: var(--primary); }
.promise-card .btn:hover { background: var(--primary-tint); }

/* Subsol */
.footer { border-top: 1px solid var(--divider); padding: 28px 0 40px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 15px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--text); }

/* Paginile legale */
.legal { max-width: 720px; padding-top: 24px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.2; }
.legal .updated { margin-top: 6px; font-size: 15px; color: var(--muted); }
.legal .intro { margin-top: 20px; font-size: 18px; }
.legal h2 { font-size: 22px; line-height: 1.3; margin-top: 32px; }
.legal p + p, .legal h2 + p { margin-top: 10px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; padding-bottom: 56px; }
  .grid, .steps ol { grid-template-columns: 1fr; }
  .promise-card { padding: 28px 22px; }
}
@media (max-width: 420px) {
  .btn-small { padding: 0 12px; }
  .cta .btn { width: 100%; }
}
