/* Averer — Product page (matches www.averer.co/product) */

.page-product {
  background: #f9fafb;
  /* Typography — www.averer.co/product */
  --product-hero-title: 48px;
  --product-steps-title: 64px;
  --product-section-title: 36px;
  --product-step-title: 24px;
  --product-body: 16px;
  --product-body-lg: 18px;
  --product-step-text-w: 527px;
  --product-step-img-w: 400px;
  --product-step-gap: 80px;
  --product-devs-demo-w: 400px;
  --product-devs-demo-h: 335px;
  --code-bg: #0d0d0d;
  --code-header: #2f2f2f;
  --code-comment: #b4b4b4;
  --code-pink: #fd52af;
  --code-green: #00c896;
  --code-blue: #2563eb;
  --code-blue-light: #bbe0ff;
  --dark-blue: #182a3e;
  --slate-700: #415978;
  --slate-500: #7588a2;
  --off-white: #fefeff;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
}

/* ============== Hero (Product) ============== */
    .hero {
      background: #f9fafb;
      padding: 48px 16px 32px;
    }
    @media (min-width: 1024px) {
      .hero { padding: 64px 80px 64px; }
    }
    .hero__inner {
      max-width: var(--max-width);
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 40px;
      width: 100%;
      align-items: stretch;
    }
    @media (min-width: 1024px) {
      .hero__inner {
        flex-direction: row;
        align-items: center;
        gap: 72px;
      }
    }
    .hero__left {
      flex: 1 1 44%;
      min-width: 0;
      max-width: 640px;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    .hero__intro {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .hero__title {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(28px, 4vw, var(--product-hero-title));
      line-height: 1.1;
      color: var(--ink-900);
    }
    .hero__title em {
      font-style: normal;
      color: var(--blue-600);
    }
    .hero__title span { color: var(--ink-900); }
    .hero__title-line {
      display: block;
    }
    .hero__desc {
      font-family: var(--font-ui);
      font-weight: 400;
      font-size: var(--product-body);
      line-height: 1.5;
      color: var(--ink-400);
      max-width: 520px;
    }
    @media (min-width: 1024px) {
      .hero__desc { font-size: var(--product-body-lg); }
    }
    .hero__ctas {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }

    /* Code mockup — seamless header / body / footer (no white gaps) */
    .code-mockup {
      flex: 1 1 52%;
      width: 100%;
      min-width: 0;
      max-width: 520px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 0;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(6, 23, 40, 0.1);
      background: var(--code-bg);
    }
    @media (min-width: 1024px) {
      .code-mockup { margin: 0; }
    }
    .code-mockup__header {
      flex-shrink: 0;
      margin: 0;
      background: var(--code-header);
      padding: 6px 11px;
      font-family: var(--font-ui);
      font-size: 12px;
      line-height: 1.4;
      color: var(--code-comment);
      border: none;
    }
    .code-mockup__body {
      flex: 1 1 auto;
      margin: 0;
      background: var(--code-bg);
      padding: 16px;
      font-family: var(--font-mono);
      font-size: 12px;
      line-height: 1.65;
      overflow-x: auto;
      border: none;
    }
    @media (min-width: 1024px) {
      .code-mockup__body {
        font-size: 13px;
        padding: 20px;
      }
    }
    .code-mockup__body code {
      display: block;
      margin: 0;
      padding: 0;
      white-space: pre;
      font-family: inherit;
      font-size: inherit;
      line-height: inherit;
      background: transparent;
      color: inherit;
    }
    .code-mockup__body .code-comment { color: var(--code-comment); font-weight: 400; }
    .code-mockup__body .code-pink { color: var(--code-pink); font-weight: 700; }
    .code-mockup__body .code-blue { color: var(--code-blue); font-weight: 700; }
    .code-mockup__body .code-package { color: #1a3a6e; font-weight: 700; }
    .code-mockup__body .code-white { color: var(--white); font-weight: 700; }
    .code-mockup__footer {
      flex-shrink: 0;
      margin: 0;
      background: var(--code-header);
      padding: 6px 11px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      border: none;
    }
    .code-mockup__footer-result {
      font-family: var(--font-ui); font-size: 10px; color: var(--code-comment);
    }
    .code-mockup__footer-result strong { color: var(--code-green); font-weight: 700; }
    .code-mockup__footer-status {
      display: flex; align-items: center; gap: 4px;
      font-family: var(--font-ui); font-size: 10px; color: var(--code-green);
    }
    .code-mockup__footer-status::before {
      content: ""; width: 8px; height: 8px;
      background: var(--code-green); border-radius: 50%;
    }

    /* ============== 3 simple steps (exact averer.co/product sizes) ============== */
    .section--steps {
      background: #f9fafb;
      padding: 48px 16px 64px;
    }
    @media (min-width: 1024px) {
      .section--steps {
        padding: 64px 80px 64px;
      }
    }
    .steps__inner {
      display: flex;
      flex-direction: column;
      width: 100%;
    }
    .steps__intro {
      display: flex;
      flex-direction: column;
      gap: 24px;
      margin-bottom: 48px;
    }
    @media (min-width: 1024px) {
      .steps__intro {
        margin-bottom: 80px;
      }
    }
    .steps__title {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(28px, 4vw, var(--product-steps-title));
      line-height: 1;
      color: var(--ink-900);
    }
    .steps__title em { font-style: normal; color: var(--blue-600); }
    .steps__list {
      display: flex;
      flex-direction: column;
      gap: 48px;
      width: 100%;
    }
    @media (min-width: 1024px) {
      .steps__list { gap: 80px; }
    }
    .step {
      display: flex;
      flex-direction: column;
      gap: 32px;
      width: 100%;
    }
    @media (min-width: 1024px) {
      /* Two equal halves: visual centered in its half, text aligned toward the gutter */
      .step {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: var(--product-step-gap);
        align-items: center;
        width: 100%;
      }
      .step--reverse {
        padding-right: 32px;
      }
      .step__text {
        width: var(--product-step-text-w);
        max-width: 100%;
        justify-self: start;
      }
      .step__visual {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
      }
      .step:not(.step--reverse) .step__text {
        grid-column: 1;
        grid-row: 1;
      }
      .step:not(.step--reverse) .step__visual {
        grid-column: 2;
        grid-row: 1;
      }
      .step--reverse .step__visual {
        grid-column: 1;
        grid-row: 1;
      }
      .step--reverse .step__text {
        grid-column: 2;
        grid-row: 1;
        /* Align with left edge of step 1 “Criteria for investing” card (centered 400px visual) */
        margin-left: calc((100% - var(--product-step-img-w)) / 2);
      }
    }
    .step__text {
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-width: 0;
    }
    .step__title {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: var(--product-step-title);
      line-height: normal;
      color: var(--ink-900);
    }
    .step__desc {
      font-family: var(--font-ui);
      font-weight: 400;
      font-size: var(--product-body);
      line-height: 1.5;
      color: var(--ink-400);
    }
    .step__visual {
      width: 100%;
      line-height: 0;
    }
    .step__media {
      flex-shrink: 0;
      width: 100%;
      max-width: var(--product-step-img-w);
      margin: 0 auto;
      line-height: 0;
    }
    .step__media img {
      display: block;
      width: 100%;
      max-width: 100%;
      height: auto;
    }
    @media (min-width: 1024px) {
      .step__media {
        width: var(--product-step-img-w);
        max-width: var(--product-step-img-w);
        margin: 0;
      }
      .step__media img {
        width: var(--product-step-img-w);
        max-width: var(--product-step-img-w);
        height: auto;
      }
      .steps__list > .step:nth-child(1) .step__media img {
        height: 331px;
      }
      .steps__list > .step:nth-child(2) .step__media img {
        height: 360px;
      }
      .steps__list > .step:nth-child(3) .step__media {
        width: 392px;
        max-width: 392px;
      }
      .steps__list > .step:nth-child(3) .step__media img {
        width: 392px;
        max-width: 392px;
        height: 323px;
      }
    }

    /* Section headings on product page */
    .page-product .section__title {
      font-size: clamp(24px, 3vw, var(--product-section-title));
      line-height: 1.1;
    }
    .page-product .section__desc {
      font-size: var(--product-body);
    }
    @media (min-width: 1024px) {
      .page-product .section__desc { font-size: var(--product-body-lg); }
    }
    .page-product .feature-card__title {
      font-size: 18px;
    }
    .page-product .feature-card__desc {
      font-size: var(--product-body);
    }
    .page-product .compare__cell {
      font-size: 14px;
    }
    @media (min-width: 1024px) {
      .page-product .compare__cell {
        font-size: 14px;
      }
    }
    .page-product .compare__cell--head {
      font-size: 14px;
    }
    .page-product .cta__title {
      font-size: clamp(24px, 3vw, var(--product-section-title));
    }
    .page-product .cta__desc {
      font-size: var(--product-body);
    }
    .page-product .devs__title {
      font-size: 24px;
    }

    /* ============== How Averer compares (matches averer.com) ============== */
    .section--compare {
      background: var(--white);
    }
    .compare__head {
      margin-bottom: 24px;
    }
    .compare__table {
      display: grid;
      grid-template-columns: minmax(140px, 1.1fr) 1.2fr 1fr;
      gap: 0;
      width: 100%;
      font-family: var(--font-ui);
      font-size: 14px;
      line-height: 1.5;
      background: var(--white);
    }
    @media (max-width: 767px) {
      .compare__table { font-size: 13px; }
    }
    @media (min-width: 1024px) {
      .compare__table {
        grid-template-columns: minmax(200px, 1.15fr) 1.25fr 1fr;
      }
    }
    .compare__cell {
      padding: 14px 16px;
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: inherit;
      line-height: 1.5;
      background: var(--white);
      color: var(--ink-900);
    }
    @media (min-width: 1024px) {
      .compare__cell {
        padding: 16px 20px;
      }
    }
    /* Header row only — light bar (#f4f7fc) */
    .compare__cell--head {
      font-family: var(--font-ui);
      font-weight: 500;
      font-size: 14px;
      line-height: 1.4;
      padding-top: 14px;
      padding-bottom: 14px;
      min-height: auto;
      align-items: center;
      background: #f4f7fc;
      border: none;
    }
    @media (min-width: 1024px) {
      .compare__cell--head {
        padding: 14px 20px;
      }
    }
    .compare__cell--head-empty {
      padding: 0;
      min-height: 0;
    }
    .compare__cell--head-traditional {
      color: #6e7887;
      font-weight: 400;
    }
    .compare__cell--head-averer {
      color: var(--ink-900);
      font-weight: 500;
    }
    .compare__cell--feature {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 14px;
      color: var(--ink-900);
    }
    .compare__cell--traditional {
      color: #6e7887;
      font-weight: 400;
    }
    .compare__cell--averer {
      color: var(--ink-900);
      font-weight: 400;
    }
    .compare__cell--averer::before {
      content: "";
      width: 16px;
      height: 16px;
      margin-top: 2px;
      flex-shrink: 0;
      background-image: url("/assets/images/icons/compare-check.svg");
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
    }

    /* ============== Feature sections (VerifyKit, Embedded Wallet) ============== */
    .feature-section {
      padding: 64px 16px;
      background: var(--white);
    }
    @media (min-width: 1024px) {
      .feature-section { padding: 64px 80px; }
    }
    .feature-section__inner {
      max-width: var(--max-width); margin: 0 auto;
      display: flex; flex-direction: column; gap: 32px;
    }
    .feature-section__head {
      display: flex;
      flex-direction: column;
      gap: 16px;
      max-width: 720px;
      width: 100%;
    }
    .feature-cards {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    @media (min-width: 768px) {
      .feature-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    }
    .feature-card {
      background: var(--bg-light);
      border-radius: var(--radius-md);
      padding: 24px 16px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      min-height: 100%;
    }
    .feature-section--wallet {
      background: var(--bg-light);
    }
    .feature-section--wallet .feature-section__head {
      max-width: none;
      width: 100%;
    }
    @media (min-width: 1024px) {
      .feature-section--wallet .section__title {
        font-size: clamp(30px, 2.4vw, var(--product-section-title));
        line-height: 1.1;
        max-width: 100%;
        white-space: nowrap;
      }
    }
    .feature-section--wallet .feature-card {
      background: var(--white);
      box-shadow: 0 1px 2px rgba(6, 23, 40, 0.04);
    }
    .feature-card__icon {
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
    }
    .feature-card__icon img {
      display: block;
      width: 36px;
      height: 36px;
      max-width: 36px;
      max-height: 36px;
      object-fit: contain;
    }
    .feature-card__icon--brackets img {
      width: 32px;
      height: 19px;
      max-width: 32px;
      max-height: 19px;
    }
    .feature-card__icon--flash img {
      width: 22px;
      height: 32px;
      max-width: 22px;
      max-height: 32px;
    }
    .feature-card__icon svg { width: 100%; height: 100%; display: block; }
    .feature-card__icon--code {
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 24px;
      color: var(--blue-600);
      letter-spacing: 0.02em;
      white-space: nowrap;
      line-height: 1;
      flex-shrink: 0;
    }
    .feature-card__title {
      font-family: var(--font-display); font-weight: 500; font-size: 18px;
      color: var(--ink-900);
    }
    .feature-card__desc {
      font-family: var(--font-ui); font-weight: 400; font-size: 14px;
      line-height: 1.5; color: var(--ink-400);
    }

    /* ============== Built for developers (averer.co/product — 527px text + 400×335 demo) ============== */
    .devs {
      background: #040a17;
      color: var(--white);
      padding: 80px 16px;
    }
    @media (min-width: 1024px) {
      .devs { padding: 64px 80px; }
    }
    @media (min-width: 1280px) {
      .devs { padding: 80px; }
    }
    .devs__inner {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 48px;
    }
    @media (min-width: 1280px) {
      .devs__inner {
        display: grid;
        grid-template-columns: var(--product-step-text-w) 1fr;
        column-gap: var(--product-step-gap);
        align-items: center;
      }
    }
    .devs__left {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 56px;
      min-width: 0;
    }
    @media (min-width: 1280px) {
      .devs__left {
        grid-column: 1;
        width: var(--product-step-text-w);
        max-width: var(--product-step-text-w);
      }
    }
    .devs__copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
      width: 100%;
    }
    .devs__intro {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
      width: 100%;
    }
    .devs__title {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 24px;
      line-height: normal;
      color: var(--white);
      margin: 0;
    }
    .devs__desc {
      font-family: var(--font-ui);
      font-weight: 400;
      font-size: 16px;
      color: #6f7c99;
      line-height: 1.5;
      margin: 0;
    }
    .devs__bullets {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
    }
    .devs__bullets li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 18px;
      line-height: normal;
      color: #fefeff;
    }
    .devs__bullets li::before {
      content: "";
      width: 24px;
      height: 24px;
      flex-shrink: 0;
      background-image: url("/assets/images/50db3a442b122e918f88cc498b215cb9325a4a25.svg");
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
    }
    .devs__doc-btn {
      align-self: flex-start;
      min-height: 44px;
      height: 44px;
      padding: 10px 24px;
    }
    .devs__demo {
      position: relative;
      flex-shrink: 0;
      width: 100%;
      max-width: var(--product-devs-demo-w);
      height: var(--product-devs-demo-h);
      border-radius: 12px;
      overflow: hidden;
    }
    @media (min-width: 1280px) {
      .devs__demo {
        grid-column: 2;
        justify-self: end;
        width: var(--product-devs-demo-w);
        max-width: var(--product-devs-demo-w);
      }
    }
    .devs__demo-inner {
      position: relative;
      z-index: 0;
      width: 100%;
      height: 100%;
      background: #415978;
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    .devs__demo::after {
      content: "";
      position: absolute;
      inset: 0;
      border: 3px dashed #182a3e;
      border-radius: 12px;
      pointer-events: none;
      z-index: 1;
    }
    .devs__demo-label {
      margin: 0;
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 16px;
      line-height: normal;
      color: #7588a2;
      text-align: center;
      white-space: nowrap;
    }

    /* ============== Get started today ============== */
    .section--cta {
      background: var(--white);
    }
    .cta__inner {
      display: flex; flex-direction: column; gap: 24px;
      align-items: flex-start;
    }
    .cta__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(28px, 4vw, 36px); line-height: 1.1;
      color: var(--ink-900);
    }
    .cta__desc {
      font-family: var(--font-ui); font-size: 16px; color: var(--ink-400);
    }
    .cta__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
