html,
body {
  padding: 0;
  margin: 0;
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  color: #2d2924;
  line-height: 1.5em;
  background-color: #f4efe6;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.2em;
  text-wrap: pretty;
}
p {
  text-wrap: pretty;
}

a {
  color: #555abf;
}

a:visited {
  color: #555abf;
}

input[type="text"],
input[type="email"] {
  max-width: 500px;
  display: block;
  line-height: 2;
  text-align: left;
  color: #666;
  padding: 6px;
  padding-left: 9px;
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
  outline: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  margin: 0 0 15px;
  display: inline-block;
}

a.see-how {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 0.95em;
  font-weight: 500;
  color: #555abf;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(85, 90, 191, 0.3);
  padding-bottom: 1px;
  transition:
    gap 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

a.see-how::after {
  content: "\2192";
  font-size: 1em;
  transition: transform 150ms ease;
}

a.see-how:hover {
  color: #3d42a8;
  border-bottom-color: rgba(61, 66, 168, 0.6);
  gap: 8px;
}

a.see-how:hover::after {
  transform: translateX(3px);
}

button,
.btn {
  clear: both;
  display: inline-block;
  background: linear-gradient(160deg, #7c80ee 0%, #666ee8 45%, #5558d8 100%);
  color: white;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.18) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.12) inset,
    0 6px 22px rgba(85, 90, 215, 0.5),
    0 2px 6px rgba(70, 75, 190, 0.3);
  border-radius: 8px;
  border: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
  height: 44px;
  padding: 0 30px;
  line-height: 38px;
  outline: none;
  text-decoration: none;
  transition:
    box-shadow 180ms ease,
    transform 140ms ease,
    background 180ms ease;
  letter-spacing: 0.01em;
}

button.large,
.btn.large {
  font-size: 1.15em;
  font-weight: 500;
  padding: 0 44px;
  line-height: 60px;
  height: 64px;
  border-radius: 10px;
}

button:hover,
.btn:hover {
  background: linear-gradient(160deg, #8a8ef5 0%, #7070ec 45%, #6062de 100%);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.22) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.1) inset,
    0 10px 32px rgba(85, 90, 215, 0.62),
    0 3px 8px rgba(70, 75, 190, 0.35);
  transform: translateY(-2px);
  color: white;
}

button:focus,
.btn:focus {
  background: linear-gradient(160deg, #7070e8 0%, #5a5ed4 100%);
  color: white;
}

button:active,
.btn:active {
  background: linear-gradient(160deg, #5a5ed8 0%, #4a4ec8 100%);
  color: white;
  transform: translateY(0);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.1) inset,
    0 3px 10px rgba(85, 90, 215, 0.35);
}

button:disabled,
.btn:disabled {
  background: linear-gradient(160deg, #a0a4e8 0%, #989cda 100%);
  color: white;
  box-shadow: none;
}

button:visited,
a.btn:visited {
  color: white;
}

/* ─── HERO ─────────────────────────────────────────────────────────────────── */

.hero {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Blurred background image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero/8.png") center 50% / cover no-repeat;
  transform: scale(1.01);
  z-index: 0;
  pointer-events: none;
}

/* Darkening gradient overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 2, 22, 0.7) 0%,
    rgba(8, 6, 40, 0.55) 25%,
    rgba(12, 10, 55, 0.38) 55%,
    rgba(0, 0, 20, 0.15) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero h1,
.dl-header h1 {
  padding-top: 13vh;
  font-weight: 700;
  font-size: 4em;
  color: white;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.hero p,
.dl-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15em;
  line-height: 1.68em;
  text-align: center;
  max-width: 600px;
  margin: 16px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-cta {
  position: relative;
  z-index: 2;
  margin-top: 8px;
}

.hero-trust {
  font-size: 0.9em !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-top: 12px !important;
  max-width: none !important;
  padding: 0 !important;
}

/* White CTA button inside hero */
.hero .download-btn,
.hero .download-btn:visited {
  background: white;
  color: #1c1860;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.32);
}

.hero .download-btn:hover {
  background: rgba(255, 255, 255, 0.93);
  color: #1c1860;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.38);
}

/* Screenshot area with landscape */
.hero-screenshot-wrap {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  filter: drop-shadow(0 -8px 40px rgba(110, 160, 255, 0.28))
    drop-shadow(0 24px 64px rgba(0, 0, 0, 0.4));
}

.hero-landscape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 260px;
  z-index: 2;
  pointer-events: none;
}

#hero-graphic {
  width: 100vw;
  max-width: 1400px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 2;
  clip-path: inset(0 0 100px 0);
  margin-bottom: -100px;
}

/* ─── LOGO STRIP ────────────────────────────────────────────────────────────── */

.logo-strip {
  text-align: center;
  padding: 44px 20px;
  background: rgba(244, 239, 230, 0.75);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo-strip-label {
  font-size: 0.72em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7f72;
  margin: 0 0 28px;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
}

.logo-strip-logos {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.logo-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 44px;
}

.logo-strip-row img {
  height: 50px;
  width: auto;
  opacity: 0.35;
  filter: grayscale(1) sepia(0.2);
  transition: opacity 0.2s ease;
}

.logo-strip-row img:hover {
  opacity: 0.6;
}

@media (max-width: 600px) {
  .logo-strip-row {
    gap: 18px 28px;
  }
  .logo-strip-row img {
    height: 38px;
  }
}

/* ─── FEATURE SECTIONS ──────────────────────────────────────────────────────── */

.feature-heading {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 44px;
}

.feature-heading h2 {
  font-weight: 400;
  font-size: 2.6em;
  color: #1a1840;
  letter-spacing: -0.02em;
}

.feature-heading p {
  font-size: 1.15em;
  line-height: 1.65em;
  padding: 0 24px;
  color: #5a5248;
  max-width: 760px;
  margin: 12px auto 0;
}

.feature-bullets {
  padding: 0 20px;
  max-width: 840px;
  margin: 20px auto 0;
  text-align: left;
  display: flex;
  line-height: 2em;
  font-size: 1.1em;
}

.feature-bullets ul {
  list-style: none;
  flex: 1;
  padding-left: 0;
}

.feature-bullets li:before {
  content: "\2713";
  color: #666ee8;
  margin-right: 10px;
  font-weight: 600;
}

.feature-list {
  max-width: 960px;
  margin: auto;
  text-align: center;
}

.feature-icon {
  display: inline-block;
  width: 27px;
  height: 27px;
  vertical-align: -7px;
  margin-right: 10px;
  flex-shrink: 0;
  stroke: #666ee8;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature {
  display: flex;
  align-items: center;
}

.feature img {
  flex-shrink: 0;
}

.feature h3 {
  line-height: 1.25em;
  font-size: 1.35em;
  color: #1a1840;
  font-weight: 600;
}

/* legacy inline images inside h3 — hidden; replaced by .feature-icon SVGs */
.feature h3 img:not(.feature-icon) {
  display: none;
}

.feature p {
  color: #5a5248;
  margin-bottom: 35px;
  line-height: 1.65em;
}

.feature div.explanation {
  padding: 30px;
  text-align: left;
}

/* ─── NAV ───────────────────────────────────────────────────────────────────── */

.nav {
  display: flex;
  max-width: 1070px;
  margin: auto;
  padding: 18px 20px;
}

.nav .left {
  padding-top: 15px;
}

.nav .brand-mark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  text-decoration: none;
  color: #1a1840;
}

.nav .right {
  flex: 1;
  text-align: right;
}

.nav .right li {
  list-style-type: none;
  display: inline-block;
}

.nav .right li img.icon {
  height: 15px;
  vertical-align: middle;
}

.nav .right li a {
  text-decoration: none;
  padding: 10px 14px;
  color: #3d3830;
  font-weight: 400;
  font-size: 0.95em;
}

.nav .right li a:hover {
  color: #1a1840;
}

/* ─── FREE FEATURES (lighter white section) ─────────────────────────────────── */

.free-features-section {
  background: #faf7f2;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 48px;
}

/* ─── THEMES SECTION ────────────────────────────────────────────────────────── */

.themes-section {
  background: linear-gradient(to bottom, #404a47 0%, #636c69 200px);
  text-align: center;
  margin-top: 0;
}

.themes-section .themes-text {
  padding: 72px 24px 52px;
}

.themes-section h2 {
  color: white;
  font-weight: 400;
  font-size: 2.6em;
  letter-spacing: -0.02em;
  margin: 0 auto 16px;
}

.themes-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15em;
  line-height: 1.65em;
  max-width: 680px;
  margin: 0 auto;
}

.themes-section img {
  display: block;
  width: 100%;
}

.themes-section .themes-cta {
  padding: 48px 24px 60px;
}

.themes-section .themes-download-btn {
  background: white;
  color: #1e1840;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.themes-section .themes-download-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #1e1840;
}

/* ─── #FASTER (Built to last) — watercolor landscape ───────────────────────── */

#faster {
  position: relative;
  overflow: hidden;
  padding: 70px 20px 80px;
  margin-bottom: 0;
  color: white;
}

.faster-landscape {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/hero/8.png") top center / cover no-repeat;
  transform: scale(1.06);
}

.faster-landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 2, 22, 0.75) 0%,
    rgba(8, 5, 35, 0.68) 50%,
    rgba(4, 2, 22, 0.75) 100%
  );
}

#faster > *:not(.faster-landscape) {
  position: relative;
  z-index: 2;
}

#faster h2,
#faster h3,
#faster p,
#faster li,
#faster strong {
  color: white;
}

#faster a {
  color: #a0b8f8;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */

@media (max-width: 500px) {
  body,
  html {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 2.8em;
    padding-top: 10vh;
    letter-spacing: -0.02em;
  }

  .feature-bullets {
    font-size: 14px;
    flex-direction: column;
  }

  .feature,
  .mobile-single-column {
    flex-direction: column;
  }

  .feature > img {
    display: none;
  }
}
