@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Syne:wght@500;600;700;800&display=swap");

:root {
  --paper: #f7f2e8;
  --paper-strong: #fffdf8;
  --ink: #231f18;
  --ink-soft: #524a3e;
  --accent: #d4a248;
  --accent-strong: #f2c36f;
  --accent-deep: #8c6320;
  --border-light: #dac9a3;
  --shadow-soft: 0 10px 35px rgba(44, 32, 13, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-light);
  background: rgba(247, 242, 232, 0.9);
  backdrop-filter: blur(8px);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.logo {
  display: inline-block;
  text-decoration: none;
  font-family: "Syne", "Poppins", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 1rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  opacity: 0.82;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-deep);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-family: "Syne", "Poppins", sans-serif;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
}

h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}

p {
  margin: 0 0 1rem;
}

main {
  display: block;
}

footer {
  border-top: 1px solid var(--border-light);
  background: rgba(247, 242, 232, 0.92);
}

/* Home page */
body.home-page {
  color: #f6f1e7;
  background:
    radial-gradient(1000px 420px at -15% -10%, rgba(244, 193, 95, 0.28), transparent 70%),
    radial-gradient(640px 380px at 110% 10%, rgba(78, 120, 193, 0.18), transparent 75%),
    linear-gradient(170deg, #090a0f 0%, #111624 48%, #0d1019 100%);
}

body.home-page header {
  border-bottom-color: rgba(242, 195, 111, 0.25);
  background: rgba(8, 10, 16, 0.68);
}

body.home-page .logo {
  color: var(--accent-strong);
}

body.home-page .nav-links a {
  color: rgba(245, 239, 226, 0.85);
}

body.home-page .nav-links a:hover {
  color: #fff8e7;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 3rem;
  padding: clamp(3.2rem, 8vw, 6rem) 0 4rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -3rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 195, 111, 0.45), transparent);
}

.eyebrow {
  margin-bottom: 0.55rem;
  color: rgba(248, 237, 211, 0.86);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.accent {
  color: var(--accent-strong);
}

.hero-lead {
  max-width: 30ch;
  color: rgba(247, 241, 225, 0.82);
  font-size: 1.14rem;
}

.cta-group {
  margin: 1.45rem 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.78rem 1.25rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
}

.cta.primary {
  color: #111;
  background: linear-gradient(145deg, #f2ca78, #bf8a30);
  box-shadow: 0 12px 26px rgba(180, 122, 42, 0.35);
}

.cta.secondary {
  color: #f4eee2;
  border-color: rgba(245, 236, 216, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.cta.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.microcopy {
  margin-bottom: 0;
  font-size: 0.94rem;
  color: rgba(243, 236, 219, 0.7);
}

.jump-link {
  display: inline-block;
  margin-top: 1rem;
  padding-bottom: 0.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  font-weight: 600;
  color: rgba(242, 195, 111, 0.95);
  border-bottom: 1px solid rgba(242, 195, 111, 0.6);
}

.hero-media {
  min-height: 360px;
  position: relative;
  padding: 2rem 0.5rem;
}

.hero-main-image {
  width: min(440px, 100%);
  margin-left: auto;
  border-radius: 28px;
  border: 1px solid rgba(242, 195, 111, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.hero-secondary-image {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(290px, 64%);
  border-radius: 18px;
  border: 1px solid rgba(251, 244, 229, 0.24);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.section {
  scroll-margin-top: 5.5rem;
  padding: clamp(3.2rem, 7.3vw, 5.4rem) 0;
}

.section + .section {
  border-top: 1px solid rgba(242, 195, 111, 0.16);
}

.section-label {
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.26rem 0.8rem;
  border: 1px solid rgba(242, 195, 111, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 231, 194, 0.95);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.section-intro {
  margin-bottom: 1.15rem;
  max-width: 70ch;
  color: rgba(244, 236, 219, 0.84);
}

.persona-row {
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.persona-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 235, 216, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 241, 229, 0.9);
  font-size: 0.86rem;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 195, 111, 0.2);
  border-radius: 24px;
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.about-panel img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 18px;
}

.about-panel p {
  color: rgba(247, 239, 221, 0.84);
}

.feature-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  border-radius: 22px;
  border: 1px solid rgba(242, 195, 111, 0.19);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.95rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 195, 111, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.feature-card img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 16px;
}

.feature-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.22rem;
}

.feature-card p {
  margin-bottom: 0;
  color: rgba(247, 239, 223, 0.82);
  font-size: 0.95rem;
}

.why-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.why-card {
  border-radius: 20px;
  border: 1px solid rgba(242, 195, 111, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  padding: 1rem;
}

.why-card p {
  margin-bottom: 0;
  color: rgba(248, 241, 227, 0.82);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: center;
}

.final-copy p {
  max-width: 60ch;
  color: rgba(248, 241, 227, 0.84);
}

.final-image {
  width: min(510px, 100%);
  justify-self: center;
  border-radius: 24px;
  border: 1px solid rgba(242, 195, 111, 0.25);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.newsletter-card {
  border: 1px solid rgba(242, 195, 111, 0.3);
  border-radius: 26px;
  background:
    radial-gradient(460px 200px at 100% 0%, rgba(242, 195, 111, 0.15), transparent 70%),
    rgba(255, 255, 255, 0.05);
  padding: clamp(1.4rem, 4vw, 2rem);
}

.newsletter-card p {
  margin-bottom: 1.15rem;
  color: rgba(248, 241, 227, 0.83);
}

body.home-page footer {
  border-top-color: rgba(242, 195, 111, 0.25);
  background: rgba(7, 9, 14, 0.72);
}

.footer-grid {
  padding: 2.5rem 0 1.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.footer-col-title {
  margin: 0 0 0.35rem;
  font-family: "Syne", "Poppins", sans-serif;
  font-weight: 600;
  color: rgba(242, 195, 111, 0.95);
}

.footer-text {
  max-width: 55ch;
  color: rgba(247, 240, 224, 0.74);
  font-size: 0.92rem;
}

.footer-grid a {
  color: rgba(247, 239, 224, 0.87);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: #fff7e5;
}

.footer-bottom {
  padding: 0.6rem 0 1.6rem;
  border-top: 1px solid rgba(242, 195, 111, 0.2);
}

.footer-bottom p {
  margin: 0;
  color: rgba(247, 239, 222, 0.68);
  font-size: 0.87rem;
}

/* Legal pages and shared content pages */
body:not(.home-page) main.container {
  padding: 2rem 0 3.2rem;
}

body:not(.home-page) main.container h1 {
  margin-bottom: 0.45rem;
  color: #201a0d;
  font-size: clamp(1.95rem, 4vw, 2.8rem);
}

body:not(.home-page) main.container h2 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: #3a2f18;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
}

body:not(.home-page) main.container h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.45rem;
  color: #4a3c1e;
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
}

body:not(.home-page) main.container p,
body:not(.home-page) main.container li {
  max-width: 74ch;
  color: var(--ink-soft);
}

body:not(.home-page) main.container ul,
body:not(.home-page) main.container ol {
  margin: 0.4rem 0 1rem;
  padding-left: 1.3rem;
}

body:not(.home-page) main.container a {
  color: #8b6211;
  font-weight: 600;
}

.instruction-screenshot {
  margin-top: 0.7rem;
  width: min(360px, 100%);
  border-radius: 14px;
  border: 1px solid #d6c39a;
  box-shadow: 0 8px 20px rgba(56, 37, 7, 0.15);
}

/* Motion */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.home-page .hero-copy,
body.home-page .hero-media,
body.home-page .about-panel,
body.home-page .final-cta,
body.home-page .newsletter-card {
  animation: fadeUp 0.8s ease both;
}

body.home-page .feature-card,
body.home-page .why-card {
  animation: fadeUp 0.72s ease both;
}

body.home-page .feature-card:nth-child(1),
body.home-page .why-card:nth-child(1) {
  animation-delay: 0.04s;
}

body.home-page .feature-card:nth-child(2),
body.home-page .why-card:nth-child(2) {
  animation-delay: 0.1s;
}

body.home-page .feature-card:nth-child(3),
body.home-page .why-card:nth-child(3) {
  animation-delay: 0.16s;
}

body.home-page .feature-card:nth-child(4) {
  animation-delay: 0.22s;
}

body.home-page .feature-card:nth-child(5) {
  animation-delay: 0.28s;
}

body.home-page .feature-card:nth-child(6) {
  animation-delay: 0.34s;
}

/* Responsive */
@media (max-width: 980px) {
  .hero,
  .about-panel,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1.75rem;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-main-image {
    margin: 0 auto;
  }

  .hero-secondary-image {
    left: 50%;
    transform: translateX(-50%);
    width: min(300px, 72%);
  }

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

  .feature-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .feature-card img {
    width: 110px;
    height: 110px;
  }

  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.4rem 0.85rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cta {
    width: 100%;
  }

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

  .feature-card img {
    width: 100%;
    height: 190px;
  }

  body:not(.home-page) .nav-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}
