/* cyrillic-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/caveat-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/caveat-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/caveat-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;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/caveat-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/caveat-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/caveat-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/caveat-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;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/caveat-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-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;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-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;
}
/* vietnamese */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/public-sans-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/public-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;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/public-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;
}
/* vietnamese */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/public-sans-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/public-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;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/public-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;
}
/* vietnamese */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/public-sans-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/public-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;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/public-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;
}
/* vietnamese */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/public-sans-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/public-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;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/public-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 { --ink: #2B2415; --red: #C0392B; --paper: #FBF6E9; --soft: #4A4232; --muted: #6B6250; --faint: #A08D63; --line: #E0D5BC; --tape: #D8CBAA; }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--paper); font-family: 'Public Sans', sans-serif; color: var(--ink); }
  a { color: var(--red); } a:hover { color: #8E2A1E; }
  .hand { font-family: 'Caveat', cursive; }
  .hl { background: linear-gradient(transparent 60%, #F7E28A 60%); padding: 0 3px; }
  .wrap { max-width: 1360px; margin: 0 auto; }
  nav { display: flex; align-items: center; gap: 28px; padding: 20px 48px; border-bottom: 1.5px dashed var(--tape); flex-wrap: wrap; }
  .logo { display: flex; align-items: center; gap: 10px; }
  .logo-badge { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--red); color: var(--red); font-family: 'Caveat', cursive; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; transform: rotate(-4deg); }
  .logo-name { font-family: 'Caveat', cursive; font-size: 27px; font-weight: 700; text-decoration: none; color: inherit;}
  .nav-link { font-family: 'Caveat', cursive; font-size: 20px; font-weight: 600; color: var(--muted); text-decoration: none; }
  .nav-link:hover { color: var(--red); }
  .nav-link:first-of-type { margin-left: auto; }
  .btn { display: inline-block; font-family: 'Caveat', cursive; font-weight: 700; border-radius: 8px; cursor: pointer; text-decoration: none; text-align: center; }
  .btn-outline { border: 2.5px solid var(--red); color: var(--red); font-size: 20px; padding: 5px 20px; border-radius: 6px; background: rgba(192,57,43,0.04); transform: rotate(-1deg); }
  .btn-outline:hover, .btn-solid:hover { color: var(--paper); background: #8E2A1E; border-color: #8E2A1E; }
  .btn-solid { border: 3px solid var(--red); color: var(--paper); background: var(--red); font-size: 27px; padding: 10px 34px; transform: rotate(-1deg); box-shadow: 3px 3px 0 rgba(43,36,21,0.25); }
  .btn-ghost { border: 3px solid var(--red); color: var(--red); background: rgba(192,57,43,0.04); font-size: 27px; padding: 10px 34px; transform: rotate(-1deg); white-space: nowrap; }
  header.hero { display: flex; align-items: center; gap: 40px; padding: 56px 48px 48px 48px; background: linear-gradient(135deg, #CDBA90 0%, #C2AD82 100%); flex-wrap: wrap; }
  .hero-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 18px; }
  .headline-wrap { position: relative; display: inline-block; align-self: flex-start; margin-top: 20px; }
  .soon { position: absolute; top: -44px; right: -12px; border: 2.5px solid var(--red); color: var(--red); font-family: 'Caveat', cursive; font-size: 21px; font-weight: 700; padding: 3px 16px; border-radius: 6px; transform: rotate(4deg); background: var(--paper); letter-spacing: 0.03em; box-shadow: 0 2px 8px rgba(60,40,10,0.15); }
  h1 { font-family: 'Caveat', cursive; font-size: clamp(42px, 5vw, 64px); font-weight: 700; line-height: 1.02; margin: 0; }
  .sub { font-family: 'Caveat', cursive; font-size: 27px; color: var(--soft); line-height: 1.3; max-width: 460px; }
  .cta-row { display: flex; align-items: center; gap: 18px; padding-top: 6px; flex-wrap: wrap; }
  .cta-note { font-family: 'Caveat', cursive; font-size: 19px; color: var(--soft); }
  .polaroid { width: 400px; flex-shrink: 0; position: relative; transform: rotate(1.6deg); margin: 20px auto 0; }
  .tape { position: absolute; width: 110px; height: 30px; background: rgba(240,230,200,0.8); box-shadow: 0 1px 3px rgba(0,0,0,0.15); z-index: 2; }
  .tape.l { top: -14px; left: 70px; transform: rotate(-4deg); }
  .tape.r { top: -12px; right: 60px; transform: rotate(5deg); }
  .polaroid-inner { background: #fff; padding: 12px 12px 40px 12px; box-shadow: 0 12px 32px rgba(60,40,10,0.4); }
  .polaroid-img { position: relative; height: 430px; overflow: hidden; }
  .polaroid-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
  .polaroid-caption { font-family: 'Caveat', cursive; font-size: 21px; font-weight: 600; padding: 10px 6px 0 6px; }
  section.how { padding: 48px; display: flex; flex-direction: column; gap: 24px; }
  h2 { font-family: 'Caveat', cursive; font-size: 40px; font-weight: 700; margin: 0; }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
  .note-card { background: #fff; border: 1.5px solid var(--line); border-radius: 4px; padding: 22px 24px 22px 44px; position: relative; box-shadow: 0 6px 18px rgba(60,40,10,0.12); }
  .note-card::before { content: ''; position: absolute; left: 32px; top: 0; bottom: 0; width: 1px; background: #E5B8B0; }
  .note-card:nth-child(1) { transform: rotate(-0.5deg); }
  .note-card:nth-child(2) { transform: rotate(0.4deg); }
  .note-card:nth-child(3) { transform: rotate(-0.3deg); }
  .note-title { font-family: 'Caveat', cursive; font-size: 30px; font-weight: 700; color: var(--red); }
  .note-body { font-family: 'Caveat', cursive; font-size: 22px; color: var(--soft); line-height: 1.3; padding-top: 6px; letter-spacing: 0.03rem; }
  section.promises { padding: 8px 48px 56px 48px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
  .promise-list { flex: 1 1 480px; display: flex; flex-direction: column; gap: 10px; }
  .promise { font-family: 'Caveat', cursive; font-size: 24px; letter-spacing: 0.03rem; }
  footer { border-top: 1.5px dashed var(--tape); padding: 16px 48px; display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
  .foot-brand { font-family: 'Caveat', cursive; font-size: 19px; color: var(--faint); }
  .waitlist-modal { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms ease, visibility 160ms ease; }
  .waitlist-modal:target { opacity: 1; visibility: visible; pointer-events: auto; }
  .waitlist-backdrop { position: absolute; inset: 0; background: rgba(43,36,21,0.58); backdrop-filter: blur(5px); }
  .waitlist-card { position: relative; width: min(500px, 100%); background: var(--paper); border: 1.5px solid rgba(224,213,188,0.9); border-radius: 10px; padding: 34px 34px 30px 64px; box-shadow: 7px 8px 0 rgba(43,36,21,0.16), 0 16px 38px rgba(43,36,21,0.42); font-family: 'Caveat', cursive; }
  .waitlist-card::before { content: ''; position: absolute; top: 0; bottom: 0; left: 44px; width: 2px; background: #E8B9B0; opacity: 0.75; }
  .waitlist-close { position: absolute; top: 26px; right: 26px; font-family: 'Caveat', cursive; font-size: 22px; font-weight: 700; line-height: 1; color: var(--soft); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .waitlist-card h2 { margin: 0; max-width: calc(100% - 88px); font-size: clamp(35px, 5vw, 43px); line-height: 0.95; }
  .waitlist-copy { margin: 12px 0 26px 0; color: var(--faint); font-size: clamp(21px, 3vw, 26px); font-weight: 700; line-height: 1.15; }
  .waitlist-form { display: flex; flex-direction: column; gap: 14px; }
  .waitlist-field { display: flex; flex-direction: column; gap: 5px; }
  .waitlist-form label { font-family: 'Caveat', cursive; font-size: 24px; font-weight: 700; line-height: 1; color: var(--ink); }
  .waitlist-form input { width: 100%; border: 0; border-bottom: 3px solid #DCD4BF; border-radius: 0; background: transparent; color: var(--ink); font: 28px/1.2 'Caveat', cursive; padding: 0 5px 7px 5px; }
  .waitlist-form input::placeholder { color: #8A8373; opacity: 0.9; }
  .waitlist-form input:focus { outline: 0; border-color: var(--red); }
  .waitlist-form input.is-invalid { border-color: var(--red); }
  .waitlist-error { min-height: 18px; color: var(--red); font-size: 18px; font-weight: 700; line-height: 1; }
  .waitlist-status { display: none; color: var(--soft); font-size: 21px; font-weight: 700; line-height: 1.15; }
  .waitlist-status.is-visible { display: block; }
  .waitlist-status.is-success { color: var(--soft); }
  .waitlist-status.is-error { color: var(--red); }
  .waitlist-success { display: flex; align-items: center; gap: 14px; margin-top: 6px; border: 2px solid #5F8F4E; border-radius: 10px; background: rgba(95,143,78,0.12); color: #315C2B; padding: 18px 20px; font-size: clamp(26px, 3.5vw, 32px); font-weight: 700; line-height: 1.1; box-shadow: 5px 5px 0 rgba(43,36,21,0.12); transform: rotate(-0.5deg); }
  .waitlist-success[hidden] { display: none; }
  .waitlist-success:focus { outline: 0; }
  .waitlist-success-check { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #5F8F4E; color: var(--paper); font-family: 'Public Sans', sans-serif; font-size: 24px; font-weight: 800; line-height: 1; }
  .waitlist-success p { margin: 0; }
  .waitlist-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .waitlist-form.is-submitting .waitlist-submit { opacity: 0.72; cursor: wait; }
  .waitlist-form .btn { width: 100%; margin-top: 14px; border-radius: 10px; font-size: clamp(26px, 3.5vw, 31px); padding: 11px 20px; box-shadow: 5px 5px 0 rgba(43,36,21,0.16); transform: rotate(-0.8deg); }
  @media (max-width: 720px) {
    nav, header.hero, section.how, section.promises, footer { padding-left: 20px; padding-right: 20px; }
    .soon { top: -40px; right: 0; }
    .polaroid { width: min(400px, 92vw); }
    .waitlist-card { padding: 48px 22px 28px 48px; }
    .waitlist-card::before { left: 32px; }
    .waitlist-close { top: 22px; right: 22px; font-size: 22px; }
    .waitlist-card h2 { max-width: none; }
    .waitlist-copy { margin-bottom: 26px; }
    .waitlist-form input { font-size: 28px; }
  }
