/* THE UNSAID GUIDE — site styles */

:root {
  --navy: #141b30;
  --navy-deep: #0e1424;
  --charcoal: #1f2a44;
  --orange: #d9691a;
  --orange-light: #f08a3c;
  --cream: #faf7f2;
  --line: #eae3d8;
  --text-dark: #1f2a44;
  --text-muted: #6b6559;
  --text-soft: #8a8578;
  --white: #ffffff;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
}

.brand span {
  color: var(--orange-light);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

/* Hero */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, #141b30 46%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 72px 0 64px;
}

.hero .wrap {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  flex: 1 1 480px;
}

.eyebrow {
  color: var(--orange-light);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 12.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 800;
}

.hero p.lede {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin: 0 0 30px;
}

.hero-visual {
  flex: 0 0 260px;
}

.hero-visual img {
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.45);
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(217,105,26,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Sections */
section {
  padding: 64px 0;
}

.section-alt {
  background: var(--white);
}

.section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 18px;
}

h2 {
  font-size: 28px;
  margin: 0 0 16px;
  color: var(--text-dark);
}

h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--text-dark);
}

p {
  color: var(--text-muted);
}

/* Feature card (home) */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
}

.feature-card img {
  width: 180px;
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(20,27,48,0.18);
  flex: none;
}

.feature-card .price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 12px 0 20px;
}

/* Grid of benefit / info items */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.grid-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.grid-item h3 {
  font-size: 16px;
}

/* Ebook page hero */
.product-hero {
  background: var(--white);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.product-hero .wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.product-hero img {
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(20,27,48,0.2);
  flex: none;
}

.product-hero .details {
  flex: 1;
}

.product-hero .price {
  font-size: 34px;
  font-weight: 800;
  margin: 10px 0 4px;
}

.note {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-top: 18px;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* Footer */
.site-footer {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 10px;
  display: block;
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* Legal pages */
.legal-page {
  background: var(--white);
  padding: 56px 0 72px;
}

.legal-page h1 {
  font-size: 30px;
  margin-bottom: 6px;
}

.legal-page .updated {
  color: var(--text-soft);
  font-size: 13.5px;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 19px;
  margin-top: 34px;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 15px;
}

.legal-page ul {
  padding-left: 20px;
}

/* Contact */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
}

.contact-card a {
  color: var(--orange);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 820px) {
  .hero .wrap {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-copy {
    text-align: left;
  }

  .feature-card,
  .product-hero .wrap {
    flex-direction: column;
  }

  .feature-card img,
  .product-hero img {
    margin: 0 auto;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
  }

  section {
    padding: 44px 0;
  }
}
