/* Welbeing Nest — design rotate
   page claude-mem-ai · hero channel-io-hero-1 · header patenty-ai-header-0
   features comet-feature-showcase · path lanorx-com-how-it-works-2
   about DesigningInFigmaBook · pricing pricing-opl-big49 · cta sleek-saas-cta
   contact hpq-frankfurt · faq codefa-st-faq-12 · footer footer-move-agency
   Flat colour only. No box-shadow. No gradients. */

:root {
  --primary: #5447e1;
  --primary-dark: #2c257e;
  --primary-tint: #f3f1fc;
  --ink: #1c1733;
  --muted: #4e4870;
  --line: #d9d4f2;
  --danger: #b4233c;
  --surface: #ffffff;
  --radius: 16px;
  --max: 1120px;
  --header-h: 76px;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-shadow: none !important;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
}

h1,
h2,
h3,
.site-footer h3,
.pricing-big__amount {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  gap: 1rem;
}

.site-header__brand img {
  height: 46px;
  max-width: min(240px, 52vw);
}

.site-header__nav a {
  color: var(--ink);
  font-weight: 500;
  border-radius: 0;
}

.site-header__nav a:hover,
.site-header__nav a.is-active {
  color: var(--primary);
  background: transparent;
  border-bottom: 2px solid var(--primary);
}

.btn,
.btn--primary,
.primary-btn,
.my-button,
.auth-submit,
.signup-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
}

.btn--ghost,
.btn--light {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}

.site-footer {
  background: var(--primary-dark);
  color: #fff;
}

.site-footer a,
.site-footer p,
.site-footer li {
  color: #fff;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.35rem;
}

.footer-logo-link {
  display: inline-flex;
  background: #fff;
  border-radius: 12px;
  padding: 0.45rem 0.7rem;
  margin-bottom: 0.8rem;
}

.footer-logo-link img {
  height: 40px;
  width: auto;
}

.site-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero — channel-io: centered type, media below */
.nest-hero {
  padding: 4.5rem 0 0;
  text-align: center;
  background: var(--primary-tint);
}

.nest-hero__kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nest-hero h1 {
  margin: 0 auto 1rem;
  max-width: 16ch;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  color: var(--ink);
}

.nest-hero p {
  margin: 0 auto 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.nest-hero__frame {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
  overflow: hidden;
}

.nest-hero__frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Features — comet pills + stage */
.comet {
  padding: 4.5rem 0;
}

.comet__card {
  background: var(--primary-dark);
  color: #fff;
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.comet__card h2 {
  margin: 0 0 1.2rem;
  text-align: center;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.comet__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.comet__pills button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.comet__pills button.is-active {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}

.comet__stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.comet__stage img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.comet__copy {
  padding: 1.25rem 1.4rem 1.4rem 0.2rem;
}

.comet__copy h3 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
}

.comet__copy p {
  margin: 0;
  color: var(--muted);
}

/* How it works — lanorx two column */
.path {
  padding: 1rem 0 4rem;
}

.path__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.path h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.path__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.path__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--primary);
}

.path__step h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.path__step p {
  margin: 0;
  color: var(--muted);
}

.path__media {
  overflow: hidden;
  border: 1px solid var(--line);
}

.path__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* About — book cards */
.bio {
  padding: 0 0 4.5rem;
}

.bio__intro {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.bio__intro h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.bio__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.bio__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 0.8rem;
}

.bio__card {
  border: 1px solid var(--line);
  background: var(--primary-tint);
  padding: 1.2rem;
  min-height: 180px;
}

.bio__card--photo {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.bio__card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.bio__card span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bio__card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-sans);
  letter-spacing: 0;
  font-size: 1.2rem;
}

.bio__card p {
  margin: 0;
  color: var(--muted);
}

/* Pricing — big figure */
.price-band {
  background: var(--primary-dark);
  color: #fff;
  padding: 4rem 0;
}

.price-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.price-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.pricing-big__amount {
  margin: 0.4rem 0;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.9;
  color: #fff;
}

.price-band p,
.price-band .pricing-card__cancel {
  color: #fff;
}

.price-band .btn--light {
  margin-top: 1rem;
}

/* CTA */
.sleek-cta {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.sleek-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sleek-cta__scrim {
  position: absolute;
  inset: 0;
  background: rgba(44, 37, 126, 0.72);
}

.sleek-cta__inner {
  position: relative;
  z-index: 1;
  padding: 3rem 1rem;
  max-width: 40rem;
}

.sleek-cta h2 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.sleek-cta p {
  margin: 0 0 1.2rem;
  color: #fff;
}

/* Contact teaser */
.hpq {
  padding: 4rem 0;
  background: #f7f4ee;
}

.hpq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.hpq h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hpq p,
.hpq li {
  color: var(--ink);
}

.hpq img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-grid-2 .user-input,
.auth-slide__form .user-input,
.support-page input,
.cancel-form input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0.7rem 0.1rem;
  font: inherit;
  color: var(--ink);
}

.page-grid-2 .user-input:focus,
.auth-slide__form .user-input:focus,
.support-page input:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.contact-aside,
.support-card {
  background: var(--primary-tint);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

/* FAQ accordion chrome */
.faq-codefa .faq-items li,
.faq-page .faq-items li {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.6rem;
  padding: 0.2rem 1rem;
  background: #fff;
}

.faq-page h3 {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

/* Welcome recipe D */
#welcomeModal.modal-overlay.open,
#welcomeModal.modal-overlay.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(28, 23, 51, 0.55);
  z-index: 10000;
  padding: 1.25rem;
  position: fixed;
  inset: 0;
}

#welcomeModal .welcome-card--footer-cta {
  width: min(22rem, 100%);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

#welcomeModal .welcome-top {
  background: var(--primary);
  color: #fff;
  padding: 1.5rem 1.25rem 1.25rem;
}

#welcomeModal .welcome-badge {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.85rem;
  border-radius: 0.4rem;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

#welcomeModal .welcome-top h3,
#welcomeModal .welcome-top__lead {
  color: #fff;
}

#welcomeModal .welcome-top h3 {
  margin: 0 0 0.4rem;
}

#welcomeModal .welcome-top__lead {
  margin: 0;
}

#welcomeModal .welcome-bottom {
  padding: 1.15rem 1.25rem 1.35rem;
  text-align: left;
}

#welcomeModal .welcome-consent {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

#welcomeModal .welcome-bottom a {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Policy recipe E */
.policy-hero--overlay-fade {
  position: relative;
  min-height: clamp(16rem, 42vh, 25rem);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background-color: var(--primary-dark);
  background-image: var(--policy-hero-img);
  background-size: cover;
  background-position: center;
}

.policy-hero--overlay-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(44, 37, 126, 0.55);
}

.policy-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 3rem 1.25rem;
  animation: policy-overlay-in 0.75s ease-out both;
}

.policy-hero--overlay-fade h1,
.policy-hero__lead {
  color: #fff;
}

.policy-hero--overlay-fade h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.policy-hero__lead {
  margin: 0 0 1rem;
  font-style: italic;
}

@keyframes policy-overlay-in {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: none; }
}

.policy-content,
.wrap {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
}

.policy-main {
  padding: 2.5rem 1.25rem 3rem;
}

.wrap table,
.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 15px;
  border: 1px solid var(--line);
  table-layout: fixed;
}

.wrap table th,
.wrap table td,
.policy-content table th,
.policy-content table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.wrap table th,
.policy-content table th {
  background: var(--primary-tint);
  font-weight: 700;
}

.policy-content a:not([class*="btn"]),
.wrap a:not([class*="btn"]) {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* Auth recipe D */
.auth-stage--slide {
  position: relative;
  padding: 2rem 1rem 3rem;
  overflow: hidden;
}

.auth-slide__back {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
}

.auth-slide__back-left {
  width: 50%;
  background: var(--primary-dark);
}

.auth-slide__back-right {
  width: 50%;
  background: var(--primary);
}

.auth-slide {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.4rem 1.6rem;
}

.auth-slide h1 {
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 2.4rem;
}

.signup-pricing-box {
  margin-bottom: 1rem;
  padding: 0.8rem 0.9rem;
  background: var(--primary-tint);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.92rem;
}

.auth-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
}

.auth-slide__toggle {
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#loginModal .modal,
#forgotModal .modal {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

#loginModal .user-input,
#forgotModal .user-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: inherit;
  padding: 0.65rem 0.1rem;
  color: var(--ink);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.section-padding {
  padding: 1rem 0 3rem;
}

@media (max-width: 800px) {
  .comet__stage,
  .path__grid,
  .bio__grid,
  .price-layout,
  .hpq__grid,
  .auth-slide__back {
    grid-template-columns: 1fr;
    display: block;
  }

  .auth-slide__back-left,
  .auth-slide__back-right {
    width: 100%;
    height: 50%;
  }

  .auth-slide__back {
    display: block;
  }

  .comet__copy {
    padding: 1rem;
  }

  .bio__card--photo img,
  .hpq img {
    aspect-ratio: 16 / 9;
  }
}
