/* ==========================================================================
   PixNote Media — shared stylesheet
   Values measured from the original Canva site (pixnotemedia.com, 1440px):
     pink  #E81E57 · green #7EC68B · soft blue #D6EAFF · nav slate #304254
     body 24px / 28px, weight 300, letter-spacing -0.03em (Bricolage Grotesque)
     section headings 28px / 33px bold · page titles small caps with soft shadow
   ========================================================================== */

/* ---------- Fonts (bundled locally, SIL Open Font License) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Krona One";
  src: url("/assets/fonts/krona-one-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Syncopate";
  src: url("/assets/fonts/syncopate-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Arimo";
  src: url("/assets/fonts/arimo-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --pink: #e81e57;
  --pink-strong: #c8134a;
  --green: #7ec68b;
  --green-ink: #2e7d3e;
  --blue: #d6eaff;
  --slate: #304254;
  --ink: #000;
  --ink-soft: #231f20;
  --error: #c5221f;
  --white: #fff;

  --font-body: "Bricolage Grotesque", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-title: "Krona One", "Bricolage Grotesque", system-ui, sans-serif;
  --font-arc: "Syncopate", "Krona One", system-ui, sans-serif;
  --font-button: "Arimo", Arial, Helvetica, sans-serif;

  /* Fluid type: 1440px → desktop value, 390px → mobile value */
  --fs-body: clamp(18px, 0.9vw + 14.5px, 24px);
  --fs-h2: clamp(21px, 0.67vw + 18.4px, 28px);
  --fs-h3: clamp(20px, 0.4vw + 18.3px, 24px);
  --fs-title: clamp(30px, 0.95vw + 26.3px, 40px);
  --fs-quote: clamp(17px, 0.62vw + 14.6px, 26px);

  --header-h: 48px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --content: 1316px;
  --radius-media: clamp(12px, 2.1vw, 30px);
  --radius-panel: clamp(28px, 3.4vw, 48px);
  --title-shadow: 0 1.65px 5.94px rgba(0, 0, 0, 0.27);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }

:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--slate); color: var(--white); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ---------- Header + navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(48, 66, 84, 0.06);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 16px;
}
.site-nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: clamp(18px, 2.2vw, 32px);
}
.site-nav__link {
  display: block; padding: 6px 0;
  color: var(--slate); text-decoration: none;
  font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1.2;
  white-space: nowrap;
  transition: color 0.15s;
}
.site-nav__link:hover { color: var(--pink); }
.site-nav__link[aria-current="page"] { font-weight: 700; }
.site-nav__link[aria-current="page"]:hover { color: var(--slate); }

.menu-toggle, .menu-close {
  display: none;
  width: 40px; height: 40px; margin-right: -8px;
  align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 8px; cursor: pointer; color: var(--slate);
}
.menu-toggle svg, .menu-close svg { width: 24px; height: 24px; }
.nav-overlay { display: none; }

/* Drawer menu (tablet + phone), same as the Canva site's slide-in panel */
@media (max-width: 1099px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(300px, 82vw);
    padding: 12px 28px 28px;
    background: var(--white);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform 0.25s ease; }
  .menu-close { display: inline-flex; margin: 0 -8px 8px auto; }
  .site-nav__list { flex-direction: column; gap: 4px; }
  .site-nav__link { padding: 12px 0; font-size: 16px; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 55;
    background: rgba(17, 24, 39, 0.4);
    opacity: 0; pointer-events: none; transition: opacity 0.25s;
  }
  .nav-overlay.is-open { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1100px) { .menu-close { display: none; } }

/* ---------- Page panel (gradient background with rounded bottom) ---------- */
.panel {
  background: linear-gradient(180deg, var(--green) 0, var(--blue) var(--grad-end, 830px), var(--blue) 100%);
  border-radius: 0 0 var(--radius-panel) var(--radius-panel);
  padding: clamp(40px, 5.6vw, 80px) 0 clamp(48px, 5vw, 72px);
  overflow: hidden;
}
.panel--plain { background: var(--white); border-radius: 0; }
.container {
  width: 100%; max-width: calc(var(--content) + 2 * var(--gutter));
  margin: 0 auto; padding: 0 var(--gutter);
}

/* ---------- Footer ---------- */
.site-footer { padding: 14px 16px 22px; text-align: center; }
.site-footer img { width: 104px; margin: 0 auto; }
.site-footer__copy { margin: 8px 0 0; font-size: 13px; letter-spacing: 0; color: var(--slate); }

/* ---------- Type ---------- */
.page-title {
  margin: 0 0 clamp(16px, 1.6vw, 22px);
  color: var(--pink);
  font-family: var(--font-title);
  font-size: var(--fs-title);
  font-weight: 400;
  font-variant: small-caps;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: var(--title-shadow);
  padding-left: clamp(0px, 2.2vw, 44px);
  text-wrap: balance;
}
.page-title--center { text-align: center; padding-left: 0; }
.h2 {
  margin: 0 0 0.9em;
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.18; letter-spacing: -0.03em;
}
.h3 {
  margin: 0 0 0.8em;
  font-size: var(--fs-h3); font-weight: 700; line-height: 1.17; letter-spacing: -0.03em;
}
.center { text-align: center; }
.pink { color: var(--pink); }
.white { color: var(--white); }
.lead-pink { color: var(--pink); font-weight: 300; }

.section { margin-top: clamp(36px, 4vw, 56px); }
.section--tight { margin-top: clamp(20px, 2.4vw, 32px); }
.stack > * + * { margin-top: 1.15em; }

.bullets { padding-left: 1.4em; }
.bullets li { margin: 0; }
.bullets li::marker { font-size: 0.9em; }
.bullets--spaced li + li { margin-top: 0.35em; }

/* ---------- Media ---------- */
.hero-media {
  width: 100%;
  aspect-ratio: 1268 / 427;
  object-fit: cover;
  border-radius: var(--radius-media);
  background: #cfe3d6;
  margin: 0 auto clamp(22px, 2.6vw, 38px);
}
.media-rounded { width: 100%; border-radius: var(--radius-media); object-fit: cover; }

/* ---------- Layout helpers ---------- */
.split {
  display: grid; gap: clamp(28px, 3.4vw, 48px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .split--60-40 { grid-template-columns: 3fr 2fr; }
  .split--50 { grid-template-columns: 1fr 1fr; }
  .split--40-60 { grid-template-columns: 2fr 3fr; }
  .split--middle { align-items: center; }
}

/* ---------- Buttons (Canva style: pill, dark outline, Arial-like bold) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 28px;
  border: 2px solid var(--ink-soft); border-radius: 999px;
  font-family: var(--font-button); font-size: 18.67px; font-weight: 700; letter-spacing: 0; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(35, 31, 32, 0.18); }
.btn:active { transform: none; box-shadow: none; }
.btn--pink { background: var(--pink); color: var(--white); }
.btn--pink:hover { background: var(--pink-strong); }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: #6fbb7d; }
.btn-row { display: flex; justify-content: center; margin: clamp(28px, 3vw, 40px) 0; }

/* ==========================================================================
   Home
   ========================================================================== */
.home-hero { position: relative; overflow: hidden; background: var(--green); }
.home-hero__video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  max-height: calc(100vh - var(--header-h) + 120px);
  min-height: 440px;
}
.home-hero__arc {
  position: absolute; left: 0; right: 0; bottom: 0;   /* anchored to the dome, so it lines up on tall phone crops too */
  width: 100%; height: auto; pointer-events: none;
  overflow: visible;
}
.home-hero__arc text {
  fill: var(--white);
  font-family: var(--font-arc);
  font-size: 56px; letter-spacing: 0.5px;
  text-transform: uppercase;
  paint-order: stroke; stroke: rgba(0, 0, 0, 0.06); stroke-width: 1px;
}
.home-hero__dome {
  position: absolute; left: 50%; bottom: -1px;
  width: 95.4%; height: max(22.5vw, 104px);   /* 40% of the 16:9 hero on desktop */
  transform: translateX(-50%);
  background: var(--green);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 0;
}
.home-hero__logo { width: min(43vw, 620px); }
.home-hero__tagline {
  margin: 0.2em 0 0;
  color: var(--pink);
  font-family: var(--font-title);
  font-size: clamp(14px, 3.3vw, 48px);
  font-variant: small-caps;
  line-height: 0.92; letter-spacing: -0.03em;
  text-align: center;
  text-shadow: var(--title-shadow);
}
.home-panel { --grad-end: 820px; background: linear-gradient(180deg, var(--green) 0, var(--blue) var(--grad-end), var(--blue) 100%); padding-top: clamp(20px, 2.2vw, 32px); }
.home-before-after { width: 100%; aspect-ratio: 1284 / 427; object-fit: cover; border-radius: var(--radius-media); }
.home-intro-title { margin: 0.6em 0 1.9em; }

.testimonials { margin-top: clamp(56px, 6.5vw, 96px); text-align: center; }
.testimonials__title {
  margin: 0 0 0.6em;
  color: var(--pink);
  font-family: var(--font-title); font-weight: 400;
  font-size: clamp(22px, 2.1vw + 13px, 42px);
  font-variant: small-caps; letter-spacing: -0.02em; line-height: 1.1;
}
.testimonials__list { list-style: none; margin: 0 auto; padding: 0; display: grid; max-width: 1200px; }
.testimonials__item { grid-area: 1 / 1; transition: opacity 0.6s ease; }
.testimonials__item[hidden] { display: block; opacity: 0; visibility: hidden; }
.testimonials__item blockquote { margin: 0; font-size: var(--fs-quote); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.testimonials__item p { margin: 0; }
.testimonials__controls { margin-top: 18px; display: flex; justify-content: center; gap: 10px; align-items: center; }
.testimonials__dot {
  width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 2px solid var(--slate); background: transparent; cursor: pointer;
}
.testimonials__dot[aria-current="true"] { background: var(--slate); }
.testimonials__pause {
  margin-left: 6px; padding: 4px 10px; border-radius: 999px;
  border: 1.5px solid var(--slate); background: transparent; color: var(--slate);
  font: 500 13px/1.2 var(--font-body); cursor: pointer;
}
/* Without JS (or with reduced motion) show every testimonial */
.testimonials--static .testimonials__list { gap: 1.2em; }
.testimonials--static .testimonials__item { grid-area: auto; }
.testimonials--static .testimonials__item[hidden] { opacity: 1; visibility: visible; }
.testimonials--static .testimonials__controls { display: none; }

/* ==========================================================================
   About
   ========================================================================== */
.about-story__media figcaption { margin-top: 14px; text-align: center; color: var(--pink); font-weight: 700; font-size: clamp(17px, 0.35vw + 15.5px, 20px); }
.about-story__media img { aspect-ratio: 438 / 328; }
@media (min-width: 900px) { .about-story { grid-template-columns: 2fr 1fr; } }
@media (min-width: 900px) { .about-story__media { margin-top: 18px; } }

/* ==========================================================================
   Why PixNote
   ========================================================================== */
.check-list { list-style: none; padding: 0 0 0 1.3em; margin: 0 0 1.4em; }
.check-list li { position: relative; padding-left: 1.5em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em;
  width: 1.05em; height: 0.8em;
  background: currentColor;
  -webkit-mask: url("/assets/icons/check.svg") center / contain no-repeat;
          mask: url("/assets/icons/check.svg") center / contain no-repeat;
}
.why-displayed { padding-top: clamp(0px, 4vw, 54px); }
.why-displayed .bullets { font-size: clamp(17px, 0.3vw + 15.6px, 20px); font-weight: 400; }
.why-row { margin-top: clamp(40px, 4vw, 56px); }
.why-row img { aspect-ratio: 606 / 403; }
.why-row--reverse img { aspect-ratio: 436 / 346; object-position: 50% 0; }
@media (min-width: 900px) { .why-top { grid-template-columns: 2fr 1fr; } }
@media (min-width: 900px) {
  .why-row { grid-template-columns: 5fr 7fr; margin-left: calc(-1 * clamp(0px, 2vw, 32px)); }
  .why-row--reverse { grid-template-columns: 7fr 5fr; margin-left: 0; margin-right: calc(-1 * clamp(0px, 2vw, 32px)); }
  .why-row--reverse > :first-child { order: 0; }
}

/* ==========================================================================
   For Your Center
   ========================================================================== */
.plans { display: grid; gap: clamp(20px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; margin-top: 1.6em; }
.plans__name { margin: 0 0 0.1em; color: var(--pink); font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.03em; }
.plans__desc { margin: 0; font-weight: 300; }
@media (max-width: 599px) { .plans { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }

/* ==========================================================================
   Brand Spotlight
   ========================================================================== */
.featured-reasons li { margin-bottom: 0.05em; }
.featured-reasons__title { display: block; }
.featured-reasons__desc { display: block; padding-left: 0.2em; }
.company-card {
  background: var(--white);
  border-radius: clamp(40px, 5vw, 72px);
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3.4vw, 48px);
  font-weight: 400;
  font-size: clamp(18px, 0.35vw + 16.5px, 22px);
}
.company-card__more { display: block; margin-top: 0.1em; padding-left: 1.2em; text-align: center; }
.brand-steps { padding-left: 1.4em; }
.brand-steps li + li { margin-top: 0.2em; }
.brand-steps, .brand-good p { font-size: var(--fs-body); font-weight: 300; }
.direct-contact { text-align: center; margin-top: clamp(28px, 3vw, 44px); font-weight: 400; font-size: clamp(17px, 0.3vw + 15.6px, 21px); }
.direct-contact a { text-underline-offset: 3px; }

/* ==========================================================================
   Contact / Client Portal
   ========================================================================== */
.contact-lines a, .portal-help a { text-decoration: none; }
.contact-lines a:hover, .portal-help a:hover { text-decoration: underline; }
.portal-enter { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-left: clamp(0px, 4vw, 58px); }
.portal-enter p { max-width: 430px; margin-left: -48px; }
@media (max-width: 899px) { .portal-enter { align-items: center; text-align: center; padding-left: 0; } .portal-enter p { margin-left: 0; } }
.portal-help a.text-link-strong, .text-link-strong { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Blog cards (styled like the Substack post embeds on the original page)
   ========================================================================== */
.post-card {
  display: block; max-width: 713px; margin: 0 auto;
  background: var(--white);
  border: 1px solid #e6e6e6; border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  color: #363737; text-decoration: none; letter-spacing: 0;
  overflow: hidden;
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); transform: translateY(-2px); }
.post-card--small { max-width: 405px; margin-left: clamp(0px, 5vw, 64px); }
.post-card__img { width: 100%; aspect-ratio: 495 / 268; object-fit: cover; }
.post-card--small .post-card__img { aspect-ratio: 280 / 152; }
.post-card__body { padding: 18px 18px 16px; }
.post-card__title { margin: 0 0 12px; font-size: 26px; font-weight: 600; line-height: 1.15; color: #363737; }
.post-card--small .post-card__title { font-size: 19px; margin-bottom: 6px; }
.post-card__sub { margin: 0 0 14px; font-size: 16px; font-weight: 400; color: #555; line-height: 1.4; }
.post-card--small .post-card__sub { font-size: 14px; }
.post-card__meta { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #eee; font-size: 14px; color: #777; font-weight: 400; }
.post-card--small .post-card__meta { font-size: 12px; }
.post-card__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; padding: 10px; border: 1px solid #e0e0e0; border-radius: 999px;
  color: #ff6719; font-weight: 600; font-size: 16px;
}
.post-card--small .post-card__cta { font-size: 13px; padding: 7px; margin-top: 10px; }
.post-card__cta svg { width: 1em; height: 1em; }
.blog-heading { padding-left: clamp(0px, 1.6vw, 22px); }

/* ==========================================================================
   Native forms (replace the Google Forms)
   ========================================================================== */
.form-card {
  background: var(--white);
  border-radius: 14px;
  border-top: 8px solid var(--green);
  box-shadow: 0 6px 24px rgba(48, 66, 84, 0.12);
  padding: clamp(20px, 2.4vw, 32px);
  letter-spacing: 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.form-card--wide { max-width: 720px; margin: 0 auto; }
.form-card__title { margin: 0 0 6px; font-size: clamp(24px, 0.7vw + 20px, 30px); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; color: #202124; }
.form-card__note { margin: 0 0 20px; font-size: 14px; color: var(--error); font-weight: 400; }
.field { margin: 0 0 16px; }
.form-grid { display: grid; grid-template-columns: 1fr; column-gap: 16px; }
.form-grid > * { grid-column: 1 / -1; }
@media (min-width: 1100px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid > .field--half { grid-column: auto; }
}
.choices { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.field__label, .field legend { display: block; margin: 0 0 8px; padding: 0; font-size: 16px; font-weight: 500; color: #202124; line-height: 1.3; }
.field__req { color: var(--error); }
.field__input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #c9ced6; border-radius: 10px;
  background: var(--white); color: #202124;
  font: 400 16px/1.3 var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field__input:hover { border-color: #9aa4ae; }
.field__input:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(126, 198, 139, 0.35); }
textarea.field__input { min-height: 120px; resize: vertical; }
select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23304254' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 40px;
}
fieldset.field { border: 0; padding: 0; min-width: 0; }
.choice { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 16px; font-weight: 400; color: #202124; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--green-ink); flex: none; }
.field__error { display: none; margin: 6px 0 0; color: var(--error); font-size: 14px; font-weight: 500; }
.field.has-error .field__input { border-color: var(--error); }
.field.has-error .field__error { display: flex; gap: 6px; align-items: center; }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-actions .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; box-shadow: none; }
.form-status { margin: 12px 0 0; font-size: 15px; font-weight: 500; color: var(--error); }
.form-status:empty { display: none; }
.form-success {
  text-align: center; padding: 12px 4px;
}
.form-success__icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.form-success__icon svg { width: 28px; height: 28px; }
.form-success__title { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: #202124; }
.form-success p { margin: 0; font-size: 17px; font-weight: 400; color: #3c4043; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Simple content pages (thank-you, 404)
   ========================================================================== */
.simple-page { min-height: 50vh; text-align: center; }
.simple-page .page-title { padding-left: 0; }

/* ==========================================================================
   Hidden pricing page (/pricing) — tabs, plan cards, comparison table
   Carried over from the original pricing page; scoped to .pricing-page
   ========================================================================== */
.pricing-page {
  --green-soft: #e6f5e9;
  --line: #e3e8ee;
  --tab-idle: #c9cfd6;
  --red-x: #d0342c;
  --text: #4a5563;
  --radius-card: 20px;
  --shadow-card: 0 6px 24px rgba(48, 66, 84, 0.08);
}
.pricing-intro { margin-bottom: clamp(28px, 3vw, 40px); }
.pricing-intro a { color: var(--pink-strong); font-weight: 600; text-underline-offset: 3px; }

.pricing-page .billing-tabs { display: flex; justify-content: center; gap: clamp(8px, 3vw, 32px); margin: 0 auto; }
.pricing-page .billing-tabs__tab {
  flex: 0 1 160px; padding: 12px 8px;
  background: none; border: 0; border-bottom: 3px solid rgba(48, 66, 84, 0.3);
  color: var(--slate); font: 500 17px/1.2 var(--font-body); letter-spacing: 0;
  cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.pricing-page .billing-tabs__tab:hover { color: #000; border-bottom-color: rgba(48, 66, 84, 0.55); }
.pricing-page .billing-tabs__tab[aria-selected="true"] { color: #000; font-weight: 700; border-bottom-color: #000; }

.pricing-page .savings-message {
  min-height: 1.6em; margin: 20px 0 24px; text-align: center;
  color: var(--green-ink); font-weight: 700; font-size: 18px; letter-spacing: 0;
}
.pricing-page #plans-panel:focus-visible { outline-offset: 8px; border-radius: var(--radius-card); }

.pricing-page .plan-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; --gap: 20px; gap: var(--gap); }
.pricing-page .plan-grid > .plan-card { flex: 0 1 100%; max-width: 420px; }
@media (min-width: 640px) { .pricing-page .plan-grid > .plan-card { flex-basis: calc((100% - var(--gap)) / 2); max-width: none; } }
@media (min-width: 900px) { .pricing-page .plan-grid > .plan-card { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
@media (min-width: 1140px) {
  .pricing-page .plan-grid { --gap: 16px; }
  .pricing-page .plan-grid > .plan-card { flex-basis: calc((100% - 4 * var(--gap)) / 5); }
}

.pricing-page .plan-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 60px 20px 26px;
  background: var(--white); border: 1.5px solid var(--green); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); overflow: hidden;
  font-size: 16px; letter-spacing: 0; color: var(--text); font-weight: 400;
}
.pricing-page .plan-card--featured { border: 2px solid var(--pink); }
.pricing-page .plan-card__tag {
  position: absolute; inset: 0 0 auto 0; margin: 0; padding: 8px 12px;
  background: var(--pink-strong); color: var(--white);
  font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
}
.pricing-page .plan-card__name { margin: 0 0 12px; color: var(--slate); font-size: 22px; font-weight: 700; line-height: 1.2; }
.pricing-page .plan-card__price { margin: 0; color: var(--green-ink); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pricing-page .plan-card__period { margin: 6px 0 18px; font-size: 15px; }
.pricing-page .plan-card__desc { margin: 0 0 18px; padding-top: 18px; border-top: 1px solid var(--green-soft); font-size: 15.5px; line-height: 1.55; flex-grow: 1; }
.pricing-page .plan-card__validity { margin: 0 0 16px; font-size: 14px; font-style: italic; }
.pricing-page .plan-card .btn { width: 100%; max-width: 200px; min-height: 48px; padding: 10px 20px; }

.pricing-page .comparison { margin-top: clamp(56px, 7vw, 96px); text-align: center; scroll-margin-top: calc(var(--header-h) + 12px); }
.pricing-page .comparison:focus { outline: none; }
.pricing-page .comparison__hint { margin: -8px 0 12px; font-size: 14px; letter-spacing: 0; }
.pricing-page .comparison__hint[hidden] { display: none; }
.pricing-page .table-scroll {
  position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--white); border: 1.5px solid var(--green); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.pricing-page .compare-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: center; font-size: 15.5px; letter-spacing: 0; font-weight: 400; color: var(--text); }
.pricing-page .compare-table th, .pricing-page .compare-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.pricing-page .compare-table tbody tr:last-child > * { border-bottom: 0; }
.pricing-page .compare-table thead th { color: var(--slate); font-size: 17px; font-weight: 700; vertical-align: bottom; padding-top: 20px; border-bottom: 2px solid var(--green); }
.pricing-page .compare-table th:first-child { text-align: left; padding-left: 20px; min-width: 230px; }
.pricing-page .compare-table tbody th { font-weight: 500; color: var(--slate); }
.pricing-page .compare-table tbody tr:nth-child(even) { background: #fafcfb; }
.pricing-page .compare-table .is-featured { background: rgba(126, 198, 139, 0.12); }
.pricing-page .compare-table tbody tr:nth-child(even) .is-featured { background: rgba(126, 198, 139, 0.18); }
.pricing-page .compare-table .num { font-weight: 700; color: var(--slate); font-variant-numeric: tabular-nums; }
.pricing-page .badge {
  display: block; width: max-content; margin: 6px auto 0; padding: 3px 10px;
  background: var(--green-ink); color: var(--white); border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.pricing-page .compare-table .yes::before, .pricing-page .compare-table .no::before {
  content: ""; display: inline-block; width: 22px; height: 22px; vertical-align: middle;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.pricing-page .compare-table .yes::before {
  background: var(--green-ink);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E");
}
.pricing-page .compare-table .no::before {
  background: var(--red-x); width: 18px; height: 18px;
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
@media (max-width: 783px) {
  .pricing-page .compare-table th:first-child {
    position: sticky; left: 0; z-index: 1; min-width: 170px; max-width: 170px;
    background: var(--white); box-shadow: 1px 0 0 var(--line);
  }
  .pricing-page .compare-table tbody tr:nth-child(even) th:first-child { background: #fafcfb; }
}
@media (forced-colors: active) {
  .pricing-page .compare-table .yes::before, .pricing-page .compare-table .no::before { background: CanvasText; }
}
