/* Outfits Daily — the landing of «100 Outfits for Real Women Over 60» by Nathalie Brooks.
   Design 03.11, evening (owner: the thin italic Bodoni «плохо виден… для пожилой аудитории неприемлем», the book too small, too much
   empty space on a phone, too many outfits shown). Warm white paper, deep navy and wine like the cover, camel hairlines — now set in a
   sturdy upright Libre Bodoni for headings and a dark Mulish 500 for reading. No italics, no small letter-spaced capitals anywhere.
   03.11, later (owner, on the book and the site: «шрифт нечитабельный… ни в книге, ни на сайте его не используй… проще, толще и
   понятней»): no Bodoni at all — the headings are Mulish ExtraBold, as in the book. */

@font-face { font-family: "Mulish"; src: url("/fonts/mulish-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("/fonts/mulish-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("/fonts/mulish-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("/fonts/mulish-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --paper: #fbf9f5;
  --ivory: #f3eee6;
  --navy: #1b2747;
  --navy-deep: #131c35;
  --ink: #1f2435;
  --ink-2: #3a4052;
  --wine: #8a1c2c;
  --camel: #b08457;
  --camel-light: #dcbf98;
  --rule: #e3d9ca;
  --on-navy: #dde2ec;
  --display: "Mulish", "Helvetica Neue", Arial, sans-serif;
  --sans: "Mulish", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 19px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 800; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */
.eyebrow { font: 800 17px/1.35 var(--sans); color: var(--wine); margin: 0 0 12px; letter-spacing: .01em; }
.eyebrow--light { color: var(--camel-light); }
h2 { font: 800 clamp(34px, 4.2vw, 50px)/1.12 var(--display); color: var(--navy); letter-spacing: -.005em; text-wrap: balance; }
.lead { font-size: 20px; color: var(--ink-2); margin: 14px 0 0; max-width: 36em; }
.head { margin-bottom: 40px; }
.head--center { text-align: center; }
.head--center .lead { margin-left: auto; margin-right: auto; }
.head--center::after { content: ""; display: block; width: 56px; height: 2px; background: var(--camel); margin: 22px auto 0; }
#faq .head--center::after { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 60px; padding: 14px 30px; border-radius: 8px;
  background: var(--navy); color: #fff; font: 800 19px/1.2 var(--sans); text-decoration: none; text-align: center; border: 0; cursor: pointer;
  transition: background .2s, transform .2s; }
.btn:hover { background: var(--wine); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--big { width: 100%; min-height: 68px; font-size: 21px; box-shadow: 0 10px 24px -12px rgba(19, 28, 53, .6); }
.btn--small { min-height: 46px; padding: 8px 20px; font-size: 16.5px; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--camel-light); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--auto { width: auto; }
.btn-price { white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 245, .97); border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { font: 800 27px/1 var(--display); color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--wine); }
.brand:hover { color: var(--navy); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font: 700 17px/1 var(--sans); color: var(--navy); text-decoration: none; }
.nav a:hover { color: var(--wine); }

/* ---------- 1. hero ---------- */
.hero { background: linear-gradient(180deg, var(--ivory) 0%, var(--paper) 78%); padding: 44px 0 60px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-book { display: flex; justify-content: center; }
.hero-book img { width: 100%; max-width: 540px; }
.hero h1 { color: var(--navy); margin: 0 0 14px; }
.h1-a { display: block; font: 800 clamp(56px, 6.4vw, 84px)/1 var(--display); letter-spacing: -.015em; }
.h1-b { display: block; font: 800 clamp(32px, 3.5vw, 46px)/1.12 var(--display); color: var(--wine); margin-top: 8px; }
.hero-sub { font-size: 21px; color: var(--ink-2); margin: 0 0 14px; max-width: 30em; }
.hero-promise { font: 700 21px/1.45 var(--sans); color: var(--navy); margin: 0 0 22px; padding-left: 16px; border-left: 3px solid var(--camel); max-width: 30em; }
.hero-buy { max-width: 470px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.price-big { font: 800 58px/1 var(--display); color: var(--navy); white-space: nowrap; }
.price-cur { font: 800 21px/1 var(--sans); color: var(--ink-2); letter-spacing: .02em; }
.price-was { font: 700 28px/1 var(--display); color: var(--ink-2); }
.price-note { font-size: 17px; color: var(--ink-2); margin: 10px 0 18px; }
.ticks { margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 40px; font-size: 19px; line-height: 1.45; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--wine); color: #fff;
  font: 800 16px/28px var(--sans); text-align: center; }
.hero-footnote { margin: 24px 0 0; padding: 14px 18px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; font-size: 17.5px; color: var(--ink-2); max-width: 470px; }
.hero-footnote b { color: var(--wine); }

/* ---------- 2. Nathalie explains ---------- */
.watch { padding: 64px 0 72px; border-top: 1px solid var(--rule); }
.watch .head { margin-bottom: 32px; }
.player { max-width: 1060px; margin: 0 auto; }
.player-box { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: var(--navy-deep);
  box-shadow: 0 30px 60px -30px rgba(19, 28, 53, .55); }
.player-box::before { content: ""; display: block; padding-top: 56.25%; }
.player-box video, .player-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; background: var(--navy-deep); }
.player-box--tall { display: none; max-width: 460px; margin: 0 auto; }
.player-box--tall::before { padding-top: 177.78%; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--ivory { background: var(--ivory); }

/* ---------- 3. letter ---------- */
.letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.letter-photo { position: relative; }
.letter-photo img { width: 100%; border-radius: 4px; box-shadow: 0 26px 50px -26px rgba(19, 28, 53, .5); }
.letter-text h2 { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: 22px; }
.letter-text p { font-size: 19.5px; }
.signature { font: 800 36px/1 var(--display) !important; color: var(--wine); margin-top: 22px !important; }

/* ---------- 4. a look inside ---------- */
.spreads { display: grid; gap: 64px; }
.spread { max-width: 1000px; margin: 0 auto; width: 100%; }
.spread-pages { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 28px 56px -28px rgba(19, 28, 53, .5), 0 0 0 1px var(--rule); }
.page { position: relative; display: block; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.page--left::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 26px; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .07)); pointer-events: none; }
.page--right::after { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 26px; background: linear-gradient(270deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .07)); pointer-events: none; }
.page img { width: 100%; }
.spread-cap { margin: 20px auto 0; max-width: 44em; text-align: center; font-size: 19px; color: var(--ink-2); }
.spread-cap b { display: block; font: 800 25px/1.25 var(--display); color: var(--navy); margin-bottom: 4px; }
.swipe { display: none; }

/* ---------- 5. two editions ---------- */
.editions { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 56px; align-items: center; }
.editions-pic img { width: 100%; max-width: 580px; margin: 0 auto; }
.ed-list { margin: 26px 0 0; display: grid; gap: 20px; }
.ed-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 19.5px; }
.ed-list b { color: var(--navy); }
.ed-ic { width: 30px; height: 36px; flex: 0 0 auto; color: var(--wine); margin-top: 2px; }
.ed-note { margin: 24px 0 0; font: 700 19px/1.5 var(--sans); color: var(--navy); }

/* ---------- 6. three steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.steps li { border-top: 2px solid var(--camel); padding-top: 22px; }
.step-n { display: block; font: 800 54px/1 var(--display); color: var(--wine); margin-bottom: 14px; }
.steps h3 { font: 800 21px/1.3 var(--sans); color: var(--navy); margin-bottom: 8px; }
.steps p { font-size: 18.5px; color: var(--ink-2); margin: 0; }

/* ---------- 7. the offer band ---------- */
.offer { background: var(--navy); color: var(--on-navy); padding: 88px 0; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.offer-book img { width: 100%; max-width: 400px; margin: 0 auto; }
.offer h2 { color: #fff; margin-bottom: 30px; }
.big-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.big-numbers b { display: block; font: 800 52px/1 var(--display); color: #fff; margin-bottom: 8px; }
.big-numbers span { font-size: 17.5px; line-height: 1.45; display: block; }
.parts { margin: 26px 0 0; }
.parts li { display: grid; grid-template-columns: 82px 1fr; gap: 4px 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.part-n { font: 800 16px/1.3 var(--sans); color: var(--camel-light); }
.parts b { font: 800 23px/1.25 var(--display); color: #fff; }
.part-line { grid-column: 2; font-size: 17px; }
.offer-buy { margin-top: 32px; max-width: 470px; }
.offer .price-big { color: #fff; }
.offer .price-cur, .offer .price-was, .offer .price-note { color: var(--on-navy); }
.guarantee-line { margin: 14px 0 0; font: 700 17.5px/1.4 var(--sans); color: var(--camel-light); }

/* ---------- 8. questions ---------- */
.guarantee { background: var(--ivory); border-left: 4px solid var(--wine); padding: 20px 24px; border-radius: 0 8px 8px 0; font-size: 19px; margin: 0 0 18px; }
.guarantee strong { color: var(--navy); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px;
  font: 800 20px/1.35 var(--sans); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 32px/1 var(--sans); color: var(--wine); flex: 0 0 auto; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 2px 22px; font-size: 19px; color: var(--ink-2); }
.faq .a p:last-child { margin-bottom: 0; }
.faq-steps { list-style: decimal; padding-left: 24px; margin: 8px 0 0; }
.faq-steps li { margin-bottom: 10px; }
.faq-steps strong { color: var(--navy); }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 36px; }
.review blockquote { margin: 0 0 10px; font-size: 19px; }
.review figcaption { font-weight: 800; color: var(--navy); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 56px 0 120px; font-size: 17px; }
.site-footer a { color: #fff; }
.foot-brand { font: 800 28px/1 var(--display); color: #fff; margin-bottom: 20px; }
.foot-brand span { color: var(--camel-light); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 22px; font-weight: 700; }

/* ---------- sticky buy bar (phones) ---------- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(251, 249, 245, .98); border-top: 1px solid var(--rule);
  transform: translateY(110%); transition: transform .25s; box-shadow: 0 -10px 30px -20px rgba(19, 28, 53, .5); padding-bottom: env(safe-area-inset-bottom, 0px); }
.buybar.show { transform: translateY(0); }
@media (min-width: 901px) { .buybar { display: none; } }
.buybar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left, 0px)); max-width: 720px; margin: 0 auto; }
.buybar-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.buybar-title { font: 800 15px/1.3 var(--sans); color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-price { font: 800 24px/1.15 var(--display); color: var(--navy); white-space: nowrap; }
.buybar-price small { font: 800 13px/1 var(--sans); color: var(--wine); }
.buybar .btn { min-height: 52px; padding: 10px 20px; font-size: 17px; flex: 0 0 auto; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(19, 28, 53, .64); }
.soon { max-width: 460px; width: calc(100% - 32px); background: var(--paper); color: var(--ink); border-radius: 10px; padding: 40px 30px 30px; text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.soon .eyebrow { margin-bottom: 10px; }
.soon h2 { font-size: 36px; margin-bottom: 12px; }
.soon p { font-size: 19px; }
.soon .btn { margin-top: 6px; }
.soon:not([open]):target { display: block; position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 60; }
.zoom { background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.zoom img { max-width: 94vw; max-height: 92vh; width: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }
.zoom-close { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; z-index: 2;
  background: var(--navy); color: #fff; font: 500 30px/1 var(--sans); }
.soon .zoom-close { background: transparent; color: var(--navy); }

/* ---------- legal pages and 404 ---------- */
.legal { padding: 56px 0 80px; }
.legal h1 { font: 800 clamp(36px, 5vw, 52px)/1.1 var(--display); color: var(--navy); margin-bottom: 14px; }
.legal h2 { font-size: 28px; margin: 34px 0 10px; }
.legal li { margin-bottom: 8px; }
.legal ul, .legal ol { list-style: disc; padding-left: 22px; }
.notfound-book { max-width: 280px; margin: 24px auto 28px; }
.fine { font-size: 17px; color: var(--ink-2); margin-top: 18px; }

/* ---------- tablets ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .hero-grid { gap: 36px; }
  .letter, .offer-grid { gap: 40px; }
  .editions { gap: 36px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .header-in { justify-content: space-between; }
  .hero-grid, .letter, .editions, .offer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .offer-book img { max-width: 300px; }
  .letter-photo { max-width: 520px; }
}

/* ---------- phones ---------- */
@media (max-width: 699px) {
  body { font-size: 18.5px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .header-in { min-height: 58px; gap: 12px; }
  .brand { font-size: 24px; }
  .header-buy { min-height: 42px; padding: 8px 14px; font-size: 15.5px; }
  .section { padding: 56px 0; }
  .head { margin-bottom: 28px; }
  h2 { font-size: 32px; }
  .lead { font-size: 19px; }

  /* the book first and large, then the title, the price and Buy — little air above and below (owner 03.11) */
  .hero { padding: 10px 0 40px; }
  .hero-grid { gap: 6px; }
  .hero-book img { max-width: 380px; width: 96%; margin: 0 auto; }
  .hero-text { text-align: center; }
  .hero .eyebrow { margin-bottom: 6px; }
  .h1-a { font-size: 50px; }
  .h1-b { font-size: 31px; margin-top: 6px; }
  .hero-sub { font-size: 19.5px; margin: 0 auto 12px; }
  .hero-promise { border-left: 0; padding: 0; margin: 0 auto 18px; font-size: 19.5px; }
  .hero-buy { margin: 0 auto; }
  .price-row { justify-content: center; }
  .price-big { font-size: 50px; }
  .price-cur { font-size: 19px; }
  .price-note { font-size: 16.5px; margin-bottom: 14px; }
  .ticks { text-align: left; max-width: 420px; margin: 22px auto 0; }
  .ticks li { font-size: 18.5px; }
  .hero-footnote { text-align: left; margin: 20px auto 0; font-size: 17px; }

  .watch { padding: 44px 0 48px; }
  .watch .head { margin-bottom: 22px; }
  .player-box--wide { display: none; }
  .player-box--tall { display: block; border-radius: 12px; }

  .letter { gap: 26px; }
  .letter-text h2 { font-size: 29px; }
  .letter-text p { font-size: 18.5px; }

  /* the pages turn by a swipe, one page to the screen; the caption stays in view across its spread */
  .spreads { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 -16px; padding: 4px 16px 18px; scroll-padding-left: 16px; scrollbar-width: none; }
  .spreads::-webkit-scrollbar { display: none; }
  .spread { flex: 0 0 auto; width: auto; max-width: none; margin: 0; }
  .spread-pages { display: flex; gap: 10px; background: none; box-shadow: none; }
  .page { width: 82vw; max-width: 380px; scroll-snap-align: start; box-shadow: 0 16px 30px -18px rgba(19, 28, 53, .55), 0 0 0 1px var(--rule); }
  .page::after { display: none; }
  .spread-cap { position: sticky; left: 0; width: 82vw; max-width: 380px; margin: 16px 0 0; text-align: left; font-size: 17.5px; }
  .spread-cap b { font-size: 22px; }
  .swipe { display: block; text-align: center; margin: 6px 0 0; font: 800 17px/1.3 var(--sans); color: var(--wine); }

  .ed-list li { font-size: 18.5px; }
  .step-n { font-size: 46px; margin-bottom: 8px; }
  .steps h3 { font-size: 20px; }

  .offer { padding: 56px 0; }
  .offer-book img { max-width: 240px; }
  .big-numbers { gap: 22px 20px; }
  .big-numbers b { font-size: 42px; }
  .big-numbers span { font-size: 16.5px; }
  .parts li { grid-template-columns: 66px 1fr; }
  .parts b { font-size: 21px; }

  .faq summary { font-size: 19px; padding: 20px 2px; }
  .faq .a, .guarantee { font-size: 18px; }
}
@media (max-width: 380px) {
  .h1-a { font-size: 44px; }
  .h1-b { font-size: 28px; }
  .price-big { font-size: 44px; }
  .header-buy { padding: 8px 10px; font-size: 14.5px; }
}
