/* =========================================================
   Selling Like a Pro — landing page styles
   Palette: navy #1a2332 · amber #f4a72c · off-white #fafaf7 · slate #4a5568
   ========================================================= */

:root {
  --navy: #1a2332;
  --navy-2: #233047;
  --amber: #f4a72c;
  --amber-deep: #c9851a;
  --paper: #fafaf7;
  --paper-2: #f1efe8;
  --slate: #4a5568;
  --slate-2: #6b7588;
  --rule: #d9d6cc;

  --font-serif: "Fraunces", "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1120px;
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(26, 35, 50, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset / base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
  text-decoration-color: var(--amber);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--amber-deep);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(26, 35, 50, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.header-cta {
  display: inline-block;
  text-decoration: none;
  background: var(--navy);
  color: var(--paper);
  font-weight: 500;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.header-cta:hover {
  background: var(--navy-2);
  color: var(--paper);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .header-cta {
    display: none;
  }
}

/* ---------- typography helpers ---------- */

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber-deep);
  margin: 0 0 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 18px;
}

.section-lede {
  color: var(--slate);
  font-size: 17px;
  max-width: 60ch;
  margin: 0;
}

.accent {
  color: var(--amber-deep);
  font-style: italic;
}

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

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(
      ellipse at top right,
      rgba(244, 167, 44, 0.08),
      transparent 55%
    ),
    var(--paper);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero::before {
  /* subtle blueprint grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 35, 50, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 35, 50, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, black, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 6.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--navy);
}

.hero-line-1,
.hero-line-2 {
  display: block;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 36px;
  max-width: 62ch;
}

.hero .signup-form {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

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

.signup-form {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 22px;
  column-gap: 14px;
  max-width: 520px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 560px) {
  .signup-form {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
  .signup-form .field:nth-child(3),
  .signup-form button,
  .signup-form .form-note,
  .signup-form .form-status {
    grid-column: 1 / -1;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.field input {
  appearance: none;
  font: inherit;
  font-size: 16px;
  padding: 11px 13px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--navy);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease),
    background 0.15s var(--ease);
}

.field input:hover {
  border-color: #c4c0b2;
}

.field input:focus {
  outline: none;
  background: #fff;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(244, 167, 44, 0.28);
}

.field input[aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18);
}

.field-error {
  display: none;
  font-size: 12.5px;
  color: #b03a2e;
  line-height: 1.3;
}

.field-error.show {
  display: block;
}

.btn {
  appearance: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 14px 20px;
  border-radius: var(--radius);
  letter-spacing: 0.005em;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.btn-primary {
  background: var(--navy);
  color: var(--paper);
  font-size: 16px;
  box-shadow: 0 6px 18px -10px rgba(26, 35, 50, 0.5);
  position: relative;
}

.btn-primary:hover:not(:disabled) {
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(26, 35, 50, 0.55);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: var(--slate-2);
  cursor: progress;
  opacity: 0.85;
}

.form-note {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--slate-2);
  line-height: 1.5;
}

.form-status {
  font-size: 14.5px;
  line-height: 1.5;
}

.form-status.success {
  background: rgba(244, 167, 44, 0.12);
  border-left: 3px solid var(--amber);
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--navy);
}

.form-status.error {
  color: #b03a2e;
  font-weight: 500;
}

/* ---------- sections ---------- */

.section {
  padding: clamp(64px, 9vw, 110px) 0;
  border-bottom: 1px solid var(--rule);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ---------- principles ---------- */

.principles {
  background: var(--paper);
}

.principle-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 720px) {
  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .principle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.principle {
  padding: 32px 28px 36px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background: transparent;
  position: relative;
  transition: background 0.25s var(--ease);
}

.principle:hover {
  background: rgba(244, 167, 44, 0.05);
}

@media (max-width: 719px) {
  .principle {
    border-right: none;
  }
}

@media (min-width: 720px) and (max-width: 1023px) {
  .principle:nth-child(2n) {
    border-right: none;
  }
}

@media (min-width: 1024px) {
  .principle:nth-child(3n) {
    border-right: none;
  }
}

.principle-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--amber-deep);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.principle h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}

.principle p {
  margin: 0;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- course ---------- */

.course {
  background: var(--navy);
  color: var(--paper);
}

.course .section-title,
.course .eyebrow {
  color: var(--paper);
}

.course .eyebrow {
  color: var(--amber);
}

.course-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.course-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(250, 250, 247, 0.12);
  align-items: baseline;
}

.course-list li:first-child {
  border-top: 1px solid rgba(250, 250, 247, 0.12);
}

.course-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--amber);
  line-height: 1;
}

.course-list h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--paper);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.course-list p {
  margin: 0;
  color: rgba(250, 250, 247, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

.course-list .bonus {
  background: rgba(244, 167, 44, 0.07);
  margin: 0 -8px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: var(--radius);
}

.course-list .bonus h3 {
  color: var(--amber);
}

.callout {
  margin-top: 8px;
  padding: 28px 30px;
  background: rgba(244, 167, 44, 0.1);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  max-width: 760px;
}

.callout p {
  margin: 0;
  color: var(--paper);
  font-size: 16.5px;
  line-height: 1.6;
}

.callout strong {
  color: var(--amber);
  font-weight: 600;
}

/* ---------- about ---------- */

.about {
  background: var(--paper-2);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 880px) {
  .about-inner {
    grid-template-columns: 1.45fr 1fr;
    gap: 64px;
  }
}

.about-copy p {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 60ch;
}

.about-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.about-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.about-card li {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.4;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.about-card li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.about-card li span {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 21px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ---------- audience ---------- */

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.audience-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 14px;
  font-size: 18px;
  color: var(--navy);
  line-height: 1.5;
  padding: 4px 0;
}

.audience-list svg {
  color: var(--amber-deep);
  margin-top: 4px;
}

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

.signup-bottom {
  background: var(--paper);
  border-bottom: none;
}

.signup-bottom-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .signup-bottom-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.signup-bottom-copy p {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
  max-width: 50ch;
}

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

.site-footer {
  background: var(--navy);
  color: rgba(250, 250, 247, 0.78);
  padding: 48px 0 56px;
}

.footer-inner {
  display: grid;
  gap: 18px;
  text-align: left;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--paper);
}

.footer-privacy {
  margin: 0;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(250, 250, 247, 0.72);
}

.footer-meta {
  margin: 0;
  font-size: 14px;
  color: rgba(250, 250, 247, 0.6);
}

.footer-meta a {
  color: var(--amber);
  text-decoration-color: rgba(244, 167, 44, 0.5);
}

.footer-meta a:hover {
  color: #ffc25b;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
