@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-italic.7291b5970da2237441273c03b424a504b70b18f09791473fab99687dcc314720.woff2') format('woff2');
}

:root {
  --brand: #d04141;
  --brand-dark: #a83333;
  --ink: #1c1c22;
  --ink-soft: #4a4a55;
  --bg-soft: #f5f5f3;
  --bg-card: #ffffff;
  --border: #e5e5e0;
  --max-width: 1180px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  background: var(--brand);
  color: #fff;
  position: relative;
  z-index: 60;

  .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .logo {
    flex: 0 0 auto;
    position: relative;
    z-index: 51;

    img {
      height: 44px;
      width: auto;
      display: block;
    }
  }
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.92;
  padding: 8px 4px;

  &:hover { opacity: 1; }
  &:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 4px;
  }
}

.nav-sep {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.35);
  flex: 0 0 auto;
}

.flag {
  display: block;
  height: 14px;
  width: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.dropdown.lang .trigger .flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  box-sizing: content-box;
  box-shadow: none;
  background: #fff;
}

.dropdown.lang .menu .item {
  display: flex;
  align-items: center;
  gap: 10px;

  .flag {
    width: 22px;
    height: 15px;
    flex: 0 0 auto;
  }
}

.mobile-cta {
  display: none;
  align-items: center;
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  margin-left: auto;
  white-space: nowrap;

  &:hover { background: #fff7f7; }
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  position: relative;
  z-index: 51;

  svg { width: 28px; height: 28px; display: block; }
  .icon-x { display: none; }
}

body.mobile-nav-active {
  overflow: hidden;

  .mobile-nav-toggle {
    .icon-bars { display: none; }
    .icon-x { display: block; }
  }
  .mobile-cta { display: none; }
}

.dropdown {
  position: relative;

  .trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    color: #fff;
    font: inherit;
    font-weight: 400;
    font-size: 15px;
    padding: 8px 4px;
    cursor: pointer;
    opacity: 0.9;
    line-height: 1;

    &:hover { opacity: 1; }
    &:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 2px;
      border-radius: 4px;
    }

    .caret {
      width: 10px;
      height: 7px;
      transition: transform .15s ease;
    }
  }

  &.is-open .trigger .caret { transform: rotate(180deg); }

  .menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    z-index: 20;
    display: none;
  }

  &.is-open .menu { display: block; }

  /* Compact menu for the language picker */
  &.lang .menu { min-width: 140px; }

  .item {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;

    &:hover { background: var(--bg-soft); color: var(--brand); }

    &.is-active {
      background: var(--bg-soft);
      color: var(--brand);
      font-weight: 500;
    }
  }
}

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

/* ---------- Buttons (pill-shaped) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.2;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease, box-shadow .15s ease;
  white-space: nowrap;
  font-size: 15px;
  cursor: pointer;

  &:active { transform: translateY(1px); }
  &:hover .arrow { transform: translateX(3px); }

  .arrow {
    width: 18px;
    height: 12px;
    display: inline-block;
    flex-shrink: 0;
    color: currentColor;
    transition: transform .15s ease;
  }

  .sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 3px;
  }

  &.stacked {
    flex-direction: column;
    gap: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Primary: white pill on red background */
  &.primary {
    background: #fff;
    color: var(--brand);
    border-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);

    &:hover {
      background: #fff7f7;
      color: var(--brand-dark);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    }
  }

  /* Secondary: outlined pill on red background */
  &.secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;

    &:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
    }
  }

  &.lg {
    font-size: 17px;
    padding: 15px 30px;
  }
}

/* ---------- Hero (light background, side-by-side) ---------- */
.hero {
  background: #fff;
  color: var(--ink);
  padding: 64px 0 72px;

  .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
  }

  .media img {
    width: 100%;
    height: 100%;
    max-height: 442px;
    object-fit: cover;
    object-position: 60% 30%;
    border-radius: 14px;
    box-shadow: 0 20px 50px -20px rgba(20, 20, 30, 0.35);
  }

  .content { max-width: 540px; }

  .eyebrow {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand);
    margin: 0 0 16px;
  }

  .title {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    line-height: 1.05;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
    color: var(--ink);

    .accent { color: var(--brand); }
  }

  .lede {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    margin: 0 0 16px;
    line-height: 1.55;
    color: var(--ink-soft);
  }

  .cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
  }

  .fineprint {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin: 0;
  }

  /* Hero sits on white. Override button colors so the primary CTA pops in brand red
     and the secondary becomes a soft outlined pill rather than white-on-red. */
  .btn.primary {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 2px 6px rgba(208, 65, 65, 0.28);

    &:hover {
      background: var(--brand-dark);
      border-color: var(--brand-dark);
      color: #fff;
      box-shadow: 0 6px 18px rgba(208, 65, 65, 0.38);
    }
  }

  .btn.secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--border);

    &:hover {
      border-color: var(--brand);
      color: var(--brand);
      background: #fff;
    }
  }
}

/* ---------- Section title ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  margin: 0 0 32px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}

/* ---------- Featured testimonial band ---------- */
.testimonial-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 38px 0;
  margin-bottom: 64px;
  overflow: visible;

  .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 56px;
    min-height: 200px;
  }

  /* Sized by height so differently-posed cutouts share an apparent
     size. 395px keeps Rune (the hero) pixel-identical to the old
     width:324px rendering. */
  .photo {
    height: 395px;
    width: auto;
    max-width: none;
    flex: none;
    align-self: flex-end;
    margin: -88px 0 -78px;
    filter: drop-shadow(0 22px 30px rgba(20, 20, 30, 0.28));
  }

  .text {
    flex: 1 1 auto;
    min-width: 0;
  }

  .quote {
    position: relative;
    margin: 0 0 18px;
    font-size: clamp(1.25rem, 1.9vw, 23.446px);
    line-height: 1.4;
    font-weight: 500;
    color: var(--ink);
    font-style: italic;
    text-wrap: pretty;

    &::before {
      content: "\201C";
      position: absolute;
      right: 100%;
      top: 0;
      padding-right: 0.08em;
    }
    &::after { content: "\201D"; }
  }

  .who {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.3;
  }
  .role,
  .place {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.3;
  }
  .role { margin-top: 3px; }
  .place { margin-top: 1px; }

  .org {
    flex: none;
    max-height: 130px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
  }

  /* single person + logo, but the photo is a real (non-cutout) photo:
     rounded corners, no bleed. Same box/markup as the hero otherwise. */
  &.framed {
    margin-top: 24px;
    margin-bottom: 0;

    .photo {
      height: 340px;
      width: auto;
      align-self: center;
      margin: 0;
      border-radius: 16px;
      filter: none;
      box-shadow:
        0 2px 4px rgba(20, 20, 30, 0.04),
        0 14px 28px rgba(20, 20, 30, 0.10),
        0 30px 60px rgba(20, 20, 30, 0.10);
    }

    @media (max-width: 880px) {
      .photo {
        height: 260px;
        width: auto;
        margin: 0;
      }
    }
  }

  /* two people flanking the quote, each with their name/title directly
     under their own head (keeps photos narrow). DOM order is
     cite-0, cite-1, quote — reordered with flex `order`. */
  &.twin {
    margin-top: 24px;
    margin-bottom: 0;

    .inner { gap: 0; }

    .cite {
      flex: none;
      margin: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: left;
      gap: 12px;
    }
    .cite-0 { order: 0; }
    .cite-1 { order: 2; }
    .quote  { order: 1; flex: 1 1 auto; margin-left: 48px; }

    /* shrink the cutouts (no bleed here — caption sits under them) */
    .cite .photo {
      height: 237px;
      width: auto;
      max-width: none;
      margin: 0;
      align-self: auto;
    }

    /* mid regime: quote full-width on top, the two people side by side */
    @media (max-width: 880px) {
      .inner {
        flex-flow: row wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 28px 40px;
      }
      .quote  { order: 0; flex: 1 1 100%; margin-left: 0; }
      .cite-0 { order: 1; }
      .cite-1 { order: 2; }
      .cite .photo {
        height: 176px;
        width: auto;
        order: 0;
        margin: 0;
      }
    }

    /* narrow: fully stacked — quote, photo1, credit1, photo2, credit2 */
    @media (max-width: 600px) {
      .inner {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
      }
      .cite { flex: 1 1 auto; }
    }
  }
}

/* ---------- Feature blocks ---------- */
.feature {
  padding: 64px 0 80px;

  & + & {
    border-top: 1px solid var(--border);
  }

  .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
  }

  &.reverse .feature-grid {
    direction: rtl;
  }
  &.reverse .feature-grid > * {
    direction: ltr;
  }

  .feature-media {
    position: relative;
    display: flex;
    justify-content: center;
  }

  /* device — image already includes its own bezel (e.g. tablet frame) */
  .feature-media img.device {
    max-height: 600px;
    width: auto;
    filter: drop-shadow(0 30px 50px rgba(20, 20, 30, 0.18))
            drop-shadow(0 8px 14px rgba(20, 20, 30, 0.08));
  }

  /* clean / tilted screenshot */
  .feature-media .screenshot {
    max-width: 100%;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow:
      0 2px 4px rgba(20, 20, 30, 0.04),
      0 14px 28px rgba(20, 20, 30, 0.10),
      0 30px 60px rgba(20, 20, 30, 0.10);
    background: #fff;
    display: block;
    transition: transform .4s cubic-bezier(.2,.7,.2,1);
  }

  .feature-media.tilted {
    perspective: 1800px;
    perspective-origin: 50% 50%;
  }
  .feature-media.tilted .screenshot {
    transform: rotateY(-7deg) rotateX(2deg);
    box-shadow:
      0 2px 4px rgba(20, 20, 30, 0.04),
      0 20px 40px rgba(20, 20, 30, 0.14),
      0 40px 80px rgba(20, 20, 30, 0.10);
  }
  &.reverse .feature-media.tilted .screenshot {
    transform: rotateY(7deg) rotateX(2deg);
  }
  .feature-media.tilted .screenshot:hover {
    transform: rotateY(0) rotateX(0);
  }

  /* phone — wrap a portrait screenshot in an iPhone bezel */
  .feature-media .phone-wrap {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 600 / 1136;
    background: url("/images/features/iphone-frame.7cc04f763a2dbc03aebf365d47ff60eafdc1188eb9f8a11db4095941277a5cfb.webp") center/contain no-repeat;
    filter: drop-shadow(0 30px 50px rgba(20, 20, 30, 0.20))
            drop-shadow(0 8px 14px rgba(20, 20, 30, 0.10));
  }
  .feature-media .phone-wrap .screen {
    position: absolute;
    top: 6.51%;
    left: 6.17%;
    right: 6.5%;
    bottom: 2.82%;
    overflow: hidden;
    background: #fff;
    border-radius: 26px;
  }
  .feature-media .phone-wrap .screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  /* photo — real photograph, soft elevation, no border */
  .feature-media .photo-media {
    width: 100%;
    border-radius: 12px;
    box-shadow:
      0 2px 4px rgba(20, 20, 30, 0.04),
      0 14px 28px rgba(20, 20, 30, 0.10),
      0 30px 60px rgba(20, 20, 30, 0.10);
    display: block;
  }

  /* copy column */
  .feature-copy {
    .eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 600;
      font-size: 13px;
      color: var(--brand);
      margin: 0;
    }

    h3 {
      font-size: clamp(1.8rem, 3.2vw, 2.6rem);
      line-height: 1.08;
      margin: 14px 0 20px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--ink);
      text-wrap: balance;

      .accent { color: var(--brand-dark); }
    }

    p.body {
      font-size: 1.05rem;
      line-height: 1.6;
      color: var(--ink-soft);
      margin: 0 0 24px;
      max-width: 460px;
    }

    p.caption {
      font-size: 0.9rem;
      font-style: italic;
      color: var(--ink-soft);
      margin: -12px 0 24px;
    }
  }

  .feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
    transition: gap .12s ease, border-color .12s ease;

    &:hover {
      gap: 12px;
      border-bottom-color: var(--brand);
    }

    .arrow {
      width: 16px;
      height: 11px;
    }
  }

  /* integrated testimonial inside the copy column */
  .testimonial-quote {
    container-type: inline-size;
    margin: 32px 0 0;
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--brand);
    max-width: 540px;

    blockquote {
      margin: 0 0 20px;
      font-style: italic;
      font-size: 1.1rem;
      line-height: 1.5;
      color: var(--ink);
      text-wrap: pretty;

      &::before { content: "\201C"; }
      &::after  { content: "\201D"; }
    }

    figcaption {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px;
    }

    .people {
      display: flex;
      flex-direction: column;
      gap: 14px;
      flex: 1 1 280px;
      min-width: 280px;
    }

    .person {
      display: flex;
      align-items: center;
      gap: 14px;

      img {
        width: 115px;
        height: 115px;
        border-radius: 50%;
        object-fit: cover;
        flex: none;
        border: 2px solid var(--border);
      }

      .who {
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--ink);
        line-height: 1.3;
      }
      .role,
      .place {
        font-size: 0.85rem;
        color: var(--ink-soft);
        line-height: 1.3;
      }
      .role { margin-top: 2px; }
    }

    .logos {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
      flex: 0 0 auto;

      img {
        width: 110px;
        height: 110px;
        object-fit: contain;
        opacity: 0.95;
      }
      img[alt="Yara"] {
        width: 80px;
        height: 80px;
      }
    }

    @container (max-width: 413px) {
      .logos {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
      }
    }
  }

}

@media (max-width: 880px) {
  .testimonial-band {
    padding: 26px 0;
    margin-bottom: 40px;

    .inner {
      flex-wrap: wrap;
      justify-content: center;
      gap: 24px;
      text-align: center;
    }

    .text { flex: 1 1 100%; order: 2; text-align: left; }

    .quote::before {
      position: static;
      padding-right: 0;
    }

    .photo {
      width: 216px;
      height: auto;
      max-height: 288px;
      order: 1;
      margin: -24px 0 0;
    }
    .org   { max-height: 80px; max-width: 120px; order: 3; }
  }
  .feature {
    padding: 56px 0;

    .feature-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    /* on mobile, drop the tilt and let the phone frame be smaller */
    .feature-media.tilted .screenshot {
      transform: none;
    }
    .feature-media .phone-wrap {
      max-width: 260px;
    }
  }
}

/* one-off: let the office photo bleed past the column on desktop */
@media (min-width: 881px) {
  .feature .feature-media .photo-media.bleed {
    width: calc(100% + 30%);
    max-width: none;
    margin-left: -10%;
    margin-right: -20%;
  }
}

/* ---------- Pricing page ---------- */
.pricing {
  padding: 60px 0;
  overflow: hidden; /* clip the .band so it doesn't create horizontal scroll */

  .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    line-height: 1.05;
    font-weight: 700;
    margin: 6px 0 28px;
    letter-spacing: -0.01em;
    color: var(--ink);
  }

  h2 {
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    line-height: 1.25;
    margin: 0 0 16px;
    font-weight: 600;
    color: var(--ink);
  }

  .eyebrow {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand);
    margin: 0;
  }

  p { color: var(--ink-soft); margin: 0 0 16px; line-height: 1.6; }
  p strong { color: var(--ink); }

  .pricing-copy {
    flex: 1 1 400px;
    max-width: 600px;
    padding: 20px 0;
    min-width: 0;
  }
}

.pricing-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}

.pricing-tab {
  padding: 10px 20px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;

  &:hover {
    border-color: var(--brand);
    color: var(--brand);
  }

  &.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
  }
}

.pricing-panel {
  display: none;

  &.is-active { display: block; }

  .calc-prompt { margin-top: 8px; }
}

.calculator {
  --calc-accent: #1a7a5a;
  margin: 8px 0 24px;

  input {
    width: 100%;
    max-width: 320px;
    padding: 12px 16px;
    font: inherit;
    font-size: 1.05rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;

    &::placeholder { color: #999; }

    &:focus {
      outline: none;
      border-color: var(--calc-accent);
      box-shadow: 0 0 0 3px rgba(26, 122, 90, 0.15);
    }
  }

  .result {
    margin-top: 18px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--calc-accent);
    border-radius: 8px;
    max-width: 460px;
  }

  .label {
    display: block;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
  }

  .monthly .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--calc-accent);
  }

  .yearly {
    margin-top: 4px;

    .amount {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--calc-accent);
    }
  }

  .note {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
  }
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;

  li {
    padding: 6px 0 6px 1.8em;
    position: relative;
    color: var(--ink);

    &::before {
      content: "✓";
      position: absolute;
      left: 0;
      color: var(--brand);
      font-weight: 700;
    }
  }
}

.pricing-media {
  flex: 1 1 450px;
  min-width: 450px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;

  .band {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 3%;
    right: -2000px;
    height: 320px;
    background: linear-gradient(to right, var(--brand-dark) 0%, var(--brand) 30%);
    border-radius: 160px 0 0 160px;
    z-index: 0;
  }

  .roughpad {
    display: block;
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 1200px) {
  .pricing-media {
    .roughpad { max-width: 80%; }
    .band { height: 265px; border-radius: 133px 0 0 133px; }
  }
}

@media (max-width: 880px) {
  .pricing {
    padding: 40px 0 56px;

    .inner {
      flex-direction: column;
      padding: 0 20px;
      gap: 0;
    }
  }
  .pricing-media {
    flex-basis: auto;
    min-width: 0;
    width: 100%;
    height: 320px;
  }
}

/* ---------- Footer ---------- */
/* ---------- About ---------- */
.about {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 80px 0;

  .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
  }

  .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    font-size: 13px;
    color: var(--brand);
    margin: 0;
  }

  h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.05;
    margin: 12px 0 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;

    .accent { color: var(--brand); }
  }

  .about-body {
    p {
      font-size: 1.05rem;
      line-height: 1.65;
      color: var(--ink-soft);
      margin: 0 0 28px;
      max-width: 540px;
    }
  }

  .contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .contact-btn {
    background: #fff;
    color: var(--brand);
    border-color: var(--brand);
    gap: 10px;
    box-shadow: 0 2px 6px rgba(208, 65, 65, 0.12);

    .icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }

    &:hover {
      background: var(--brand);
      color: #fff;
      border-color: var(--brand);
      box-shadow: 0 6px 18px rgba(208, 65, 65, 0.28);
    }
  }
}

.site-footer {
  background: var(--brand);
  color: #fff;
  padding: 24px 0;

  .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }

  .logo {
    height: 28px;
    width: auto;
  }

  a { color: #fff; }

  .org {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
  }

  @media (max-width: 720px) {
    .org {
      .sep { display: none; }
      .line { display: block; }
    }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero {
    padding: 32px 0 34px;

    .inner {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .media img { max-height: 252px; }
  }

  .about .inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .btn.lg { font-size: 16px; padding: 12px 20px; }

  .mobile-cta { display: inline-flex; }
  .mobile-nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--brand);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 88px 24px 32px;
    z-index: 50;
    overflow-y: auto;

    .nav-link {
      color: #fff;
      font-size: 17px;
      font-weight: 500;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.18);
      text-decoration: none;
    }

    .nav-sep { display: none; }

    /* Log in: render as a flat section — label like a nav-link with
       the two destinations always visible and indented below. */
    .dropdown.account {
      .trigger {
        display: flex;
        width: 100%;
        font-size: 17px;
        font-weight: 500;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        opacity: 1;
        cursor: default;
        pointer-events: none;

        .caret { display: none; }
      }
      .menu {
        display: block;
        position: static;
        background: transparent;
        color: #fff;
        border: 0;
        padding: 0;
        box-shadow: none;
        min-width: 0;
      }
      .item {
        color: rgba(255, 255, 255, 0.85);
        font-size: 15px;
        padding: 12px 0 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 0;

        &:hover, &.is-active {
          background: transparent;
          color: #fff;
        }
      }
    }

    .btn {
      width: 100%;
      justify-content: center;
      font-size: 17px;
      padding: 14px 22px;
      margin-top: 8px;
    }
    .btn.secondary { order: 2; }
    .btn.primary { order: 1; }

    /* Language picker: docked at the bottom of the menu, compact and
       de-emphasized — two inline pills below the contact buttons. */
    .dropdown.lang {
      order: 99;
      margin-top: 24px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.18);

      .trigger { display: none; }
      .menu {
        display: flex;
        flex-direction: row;
        gap: 8px;
        position: static;
        background: transparent;
        color: #fff;
        border: 0;
        padding: 0;
        box-shadow: none;
        min-width: 0;
      }
      .item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
        padding: 10px 12px;
        border: 0;
        border-radius: 6px;

        &:hover {
          background: rgba(255, 255, 255, 0.08);
          color: #fff;
        }
        &.is-active {
          background: rgba(255, 255, 255, 0.14);
          color: #fff;
        }
      }
    }
  }

  body.mobile-nav-active .site-nav { display: flex; }
}

/* ---------- Contact page ---------- */
.contact-page {
  padding: 60px 0 80px;

  .inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
  }

  h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.05;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
    color: var(--ink);
  }

  h2 {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 600;
    margin: 48px 0 16px;
    text-align: center;
    color: var(--ink);
  }

  .lede {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 28px;
  }

  .contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
  }

  .contact-btn {
    background: #fff;
    color: var(--brand);
    border-color: var(--brand);
    gap: 10px;

    .icon { width: 20px; height: 20px; flex-shrink: 0; }

    &:hover {
      background: var(--brand);
      color: #fff;
      border-color: var(--brand);
    }
  }

  .calendar-wrap {
    position: relative;
    min-height: 600px;

    .calendar-spinner {
      position: absolute;
      top: 80px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 0;
    }

    .tidycal-embed {
      position: relative;
      z-index: 1;
    }
  }

  .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @media (max-width: 720px) {
    .calendar-wrap { margin: 0 -24px; }
  }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Terms pages (vilkår, SSA-L) ---------- */
.terms {
  padding: 60px 0 80px;

  .inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
  }

  h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.05;
    font-weight: 700;
    margin: 0 0 28px;
    letter-spacing: -0.01em;
    color: var(--ink);
  }

  h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 700;
    color: var(--ink);
    margin: 48px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 100px;
  }

  h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand);
    margin: 28px 0 8px;
  }

  p {
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0 0 12px;
  }
  p strong { color: var(--ink); }

  a { color: var(--brand); }

  .terms-nav {
    display: flex;
    gap: 20px;
    margin: 0 0 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);

    a {
      font-weight: 600;
      text-decoration: none;
      &:hover { text-decoration: underline; }
    }
  }

  .version {
    font-size: 0.9rem;
    color: var(--ink-soft);
    font-weight: 600;
    margin: 0 0 24px;
  }

  .checklist {
    list-style: none;
    padding: 0;
    margin: 20px 0;

    li {
      position: relative;
      padding: 6px 0 12px 2em;
      color: var(--ink-soft);
      line-height: 1.6;

      &::before {
        content: "✓";
        position: absolute;
        left: 0.2em;
        top: 6px;
        color: var(--brand);
        font-weight: 700;
        font-size: 1.1em;
      }
    }
  }

  .download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 12px;
  }

  .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color .15s ease;

    .icon { width: 20px; height: 20px; flex-shrink: 0; }

    &:hover { background: var(--brand-dark); color: #fff; }
  }

  .terms-disclaimer {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 8px 0 0;

    a { color: var(--ink-soft); }
  }

  .terms-ssa-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
  }

  .terms-ssa-downloads .download-buttons {
    flex-direction: column;
    align-items: stretch;

    .download-btn { justify-content: flex-start; }
  }

  @media (max-width: 880px) {
    .terms-ssa-layout {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .terms-ssa-downloads .download-buttons {
      flex-direction: row;
      flex-wrap: wrap;
    }
  }

  @media print {
    .terms-nav,
    .download-buttons,
    .site-header,
    .site-footer { display: none !important; }

    .inner { max-width: 100%; padding: 0; }
    h2 { page-break-before: always; }
    h2:first-of-type { page-break-before: avoid; }
    p, h3 { page-break-inside: avoid; }
  }
}

/* ---------- Interschutz event banner ---------- */
.interschutz-banner {
  background: linear-gradient(135deg, #1212a0 0%, #05055a 65%);
  color: #fff;
  padding: 21px 48px;
  font-size: 30px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  line-height: 1.3;
  margin-top: 20px;

  img {
    height: 102px;
    width: auto;
    flex-shrink: 0;
  }

  .banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  strong {
    font-weight: 700;
  }

  @media (max-width: 600px) {
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
    font-size: 20px;
    margin-top: 14px;

    img { height: 68px; }
  }
}
