:root {
    --otp-accent: #b96cff;
    --otp-accent-soft: rgba(185, 108, 255, 0.35);
    --otp-surface: #ffffff;
    --otp-surface-alt: #f5f5fb;
    --otp-text-main: #111827;
    --otp-text-sub: #4b5563;
  
    --otp-card: rgba(255,255,255,0.72);
    --otp-card-border: rgba(15,23,42,0.10);
    --otp-card-shadow: 0 18px 50px rgba(15,23,42,0.08);
    --otp-radius-lg: 22px;
    --otp-radius-md: 16px;
  }
  
  body {
    background: var(--otp-surface);
    color: var(--otp-text-main);
  }
  
  .header {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    --header-pad-top: clamp(0.4rem, 5vw, 3.32rem);
    padding: var(--header-pad-top) 1.75rem 3.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.05rem;
    isolation: isolate;
  }
  
  .header::before {
    content: "";
    position: absolute;
    top: calc(-2 * var(--header-pad-top));
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + var(--header-pad-top));
    pointer-events: none;
    background:
      radial-gradient(circle at 50% 78%, rgba(185, 108, 255, 0.22), transparent 58%),
      radial-gradient(circle at 52% 92%, rgba(185, 108, 255, 0.12), transparent 72%),
      repeating-linear-gradient(
        to right,
        rgba(15, 23, 42, 0.07) 0,
        rgba(15, 23, 42, 0.07) 1px,
        transparent 1px,
        transparent 32px
      ),
      repeating-linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.07) 0,
        rgba(15, 23, 42, 0.07) 1px,
        transparent 1px,
        transparent 32px
      );
    opacity: 0.56;
    z-index: -2;
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 56%,
      rgba(0, 0, 0, 0) 82%,
      rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 56%,
      rgba(0, 0, 0, 0) 82%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  
  .otp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(245,245,251,0.60));
    border: 1px solid rgba(15,23,42,0.10);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
  }
  
  .otp-kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--otp-text-main);
  }
  
  .otp-kicker-badge .material-symbols-outlined {
    font-size: 18px;
    opacity: 0.9;
  }
  
  .otp-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(185,108,255,0.95);
    box-shadow: 0 0 0 6px rgba(185,108,255,0.16);
  }
  
  .otp-kicker-sub {
    font-size: 0.86rem;
    color: var(--otp-text-sub);
    opacity: 0.92;
  }
  
  .header h1 {
    font-family: "Gloock", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.65rem, 4.2vw, 3.8rem);
    font-weight: 420;
    letter-spacing: 0.015em;
    color: var(--otp-text-main);
    margin: 0.1rem 0 0;
    line-height: 1.06;
  }
  
  .otp-title-top {
    display: inline-block;
  }
  
  .otp-title-sub {
    display: block;
    margin-top: 0.55rem;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
    font-weight: 740;
    letter-spacing: -0.02em;
    color: var(--otp-text-sub);
    opacity: 0.95;
  }
  
  .header p {
    max-width: 720px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--otp-text-sub);
  }
  
  .otp-hero-actions {
    margin-top: 0.35rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  
  .otp-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    font-weight: 760;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 1px solid rgba(15,23,42,0.12);
    box-shadow: 0 14px 34px rgba(15,23,42,0.08);
    transition: transform 160ms cubic-bezier(.22,1,.36,1), box-shadow 160ms cubic-bezier(.22,1,.36,1), border-color 160ms cubic-bezier(.22,1,.36,1);
  }
  
  .otp-hero-btn .material-symbols-outlined {
    font-size: 20px;
    opacity: 0.95;
  }
  
  .otp-hero-btn-primary {
    background: linear-gradient(135deg, rgba(185,108,255,0.16), rgba(185,108,255,0.06));
    border-color: rgba(185,108,255,0.35);
    color: var(--otp-text-main);
  }
  
  .otp-hero-btn-ghost {
    background: linear-gradient(180deg, rgba(255,255,255,0.70), rgba(245,245,251,0.55));
    color: var(--otp-text-main);
  }
  
  .otp-hero-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(15,23,42,0.10);
    border-color: rgba(185,108,255,0.42);
  }
  
  .otp-hero-btn:active {
    transform: translateY(0px);
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
  }

  .divider {
    height: 1px;
    background: #e5e5e5;
    margin: 1.5rem auto 0;
    width: 90%;
    max-width: 900px;
  }
  
  .image {
    width: 100%;
    margin-top: 2.05rem;
    display: flex;
    justify-content: center;
  }
  
  .stamp {
    position: relative;
    border-radius: 22px;
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
    z-index: 0;
    width: min(980px, 100%);
  }
  
  .stamp::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    pointer-events: none;
    filter: blur(20px);
    background: radial-gradient(circle at 85% 15%, rgba(184, 108, 255, 0.46), transparent 42%);
    opacity: 0.75;
    z-index: -1;
  }
  
  .stamp img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
    background: #FAFAFA;
    border: 1px dashed rgba(20, 20, 20, 0.70);
    content: url("../images/OTP-Preview-White.png");
    padding: 7px;
  }
  
  .otp-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.80), rgba(245,245,251,0.60));
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
    backdrop-filter: blur(10px);
    transition: transform 160ms cubic-bezier(.22,1,.36,1), box-shadow 160ms cubic-bezier(.22,1,.36,1), border-color 160ms cubic-bezier(.22,1,.36,1);
  }
  
  .otp-badge:hover {
    transform: translateY(-1px);
    border-color: rgba(185,108,255,0.30);
    box-shadow: 0 18px 44px rgba(15,23,42,0.08);
  }
  
  .otp-badge .material-symbols-outlined {
    font-size: 22px;
    opacity: 0.92;
  }
  
  .otp-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.15;
  }
  
  .otp-badge-text strong {
    font-size: 0.92rem;
    letter-spacing: -0.01em;
  }
  
  .otp-badge-text span {
    font-size: 0.86rem;
    color: var(--otp-text-sub);
    opacity: 0.92;
    margin-top: 3px;
  }
  
  .otp-carousel-section {
    width: 100%;
    padding: 4.6rem 1.4rem 1.2rem;
    display: flex;
    justify-content: center;
  }
  
  .otp-carousel-inner {
    width: 100%;
    max-width: 1040px;
  }
  
  .otp-carousel-head {
    text-align: center;
    margin-bottom: 1.05rem;
  }
  
  .otp-carousel-title {
    margin: 0;
    font-size: 1.48rem;
    font-weight: 880;
    letter-spacing: -0.02em;
    color: var(--otp-text-main);
  }
  
  .otp-carousel-text-extra {
    margin: 0.45rem auto 0;
    max-width: 70ch;
    color: var(--otp-text-sub);
    line-height: 1.6;
  }
  
  .dark-mode {
    --otp-surface: #0f0f10;
    --otp-surface-alt: #0f0f10;
    --otp-text-main: #f5f5fb;
    --otp-text-sub: #a0a4b6;
  
    --otp-card: rgba(20,20,22,0.62);
    --otp-card-border: rgba(255,255,255,0.10);
    --otp-card-shadow: 0 18px 50px rgba(0,0,0,0.45);
  }
  
  .dark-mode body,
  .dark-mode {
    background: var(--otp-surface);
    color: var(--otp-text-main);
  }
  
  .dark-mode .header::before {
    background:
      radial-gradient(circle at 50% 80%, rgba(185, 108, 255, 0.35), transparent 58%),
      radial-gradient(circle at 52% 92%, rgba(185, 108, 255, 0.20), transparent 74%),
      repeating-linear-gradient(
        to right,
        rgba(255, 255, 255, 0.04) 0,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 1px,
        transparent 32px
      ),
      repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.04) 0,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 1px,
        transparent 32px
      );
    opacity: 0.42;
  }
  
  .dark-mode .otp-kicker {
    background: linear-gradient(180deg, rgba(24,24,26,0.72), rgba(15,15,16,0.55));
    border-color: rgba(255,255,255,0.10);
    box-shadow: 0 18px 45px rgba(0,0,0,0.40);
  }
  
  .dark-mode .otp-kicker-dot {
    background: rgba(185,108,255,1);
    box-shadow: 0 0 0 6px rgba(185,108,255,0.20);
  }
  
  .dark-mode .otp-hero-btn-ghost {
    background: linear-gradient(180deg, rgba(24,24,26,0.70), rgba(15,15,16,0.55));
    border-color: rgba(255,255,255,0.10);
    box-shadow: 0 18px 45px rgba(0,0,0,0.40);
    color: var(--otp-text-main);
  }
  
  .dark-mode .otp-hero-btn-primary {
    background: linear-gradient(135deg, rgba(185,108,255,0.22), rgba(185,108,255,0.08));
    border-color: rgba(185,108,255,0.38);
  }
  
  .dark-mode .divider {
    background: #2a2a2a;
  }
  
  .dark-mode .stamp img {
    background: #0f0f10;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    content: url("../images/OTP-Preview-Dark.png");
  }
  
  .dark-mode .stamp::after {
    background: radial-gradient(circle at 50% 110%, rgba(185,108,255,0.35), transparent 60%);
    opacity: 0.75;
  }
  
  .dark-mode .otp-badge {
    background: linear-gradient(180deg, rgba(24,24,26,0.72), rgba(15,15,16,0.55));
    border-color: rgba(255,255,255,0.10);
    box-shadow: 0 18px 45px rgba(0,0,0,0.40);
  }
  
  .dark-mode .otp-badge-text span {
    color: var(--otp-text-sub);
    opacity: 0.96;
  }
  
  @media (max-width: 980px) {
    .otp-info-badges {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 960px) {
    .header {
      padding-top: 4.2rem;
      padding-bottom: 3.6rem;
    }
  
    .otp-kicker {
      flex-wrap: wrap;
      justify-content: center;
      text-align: center;
      gap: 8px;
    }
  
    .otp-kicker-dot {
      display: none;
    }
  
    .header h1 {
      font-size: clamp(2.45rem, 8vw, 3.25rem);
    }
  
    .otp-title-sub {
      font-size: 1.05rem;
      margin-top: 0.5rem;
    }
  
    .stamp {
      border-radius: 18px;
    }
  
    .stamp img {
      border-radius: 14px;
      padding: 6px;
    }
  
    .otp-info-section {
      padding-top: 2.2rem;
    }
  }
  
  @media (max-width: 440px) {
    .otp-info-badges {
      grid-template-columns: 1fr;
    }
  
    .otp-hero-btn {
      width: 100%;
      justify-content: center;
    }
  }
  .otp-opensource-section{
    width:100%;
    padding: clamp(5rem, 12vw, 9rem) 1.75rem;
    display:flex;
    justify-content:center;
    text-align:center;
  }
  
  .otp-opensource-inner{
    max-width:760px;
  }
  
  .otp-opensource-inner h2{
    margin:0;
    font-size:clamp(2rem,4vw,2.6rem);
    font-weight:820;
    letter-spacing:-0.02em;
    color:var(--otp-text-main);
  }
  
  .otp-opensource-pill{
    display:inline-block;
    padding:0.08em 0.46em;
    margin-left:0.25em;
    border-radius:999px;
    background:linear-gradient(
      135deg,
      rgba(185,108,255,0.9),
      rgba(185,108,255,0.65)
    );
    color:#fff;
    font-weight:900;
    line-height:1;
    vertical-align:baseline;
  }
  
  .otp-opensource-inner p{
    margin:1.15rem auto 2.2rem;
    max-width:62ch;
    font-size:1.05rem;
    line-height:1.75;
    color:var(--otp-text-sub);
  }
  
  .otp-opensource-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:0.85rem 1.25rem;
    border-radius:14px;
    font-size:0.95rem;
    font-weight:760;
    text-decoration:none;
    color:var(--otp-text-main);
    border:1px solid rgba(15,23,42,0.14);
    background:linear-gradient(
      180deg,
      rgba(255,255,255,0.75),
      rgba(245,245,251,0.55)
    );
  }
  
  .otp-opensource-btn:hover{
    border-color:rgba(185,108,255,0.45);
  }
  
  .dark-mode .otp-opensource-btn{
    background:linear-gradient(
      180deg,
      rgba(24,24,26,0.72),
      rgba(15,15,16,0.55)
    );
    border-color:rgba(255,255,255,0.12);
  }
  
  .dark-mode .otp-opensource-pill{
    color:#0f0f10;
  }
  .otp-features-section{
    width:100%;
    max-width:1120px;
    margin:0 auto;
    padding: clamp(3.8rem, 9vw, 6.5rem) 1.75rem 0;
    text-align:center;
  }
  
  .otp-features-head h2{
    margin:0;
    font-size:clamp(1.8rem,3.6vw,2.35rem);
    font-weight:500;
    letter-spacing:-0.02em;
    color:var(--otp-text-main);
    text-decoration: underline;
    font-family: "Gloock", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  
  .otp-features-head p{
    margin:0.75rem auto 0;
    max-width:68ch;
    color:var(--otp-text-sub);
    line-height:1.7;
    font-size:1.03rem;
  }
  
  .otp-features-grid{
    margin:2.2rem auto 0;
    padding:0;
    list-style:none;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
  }
  
.otp-feature{
  text-align:left;
  border-radius:18px;
  padding:1.05rem 1.05rem 1.1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.70), rgba(245,245,251,0.55));
  border:1px solid rgba(15,23,42,0.12);
  box-shadow: none;
  transition: transform 160ms cubic-bezier(.22,1,.36,1), border-color 160ms cubic-bezier(.22,1,.36,1), box-shadow 160ms cubic-bezier(.22,1,.36,1);
  display:grid;
  grid-template-columns:42px 1fr;
  column-gap:12px;
  row-gap:8px;
  align-items:start;
}
  
  .otp-feature:hover{
    border-color: rgba(15,23,42,0.12);
  }
  
  .otp-feature .material-symbols-outlined{
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:linear-gradient(
      135deg,
      rgba(185,108,255,0.9),
      rgba(185,108,255,0.65)
    );
    border:1px solid rgba(255,255,255,0.35);
    color:#fff;
    font-size:22px;
    margin:0;
  }
  
  .otp-feature h3{
    margin:0;
    font-size:1.02rem;
    font-weight:860;
    letter-spacing:-0.01em;
    color:var(--otp-text-main);
    grid-column:2;
  }

  .otp-feature .material-symbols-outlined,
  .otp-feature h3{
    align-self:center;
  }
  
  .otp-feature p{
    margin:0;
    grid-column:1 / -1;
    color:var(--otp-text-sub);
    line-height:1.65;
    font-size:0.98rem;
  }
  
.otp-feature-placeholder{
  border-style:dashed;
  background: #fafafa;
}
  
.dark-mode .otp-feature{
  background: #1a1a1a;
  border-color: rgba(255,255,255,0.10);
  box-shadow: none;
}
  
.dark-mode .otp-feature-placeholder{
  background: #151517;
  border-color: rgba(255,255,255,0.14);
}
  
.dark-mode .otp-feature .material-symbols-outlined{
  background:linear-gradient(
    135deg,
    rgba(185,108,255,0.9),
    rgba(185,108,255,0.65)
  );
  border:1px solid rgba(185,108,255,0.55);
  color:#0F0F10;
}

  .otp-feature-placeholder,
.otp-feature-placeholder h3,
.otp-feature-placeholder p{
  color: rgba(17,24,39,0.55);
}

.otp-feature-placeholder p{
  color: rgba(17,24,39,0.50);
}

.otp-feature-placeholder .material-symbols-outlined{
  background: rgba(15,23,42,0.06);
  border-color: rgba(15,23,42,0.10);
  color: rgba(17,24,39,0.55);
}

.dark-mode .otp-feature-placeholder,
.dark-mode .otp-feature-placeholder h3,
.dark-mode .otp-feature-placeholder p{
  color: rgba(245,245,251,0.55);
}

.dark-mode .otp-feature-placeholder p{
  color: rgba(245,245,251,0.48);
}

.dark-mode .otp-feature-placeholder .material-symbols-outlined{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  color: rgba(245,245,251,0.55);
}
  
  @media (max-width: 980px){
    .otp-features-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  }
  
  @media (max-width: 560px){
    .otp-features-grid{ grid-template-columns:1fr; }
    .otp-feature{ text-align:left; }
  }
.otp-docs-section{
    width:100%;
    padding: clamp(5.6rem, 12vw, 8.6rem) 1.75rem;
    display:flex;
    justify-content:center;
    text-align:center;
}
  
.otp-docs-inner{
  position: relative;
  overflow: hidden;
  width: min(980px, 100%);
  min-height: 360px;
  padding: clamp(2.4rem, 4.5vw, 3.4rem) clamp(1.6rem, 3.2vw, 2.6rem);
  border-radius: 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.otp-docs-inner::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;

  background:
    repeating-linear-gradient(
      0deg,
      rgba(15,23,42,0.06) 0 1px,
      transparent 1px 28px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(15,23,42,0.06) 0 1px,
      transparent 1px 28px
    );

  opacity:0.45;

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.otp-docs-inner::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0) 22%,
    rgba(255,255,255,0) 78%,
    rgba(255,255,255,1) 100%
  );
}

.dark-mode .otp-docs-inner::after{
  background: linear-gradient(
    to bottom,
    #1a1a1a 0%,
    rgba(26,26,26,0) 22%,
    rgba(26,26,26,0) 78%,
    #1a1a1a 100%
  );
}

.otp-docs-inner > *{
  position:relative;
  z-index:1;
}

  .otp-docs-inner h2{
    margin:0;
    font-size:clamp(1.7rem,3.4vw,2.2rem);
    font-weight:880;
    letter-spacing:-0.02em;
    color:var(--otp-text-main);
  }
  
  .otp-docs-inner p{
    margin:0.9rem auto 1.9rem;
    max-width:62ch;
    font-size:1.03rem;
    line-height:1.7;
    color:var(--otp-text-sub);
  }
  
  .otp-docs-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:0.95rem 1.45rem;
    border-radius:16px;
    font-size:0.96rem;
    font-weight:780;
    text-decoration:none;
    color:var(--otp-text-main);
    background: rgba(185,108,255,0.12);
    border:1px solid rgba(185,108,255,0.42);
    box-shadow: none;
    transition: transform 160ms cubic-bezier(.22,1,.36,1), box-shadow 160ms cubic-bezier(.22,1,.36,1), border-color 160ms cubic-bezier(.22,1,.36,1);
  }
  
  .otp-docs-btn:hover{
    background: rgba(185,108,255,0.22);
    border-color: rgba(185,108,255,0.55);
  }
  
  .dark-mode .otp-docs-inner::before{
    background:
      repeating-linear-gradient(
        0deg,
        rgba(255,255,255,0.045) 0 1px,
        transparent 1px 36px
      ),
      repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.045) 0 1px,
        transparent 1px 36px
      );
    opacity:0.40;
  }
  
  .dark-mode .otp-docs-inner::after{
    background: linear-gradient(
      to bottom,
      #0f0f10 0%,
      rgba(15,15,16,0) 22%,
      rgba(15,15,16,0) 78%,
      #0f0f10 100%
    );
  }
  
  .dark-mode .otp-docs-btn{
    color:var(--otp-text-main);
  }

  .backtop-wrap{width:100%;display:flex;justify-content:center;margin:2rem 0}
.back-top{display:inline-flex;align-items:center;gap:.5rem;font-size:.95rem;color:#555;text-decoration:none}
.back-top .arrow{display:inline-block;width:18px;height:18px;animation:arrowFloat 1.2s ease-in-out infinite}
@keyframes arrowFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.back-top:hover{color:#000}
.dark-mode .back-top{color:#aaa}
.dark-mode .back-top:hover{color:#fff}

html{
  scroll-behavior:smooth;
}

/* ══════════════════════════════════════
   Mobile layout — OTP-Tool page
   Desktop layout is untouched above
═══════════════════════════════════════ */

/* ── Shared: all screens ≤960px ── */
@media (max-width: 960px) {

    .header {
        padding: 2rem 1.5rem 2.5rem;
        gap: 0.85rem;
    }

    .otp-kicker {
        margin-bottom: 0.5rem;
    }

    .stamp {
        margin-top: 1.25rem;
    }

    .otp-opensource-section {
        padding: 3rem 1.5rem;
    }

    .otp-opensource-inner h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .otp-opensource-inner p {
        font-size: 0.97rem;
        margin-bottom: 1.6rem;
    }

    .otp-features-section {
        padding: 2.5rem 1.2rem 0;
    }

    .otp-features-head p {
        font-size: 0.95rem;
    }

    .otp-docs-section {
        padding: 2.5rem 1.2rem;
    }

    .otp-docs-inner {
        min-height: unset;
        padding: 2.2rem 1.4rem;
        border-radius: 18px;
    }

    .otp-docs-inner h2 {
        font-size: 1.55rem;
    }

    .otp-docs-inner p {
        font-size: 0.95rem;
        margin-bottom: 1.4rem;
    }

    .otp-carousel-section {
        padding: 2.2rem 0.75rem 1rem;
    }
}

/* ── Tablet: 600–960px ── */
@media (min-width: 600px) and (max-width: 960px) {

    .header {
        padding: 2.5rem 2rem 3rem;
    }

    /* Buttons side by side */
    .otp-hero-actions {
        flex-direction: row;
        width: auto;
        padding: 0;
        gap: 10px;
        flex-wrap: wrap;
    }

    .otp-hero-btn {
        width: auto;
        padding: 13px 20px;
    }

    /* Open-source button: natural width */
    .otp-opensource-btn {
        width: auto;
    }

    /* Docs button: natural width */
    .otp-docs-btn {
        width: auto;
        justify-content: center;
    }
}

/* ── Phone: <600px — full-width stacked ── */
@media (max-width: 599px) {

    .header {
        padding: 1.8rem 1.1rem 2.2rem;
    }

    .otp-hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 0.25rem;
        gap: 8px;
    }

    .otp-hero-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 16px;
    }

    .otp-opensource-btn {
        width: 100%;
        justify-content: center;
    }

    .otp-docs-btn {
        width: 100%;
        justify-content: center;
    }

    .otp-opensource-section {
        padding: 2.5rem 1.1rem;
    }

    .otp-features-section {
        padding: 2rem 1rem 0;
    }

    .otp-docs-section {
        padding: 2rem 1rem;
    }
}