/* Brand palette: #1d3557 dark blue, #457b9d medium blue, #e76f51 coral, #eaddc8 warm beige */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@400;500;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: 'Poppins', sans-serif;
  color: #1d3557;
  background: #eaddc8;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: #e76f51; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

header { padding: 28px 0 16px; }
header .header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
header .logo-mark { max-width: 220px; height: auto; display: block; }
header .ig-link { font-size: 14px; font-weight: 500; color: #1d3557; letter-spacing: 0.3px; text-decoration: none; padding: 8px 14px; border: 1.5px solid #1d3557; border-radius: 999px; transition: all 0.2s; white-space: nowrap; }
header .ig-link:hover { background: #1d3557; color: #eaddc8; text-decoration: none; }
@media (max-width: 540px) { header .logo-mark { max-width: 160px; } header .ig-link { font-size: 12.5px; padding: 6px 12px; } }

.hero { padding: 24px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.hero-text h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  color: #1d3557;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-text .subtitle {
  font-size: 17px;
  color: #457b9d;
  margin-bottom: 28px;
  line-height: 1.55;
}

.whats-inside { background: #fff8ef; border-radius: 12px; padding: 20px 24px; margin-bottom: 28px; }
.whats-inside h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; color: #e76f51; margin-bottom: 12px; font-weight: 600; }
.whats-inside ul { list-style: none; padding: 0; }
.whats-inside li { padding: 4px 0 4px 18px; position: relative; font-size: 14.5px; color: #1d3557; }
.whats-inside li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 2px; background: #e76f51; }

form { background: #ffffff; border-radius: 12px; padding: 28px 28px 24px; box-shadow: 0 4px 18px rgba(29,53,87,0.08); }
form label { display: block; font-size: 13px; font-weight: 600; color: #1d3557; margin-bottom: 6px; letter-spacing: 0.3px; text-transform: uppercase; }
form input[type="email"], form input[type="text"] {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 15.5px;
  border: 1.5px solid #eaddc8; border-radius: 8px; color: #1d3557;
  background: #faf7f2; margin-bottom: 18px; transition: border-color 0.2s;
}
form input:focus { outline: none; border-color: #e76f51; background: #fff; }

.consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.consent input[type="checkbox"] { margin-top: 4px; flex-shrink: 0; cursor: pointer; }
.consent label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13.5px; line-height: 1.5; color: #457b9d; cursor: pointer; }
.consent label a { color: #1d3557; text-decoration: underline; }

button[type="submit"] {
  width: 100%; padding: 16px 20px; font-family: inherit; font-size: 16px; font-weight: 600;
  background: #e76f51; color: #ffffff; border: none; border-radius: 8px; cursor: pointer;
  letter-spacing: 0.3px; transition: background 0.2s, transform 0.1s;
}
button[type="submit"]:hover { background: #d85a3c; }
button[type="submit"]:active { transform: translateY(1px); }
button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

.error-msg { background: #fce4dc; color: #b53d20; padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 16px; display: none; }
.error-msg.show { display: block; }

/* Cover preview — real PDF cover image */
.cover-preview { display: flex; justify-content: center; }
.cover-img {
  width: 100%; max-width: 460px; height: auto; display: block;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(29,53,87,0.28), 0 4px 12px rgba(29,53,87,0.12);
}
@media (max-width: 880px) { .cover-img { max-width: 320px; margin: 0 auto; } }

footer { padding: 24px 0 36px; text-align: center; font-size: 12.5px; color: #457b9d; }
footer a { color: #457b9d; }

/* Thank-you / unsubscribed pages — left-aligned, clean */
.ty-main { padding: 60px 0 80px; }
.ty-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .ty-grid { grid-template-columns: 1fr; gap: 36px; } }
.ty-text .ty-tag { font-size: 11px; letter-spacing: 3px; color: #e76f51; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.ty-text h1 { font-size: 44px; font-weight: 700; color: #1d3557; line-height: 1.1; margin-bottom: 18px; letter-spacing: -0.7px; }
.ty-text p { font-size: 17px; color: #1d3557; line-height: 1.6; margin-bottom: 14px; }
.ty-text p.ty-note { font-size: 14.5px; color: #457b9d; line-height: 1.6; margin-top: 18px; }
.ty-text p strong { color: #1d3557; font-weight: 600; }
.ty-cover img { width: 100%; max-width: 360px; display: block; border-radius: 8px; box-shadow: 0 12px 36px rgba(29,53,87,0.22); margin: 0 auto; }
@media (max-width: 880px) { .ty-text h1 { font-size: 34px; } .ty-cover img { max-width: 260px; } }

/* Privacy page */
.privacy-wrap { background: #fff; padding: 50px 0; min-height: 78vh; }
.privacy-wrap .container { max-width: 760px; }
.privacy-wrap h1 { font-size: 32px; margin-bottom: 24px; }
.privacy-wrap h2 { font-size: 18px; margin: 28px 0 10px; color: #457b9d; }
.privacy-wrap p { margin-bottom: 14px; font-size: 15.5px; line-height: 1.7; }
