/*
 * The home page of essor.day (2026-10-13, mockup "A · L'aube"), shared by
 * the three languages. One visual world, light only: the dawn sky of the
 * icon at the top, the paper of the app below. The typefaces are the app's
 * own files (assets/fonts, the Latin part of each face), nothing from a
 * third party. Versioned name: nginx keeps /assets/ a year.
 */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Fraunces_600SemiBold.latin.v1.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/Fraunces_400Regular_Italic.latin.v1.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/Inter_400Regular.latin.v1.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Inter_600SemiBold.latin.v1.woff2") format("woff2"); }

:root {
  --paper: #F7F4EC; --paper-alt: #F1ECE0; --surface: #FFFFFF; --line: #DFD8C7;
  --ink: #171410; --muted: #555047; --accent: #A35200;
  --success: #2F5D3A;
  --night: #1E2C55; --mauve: #7A5A86; --dawn: #F0A55A; --cream: #FBF5EA;
  --display: "Fraunces", Georgia, serif; --body: "Inter", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--dawn); outline-offset: 2px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--cream); color: var(--ink); padding: 12px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.inner { max-width: 1100px; margin: 0 auto; padding-inline: 20px; }
@media (max-width: 400px) { .inner { padding-inline: 16px; } }

/* The top bar: the name, the languages, signing in. */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; text-decoration: none; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-side { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.langs { display: flex; gap: 2px; font-size: 13px; font-weight: 600; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: 10px; text-decoration: none; }
.langs a[aria-current="page"] { background: rgba(255, 255, 255, .18); }
.signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid rgba(251, 245, 234, .55); margin-left: 6px; }

/* Buttons. A store's button stays hidden until the server names its page. */
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn.light { background: var(--cream); color: var(--ink); }
/* On the dawn, cream letters need a little night behind them to be read
   over the amber end of the sky (4.5:1 at least). */
.btn.ghost { border: 1px solid rgba(251, 245, 234, .75); color: var(--cream); background: rgba(30, 44, 85, .38); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: 18px; color: var(--muted); max-width: 56ch; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.stack { display: flex; flex-direction: column; }
section.block { padding-block: 64px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.shot { border-radius: 28px; border: 8px solid #161310; box-shadow: 0 24px 50px rgba(20, 14, 6, .28); background: #161310; overflow: hidden; }
.shot img { width: 100%; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; align-items: center; }
.split .shot { max-width: 280px; width: 100%; margin: 0 auto; }
.check { display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; list-style: none; }
.check li { display: flex; gap: 10px; align-items: flex-start; }
.check li::before { content: "\2713"; color: var(--success); font-weight: 600; flex: none; }

/* The opening: the dawn sky of the icon, two phones rising from its foot.
   The mauve stands at 76 % (58 % in the mockup): on a wide screen the last
   line of the paragraph sat on the amber, under 4.5:1. */
.dawn { background: linear-gradient(180deg, var(--night) 0%, var(--mauve) 76%, var(--dawn) 100%); color: var(--cream); overflow: hidden; }
.dawn .hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 36px; align-items: end; padding-block: 36px 0; }
.dawn .words { display: flex; flex-direction: column; gap: 18px; padding-bottom: 70px; }
.dawn h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.02; }
.dawn .tag { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(22px, 3vw, 28px); line-height: 1.3; opacity: .95; }
.dawn .lead { color: rgba(251, 245, 234, .95); }
.dawn .phones { display: flex; gap: 16px; justify-content: center; align-items: flex-end; }
.dawn .phones .shot { width: 46%; max-width: 230px; margin-bottom: -60px; }
.dawn .phones .shot.up { margin-bottom: -10px; }
.after-dawn { padding-top: 96px; }

.together { background: var(--paper-alt); }
.closing { background: linear-gradient(180deg, var(--mauve), var(--dawn)); color: var(--cream); }
.closing .inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.foot { border-top: 1px solid var(--line); padding-block: 20px 36px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--muted); justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot a { color: var(--muted); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
