/*Remove the browser default padding 8px*/
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
*, *::before, *::after { box-sizing: border-box; }

/* -------------- ALL PARAGRAPH STYLING ---------------*/
/* Unified typography for paragraphs + lists */
:where(p, ul, ol, li) {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;  /* your "thickness" */
  font-size: clamp(0.95, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
}

/* Make bullet/number weight match text */
:where(ul, ol) ::marker {
  font-weight: inherit;
  color: currentColor;
}

/* Small indent for lists + tidy spacing */
:where(ul, ol) {
  padding-inline-start: 1.25rem;  /* adjust indent here */
  margin: 0 0 .75rem 0;           /* space after list */
}

/* Spacing between paragraphs and lists */
p + p { margin-top: .75rem; }
p + :is(ul, ol), 
:is(ul, ol) + p { margin-top: .75rem; }

/* Optional: small spacing within lists and nested lists */
li { margin: .35em 0; }
:where(li > ul, li > ol) { margin-top: .35em; }


/* ---------------- HEADING STYLING ------------------ */
h1{
    font-weight: 700;
    margin: 20px 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 4rem;
}

h2{
    font-weight: 600;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 3.5rem;
}

h3{
    font-weight: 600;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
}

h4{
    font-weight: 400;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
}

h5{
    font-weight: 300;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.39em;
    font-size: 0.8rem;
    
}

h6{
    font-weight: 600;
    margin: 0;
    font-size: 0.85rem;
    font-family: 'Raleway', sans-serif;
    color: #7E3AF2;
    letter-spacing: 4px;
    initial-letter-align: center;
}



/* === CARD / PUBLICATION / NEWS === */

.card {
  display: flex;                /* make the card a flex container */
  flex-direction: column;       /* stack image + content vertically */
  height: 100%;
  background-color: #1E2938;                 /* let it stretch to fill the parent */
  text-decoration: none;
  color: inherit;
  border: 1px solid #4A5565;
  border-radius: 1rem;
  padding: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.card img {
  border-radius: 1rem;
  width: 100%;
  height: auto;
  flex: 1;                      /* ✅ let image grow to fill available space */
  object-fit: cover;            /* ✅ fill without stretching image */
}

/* === Horizontal Newsroom Card === */
.newsroom-card {
  width: 100%;
  display: flex;
  flex-direction: row;
  background: #1E2938;
  border: 1px solid #4A5565;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  max-width: 100%; /* full bleed inside its container */
  margin-bottom: 2rem;
}

.newsroom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

/* Card as a link */
.newsroom-card .card-link {
  display: flex;
  color: inherit;
  text-decoration: none;
  width: 100%;
}

/* Image section */
.newsroom-card .card-image {
  flex: 0 0 40%; /* occupy 40% of the card width */
  max-height: 260px;
  overflow: hidden;
}

.newsroom-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content section */
.newsroom-card .card-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsroom-card .card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7a3ff2;
  margin-bottom: 8px;
  display: inline-block;
}

.newsroom-card .card-title {
  font-size: 1.5rem;
  margin: 0 0 10px;
  line-height: 1.2;
  font-weight: 700;
}

.newsroom-card .card-description {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 16px;
  color: #c5c5c5;
}

.newsroom-card .card-meta {
  font-size: 0.85rem;
  color: #c5c5c5;
}

/* 🔁 Mobile layout: stack image on top */
@media (max-width: 800px) {
  .newsroom-card {
    flex-direction: column;
  }

  .newsroom-card .card-image {
    flex: 0 0 auto;
    max-height: 200px;
  }
}

/* === SPLIT HERO BASE === */
.split-hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    #2f256e 0%,
    #000000 40%,
    #322e6d 100%
  );
  color: #0b1220;
  overflow: hidden;
}

.split-hero__inner {
  height: 100%;
  max-width: 1264px;
  margin: 0 auto;
  padding-inline: 20px;
  display: flex;
  align-items: center; /* vertical centering */
}

.split-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: 100%;
}

/* === FLOAT-IN ANIMATION KEYFRAMES === */
@keyframes heroFloatUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LEFT COLUMN */
.split-hero__left {
  max-width: calc(1264px / 2);

  /* animation on load */
  opacity: 0;
  animation: heroFloatUp 0.8s ease-out forwards;
  animation-delay: 0.15s;
}

.split-hero__title {
  font-size: clamp(3.4rem, 4.8vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #ededed;
}

.split-hero__subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  margin: 0 0 2rem 0;
  color: #ededed;
}

/* CTA area (scoped to hero) */
.split-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Buttons (scoped to hero) */
.split-hero__btn {
  display: inline-flex;
  font-family: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px; /* pill */
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
  border: 1.5px solid transparent;
  will-change: transform;
  cursor: pointer;
}

.split-hero__btn:hover {
  transform: translateY(-1px);
}

.split-hero__btn:active {
  transform: translateY(0);
}

/* Primary button */
.split-hero__btn--primary {
  background: #7e3af2;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(11, 16, 32, 0.25);
}

.split-hero__btn--primary:hover {
  box-shadow: 0 12px 28px rgba(11, 16, 32, 0.3);
}

/* Ghost button */
.split-hero__btn--ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: saturate(1.2) blur(1px);
  border-color: rgba(11, 16, 32, 0.2);
}

.split-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* RIGHT COLUMN – BIG RAW IMAGE, NO CARD */
.split-hero__right {
  position: relative;
  height: 100%;

  /* animation on load (slight delay vs left) */
  opacity: 0;
  animation: heroFloatUp 0.9s ease-out forwards;
  animation-delay: 0.35s;
}

/* Wrapper controls how far it pushes off the right */
.split-hero__image-wrap {
  position: relative;
  width: 180%;          /* >100% to give it more presence */
  margin-left: 0;
  transform: translateX(0%); /* you can nudge this if you want a right bleed */
  pointer-events: none; /* purely visual, doesn’t block interactions */
}

.split-hero__image {
  display: block;
  width: 100%;
  height: auto;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 900px) {
  .split-hero__inner {
    padding-block: 56px;
  }

  .split-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  .split-hero__left {
    max-width: 100%;
    /* still animates on mobile */
  }

  .split-hero__image-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    transform: translateX(0);
  }

  .split-hero__right {
    display: none; /* hides image on mobile, animation won't run there */
  }

  .split-hero__title {
    font-size: clamp(1.9rem, 7vw, 2.3rem);
  }

  .split-hero__subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .split-hero__inner {
    padding-inline: 16px;
  }

  .split-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .split-hero__btn {
    width: 100%;
    justify-content: center;
  }
}


/* --- COMPONENTS --*/
/* ===== Minimal, dependency-free styles ===== */
.fullbleed-section {
  width: 100%;
  background: var(--bg, #f5f5f5);              /* set via HTML */
  color: var(--fg, inherit);                   /* optional override via HTML */
}

.section__inner {
  max-width: 1264px;                           /* max content width */
  margin-inline: auto;
  padding-block: var(--pad-block, 0px);       /* set via HTML (optional) */
  box-sizing: border-box;  
}

.section__header > * { margin: 0; }
.section__header > * + * { margin-top: .5rem; }
.section__header { text-align: center; }

.section__104545grid {
  display: grid;
  grid-template-columns: 10fr 45fr 45fr; /* ≈ 10%, 45%, 45% */
  gap: 24px; /* whatever you use */ 
  margin-top: clamp(16px, 3vw, 32px);
  align-items: start;
  align-items: stretch; /* ⬅️ instead of start */
}

.section__2020202020grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr; /* ≈ 5 equal frames */
  gap: 24px; /* whatever you use */ 
  margin-top: clamp(16px, 3vw, 32px);
  align-items: start;
  align-items: stretch; /* ⬅️ instead of start */
}


.section__5050grid {
  display: grid;
  grid-template-columns: 1fr 1fr;              /* two even columns */
  gap: var(--gap, 2rem);                     /* small space between them */
  margin-top: clamp(16px, 3vw, 32px);
  align-items: start;
  align-items: stretch; /* ⬅️ instead of start */
}

.section__2575grid {
  display: grid;
  grid-template-columns: 1fr 3fr;            /* 25% left column, 75% right column  */
  gap: var(--gap, 1rem);                     /* small space between them */
  margin-top: clamp(16px, 3vw, 32px);
  align-items: start;
  align-items: stretch; /* ⬅️ instead of start */
}

.section__7525grid {
  display: grid;
  grid-template-columns: 3fr 1fr;            /* 75% left column, 25% right column  */
  gap: var(--gap, 1rem);                     /* small space between them */
  margin-top: clamp(16px, 3vw, 32px);
  align-items: start;
  align-items: stretch; /* ⬅️ instead of start */
}

.section__3060grid {
  display: grid;
  grid-template-columns: 1fr 2fr;            /* 33% left column, 66% right column  */
  gap: var(--gap, 1rem);                     /* small space between them */
  margin-top: clamp(16px, 3vw, 32px);
  align-items: start;
  align-items: stretch; /* ⬅️ instead of start */
}

.section__6030grid {
  display: grid;
  grid-template-columns: 2fr 1fr;            /* 66% left column, 33% right column  */
  gap: var(--gap, 1rem);                     /* small space between them */
  margin-top: clamp(16px, 3vw, 32px);
  align-items: start;
  align-items: stretch; /* ⬅️ instead of start */
}

.section__100grid {
  display: grid;
  grid-template-columns: 1fr;            /* 100% single column  */
  gap: var(--gap, 1rem);                     /* small space between them */
  margin-top: clamp(16px, 3vw, 32px);
  align-items: start;
  align-items: stretch; /* ⬅️ instead of start */
  
}

.section__303030grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;              /* three even columns */
  gap: var(--gap, 2rem);                     /* small space between them */
  margin-top: clamp(16px, 3vw, 32px);
  align-items: stretch; /* ⬅️ instead of start */
}

.section__25252525grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;              /* four even columns */
  gap: var(--gap, 2rem);                     /* small space between them */
  margin-top: clamp(16px, 3vw, 32px);
  align-items: stretch; /* ⬅️ instead of start */
}


.section__col > *:first-child { 
  margin-top: 0;
}

/* ===== Breakpoints ===== */

/* Stack to one column on narrow screens */
@media (max-width: 900px) {
  .section__5050grid,
  .section__2575grid,
  .section__7525grid,
  .section__3060grid,
  .section__6030grid,
  .section__303030grid,
  .section__2020202020grid {
    grid-template-columns: 1fr;
  }
}

/* Stack to two columns on narrow screens */
@media (max-width: 900px) {
  .section__25252525grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ⭐ NEW: Add comfy side padding on all mobile layouts */
@media (max-width: 900px) {
  .section__inner {
    padding-inline: 20px;   /* <-- Mobile left/right padding */
  }
}

/* Optional: extra comfy spacing on very large screens */
@media (min-width: 1280px) {
  .section__inner {
    padding-inline: 48px;
  }

  .section__5050grid,
  .section__2575grid,
  .section__7525grid,
  .section__3060grid,
  .section__6030grid,
  .section__303030grid {
    gap: var(--gap, 1.25rem);
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .section__inner {
    padding-inline: 12px;
  }
}

 
        :root{
          /* ===== Theme tokens (tweak these) ===== */
          --ankor-bg: #101828;              /* stays transparent to blend with page */
          --ankor-fg: #ffffff;                  /* main text */
          --ankor-fg-muted: #c6c6c6;           /* muted text */
          --ankor-accent: #7a3ff2;             /* accent color for bullets/icons */
          --ankor-border: #4A5565;             /* subtle divider */
          --ankor-radius: 1rem;                /* card/list rounding */
          --ankor-shadow: 0 10px 28px rgba(0,0,0,.06);
          --ankor-maxw: 1200px;                /* content max width */
          --ankor-pad: clamp(28px, 6vw, 16px); /* section padding */
        }

        /* Optional dark-context tuning (inherits page background) */
        @media (prefers-color-scheme: dark){
          :root{
            --ankor-fg: #0b1220;
            --ankor-fg-muted: #a8b1c2;
            --ankor-border: #4A5565;
            --ankor-shadow: 0 10px 28px rgba(0,0,0,.35);
          }
        }

        .ankor-section{
          background: var(--ankor-bg);
          color: var(--ankor-fg);
          padding: var(--ankor-pad);

        }

        .ankor-inner{
          max-width: var(--ankor-maxw);
          margin: 0 auto;
          display: grid;
          gap: clamp(18px, 3vw, 28px);
          
        }

        /* Header */
        .ankor-head{
          display: grid;
          gap: 8px;
          align-items: center;           /* vertical centering within its row */
          text-wrap: balance;
        }
        .ankor-eyebrow{
          font: 600 12px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
          letter-spacing: .14em;
          text-transform: uppercase;
          color: var(--ankor-accent);
        }
        .ankor-title{
          font: 700 clamp(24px, 3.6vw, 34px)/1.15 system-ui,-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
          margin: 0;
        }
        .ankor-sub{
          font: 400 clamp(15px, 1.8vw, 18px)/1.55 system-ui,-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
          color: var(--ankor-fg-muted);
          margin: 0;
        }

        /* 2-column content area */
        .ankor-grid{
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: clamp(18px, 3vw, 32px);
          align-items: center;           /* <— vertical centering across both columns */
        }

        /* Lists as cards */
        .ankor-card{
          background: #1E2938;
          border: 1px solid var(--ankor-border);
          border-radius: var(--ankor-radius);
          box-shadow: var(--ankor-shadow);
          padding: clamp(16px, 2.5vw, 22px);
          display: grid;
          gap: 12px;

        }
        .ankor-card h3{
          margin: 0 0 2px 0;
          font: 700 16px/1.2 system-ui,-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
        }

        .ankor-list{
          display: grid;
          gap: 10px;
          margin: 0;
          padding: 0;
          list-style: none;
        }
        .ankor-li{
          display: grid;
          grid-template-columns: 20px 1fr;
          align-items: start;
          gap: 10px;
        }

        .ankor-icon{
          width: 20px;
          height: 20px;
          margin-top: 2px;
          flex: 0 0 20px;
        }
        .ankor-text{
          font: 400 15px/1.55 system-ui,-apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
          color: var(--ankor-fg);
        }
        .ankor-muted{
          color: var(--ankor-fg-muted);
        }

        /* Responsive */
        @media (max-width: 900px){
          .ankor-grid{ grid-template-columns: 1fr; }
          .ankor-card{ padding: 16px; }
          .ankor-title{ font-size: clamp(22px, 6vw, 30px); }
        }





/* === Link with Icon Component === */
.ah-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: currentColor;
  text-decoration: none;
  position: relative;
  --icon-size: 16px; /* you can update globally here if needed */
}

/* Create the icon box using the data attribute */
.ah-link-icon::before {
  content: "";
  width: var(--icon-size);
  height: var(--icon-size);
  display: inline-block;
  background-image: var(--icon-url);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Bind the URL dynamically using the data-attribute */
.ah-link-icon {
  --icon-url: url(attr(data-icon));
}

/* === Divider Section === */
.divider-section {
  background: #101828;           /* dark background for the section */
  padding-block: 16px;           /* vertical spacing above/below */
}

.divider {
  width: 100%;
  max-width: 1164px;             /* restrict width */
  margin: 0 auto;                /* center */
  height: 1px;                   /* the visible line */
  background: #4A5565;           /* color of the divider line */
}

/* mobile padding for the divider */
@media (max-width: 600px) {
  .divider {
    margin-inline: 16px;         /* adds side padding on small screens */
  }
}

  :root {
        --maxw: 900px;
        --pad-inline: clamp(16px, 4vw, 32px);
        --pad-block: clamp(40px, 6vw, 80px);

        --bg: #101828;
        --fg: #ffffff;
        --muted: #CFDBE8;
        --accent: #7a3ff2;
        --button-radius: 14px;
      }

      html,
      body {
        margin: 0;
        padding: 0;
        background: var(--bg);
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
        color: var(--fg);
      }

      main {
        min-height: 60vh;
      }

      .app-download {
        width: 100vw;
        height:100vh;
        display: flex;
        justify-content: center;
        padding: var(--pad-block) var(--pad-inline);
      }

      .app-download__inner {
        max-width: var(--maxw);
        text-align: center;
      }

      .app-download__title {
        font-size: clamp(28px, 4vw, 40px);
        margin-bottom: 12px;
      }

      .app-download__subtitle {
        font-size: 1.15rem;
        color: var(--muted);
        margin-bottom: 32px;
      }

      .app-download__buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;
        flex-wrap: wrap;
      }

      .store-button img {
        height: 56px;
        display: block;
        border-radius: var(--button-radius);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        transition: transform 0.15s ease;
        border: 1px solid #ffffff;
        background: #000;
      }

      .store-button img:hover {
        transform: scale(1.04);
      }

      @media (max-width: 480px) {
        .store-button img {
          height: 48px;
        }
      }


    /* ===== Terms layout & spacing ===== */
    .legal-terms {
      max-width: 960px;
      margin: 0 auto;
      padding: clamp(32px, 5vw, 56px) clamp(16px, 5vw, 40px);
      line-height: 1.7;
      font-size: 0.95rem; /* optional: slightly smaller body text for legal */
    }

    /* Top heading & “Last updated” */
    .legal-terms h2 {
      margin-bottom: 0.75rem;
    }

    .legal-terms > p:first-of-type {
      margin-top: 0.25rem;
    }

    /* Section headings (1., 2., 3. etc.) */
    .legal-terms h3 {
      margin-top: 2.5rem;
      margin-bottom: 0.75rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(148, 163, 184, 0.35); /* soft divider */
    }

    /* Sub-headings (2.1, 2.2, etc.) */
    .legal-terms h4 {
      margin-top: 1.5rem;
      margin-bottom: 0.4rem;
    }

    /* Paragraphs & lists */
    .legal-terms p,
    .legal-terms ul,
    .legal-terms dl {
      margin-top: 0.5rem;
      margin-bottom: 0;
    }

    .legal-terms ul {
      padding-left: 1.3rem;
      margin-top: 0.25rem;
    }

    .legal-terms ul li + li {
      margin-top: 0.25rem;
    }

    /* Definitions block */
    .legal-terms dl {
      margin-top: 0.75rem;
      margin-bottom: 2rem;
    }

    .legal-terms dt {
      font-weight: 600;
      margin-top: 0.85rem;
    }

    .legal-terms dd {
      margin: 0.15rem 0 0 0.25rem;
    }

    /* Make strong text consistently bold inside this section */
    .legal-terms strong {
      font-weight: 600;
    }

/* ===== ARTICLE ===== */
.ap-article {
  max-width: 1264px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;
}

/* Header block */
.ap-article__header {
  margin-bottom: 2rem;
}

/* Title */
.ap-article__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Subtitle */
.ap-article__subtitle {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #d4d4d4;
}

/* Meta (author + read time) */
.ap-article__meta {
  margin: 0;
  font-size: 0.9rem;
  color: #d4d4d4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.ap-article__author {
  font-weight: 600;
}

.ap-article__dot {
  opacity: 0.6;
}

.ap-article__readtime {
  white-space: nowrap;
}

/* Image area */
.ap-article__figure {
  margin: 0 0 2rem;
}

.ap-article__image {
  display: block;
  width: 100%;
  max-height: 1264px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.ap-article__caption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #d4d4d4;
}

/* Article text */
.ap-article__body {
  font-size: 1rem;
  line-height: 1.7;
  color: #ffffff;
}

.ap-article__body p {
  margin: 0 0 1.25rem;
  max-width: 70ch;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .ap-article {
    padding-inline: 1.25rem;
  }

  .ap-article__body p {
    max-width: 100%;
  }
}


/* =========================================
   LEGAL PAGE / TERMS OF USE STYLE
   ========================================= */

.legal-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.7;
}

.legal-container h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0b1220;
}

.legal-container h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: #0b1220;
}

.legal-container h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #0b1220;
}

.legal-container p {
  margin-bottom: 1.25rem;
  color: #333;
}

.legal-container ul,
.legal-container ol {
  margin: 1.25rem 0;
  padding-left: 1.4rem;
  color: #333;
}

.legal-container li {
  margin-bottom: 0.75rem;
}

.legal-container a {
  color: #3b6df7;
  text-decoration: underline;
}

.legal-updated-date {
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #727b88;
}

/* Spacing helpers */
.legal-section {
  margin-bottom: 3rem;
}

/* Small screens */
@media (max-width: 600px) {
  .legal-container {
    padding: 40px 18px;
  }

  .legal-container h1 {
    font-size: 2rem;
  }

  .legal-container h2 {
    font-size: 1.4rem;
  }
}


/* === AnkorPay Security Section === */
.ap-security {
  width: 100%;
  font-family: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ap-security-inner {
  max-width: 1264px;
  margin: 0 auto;
  text-align: center;
}

.ap-security-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.ap-security-sub {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: #c5c5c5;
}

/* === GRID === */
.ap-security-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* === CARD === */
.ap-sec-card {
  padding: 2rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ap-sec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* === ICON === */
.ap-sec-icon {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

/* Titles */
.ap-sec-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #071229;
}

/* Body text */
.ap-sec-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
}

/* === Tab View Component === */

.ap-tabs-section {
  --ap-tabs-accent: #0b5fff;
  --ap-tabs-bg: #f8fafc;
  --ap-tabs-text: #0b1220;
  --ap-tabs-muted: #4b5563;
  --ap-tabs-radius: 20px;

  font-family: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 3rem 1.5rem;
  max-width: 1264px;
  margin: 0 auto;
}

.ap-tabs {
  background: #ffffff;
  border-radius: var(--ap-tabs-radius);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  padding: 2.25rem 2.5rem;
}

/* NAV */

.ap-tabs-nav {
  position: relative;
  display: inline-flex;
  gap: 2rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.ap-tab-button {
  position: relative;
  padding: 0.25rem 0;
  border: none;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ap-tabs-muted);
  cursor: pointer;
  outline: none;
  white-space: nowrap;
}

.ap-tab-button.is-active {
  color: var(--ap-tabs-text);
}

.ap-tabs-underline {
  position: absolute;
  height: 3px;
  background: var(--ap-tabs-accent);
  border-radius: 999px 999px 0 0;
  bottom: -1.5px;
  left: 0;
  width: 0;
  transform: translateX(0);
  transition: transform 0.25s ease, width 0.25s ease;
}

/* PANELS */

.ap-tabs-panels {
  margin-top: 0.5rem;
}

.ap-tab-panel {
  display: none;
}

.ap-tab-panel.is-active {
  display: block;
}

.ap-tab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* TEXT COLUMN */

.ap-tab-text h3 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
  color: var(--ap-tabs-text);
}

.ap-tab-text p {
  margin: 0 0 0.75rem;
  color: var(--ap-tabs-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.ap-tab-text ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ap-tabs-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ap-tab-text li + li {
  margin-top: 0.25rem;
}

/* IMAGE COLUMN */

.ap-tab-media img {
  width: 100%;
  border-radius: 18px;
  display: block;
  object-fit: cover;
}

/* Pill label */

.ap-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--ap-tabs-bg);
  color: var(--ap-tabs-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* Responsive */

@media (max-width: 768px) {
  .ap-tabs {
    padding: 1.75rem 1.5rem 1.9rem;
  }

  .ap-tabs-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }

  .ap-tab-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ap-tab-media {
    order: -1; /* image on top for mobile – remove if you prefer text first */
  }
}

/* === Icon Size Variables === */
:root {
  --icon-size-sm: 18px;
  --icon-size-md: 24px;
  --icon-size-lg: 32px;
  --icon-size-xl: 40px;
}

/* === ICON SIZE SYSTEM === */
.ankor-icon {
  display: inline-block;
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  flex-shrink: 0;
  fill: currentColor;
}

/* Size modifiers */
.ankor-icon--sm {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
}

.ankor-icon--md {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
}

.ankor-icon--lg {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
}

.ankor-icon--xl {
  width: var(--icon-size-xl);
  height: var(--icon-size-xl);
}
