/*
Theme Name: Lovpsy
Theme URI: https://lovpsy.com/
Author: Lovpsy
Description: Focused relationship reading landing theme with an editorial navy, rose, sage, and mint visual system.
Requires at least: 6.5
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: lovpsy
*/

:root {
  --lp-ink: #101a33;
  --lp-ink-2: #2f3b58;
  --lp-muted: #667089;
  --lp-paper: #fbf8f2;
  --lp-cream: #f1eadf;
  --lp-rose: #c57d82;
  --lp-sage: #8fa695;
  --lp-mint: #4ee2bd;
  --lp-line: rgba(16, 26, 51, 0.16);
  --lp-white: #ffffff;
  --lp-radius: 8px;
  --lp-shadow: 0 24px 70px rgba(16, 26, 51, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--lp-paper);
  color: var(--lp-ink);
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .lp-nav {
  top: 32px;
}

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

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

.lp-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--lp-line);
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(16px);
}

.lp-logo {
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--lp-ink);
}

.lp-logo--footer {
  color: var(--lp-paper);
}

.lp-nav__links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--lp-ink-2);
}

.lp-nav__links a,
.lp-footer a {
  transition: color 160ms ease;
}

.lp-nav__links a:hover,
.lp-footer a:hover {
  color: var(--lp-rose);
}

.lp-nav__cta,
.lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--lp-ink);
  border-radius: var(--lp-radius);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lp-nav__cta,
.lp-button--primary {
  background: var(--lp-ink);
  color: var(--lp-paper);
  box-shadow: 5px 5px 0 var(--lp-mint);
}

.lp-button--ghost {
  background: rgba(255, 255, 255, 0.58);
  color: var(--lp-ink);
}

.lp-button--mint {
  background: var(--lp-mint);
  color: var(--lp-ink);
  box-shadow: 5px 5px 0 rgba(251, 248, 242, 0.92);
}

.lp-nav__cta:hover,
.lp-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--lp-rose);
}

.lp-nav__cta:active,
.lp-button:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 var(--lp-mint);
}

.lp-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 72px);
  overflow: hidden;
  background: var(--lp-ink);
  color: var(--lp-paper);
}

.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.lp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 26, 51, 0.94) 0%, rgba(16, 26, 51, 0.76) 43%, rgba(16, 26, 51, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 26, 51, 0.42), rgba(16, 26, 51, 0.08));
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: end;
  min-height: calc(100dvh - 72px);
  padding: clamp(68px, 9vw, 112px) 0 clamp(48px, 7vw, 84px);
}

.lp-hero__copy {
  max-width: 680px;
}

.lp-kicker {
  margin: 0 0 16px;
  color: var(--lp-rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-hero .lp-kicker,
.lp-band--ink .lp-kicker,
.lp-cta .lp-kicker {
  color: var(--lp-mint);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.25rem, 8vw, 6.9rem);
}

h2 {
  font-size: clamp(2.05rem, 4.2vw, 4.35rem);
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.62rem);
}

.lp-lede {
  max-width: 64ch;
  margin: 24px 0 0;
  color: rgba(251, 248, 242, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.lp-hero__panel {
  display: grid;
  gap: 14px;
}

.lp-hero__panel div {
  padding: 20px;
  border: 1px solid rgba(251, 248, 242, 0.26);
  border-radius: var(--lp-radius);
  background: rgba(16, 26, 51, 0.64);
  box-shadow: 5px 5px 0 rgba(78, 226, 189, 0.72);
  backdrop-filter: blur(12px);
}

.lp-hero__panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--lp-mint);
  font-size: 0.78rem;
  font-weight: 800;
}

.lp-hero__panel strong {
  display: block;
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.08rem;
}

.lp-hero__panel p {
  margin: 8px 0 0;
  color: rgba(251, 248, 242, 0.76);
  font-size: 0.94rem;
}

.lp-band {
  padding: clamp(70px, 9vw, 118px) 0;
  background: var(--lp-paper);
}

.lp-band--light {
  background: var(--lp-cream);
}

.lp-band--ink {
  background: var(--lp-ink);
  color: var(--lp-paper);
}

.lp-section-head {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.lp-section-head--left {
  margin: 0 0 32px;
  text-align: left;
}

.lp-section-head p:not(.lp-kicker),
.lp-trust-grid > div > .lp-lede,
.lp-cta p {
  margin: 18px auto 0;
  color: var(--lp-muted);
  font-size: 1.08rem;
}

.lp-band--ink .lp-section-head p:not(.lp-kicker) {
  color: rgba(251, 248, 242, 0.74);
}

.lp-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lp-service,
.lp-reader,
.lp-steps article,
.lp-proof-list article,
.lp-faq details {
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-white);
  box-shadow: 5px 5px 0 rgba(16, 26, 51, 0.1);
}

.lp-service {
  grid-column: span 2;
  min-height: 330px;
  padding: 22px;
}

.lp-service--wide {
  grid-column: span 2;
}

.lp-service__visual {
  height: 150px;
  margin-bottom: 24px;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 78% 24%, rgba(78, 226, 189, 0.48), transparent 26%),
    var(--lp-rose);
}

.lp-service__visual--sage {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 20% 20%, rgba(78, 226, 189, 0.42), transparent 25%),
    var(--lp-sage);
}

.lp-service__visual--mint {
  background:
    linear-gradient(135deg, rgba(16, 26, 51, 0.2), rgba(16, 26, 51, 0)),
    radial-gradient(circle at 78% 30%, rgba(197, 125, 130, 0.54), transparent 26%),
    var(--lp-mint);
}

.lp-service__visual--navy {
  background:
    linear-gradient(135deg, rgba(251, 248, 242, 0.2), rgba(251, 248, 242, 0)),
    radial-gradient(circle at 80% 25%, rgba(143, 166, 149, 0.74), transparent 30%),
    var(--lp-ink);
}

.lp-service p,
.lp-reader p,
.lp-steps p,
.lp-proof-list p,
.lp-faq p,
.lp-footer p {
  margin: 12px 0 0;
  color: var(--lp-muted);
}

.lp-readers {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.lp-reader-grid {
  display: grid;
  gap: 18px;
}

.lp-reader {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 18px;
  align-items: center;
  padding: 22px;
}

.lp-reader__mark {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--lp-radius);
  background: var(--lp-ink);
  color: var(--lp-mint);
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--lp-rose);
}

.lp-reader__role {
  margin: 4px 0 0 !important;
  color: var(--lp-rose) !important;
  font-weight: 800;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lp-steps article {
  padding: 26px;
  background: rgba(251, 248, 242, 0.06);
  border-color: rgba(251, 248, 242, 0.2);
  box-shadow: 5px 5px 0 rgba(78, 226, 189, 0.42);
}

.lp-steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--lp-mint);
  color: var(--lp-ink);
  font-weight: 800;
}

.lp-steps p {
  color: rgba(251, 248, 242, 0.74);
}

.lp-trust-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.lp-trust-grid > div > .lp-lede {
  color: var(--lp-muted);
}

.lp-proof-list {
  display: grid;
  gap: 16px;
}

.lp-proof-list article {
  padding: 22px;
}

.lp-faq {
  max-width: 820px;
}

.lp-faq details {
  padding: 20px 22px;
  margin-bottom: 14px;
}

.lp-faq summary {
  cursor: pointer;
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 800;
}

.lp-cta {
  padding: clamp(70px, 9vw, 110px) 0;
  background: var(--lp-ink);
  color: var(--lp-paper);
  text-align: center;
}

.lp-cta p {
  max-width: 620px;
  color: rgba(251, 248, 242, 0.78);
}

.lp-cta .lp-button {
  margin-top: 28px;
}

.lp-footer {
  padding: 56px 0 28px;
  background: #0b1225;
  color: var(--lp-paper);
}

.lp-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 40px;
}

.lp-footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.lp-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(251, 248, 242, 0.78);
}

.lp-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 248, 242, 0.16);
  color: rgba(251, 248, 242, 0.58);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .lp-nav {
    grid-template-columns: 1fr auto;
  }

  .lp-nav__links {
    display: none;
  }

  .lp-hero__grid,
  .lp-readers,
  .lp-trust-grid,
  .lp-footer__grid {
    grid-template-columns: 1fr;
  }

  .lp-hero__grid {
    align-items: start;
    padding-top: 82px;
  }

  .lp-hero__panel {
    max-width: 520px;
  }

  .lp-service-grid,
  .lp-steps {
    grid-template-columns: 1fr;
  }

  .lp-service,
  .lp-service--wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .lp-shell {
    width: min(100% - 28px, 1120px);
  }

  .lp-nav {
    min-height: 64px;
    padding: 0 14px;
  }

  .lp-nav__cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

  .lp-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-button {
    width: 100%;
  }

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

  .lp-reader__mark {
    grid-row: auto;
  }

  .lp-footer__bottom {
    flex-direction: column;
  }
}

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