/* ==========================================================================
   Josefine - shared styles for the hand-written pages (blog, legal).

   These pages are plain HTML: no Framer runtime, no hydration, no CMS. The
   palette and type below are the values taken from the Framer export, so the
   pages sit alongside the generated ones without looking foreign.
   ========================================================================== */

:root {
  --bg: #000;
  --panel: #0f0f0f;
  --panel-2: #121111;
  --line: #ffffff1a;
  --line-strong: #ffffff2e;
  --txt: #fff;
  --muted: #ffffffb3;
  --faint: #ffffff66;
  --violet: #7b7df5;
  --violet-soft: #7b7df51f;

  --sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --display: "Inter Display", "Figtree", ui-sans-serif, system-ui, sans-serif;

  --page: 1200px;
  --prose: 720px;
  --radius: 18px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 99;
  background: var(--panel);
  padding: 10px 16px;
  border-radius: 999px;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- header -- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: #000000d9;
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-right: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: var(--txt);
  background: #ffffff0f;
}

.site-nav a.cta,
.site-head__inner > a.cta {
  color: #fff;
  background: var(--violet);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
}

.site-nav a.cta:hover,
.site-head__inner > a.cta:hover {
  filter: brightness(1.08);
  background: var(--violet);
}

.site-head__inner > .cta {
  flex: 0 0 auto;
}

/*
 * Narrow screens: brand and the sign-up CTA stay on the first row, and the
 * links move to a second row that scrolls sideways. Hiding them outright left
 * mobile visitors with no way to reach the rest of the site.
 */
@media (max-width: 760px) {
  .site-head__inner {
    flex-wrap: wrap;
    row-gap: 6px;
    padding-bottom: 8px;
    min-height: 0;
    padding-top: 10px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
    padding: 8px 11px;
    font-size: 14.5px;
  }
}

/* ------------------------------------------------------------------ hero -- */

.page-hero {
  padding: 72px 0 34px;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 16px;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
  max-width: 900px;
}

.page-hero p.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin: 18px 0 0;
}

/* -------------------------------------------------------------- blog list -- */

/*
 * Rebuild of the blog UI from the Framer original: a full-bleed violet hero
 * card carrying the wordmark, then a two-column grid of image-led cards with
 * no panel behind them.
 */
.blog-hero {
  margin: 6px;
  border-radius: 25px;
  height: min(86vh, 780px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #7f81f2;
  background-image:
    radial-gradient(58% 46% at 14% 8%, #b9c3ff 0%, rgba(185, 195, 255, 0) 62%),
    radial-gradient(50% 44% at 88% 26%, #cfd6ff 0%, rgba(207, 214, 255, 0) 60%),
    radial-gradient(64% 52% at 24% 96%, #ccf4f7 0%, rgba(204, 244, 247, 0) 62%),
    radial-gradient(46% 40% at 74% 92%, #e6ecff 0%, rgba(230, 236, 255, 0) 58%),
    radial-gradient(70% 60% at 50% 50%, #8f8ff6 0%, #6f6ce6 100%);
}

.blog-hero__inner {
  text-align: center;
  padding: 24px;
}

.blog-hero__mark {
  width: clamp(190px, 22vw, 278px);
  height: auto;
  margin: 0 auto;
  color: #fff;
}

/* This is the page's h1: the wordmark above it is an image, so the visible
   page title has to carry the heading. Styling is unchanged by the tag. */
.blog-hero__sub {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin: 10px 0 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1228px;
  margin: 0 auto;
  padding: 64px 30px 104px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 44px 24px 72px;
  }
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card__media {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--panel);
}

.blog-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.03);
}

.blog-card__title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  color: #fcfcfa;
  margin: 15px 0 0;
}

.blog-card:hover .blog-card__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-card__cat {
  font-size: 16px;
  font-weight: 500;
  color: #999;
  margin: 6px 0 0;
}

/* -------------------------------------------------------------- blog post -- */

.post {
  padding-bottom: 40px;
}

.post-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 44px 0 0;
}

@media (max-width: 900px) {
  .post-head {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 32px;
  }
}

.post-head h1 {
  font-family: var(--sans);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  color: #fcfcfa;
  background: #222225;
  border-radius: 6px;
  padding: 6px 10px;
}

.post-excerpt {
  font-size: 16px;
  line-height: 1.4;
  color: #fcfcfa;
  margin: 6px 0 0;
}

.post-cover {
  margin: 44px 0 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}

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

.post-body {
  padding-top: 44px;
}

/* --------------------------------------------------------------- article -- */

/* Only vertical padding: these pages are also .wrap, whose horizontal padding
   is what keeps text off the screen edge on narrow viewports. */
.article {
  padding-top: 8px;
  padding-bottom: 40px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 18px;
}

.prose {
  max-width: var(--prose);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin-top: 2.2em;
}

.prose h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  margin-top: 1.8em;
}

.prose p,
.prose li {
  color: #ffffffd9;
}

.prose strong {
  color: var(--txt);
  font-weight: 700;
}

/* Buttons carry their own colours; without :not(.btn) this rule wins on
   specificity and paints a .btn label violet on a violet background. */
.prose a:not(.btn) {
  color: var(--violet);
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--violet);
  background: var(--panel);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}

.note {
  margin-top: 44px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--faint);
  font-size: 13.5px;
  max-width: var(--prose);
}

/* ------------------------------------------------------------------- cta -- */

.endcta {
  max-width: var(--prose);
  margin: 48px 0 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--violet-soft), transparent 70%), var(--panel);
}

.endcta h2 {
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.endcta p {
  color: var(--muted);
  margin: 0 0 20px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--violet);
  color: #fff;
  transition: filter 0.15s;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn--ghost {
  background: transparent;
  color: var(--violet);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  background: var(--violet-soft);
}

.backlink {
  display: inline-block;
  margin: 30px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--violet);
  text-decoration: none;
}

/* ---------------------------------------------------------------- footer -- */

.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 88px;
  padding: 40px 0 56px;
  color: var(--faint);
  font-size: 14px;
}

.site-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}

.site-foot a {
  color: var(--muted);
  text-decoration: none;
}

.site-foot a:hover {
  color: var(--txt);
}

/* ----------------------------------------------------------------- tables -- */

.table-wrap {
  overflow-x: auto;
  margin: 1.6em 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.prose thead th {
  text-align: left;
  font-weight: 700;
  color: var(--txt);
  background: #ffffff08;
  padding: 13px 18px;
  white-space: nowrap;
}

.prose tbody td {
  padding: 13px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.prose tbody tr td:first-child {
  color: var(--txt);
}

/* ------------------------------------------------------------------ plans -- */

.page-hero--center {
  text-align: center;
}

.page-hero--center h1,
.page-hero--center p.lede {
  margin-left: auto;
  margin-right: auto;
}

.page-hero--center h1 {
  max-width: 720px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 26px 0 12px;
}

@media (max-width: 1000px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.15s;
}

.plan:hover {
  border-color: var(--line-strong);
}

.plan--reco {
  border-color: var(--violet);
  background: linear-gradient(180deg, var(--violet-soft), transparent 42%), var(--panel);
}

.plan__reco {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--violet);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan > .tag {
  align-self: flex-start;
  margin-bottom: 16px;
}

.plan__name {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.plan__who {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}

.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.plan__value {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan__unit {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.plan__billing {
  color: var(--faint);
  font-size: 12.5px;
  margin: 6px 0 0;
}

.plan__net {
  color: var(--violet);
  font-weight: 700;
  font-size: 14px;
  margin: 8px 0 0;
}

.plan__pill {
  margin: 14px 0 0;
}

.free {
  display: inline-block;
  background: #4ade801f;
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
}

.plan hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0 18px;
  width: 100%;
}

.plan__feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
}

.plan__feats li {
  display: flex;
  gap: 10px;
  color: #ffffffd9;
}

.plan__feats li.is-strong {
  color: var(--txt);
  font-weight: 700;
}

.plan__feats li.is-highlight {
  color: var(--violet);
  font-weight: 700;
}

.plan__feats .ck {
  color: var(--violet);
  font-weight: 800;
  flex-shrink: 0;
}

.plan__cta {
  margin: auto 0 0;
  padding-top: 24px;
}

.plan__cta .btn {
  display: block;
  text-align: center;
}

.pricing-notes {
  max-width: 820px;
  margin: 34px auto 0;
  text-align: center;
}

.pricing-notes .sig {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 22px;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px;
  text-align: left;
}

.pricing-notes .sig strong {
  color: var(--txt);
}

.pricing-notes .legal {
  color: var(--faint);
  font-size: 12.5px;
  margin: 14px 0 0;
}

/* ------------------------------------------------------------------ about -- */

.about-section {
  padding: 46px 0 0;
}

.about-section > h2 {
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0 0 22px;
}

.credentials {
  margin: 0;
  border-top: 1px solid var(--line);
}

.credentials__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.credentials dt {
  font-weight: 700;
  margin: 0;
}

.credentials dd {
  color: var(--muted);
  margin: 0;
  text-align: right;
}

@media (max-width: 640px) {
  .credentials dd {
    text-align: left;
  }
}

.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .figures {
    grid-template-columns: 1fr;
  }
}

.figure {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.figure__value {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--violet);
  margin: 0;
}

.figure__label {
  font-weight: 700;
  margin: 6px 0 0;
}

.figure__detail {
  color: var(--muted);
  font-size: 14.5px;
  margin: 8px 0 0;
}

.team__member {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 420px;
}

.team__name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 650;
  margin: 0;
}

.team__role {
  color: var(--muted);
  font-size: 14.5px;
  margin: 6px 0 0;
}

/* ------------------------------------------------------------- about hero -- */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 56px;
  align-items: center;
  padding: 72px 24px 26px;
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 56px;
  }
}

.about-hero__text .eyebrow {
  margin-bottom: 16px;
}

.about-hero__text h1 {
  font-family: var(--display);
  font-size: clamp(30px, 3.9vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
}

.about-hero__text .lede {
  color: var(--muted);
  font-size: 17.5px;
  margin: 18px 0 0;
  max-width: 46ch;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.about-hero__media {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: var(--panel);
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

/* ------------------------------------------------------------------ team -- */

.team__member {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 660px;
}

.team__photo {
  margin: 0;
  flex: 0 0 132px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff0d;
}

.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.team__detail {
  color: var(--faint);
  font-size: 14px;
  margin: 10px 0 0;
  max-width: 42ch;
}
