/* Ubuntu, self-hosted. Served from this origin so no visitor data reaches
   Google when the page loads — see the privacy policy, which used to have to
   disclose that request. Latin subsets only. */

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/ubuntu-400-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: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/ubuntu-400-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: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/ubuntu-500-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: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/ubuntu-500-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: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/ubuntu-700-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: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/ubuntu-700-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;
}

/* Momentas Book — coming soon
   Palette and type follow the live momentasbrand.com: cream paper, violet CTA,
   Georgia headlines, Ubuntu for everything else. */

:root {
    --cream:        #F6F4EF;
    --paper:        #FFFDF8;
    --ink:          #151312;
    --ink-soft:     #55504A;
    --line:         #E4DED1;
    --violet:       #8238EC;
    --violet-deep:  #6B22D4;
    --violet-wash:  #F3EBFE;
    --heart:        #D9401F;
    --green:        #00B67A;

    --shell: 1180px;
    --radius: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* no italics anywhere — only the upright Ubuntu weights are loaded, so an italic
   would be a synthesised slant */
em, i, cite, address, dfn, var { font-style: normal; }

body {
    margin: 0;
    background:
        radial-gradient(900px 520px at 88% -8%, rgba(130, 56, 236, .11), transparent 62%),
        radial-gradient(680px 420px at 4% 104%, rgba(217, 64, 31, .07), transparent 60%),
        var(--cream);
    color: var(--ink);
    font-family: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }

a { color: inherit; }

/* ---------- announcement ---------- */

.ticker {
    background: var(--violet);
    color: #fff;
    font-size: .875rem;
    letter-spacing: .01em;
    text-align: center;
    padding: 11px 18px;
}

.ticker strong { font-weight: 700; }

.ticker__dot {
    display: inline-block;
    width: 8px; height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background: #fff;
    vertical-align: 1px;
}

/* ---------- masthead ---------- */

.masthead {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 26px 24px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.masthead__logo img {
    display: block;
    width: auto;
    height: 46px;
}

.masthead__link {
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
    transition: color .18s ease, border-color .18s ease;
}

.masthead__link:hover { color: var(--violet); border-bottom-color: var(--violet); }

/* ---------- hero ---------- */

/* one centred column: intro → signup */
.hero {
    max-width: 820px;
    margin: 0 auto;
    padding: 64px 24px 40px;
    text-align: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 20px;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.eyebrow__pill {
    background: var(--violet-wash);
    color: var(--violet-deep);
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: .08em;
    white-space: nowrap;
}

/* the measure is capped in ch so the headline keeps its three-line shape at every
   width — left to itself it collapses to a lopsided "Something / hand-drawn is
   coming." around tablet sizes */
h1 {
    margin: 0 auto 20px;
    max-width: 15ch;
    font-size: clamp(2.4rem, 5.6vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.022em;
    text-wrap: balance;
}

.lede {
    margin: 0 auto 40px;
    max-width: 34em;
    font-size: 1.06rem;
    color: var(--ink-soft);
}

/* ---------- signup ---------- */

.signup { margin: 0 auto 24px; max-width: 500px; }

.signup__label {
    display: block;
    margin-bottom: 9px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
}

.signup__row { display: flex; gap: 10px; }

.signup__input {
    flex: 1 1 auto;
    min-width: 0;
    font: inherit;
    padding: 14px 16px;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.signup__input::placeholder { color: #A49E95; }

.signup__input:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(130, 56, 236, .16);
}

.signup__input.is-invalid { border-color: var(--heart); }

.btn {
    flex: 0 0 auto;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: var(--violet);
    border: 0;
    border-radius: 12px;
    padding: 14px 26px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(130, 56, 236, .26);
    transition: background .16s ease, box-shadow .16s ease;
}

.btn:hover { background: var(--violet-deep); box-shadow: 0 12px 24px rgba(130, 56, 236, .3); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.signup__note {
    margin: 11px 0 0;
    font-size: .86rem;
    color: var(--ink-soft);
}

.signup__note.is-ok  { color: #17794F; font-weight: 500; }
.signup__note.is-err { color: var(--heart); font-weight: 500; }

.signup__consent {
    margin: 10px auto 0;
    max-width: 42em;
    font-size: .78rem;
    line-height: 1.5;
    color: #6E6862;
}

.signup__consent a { color: var(--violet-deep); }

.signup.is-done .signup__row,
.signup.is-done .signup__label { display: none; }

/* ---------- proof ---------- */

.proof {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    font-size: .92rem;
    color: var(--ink-soft);
}

.proof strong { color: var(--violet-deep); }
.stars { display: inline-flex; flex: 0 0 auto; }

/* keeps "4.9/5 — trusted by…" wrapping as one run of text, so a narrow screen
   never drops a lone em dash onto the next line */
.proof__text { text-wrap: balance; }

/* ---------- promises ---------- */

/* 868 - 48px padding = 820, the same measure as the hero, so the strip lines up
   with the centred column instead of sprawling past it on wide screens */
.promises {
    max-width: 868px;
    margin: 26px auto 0;
    padding: 0 24px;
}

/* 2x2 rather than 4-up: at the hero's 820px measure four columns force ugly breaks
   like "Made in the / EU". Two columns give every promise a full line. */
.promises ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    padding: 6px 26px;
    list-style: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.promises li {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 0;
    font-size: .9rem;
    color: var(--ink-soft);
}

.promises li:nth-child(odd)  { padding-right: 26px; }
.promises li:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.promises li:nth-child(n+3)  { border-top: 1px solid var(--line); }

.promises svg {
    flex: 0 0 auto;
    width: 26px; height: 26px;
    fill: none;
    stroke: var(--violet);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promises strong {
    display: block;
    color: var(--ink);
    font-weight: 700;
    font-size: .95rem;
}

/* ---------- footer ---------- */

.footer {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 34px 24px 44px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .85rem;
    color: var(--ink-soft);
}

.footer p { margin: 0; }
.footer a { text-decoration: none; border-bottom: 1px solid var(--line); }
.footer a:hover { color: var(--violet); border-bottom-color: var(--violet); }

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    order: -1;
    width: 100%;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
}

/* ---------- cookie banner ---------- */

.cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    max-width: 720px;
    margin: 0 auto;
    display: none;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(21, 19, 18, .18);
}

.cookie.is-open { display: flex; }

.cookie__text { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.cookie__text strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 3px; }
.cookie__text a { color: var(--violet-deep); }

.cookie__actions { display: flex; gap: 10px; flex: 0 0 auto; }

.cookie .btn { padding: 11px 20px; font-size: .9rem; }

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
    box-shadow: none;
}

.btn--ghost:hover { background: #F1EDE4; border-color: #D6CFC1; box-shadow: none; }

@media (max-width: 620px) {
    .cookie { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
    .cookie__actions { flex-direction: column; }
    .cookie .btn { width: 100%; }
}

/* ---------- responsive ---------- */

@media (max-width: 700px) {
    .promises ul { grid-template-columns: 1fr; padding: 4px 22px; }
    .promises li:nth-child(odd)  { padding-right: 0; }
    .promises li:nth-child(even) { padding-left: 0; border-left: 0; }
    .promises li + li            { border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .masthead { padding-top: 20px; }
    .masthead__logo img { height: 36px; }
    .masthead__link { display: none; }
    .signup__row { flex-direction: column; }
    .btn { width: 100%; }
    .hero { padding: 40px 20px 30px; }
    .promises { padding: 0 20px; }
    .promises ul { padding: 4px 18px; }
    .footer { flex-direction: column; gap: 6px; padding-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
