/* ============================================================
   DGII API Cloud — Public Landing CSS
   Premium SaaS Design | Plus Jakarta Sans + DM Sans
   ============================================================ */

/* 1. Variables
   ============================================================ */
:root {
    /* Surfaces */
    --bg:              #f6f8fc;
    --panel:           #ffffff;
    --panel-soft:      #f8fafd;
    --panel-muted:     #f1f5f9;

    /* Hero / Dark */
    --hero-bg:         #060e1b;
    --hero-mid:        #091525;
    --hero-accent:     #0a1f38;

    /* Border */
    --line:            #e2e8f0;
    --line-soft:       #eef2f7;
    --line-dark:       rgba(255,255,255,0.09);

    /* Text */
    --text:            #0f172a;
    --text-strong:     #020617;
    --text-muted:      #475569;
    --text-soft:       #64748b;
    --text-hero:       rgba(255,255,255,0.88);
    --text-hero-muted: rgba(255,255,255,0.54);

    /* Brand */
    --green:           #10d687;
    --green-dark:      #00b870;
    --green-ink:       #027a50;
    --cyan:            #22d3ee;
    --blue:            #3b82f6;
    --amber:           #f59e0b;
    --purple:          #8b5cf6;
    --rose:            #f43f5e;
    --teal:            #14b8a6;

    /* Footer */
    --footer-bg:       #040c17;
    --footer-mid:      #071223;

    /* Shadows */
    --shadow-xs:  0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-sm:  0 4px 16px rgba(15,23,42,0.06);
    --shadow:     0 8px 32px rgba(15,23,42,0.08);
    --shadow-md:  0 16px 48px rgba(15,23,42,0.10);
    --shadow-lg:  0 24px 64px rgba(15,23,42,0.14);
    --shadow-xl:  0 40px 100px rgba(8,16,29,0.22);
    --shadow-hero:0 48px 120px rgba(4,10,22,0.54);
    --shadow-green: 0 8px 28px rgba(16,214,135,0.22);

    /* Radius */
    --r-sm:  10px;
    --r:     16px;
    --r-md:  20px;
    --r-lg:  28px;
    --r-xl:  36px;
    --r-2xl: 48px;

    /* Layout */
    --container: 1200px;
    --section:   100px;
    --section-lg:116px;

    /* Fonts */
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body:    'DM Sans', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', 'Menlo', 'Monaco', Consolas, monospace;

    /* Type scale */
    --fs-xl:    clamp(3rem,   6vw,   5.25rem);
    --fs-hero:  clamp(2.7rem, 5.4vw, 4.75rem);
    --fs-h2:    clamp(1.9rem, 3.2vw, 2.75rem);
    --fs-h3:    clamp(1.15rem,1.8vw, 1.35rem);
    --fs-lead:  1.125rem;
    --fs-body:  1rem;
    --fs-sm:    0.9375rem;
    --fs-xs:    0.875rem;

    /* Gradients */
    --grad-green: linear-gradient(135deg, #10d687 0%, #14b8a6 55%, #22d3ee 100%);
    --grad-dark:  linear-gradient(135deg, #060e1b 0%, #091525 100%);
    --grad-soft:  linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
}

/* 2. Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.public-body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.public-container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

/* 3. Animations
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0ms);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-up--delay { --delay: 140ms; }

/* 4. Banner
   ============================================================ */
.public-banner {
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    font-family: var(--font-body);
    font-size: 13px;
    color: #7c2d12;
    transition: height 0.3s ease, opacity 0.3s ease;
}
.public-banner.is-hidden {
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.public-banner__inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.public-banner__icon { flex-shrink: 0; }
.public-banner__close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    color: #92400e;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
    flex-shrink: 0;
}
.public-banner__close:hover { background: rgba(0,0,0,0.06); }

/* 5. Header
   ============================================================ */
.public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.public-header.is-scrolled {
    background: rgba(255,255,255,0.95);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 16px rgba(15,23,42,0.06);
}

.public-header__inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand */
.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.public-brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10d687, #22d3ee);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(16,214,135,0.26);
    flex-shrink: 0;
}
.public-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.public-brand__text strong {
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.public-brand__text small {
    color: var(--text-soft);
    font-size: 11.5px;
    font-weight: 500;
    margin-top: 2px;
}

/* Nav */
.public-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.public-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    transition: color 0.18s ease, background 0.18s ease;
}
.public-nav a:hover {
    color: var(--text-strong);
    background: var(--panel-muted);
}

.public-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile toggle */
.public-mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.public-mobile-toggle:hover {
    border-color: #c8d6e2;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}
.public-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-strong);
    transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), opacity 0.2s ease;
    transform-origin: center;
}
.public-header.is-mobile-open .public-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.public-header.is-mobile-open .public-mobile-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.public-header.is-mobile-open .public-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.public-mobile-menu {
    display: none;
    border-top: 1px solid var(--line-soft);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
}
.public-header.is-mobile-open .public-mobile-menu { display: block; }

.public-mobile-menu__panel { padding: 14px 0 22px; }

.public-mobile-menu__nav {
    display: grid;
    gap: 4px;
}
.public-mobile-menu__nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    transition: background 0.18s, transform 0.18s;
}
.public-mobile-menu__nav a:hover {
    background: var(--panel-muted);
    transform: translateX(3px);
}
.mobile-link__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--panel-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.public-mobile-menu__actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}
.public-mobile-menu__note {
    text-align: center;
    color: var(--text-soft);
    font-size: 12px;
    margin: 12px 0 0;
}

/* 6. Buttons
   ============================================================ */
.public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: var(--r);
    padding: 0 20px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1;
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    position: relative;
}
.public-btn:hover { transform: translateY(-1px); }
.public-btn:active { transform: translateY(0); }

.public-btn--lg { min-height: 54px; padding: 0 28px; font-size: 15.5px; }
.public-btn--sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.public-btn--block { width: 100%; }

.public-btn--primary {
    background: var(--grad-green);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-green);
}
.public-btn--primary:hover {
    box-shadow: 0 12px 36px rgba(16,214,135,0.32);
}

.public-btn--ghost {
    background: var(--panel);
    color: var(--text);
    border-color: var(--line);
}
.public-btn--ghost:hover {
    background: var(--panel-muted);
    border-color: #cbd5e1;
}

.public-btn--ghost-dark {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
}
.public-btn--ghost-dark:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.28);
    color: #fff;
}

.public-btn--outline {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}
.public-btn--outline:hover {
    background: var(--panel-muted);
    border-color: #94a3b8;
}

.public-btn--cta {
    background: linear-gradient(135deg, #10d687 0%, #14b8a6 55%, #22d3ee 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(16,214,135,0.28);
}
.public-btn--cta:hover {
    box-shadow: 0 18px 48px rgba(16,214,135,0.38);
}

.btn-arrow { flex-shrink: 0; }

/* 7. Hero
   ============================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--hero-bg);
    padding: 64px 0 80px;
    min-height: clamp(560px, 85vh, 800px);
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite;
}
.hero-bg-glow--left {
    top: -160px; left: -180px;
    background: radial-gradient(circle, rgba(16,214,135,0.13) 0%, transparent 65%);
    animation-delay: 0s;
}
.hero-bg-glow--right {
    bottom: -120px; right: -200px;
    background: radial-gradient(circle, rgba(34,211,238,0.11) 0%, transparent 65%);
    animation-delay: 2.5s;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
    gap: 56px;
    align-items: center;
}

.hero-copy { max-width: 680px; }

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(16,214,135,0.1);
    border: 1px solid rgba(16,214,135,0.2);
    color: #5eead4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.hero-chip__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(16,214,135,0.8);
    animation: glowPulse 2s ease-in-out infinite;
}

.hero-copy h1 {
    margin: 18px 0 20px;
    font-family: var(--font-display);
    font-size: var(--fs-hero);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: #ffffff;
}
.hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #10d687, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    color: var(--text-hero);
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 56ch;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-btn-primary { position: relative; overflow: hidden; }
.hero-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 60%);
    pointer-events: none;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.hero-trust__item {
    color: var(--text-hero-muted);
    font-size: 13px;
    font-weight: 500;
}
.hero-trust__sep { color: rgba(255,255,255,0.25); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
}
.hero-stat {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    padding: 18px 20px;
    backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-stat:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
}
.hero-stat span {
    display: block;
    margin-top: 6px;
    color: var(--text-hero-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

/* Hero card (code) */
.hero-visual { position: relative; }

.hero-card {
    position: relative;
    border-radius: 22px;
    background: #0a1525;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-hero);
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(16,214,135,0.1), transparent 35%),
        radial-gradient(circle at bottom left, rgba(34,211,238,0.08), transparent 30%);
    pointer-events: none;
}

.hero-card__chrome {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #ffbd2e; }
.dot--green  { background: #28c840; }

.hero-card__filename {
    margin-left: 8px;
    color: #64748b;
    font-size: 13px;
    font-family: var(--font-mono);
    flex: 1;
}
.hero-card__lang {
    color: #3b5068;
    font-size: 11.5px;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 3px 8px;
}

.hero-code {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 22px 20px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.85;
    overflow-x: auto;
    color: #94a3b8;
}

/* Syntax highlighting */
.c-k    { color: #7dd3fc; }  /* keywords: const, await */
.c-v    { color: #e2e8f0; }  /* variables */
.c-f    { color: #93c5fd; }  /* functions */
.c-s    { color: #86efac; }  /* strings */
.c-p    { color: #64748b; }  /* punctuation */
.c-prop { color: #c4b5fd; }  /* properties */
.c-comment { color: #3b5068; font-style: italic; }
.c-key-hint {
    background: rgba(16,214,135,0.12);
    border-radius: 3px;
    padding: 0 3px;
    color: #5eead4;
}

.hero-card__response {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 14px 20px;
    background: rgba(16,214,135,0.04);
}
.hero-card__response-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.response-status {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    padding: 3px 8px;
}
.response-status--ok {
    background: rgba(16,214,135,0.15);
    color: #34d399;
    border: 1px solid rgba(52,211,153,0.2);
}
.response-ms {
    color: #3b5068;
    font-size: 11.5px;
    font-family: var(--font-mono);
}
.hero-card__response-body {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.8;
    color: #94a3b8;
}

.hero-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    background: rgba(16,214,135,0.1);
    border: 1px solid rgba(16,214,135,0.18);
    color: #5eead4;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 700;
}

/* 8. Trust Strip
   ============================================================ */
.trust-strip-section {
    padding: 24px 0 32px;
    background: var(--panel);
    border-bottom: 1px solid var(--line-soft);
}
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.trust-pill {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--panel-muted);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

/* 9. Section shared
   ============================================================ */
.feature-section,
.industry-section,
.api-section,
.cta-section {
    padding: var(--section) 0;
}
.response-section,
.plans-section,
.docs-preview-section,
.faq-section {
    padding: var(--section-lg) 0;
}

.feature-section--alt {
    background: var(--panel-soft);
}

.section-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #027a50;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(16,185,129,0.18);
}
.section-chip--dark {
    background: rgba(16,214,135,0.12);
    color: #5eead4;
    border-color: rgba(16,214,135,0.2);
}

.section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 52px;
}
.section-heading h2 {
    margin: 14px 0 12px;
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--text-strong);
}
.section-heading p {
    color: var(--text-muted);
    font-size: var(--fs-lead);
    line-height: 1.75;
    max-width: 62ch;
    margin: 0 auto;
}

/* 10. Steps (how it works)
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0 18px;
}
.step-connector {
    color: #cbd5e1;
    font-size: 22px;
    padding-top: 60px;
    flex-shrink: 0;
    user-select: none;
}
.step-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-xs);
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #ccdee8;
}
.step-number {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.step-icon--blue   { background: #dbeafe; }
.step-icon--amber  { background: #fef3c7; }
.step-icon--green  { background: #dcfce7; }
.step-icon--purple { background: #ede9fe; }

.step-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-strong);
    line-height: 1.25;
}
.step-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

/* 11. Feature cards
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--grad-green);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #c8dce8;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.feature-icon--blue   { background: #dbeafe; }
.feature-icon--amber  { background: #fef3c7; }
.feature-icon--green  { background: #dcfce7; }
.feature-icon--purple { background: #ede9fe; }
.feature-icon--rose   { background: #ffe4e6; }
.feature-icon--teal   { background: #ccfbf1; }

.feature-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 800;
    color: var(--text-strong);
    line-height: 1.25;
}
.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.75;
}

/* 12. Industry cards
   ============================================================ */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.industry-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
}
.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #c8dce8;
}
.industry-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--panel-muted);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.industry-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-strong);
}
.industry-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.75;
}

/* 13. API Section
   ============================================================ */
.api-section {
    position: relative;
    background: var(--hero-bg);
    overflow: hidden;
}
.api-section__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(16,214,135,0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 50%, rgba(34,211,238,0.07) 0%, transparent 40%);
    pointer-events: none;
}

.api-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

.api-copy h2 {
    margin: 14px 0 12px;
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #fff;
}
.api-copy p {
    color: var(--text-hero);
    font-size: var(--fs-lead);
    line-height: 1.75;
    margin: 0;
}

.api-list {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
    display: grid;
    gap: 12px;
}
.api-list li {
    padding-left: 28px;
    position: relative;
    color: var(--text-hero);
    font-size: var(--fs-sm);
    font-weight: 500;
}
.api-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 900;
}

.api-endpoints { display: grid; gap: 14px; }

.endpoint-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    padding: 18px 20px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.endpoint-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.endpoint-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.endpoint-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.endpoint-method--get  { background: rgba(16,214,135,0.14); color: #34d399; }
.endpoint-method--auth { background: rgba(59,130,246,0.14);  color: #93c5fd; }
.endpoint-method--plan { background: rgba(139,92,246,0.14);  color: #c4b5fd; }
.endpoint-method--log  { background: rgba(245,158,11,0.14);  color: #fbbf24; }

.endpoint-path {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 500;
    color: #e2e8f0;
    word-break: break-all;
}
.endpoint-card__desc {
    color: var(--text-hero-muted);
    font-size: var(--fs-xs);
    line-height: 1.65;
    margin: 0;
}

/* 14. Response JSON
   ============================================================ */
.response-card {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    background: #071122;
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: var(--shadow-xl);
}
.response-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    min-height: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
}
.response-card__dots { display: flex; gap: 6px; }
.response-card__filename {
    flex: 1;
    color: #475569;
    font-family: var(--font-mono);
    font-size: 12.5px;
}
.response-card__status { margin-left: auto; }

.status-pill {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
}
.status-pill--ok {
    background: rgba(16,214,135,0.14);
    color: #34d399;
    border: 1px solid rgba(52,211,153,0.2);
}

.response-card pre {
    margin: 0;
    padding: 24px 22px;
    color: #86efac;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.75;
    overflow-x: auto;
}

/* 15. Plans
   ============================================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.plan-card {
    background: var(--panel);
    border: 1.5px solid var(--line);
    border-radius: 26px;
    padding: 28px;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
}
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.plan-card--featured {
    background: #ffffff;
    border-color: #10d687;
    border-width: 2px;
    box-shadow: 0 0 0 4px rgba(16,214,135,0.08), var(--shadow-lg);
}
.plan-card--featured:hover {
    border-color: #10d687;
    box-shadow: 0 0 0 6px rgba(16,214,135,0.12), var(--shadow-xl);
}
.plan-card--featured h3,
.plan-card--featured .plan-card__description,
.plan-card--featured .plan-card__features li {
    color: var(--text-strong);
}
.plan-card--featured .plan-card__price { color: var(--text-strong); }
.plan-card--featured .plan-card__price .plan-price__period { color: var(--text-soft); }
.plan-card--featured .plan-card__popular-label {
    background: linear-gradient(135deg, #10d687, #22d3ee);
    color: #fff;
    border: none;
}

.plan-card__popular-label {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(16,214,135,0.14);
    color: #34d399;
    border: 1px solid rgba(16,214,135,0.25);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 800;
}

.plan-card__top h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-strong);
    line-height: 1.2;
}
.plan-card__description {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.75;
}
.plan-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 4px 0;
}
.plan-price__currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-soft);
    align-self: flex-start;
    margin-top: 6px;
}
.plan-price__amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--text-strong);
    line-height: 1;
}
.plan-price__period {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-soft);
}

.plan-card__features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 11px;
    flex: 1;
}
.plan-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.6;
}
.plan-card__features li svg { flex-shrink: 0; margin-top: 2px; }

.plan-btn { margin-top: auto; }
.plan-card--empty {
    grid-column: 1/-1;
    text-align: center;
}

/* 16. Docs preview
   ============================================================ */
.docs-preview-section { background: var(--panel-soft); }

.docs-preview-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.docs-preview-title {
    margin: 16px 0 14px;
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--text-strong);
}
.docs-preview-text {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-lead);
    line-height: 1.75;
}
.docs-preview-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}
.docs-preview-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.docs-mini-card {
    background: var(--panel);
    border: 1.5px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.docs-mini-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 0 22px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-strong);
}
.docs-mini-card__version {
    font-size: 11.5px;
    font-weight: 700;
    background: #ecfdf5;
    color: #027a50;
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 6px;
    padding: 3px 8px;
    font-family: var(--font-mono);
}
.docs-mini-card__body {
    padding: 18px;
    display: grid;
    gap: 10px;
}
.docs-mini-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--panel-muted);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    transition: transform 0.18s, border-color 0.18s;
}
.docs-mini-row:hover {
    transform: translateY(-1px);
    border-color: #c8d6e2;
}
.docs-mini-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 28px;
    padding: 0 8px;
    border-radius: 7px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.docs-mini-method--get  { background: #dcfce7; color: #15803d; }
.docs-mini-method--auth { background: #dbeafe; color: #1d4ed8; }
.docs-mini-method--json { background: #fef9c3; color: #854d0e; }
.docs-mini-method--guide{ background: #ede9fe; color: #6d28d9; }

.docs-mini-row strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-strong);
    line-height: 1.4;
}

/* 17. FAQ
   ============================================================ */
.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.faq-item {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px 28px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: #c8d6e2;
}
.faq-item h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 1.0rem;
    font-weight: 800;
    color: var(--text-strong);
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.faq-item__q {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 7px;
    background: #ecfdf5;
    color: #027a50;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 900;
    margin-top: 1px;
}
.faq-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

/* 18. CTA Section
   ============================================================ */
.cta-box {
    background: var(--hero-bg);
    border-radius: 32px;
    padding: 56px 60px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
}
.cta-box__bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}
.cta-box__bg-glow--left {
    top: -200px; left: -150px;
    background: radial-gradient(circle, rgba(16,214,135,0.12), transparent 60%);
}
.cta-box__bg-glow--right {
    bottom: -200px; right: -150px;
    background: radial-gradient(circle, rgba(34,211,238,0.09), transparent 60%);
    animation-delay: 3s;
}
.cta-box__content { position: relative; z-index: 2; }

.cta-box h2 {
    margin: 14px 0 14px;
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #fff;
    max-width: 18ch;
}
.cta-box p {
    margin: 0;
    color: var(--text-hero);
    font-size: var(--fs-lead);
    line-height: 1.75;
    max-width: 58ch;
}

.cta-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.cta-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
    color: var(--text-hero-muted);
    font-size: 13px;
    font-weight: 500;
}
.cta-trust span:nth-child(even) { color: rgba(255,255,255,0.2); }

/* 19. Footer
   ============================================================ */
.public-footer {
    background: var(--footer-bg);
    color: rgba(255,255,255,0.7);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}
.public-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(16,214,135,0.06), transparent 40%),
        radial-gradient(circle at 90% 100%, rgba(34,211,238,0.04), transparent 35%);
    pointer-events: none;
}

.public-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 48px;
    padding: 60px 0 44px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: relative;
    z-index: 2;
}
.public-footer__brand-col .public-brand__text strong,
.public-footer__brand-link .public-brand__text strong {
    color: #fff;
}
.public-footer__brand-link {
    display: inline-flex;
    margin-bottom: 18px;
}
.public-footer__description {
    margin: 0;
    color: rgba(255,255,255,0.45);
    font-size: var(--fs-sm);
    line-height: 1.85;
    max-width: 360px;
}
.public-footer__status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255,255,255,0.4);
    font-size: 12.5px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(16,214,135,0.7);
    animation: glowPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
.status-dot--sm {
    width: 6px;
    height: 6px;
}

.public-footer__cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.public-footer__column h3 {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}
.public-footer__links {
    display: grid;
    gap: 11px;
}
.public-footer__links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: color 0.18s, transform 0.18s;
    display: inline-flex;
    width: fit-content;
}
.public-footer__links a:hover {
    color: #fff;
    transform: translateX(2px);
}
.public-footer__links--tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.public-footer__links--tags span {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 7px;
    padding: 4px 10px;
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.footer-cta-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: var(--green) !important;
    font-weight: 700 !important;
}
.footer-cta-link:hover {
    color: #34d399 !important;
}

.public-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0 28px;
    position: relative;
    z-index: 2;
}
.public-footer__legal {
    margin: 0;
    color: rgba(255,255,255,0.28);
    font-size: 12.5px;
    line-height: 1.7;
    max-width: 640px;
}
.public-footer__bottom-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.footer-health-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    transition: color 0.18s;
    white-space: nowrap;
}
.footer-health-link:hover { color: rgba(255,255,255,0.7); }

/* 20. Sticky CTA
   ============================================================ */
.public-sticky-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    display: none;
    animation: fadeIn 0.3s ease;
}
.public-sticky-cta .public-btn {
    box-shadow: 0 12px 36px rgba(16,214,135,0.3), 0 4px 12px rgba(0,0,0,0.18);
}

/* 21. Responsive
   ============================================================ */
@media (max-width: 1280px) {
    .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .public-footer__top { grid-template-columns: 1fr 2fr; }
}

@media (max-width: 1100px) {
    .hero-grid    { grid-template-columns: 1fr; gap: 40px; }
    .api-grid     { grid-template-columns: 1fr; gap: 40px; }
    .docs-preview-grid { grid-template-columns: 1fr; gap: 36px; }
    .plans-grid   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq-list     { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .step-connector { display: none; }
    .hero-section { min-height: auto; padding: 60px 0 72px; }

    .api-copy { max-width: 640px; }
    .api-copy h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }

    .public-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .public-footer__top  { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 960px) {
    .public-nav,
    .public-header__actions { display: none; }
    .public-mobile-toggle   { display: inline-flex; }

    .feature-grid    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .industry-grid   { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .cta-box { padding: 40px 40px; }
    .cta-box h2 { max-width: none; }

    .public-sticky-cta { display: block; }
}

@media (max-width: 768px) {
    :root {
        --section:    72px;
        --section-lg: 84px;
    }
    .public-container { width: min(var(--container), calc(100% - 28px)); }

    .hero-section { padding: 48px 0 60px; }
    .hero-grid    { gap: 32px; grid-template-columns: 1fr !important; }
    .hero-visual  { display: none; }
    .public-nav   { display: none; }
    .api-grid     { grid-template-columns: 1fr !important; gap: 32px; }
    .docs-preview-grid { grid-template-columns: 1fr !important; gap: 28px; }
    .trust-strip  { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .step-connector { display: none; }
    .steps-grid   { grid-template-columns: 1fr; gap: 12px; }
    .hero-copy h1 { font-size: clamp(2.4rem, 9vw, 3.8rem); line-height: 1.0; }
    .hero-text    { font-size: 1.05rem; }
    .hero-actions .public-btn { flex: 1 1 auto; min-width: 0; }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hero-stat {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px 18px;
    }
    .hero-stat strong { font-size: 22px; }
    .hero-stat span   { margin-top: 0; }

    .plans-grid      { grid-template-columns: 1fr; }
    .faq-list        { grid-template-columns: 1fr; }
    .steps-grid      { grid-template-columns: 1fr; }

    .cta-box { padding: 32px 28px; }
    .cta-box h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }

    .public-footer__cols      { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .public-footer__bottom    { flex-direction: column; align-items: flex-start; }
    .public-footer__bottom-right { width: 100%; }
}

@media (max-width: 640px) {
    .hero-copy h1 { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .public-btn { width: 100%; }

    .feature-grid  { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: 1fr; }

    .section-heading { margin-bottom: 36px; }

    .cta-actions { flex-direction: column; }
    .cta-actions .public-btn { width: 100%; }

    .public-footer__cols { grid-template-columns: 1fr 1fr; }

    .public-sticky-cta {
        right: 12px; left: 12px; bottom: 12px;
    }
    .public-sticky-cta .public-btn { width: 100%; }
}

@media (max-width: 480px) {
    .public-container { width: calc(100% - 24px); }
    .public-header__inner { min-height: 70px; }
    .public-brand__text strong { font-size: 15px; }
    .public-brand__text small  { font-size: 10.5px; }
    .public-brand__logo { width: 40px; height: 40px; }

    .hero-chip { font-size: 10.5px; }
    .plans-grid { grid-template-columns: 1fr; }
    .public-footer__cols { grid-template-columns: 1fr; }

    .hero-code { font-size: 0.78rem; padding: 18px 16px; }
    .response-card pre { font-size: 0.78rem; padding: 18px; }

    .cta-box { border-radius: 22px; padding: 26px 22px; }

    .docs-preview-grid { gap: 28px; }
    .docs-mini-card__body { padding: 14px; gap: 8px; }
}
