/* =========================================================================
   Serenio — navigation, footer, and page sections
   ========================================================================= */

/* -------------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.72);
  border-bottom: 1px solid rgba(136, 117, 180, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
  max-width: var(--max-shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: var(--shadow-control);
}
.brand__word {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.16em;
  color: var(--plum);
  padding-left: 0.16em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline: auto;
}
.nav__link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-control);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color var(--dur-control) var(--ease-entry),
    background-color var(--dur-control) var(--ease-entry);
}
.nav__link:hover {
  color: var(--plum);
  background: rgba(136, 117, 180, 0.08);
}
.nav__link[aria-current="page"] {
  color: var(--plum);
  background: rgba(136, 117, 180, 0.1);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

/* language switcher */
.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(136, 117, 180, 0.22);
  background: rgba(255, 252, 248, 0.7);
  color: var(--plum);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color var(--dur-control) var(--ease-entry);
}
.lang__btn:hover {
  border-color: rgba(136, 117, 180, 0.5);
}
.lang__btn svg {
  width: 1.1em;
  height: 1.1em;
}
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  padding: 6px;
  border-radius: 18px;
  list-style: none;
  margin: 0;
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-float);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity var(--dur-control) var(--ease-entry),
    transform var(--dur-control) var(--ease-entry);
}
.lang[data-open="true"] .lang__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.lang__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: start;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background-color var(--dur-press) var(--ease-press);
}
.lang__opt:hover {
  background: rgba(136, 117, 180, 0.1);
}
.lang__opt[aria-current="true"] {
  color: var(--plum);
  font-weight: 600;
}
.lang__opt[aria-current="true"]::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: var(--plum);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* mobile nav toggle + drawer */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(136, 117, 180, 0.22);
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.7);
  color: var(--plum);
  align-items: center;
  justify-content: center;
}
.nav__toggle svg {
  width: 22px;
  height: 22px;
}
.nav__drawer {
  display: none;
}

@media (max-width: 880px) {
  .nav__links {
    display: none;
  }
  .nav__actions .btn {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav__drawer {
    display: block;
    position: fixed;
    inset: 70px 0 0;
    z-index: 99;
    padding: 1.5rem var(--gutter) 2.5rem;
    background: rgba(250, 247, 242, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-panel) var(--ease-entry),
      transform var(--dur-panel) var(--ease-entry);
    overflow-y: auto;
  }
  body[data-nav-open="true"] .nav__drawer {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  body[data-nav-open="true"] {
    overflow: hidden;
  }
  .nav__drawer .nav__link {
    display: block;
    padding: 1rem 0.5rem;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(136, 117, 180, 0.12);
  }
  .nav__drawer .btn {
    margin-top: 1.5rem;
  }
  .nav__drawer .btn + .btn {
    margin-top: 0.75rem;
  }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 2rem + 6vh, 6rem);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}
.hero__copy {
  max-width: 36rem;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 1.5rem;
}
.hero__sub {
  margin-top: 1.4rem;
  font-size: var(--text-body-lg);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 30rem;
}
.hero__cta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero__meta {
  margin-top: 1.6rem;
  font-size: var(--text-caption);
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* hero stage: orb + wordmark inside porcelain light-well */
.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.hero__halo {
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(255, 252, 248, 0.9),
    rgba(255, 252, 248, 0) 68%
  );
}
.hero__wordmark {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.hero__signature {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(136, 117, 180, 0.8);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
}
.hero__signature span.line {
  width: 1.4rem;
  height: 1px;
  background: rgba(136, 117, 180, 0.4);
}
.hero__chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__chips .chip {
  position: absolute;
  pointer-events: auto;
  animation: chipFloat 7s ease-in-out infinite;
}
.hero__chips .chip:nth-child(1) {
  top: 8%;
  left: -4%;
  animation-delay: 0s;
}
.hero__chips .chip:nth-child(2) {
  top: 38%;
  right: -8%;
  animation-delay: -2.3s;
}
.hero__chips .chip:nth-child(3) {
  bottom: 9%;
  left: 6%;
  animation-delay: -4.6s;
}
@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__chips .chip {
    animation: none;
  }
}
@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-block: 2.5rem 1.5rem;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__copy {
    max-width: none;
  }
  .hero__stage {
    max-width: 300px;
    order: -1;
  }
}
@media (max-width: 560px) {
  .hero__stage {
    max-width: 240px;
  }
  .hero__chips {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Roles (the three companions) — asymmetric editorial list
   ------------------------------------------------------------------------- */
.roles {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, 1fr);
}
.role {
  position: relative;
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.4rem);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.role--lead {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(155deg, #efe9f5, #f6f1f0 55%, #eef3ef);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-soft);
}
.role--sm {
  grid-column: span 6;
  background: rgba(255, 252, 248, 0.7);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-control);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.role__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(136, 117, 180, 0.12);
  color: var(--plum);
  margin-bottom: 1.2rem;
}
.role__icon svg {
  width: 26px;
  height: 26px;
}
.role h3 {
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.role p {
  color: var(--ink-muted);
  max-width: 34ch;
}
.role__orb {
  display: grid;
  place-items: center;
}
@media (max-width: 760px) {
  .role--lead {
    grid-template-columns: 1fr;
  }
  .role--lead .role__orb {
    order: -1;
  }
  .role--sm {
    grid-column: span 12;
  }
}

/* -------------------------------------------------------------------------
   Atmosphere section — "emotion as interface"
   ------------------------------------------------------------------------- */
.atmos {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
  padding: clamp(2.2rem, 1.5rem + 3vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-soft);
}
.atmos__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}
.atmos__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-media);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 18px 40px -22px rgba(73, 55, 101, 0.4);
}
@media (max-width: 760px) {
  .atmos {
    grid-template-columns: 1fr;
  }
  .atmos__stage {
    order: -1;
  }
}

/* -------------------------------------------------------------------------
   Testimonials — soft porcelain quote wall
   ------------------------------------------------------------------------- */
.quotes {
  columns: 2;
  column-gap: 1.25rem;
}
.quote {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  padding: 1.7rem 1.8rem;
  border-radius: var(--r-panel);
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-control);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.quote p {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--ink);
}
.quote__by {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--text-label);
  color: var(--ink-muted);
}
.quote__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.95rem;
}
@media (max-width: 680px) {
  .quotes {
    columns: 1;
  }
}

/* -------------------------------------------------------------------------
   Traction band (LINE)
   ------------------------------------------------------------------------- */
.traction {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
  padding: clamp(2.4rem, 1.8rem + 3vw, 4.2rem);
  text-align: center;
  color: #fff;
  background: linear-gradient(150deg, #6a559a, #59477f 55%, #463663);
  box-shadow: var(--shadow-float);
}
.traction .mesh {
  opacity: 0.5;
  mix-blend-mode: screen;
}
.traction__stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 1rem + 4vw, 4.5rem);
  margin-block: 2rem;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 3vw, 3.6rem);
  line-height: 1;
  color: #fff;
}
.stat__label {
  margin-top: 0.5rem;
  font-size: var(--text-label);
  color: rgba(255, 255, 255, 0.75);
}
.traction h2,
.traction p {
  position: relative;
  z-index: 1;
}
.traction h2 {
  color: #fff;
}
.traction .lead {
  color: rgba(255, 255, 255, 0.82);
  margin-inline: auto;
}
.traction .btn--secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--plum);
  position: relative;
  z-index: 1;
}
.traction__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: var(--text-label);
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   About + partners
   ------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.about__story p + p {
  margin-top: 1.1rem;
}
.signoff {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.signoff__name {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--plum);
}
.signoff__role {
  font-size: var(--text-label);
  color: var(--ink-faint);
}
.footer__care {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
  padding: 1.05rem 1.3rem;
  border-radius: var(--r-media);
  background: rgba(167, 207, 190, 0.16);
  border: 1px solid rgba(167, 207, 190, 0.42);
}
.footer__care .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(167, 207, 190, 0.32);
  color: #3f7a64;
}
.footer__care .ic svg {
  width: 20px;
  height: 20px;
}
.footer__care p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}
.footer__care a {
  color: var(--plum);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .footer__care {
    align-items: flex-start;
  }
}
.timeline {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
}
.timeline time {
  font-family: var(--font-display);
  color: var(--plum);
  font-size: 1.05rem;
}
.partners {
  border-radius: var(--r-panel);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  background: rgba(255, 252, 248, 0.7);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-control);
}
.partners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 1.2rem;
}
.partners__row img {
  height: 30px;
  width: auto;
  opacity: 0.62;
  filter: grayscale(1);
  transition: opacity var(--dur-control) var(--ease-entry);
}
.partners__row img:hover {
  opacity: 0.92;
}
@media (max-width: 760px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   Web app CTA
   ------------------------------------------------------------------------- */
.webapp {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
  padding: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-soft);
}
.webapp__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(167, 207, 190, 0.3);
  color: #3f7a64;
  font-size: var(--text-label);
  font-weight: 600;
  margin-bottom: 1rem;
}
.webapp__icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: var(--shadow-float);
}
.line-tile {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: rgba(167, 207, 190, 0.22);
  color: #3f7a64;
  box-shadow: var(--shadow-control);
}
.line-tile svg {
  width: 42px;
  height: 42px;
}
@media (max-width: 620px) {
  .webapp {
    grid-template-columns: 1fr;
  }
  .webapp__art {
    order: -1;
  }
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.footer {
  position: relative;
  margin-top: var(--section-y);
  padding-block: clamp(3rem, 2.4rem + 2vw, 4.5rem);
  border-top: 1px solid rgba(136, 117, 180, 0.14);
  background: linear-gradient(180deg, rgba(244, 239, 246, 0.5), var(--canvas));
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
}
.footer__about {
  max-width: 34ch;
}
.footer__about p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.footer__col h4 {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.footer__col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  transition: color var(--dur-control) var(--ease-entry);
}
.footer__col a:hover {
  color: var(--plum);
}
.footer__bottom {
  max-width: var(--max-shell);
  margin: 2.5rem auto 0;
  padding: 1.5rem var(--gutter) 0;
  border-top: 1px solid rgba(136, 117, 180, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--text-caption);
  color: var(--ink-faint);
}
@media (max-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__about {
    grid-column: span 2;
  }
}

/* -------------------------------------------------------------------------
   Inner page header (legal, contact, subscribe)
   ------------------------------------------------------------------------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 5vw, 7rem) clamp(2.5rem, 2rem + 2vw, 4rem);
}
.page-head__inner {
  position: relative;
  z-index: 1;
}
.page-head .eyebrow {
  margin-bottom: 1rem;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.page-head p {
  margin-top: 1.1rem;
  max-width: var(--max-read);
  color: var(--ink-muted);
  font-size: var(--text-body-lg);
}

/* -------------------------------------------------------------------------
   Prose (legal pages)
   ------------------------------------------------------------------------- */
.prose {
  max-width: 75ch;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;
  color: var(--ink);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  color: var(--plum);
}
.prose p,
.prose li {
  color: var(--ink-muted);
  line-height: 1.72;
}
.prose p + p {
  margin-top: 1rem;
}
.prose ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
}
.prose li {
  margin-bottom: 0.5rem;
}
.prose a {
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-updated {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(136, 117, 180, 0.16);
  font-size: var(--text-label);
  color: var(--ink-faint);
}

/* -------------------------------------------------------------------------
   Subscribe / pricing
   ------------------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.value-card {
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  border-radius: var(--r-panel);
  background: rgba(255, 252, 248, 0.7);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-control);
}
.value-card h3 {
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.value-card p {
  color: var(--ink-muted);
}
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  border-radius: var(--r-panel);
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-control);
}
.plan--featured {
  background: linear-gradient(155deg, #efe9f5, #f6f1f0 60%, #eef3ef);
  box-shadow: var(--shadow-soft);
}
.plan__tag {
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(136, 117, 180, 0.16);
  color: var(--plum);
  font-size: var(--text-caption);
  font-weight: 600;
  margin-bottom: 1rem;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.plan__price .amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem);
  color: var(--ink);
  line-height: 1;
}
.plan__price .per {
  color: var(--ink-faint);
  font-size: 0.95rem;
}
.plan__features {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  flex: 1;
}
.plan__features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--ink-muted);
}
.plan__features li::before {
  content: "";
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--sage);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.plan--featured .plan__features li::before {
  background: var(--plum);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 80ch;
}
.faq details {
  border-radius: var(--r-media);
  background: rgba(255, 252, 248, 0.7);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-control);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--plum);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform var(--dur-control) var(--ease-entry);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
@media (max-width: 760px) {
  .value-grid,
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* For-organizations panel */
.org-panel {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  border-radius: var(--r-panel);
  text-align: center;
  background: linear-gradient(155deg, #efe9f5, #f6f1f0 60%, #eef3ef);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-soft);
}
.org-panel .lead {
  margin-inline: auto;
}
.org-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.6rem 0 2rem;
}

/* Quiet secondary B2B line on the home page */
.minicta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 1rem;
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-media);
  border: 1px solid rgba(136, 117, 180, 0.16);
  background: rgba(255, 252, 248, 0.5);
}
.minicta p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}
.minicta .btn--ghost {
  min-height: auto;
}

/* -------------------------------------------------------------------------
   Contact form
   ------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.form {
  padding: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  border-radius: var(--r-panel);
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid var(--ring-highlight);
  box-shadow: var(--shadow-soft);
}
.field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.field label {
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--r-control);
  border: 1px solid rgba(136, 117, 180, 0.25);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  transition: border-color var(--dur-control) var(--ease-entry),
    box-shadow var(--dur-control) var(--ease-entry);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(136, 117, 180, 0.6);
  box-shadow: 0 0 0 3px rgba(136, 117, 180, 0.16);
}
.field--error input,
.field--error textarea {
  border-color: var(--danger);
}
.field__error {
  font-size: var(--text-caption);
  color: var(--danger);
  min-height: 1em;
}
.form__status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-control);
  font-size: 0.95rem;
  display: none;
}
.form__status--ok {
  display: block;
  background: rgba(167, 207, 190, 0.25);
  color: #3f7a64;
}
.contact__aside .porcelain {
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
}
.contact__channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
}
.contact__channel + .contact__channel {
  border-top: 1px solid rgba(136, 117, 180, 0.12);
}
.contact__channel .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(136, 117, 180, 0.12);
  color: var(--plum);
  flex: none;
}
.contact__channel .ic svg {
  width: 20px;
  height: 20px;
}
.contact__channel a {
  color: var(--plum);
  font-weight: 600;
}
@media (max-width: 760px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

/* section heading block */
.section-head {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.2rem);
}
.section-head .lead {
  margin-top: 1rem;
}
