/* Privacy and newsletter pages of the teaser.
   The rules come from the full site's styles.css (legal page, buttons, tokens),
   so these pages look the same before and after the launch. */

/* Self-hosted fonts (SIL OFL): no visitor data leaves the site */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/cormorant-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/cormorant-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tenor Sans"; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/tenor-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Tenor Sans"; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/tenor-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ivory: #F5EFE6;
  --amber: #B07A3F;
  --ink: #1A1512;
  --ink-2: #3A302A;
  --mute: #7A6C60;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Tenor Sans", system-ui, -apple-system, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(5.5rem, 14vw, 10rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--amber); color: var(--ivory); }

.eyebrow {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.5rem;
  font-size: .72rem; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.15rem 1.9rem; border: 1px solid rgba(26,21,18,.25); border-radius: 100px;
  background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: .82rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--amber); transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--ivory); border-color: var(--amber); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.legal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(18px + env(safe-area-inset-top)) var(--gutter) 18px;
  border-bottom: 1px solid rgba(26,21,18,.1);
}
.legal-bar a { text-decoration: none; }
.legal-bar__brand { display: flex; align-items: center; }

/* brand lockups (brand/logo): pure black on ivory, never recoloured or given effects.
   Bar: horizontal small cut (monogram under 48px). Footer: vertical master (monogram 64px) */
.legal-bar__logo { display: block; width: auto; height: 38px; }
/* 320px phones: logo and "Torna al sito" on one line; the logotype stays over its 90px minimum */
@media (max-width: 359px) {
  .legal-bar__logo { height: 30px; }
  .legal-bar__back { white-space: nowrap; }
}
.footer__logo { display: block; width: auto; height: 94px; margin: 0 auto; }
.legal-bar__back { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }

.legal { max-width: 44rem; margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) var(--gutter) var(--section); }
.legal h1 {
  font-family: var(--serif); font-weight: 300; letter-spacing: -.02em;
  font-size: clamp(2.8rem, 9vw, 4.4rem); line-height: 1; margin: .8rem 0 1rem;
}
.legal__date { margin: 0 0 2.5rem; font-size: .85rem; color: var(--mute); }
.legal h2 {
  font-family: var(--serif); font-weight: 400; line-height: 1.15;
  font-size: clamp(1.7rem, 4.6vw, 2.2rem); margin: 3.2rem 0 .8rem; scroll-margin-top: 1.5rem;
}
.legal h3 {
  font-size: .74rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); margin: 2rem 0 .5rem;
}
.legal p, .legal li { color: var(--ink-2); }
.legal strong { font-weight: 400; color: var(--ink); }
.legal ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.legal li { margin: .35rem 0; }
.legal a { color: var(--ink); text-underline-offset: .18em; }
.legal a.btn { text-decoration: none; }
.legal__toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; }
.legal__toc a {
  padding: .5rem .95rem; border: 1px solid rgba(26,21,18,.16); border-radius: 100px;
  font-size: .74rem; letter-spacing: .08em; text-decoration: none;
}

.nl-status { min-height: 60vh; }
.nl-status__back { margin-top: 2.4rem; }

.footer { padding: 4rem var(--gutter) calc(3rem + env(safe-area-inset-bottom)); text-align: center; }
.footer__legal { margin: 1.2rem 0 0; font-size: .72rem; line-height: 1.8; color: var(--mute); }

/* added with the status page states and the 404 */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nobr { white-space: nowrap; }
.nl-status__form { margin: 1.6rem 0; }
.legal h1 { text-wrap: pretty; }
