/* =========================================================
   Boris Booking Engine - Institutional Home
   File: public/assets/css/home.css
   ========================================================= */

:root {
    --color-bg: #f7fafc;
    --color-surface: #ffffff;
    --color-surface-soft: #f8fbfd;
    --color-navy: #061a35;
    --color-navy-2: #0b2447;
    --color-text: #061a35;
    --color-muted: #64748b;
    --color-muted-2: #94a3b8;
    --color-primary: #12c9ce;
    --color-primary-dark: #0ea5aa;
    --color-primary-soft: #e6fbfc;
    --color-border: #dbe7ee;
    --color-border-soft: #eef3f7;
    --shadow-sm: 0 8px 24px rgba(6, 26, 53, .06);
    --shadow-md: 0 20px 60px rgba(6, 26, 53, .10);
    --shadow-lg: 0 40px 110px rgba(6, 26, 53, .18);
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(219, 231, 238, .75);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}


.brand-logo{
    height:90px;
    width:auto;
    display:block;
}

.header-inner{
    min-height:92px;
}

.brand strong {
    display: block;
    font-size: 34px;
    line-height: .9;
    letter-spacing: -0.05em;
}

.brand small {
    display: block;
    color: var(--color-primary-dark);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 900;
    margin-top: 5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 750;
    color: var(--color-navy);
}

.nav::before {
    content: "Menu";
    display: none;
}

.nav a:not(.btn) {
    position: relative;
    color: var(--color-navy);
    opacity: .88;
}

.nav a:not(.btn):hover {
    opacity: 1;
    color: var(--color-primary-dark);
}

.nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 2px;
    border-radius: 99px;
    background: var(--color-primary);
    opacity: 0;
    transform: scaleX(.6);
    transition: .18s ease;
}

.mobile-menu-btn,
.mobile-nav-close,
.mobile-nav-backdrop {
    display: none;
}

.mobile-menu-btn,
.mobile-nav-close {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.home-menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav a:not(.btn):hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 850;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(18, 201, 206, .28);
}

.btn-primary:hover {
    box-shadow: 0 20px 42px rgba(18, 201, 206, .38);
}

.btn-secondary {
    background: #ffffff;
    color: var(--color-navy);
    border-color: var(--color-border);
    box-shadow: 0 12px 24px rgba(6, 26, 53, .04);
}

.btn-secondary:hover {
    border-color: #cbdbe5;
    box-shadow: 0 18px 40px rgba(6, 26, 53, .08);
}

.btn-lg {
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 16px;
}

/* Hero */

.hero {
    padding: 112px 0 76px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(18, 201, 206, .16), transparent 36%),
        radial-gradient(circle at 100% 28%, rgba(18, 201, 206, .10), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #fbfdfe 48%, #eef9fc 100%);
    border-bottom: 1px solid rgba(219, 231, 238, .75);
}

.hero::before {
    content: "";
    position: absolute;
    right: -18%;
    bottom: -28%;
    width: 780px;
    height: 780px;
    background: rgba(18, 201, 206, .12);
    border-radius: 50%;
    filter: blur(6px);
}

.hero::after {
    content: "";
    position: absolute;
    left: -180px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    background: rgba(6, 26, 53, .05);
    border-radius: 50%;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.hero-left {
    max-width: 690px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 201, 206, .12);
    color: #087579;
    border: 1px solid rgba(18, 201, 206, .18);
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 76px);
    line-height: .98;
    margin: 0 0 24px;
    letter-spacing: -0.065em;
    font-weight: 900;
}

.hero h1 .accent,
.hero h1 em {
    color: var(--color-primary-dark);
    font-style: normal;
}

.hero p {
    color: #334155;
    font-size: 19px;
    line-height: 1.65;
    margin: 0 0 34px;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.beta-note {
    display: grid;
    gap: 18px;
    margin-top: 30px;
    padding: 22px;
    max-width: 650px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(18, 201, 206, .28);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
}

.beta-note-copy strong {
    display: block;
    color: var(--color-navy);
    font-size: 18px;
    letter-spacing: -.02em;
}

.beta-note-copy p {
    margin: 6px 0 0;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.55;
}

.beta-note ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.beta-note li {
    position: relative;
    padding-left: 24px;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

.beta-note li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .62em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(18, 201, 206, .14);
}

.hero-small-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 42px;
}

.hero-small-stats div {
    position: relative;
    padding-left: 24px;
}

.hero-small-stats div::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 2px solid var(--color-primary);
    color: var(--color-primary-dark);
    font-size: 11px;
    font-weight: 900;
}

.hero-small-stats strong {
    display: block;
    font-size: 15px;
    color: var(--color-navy);
}

.hero-small-stats span {
    display: block;
    color: var(--color-muted);
    font-size: 13px;
    margin-top: 3px;
}

/* Product preview */

.hero-right {
    position: relative;
}

.dashboard-preview {
    width: 100%;
    border-radius: 28px;
    border: 1px solid rgba(219, 231, 238, .9);
    box-shadow: var(--shadow-lg);
    transform: perspective(2200px) rotateY(-11deg) rotateX(4deg);
    transform-origin: center;
    transition: .35s ease;
    background: #fff;
}

.dashboard-preview:hover {
    transform: perspective(2200px) rotateY(-7deg) rotateX(2deg) scale(1.015);
}

.hero-card {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(219, 231, 238, .85);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    padding: 22px;
    backdrop-filter: blur(20px);
}

/* If you do not use a real screenshot, these mockup classes still work */

.mock-window {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--color-border-soft);
    background: #ffffff;
}

.mock-window-top {
    height: 48px;
    background: #f8fbfd;
    border-bottom: 1px solid var(--color-border-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
}

.mock-window-top span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #d8e3ea;
}

/* Sections */

.section {
    padding: 96px 0;
}

.section-muted {
    background: #ffffff;
}

.section-title {
    max-width: 800px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-title h2 {
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin: 0 0 14px;
}

.section-title p {
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* Feature cards */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 28px;
    min-height: 240px;
    box-shadow: 0 1px 0 rgba(6, 26, 53, .02);
    transition: .18s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(18, 201, 206, .36);
}

.feature-card span {
    font-size: 30px;
}

.feature-card h3 {
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 18px 0 12px;
}

.feature-card p {
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0;
}

/* Solutions / use cases */

.use-grid,
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.use-grid div,
.solution-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 22px;
    font-weight: 900;
    min-height: 118px;
    transition: .18s ease;
}

.use-grid div:hover,
.solution-card:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 201, 206, .42);
    box-shadow: var(--shadow-sm);
}

/* How it works */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.steps div {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 30px;
    overflow: hidden;
}

.steps div::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 150px;
    height: 150px;
    background: rgba(18, 201, 206, .08);
    border-radius: 50%;
}

.steps strong {
    color: var(--color-primary-dark);
    font-size: 34px;
    font-weight: 950;
}

.steps h3 {
    margin: 18px 0 10px;
    font-size: 22px;
}

.steps p {
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0;
}

/* CTA */

.cta {
    padding: 44px 0 100px;
}

.cta-box {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 10%, rgba(18, 201, 206, .35), transparent 32%),
        linear-gradient(135deg, var(--color-navy), #08264d);
    color: #ffffff;
    border-radius: 36px;
    text-align: center;
    padding: 70px 30px;
    box-shadow: var(--shadow-lg);
}

.cta-box::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -190px;
    width: 430px;
    height: 430px;
    background: rgba(18, 201, 206, .14);
    border-radius: 50%;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -0.05em;
    margin: 0 0 14px;
}

.cta-box p {
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
    margin: 0 0 28px;
}

.section-feedback {
    padding-top: 0;
}

.feedback-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 34px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(230,251,252,.92));
    border: 1px solid rgba(18, 201, 206, .18);
    box-shadow: var(--shadow-md);
}

.feedback-copy h2 {
    margin: 8px 0 8px;
    font-size: clamp(30px, 4vw, 44px);
}

.feedback-copy p {
    margin: 0;
    max-width: 62ch;
    color: var(--color-muted);
    font-size: 18px;
}

.feature-request-page {
    background:
        radial-gradient(circle at top left, rgba(18, 201, 206, .10), transparent 28%),
        linear-gradient(180deg, #f8fbfd, #eef5fb);
    min-height: 100vh;
}

.feature-request-shell {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 64px;
}

.feature-request-card {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(219,231,238,.9);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
    padding: 28px;
}

.feature-request-back {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--color-primary-dark);
    font-weight: 800;
}

.feature-request-message {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--color-primary-soft);
    border: 1px solid rgba(18, 201, 206, .18);
    color: var(--color-navy);
    font-weight: 700;
}

.feature-request-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.feature-request-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: var(--color-navy);
}

.feature-request-form input,
.feature-request-form textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 14px 16px;
    background: #fff;
    color: var(--color-text);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.feature-request-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Pricing page */

.pricing-hero {
    padding: 92px 0 36px;
    background:
        radial-gradient(circle at 0% 0%, rgba(18, 201, 206, .16), transparent 36%),
        radial-gradient(circle at 100% 30%, rgba(18, 201, 206, .12), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #fbfdfe 50%, #eef9fc 100%);
    border-bottom: 1px solid rgba(219, 231, 238, .75);
}

.pricing-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.pricing-hero-copy h1 {
    font-size: clamp(44px, 5.4vw, 72px);
    line-height: .98;
    margin: 0 0 18px;
    letter-spacing: -0.065em;
    font-weight: 900;
}

.pricing-hero-copy p {
    color: #334155;
    font-size: 18px;
    line-height: 1.65;
    max-width: 680px;
}

.pricing-switch {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.switch-pill {
    border: 1px solid var(--color-border);
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
}

.switch-pill-active {
    background: rgba(18, 201, 206, .12);
    border-color: rgba(18, 201, 206, .22);
    color: #087579;
}

.switch-note {
    color: var(--color-muted);
    font-size: 14px;
}

.pricing-trial {
    margin-top: 20px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(18, 201, 206, .20);
    background: rgba(18, 201, 206, .08);
}

.pricing-trial strong {
    font-size: 14px;
    letter-spacing: .02em;
    color: #087579;
}

.pricing-trial span {
    color: var(--color-navy);
    font-weight: 800;
}

.pricing-hero-panel {
    display: flex;
    justify-content: center;
}

.pricing-sample-card {
    width: min(100%, 420px);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(219, 231, 238, .92);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    padding: 28px;
}

.pricing-sample-card strong {
    display: block;
    font-size: 18px;
}

.sample-price {
    display: block;
    font-size: 68px;
    line-height: .95;
    letter-spacing: -0.07em;
    font-weight: 950;
    margin: 12px 0 4px;
}

.pricing-sample-card small,
.pricing-sample-card p {
    color: var(--color-muted);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 1px 0 rgba(6, 26, 53, .02);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card-featured {
    border-color: rgba(18, 201, 206, .42);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.pricing-badge {
    align-self: flex-start;
    background: rgba(18, 201, 206, .12);
    color: #087579;
    border: 1px solid rgba(18, 201, 206, .18);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900;
}

.pricing-card h2 {
    margin: 0;
    font-size: 24px;
}

.pricing-card-copy {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.pricing-price strong,
.pricing-yearly strong {
    display: block;
    font-size: 36px;
    letter-spacing: -0.05em;
}

.pricing-price span,
.pricing-yearly span {
    color: var(--color-muted);
    font-size: 14px;
}

.pricing-yearly {
    padding-top: 14px;
    border-top: 1px solid var(--color-border-soft);
}

.pricing-action {
    margin-top: auto;
}

/* Pricing sizer: business type plus unit count drives which plans apply. */

.pricing-sizer {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
}

.pricing-sizer-copy strong {
    display: block;
    font-size: 19px;
}

.pricing-sizer-copy p {
    margin: 6px 0 0;
    max-width: 46ch;
    color: var(--color-muted);
    line-height: 1.6;
}

.pricing-sizer-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.pricing-sizer-fields label {
    display: grid;
    gap: 7px;
}

.pricing-sizer-fields span {
    font-size: 13px;
    color: var(--color-muted);
}

.pricing-sizer-fields select,
.pricing-sizer-fields input {
    min-width: 200px;
    padding: 11px 13px;
    font: inherit;
    color: inherit;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    border-radius: 14px;
}

.pricing-sizer-fields input {
    min-width: 120px;
}

.pricing-tiers {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border-soft);
}

.pricing-tiers span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-muted);
}

.pricing-tiers ul {
    margin: 9px 0 0;
    padding: 0;
    list-style: none;
    line-height: 1.7;
}

.pricing-total {
    margin: 0;
    padding: 11px 14px;
    border-radius: 16px;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border-soft);
    font-weight: 600;
}

.pricing-availability {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-muted);
}

/* An unavailable plan stays readable, but clearly out of play. */
.pricing-card.is-unavailable {
    opacity: 0.55;
}

.pricing-card.is-unavailable .pricing-action {
    pointer-events: none;
    filter: grayscale(1);
}

/* Starter breakdown: shared essentials, then the per-template equivalents. */

.starter-subhead {
    margin: 34px 0 16px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}

.starter-subhead:first-of-type {
    margin-top: 0;
}

.starter-vertical-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.starter-vertical-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 22px;
}

.starter-vertical-card h4 {
    margin: 0 0 12px;
    font-size: 17px;
}

.starter-vertical-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--color-muted);
    line-height: 1.6;
}

.starter-vertical-card li + li {
    margin-top: 6px;
}

.starter-note {
    margin: 24px 0 0;
    padding: 16px 18px;
    border-radius: 20px;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border-soft);
    color: var(--color-muted);
    line-height: 1.65;
}

.pricing-bullets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pricing-bullets div,
.faq-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 22px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 1220px;
    margin: 0 auto;
}

.faq-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.faq-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

/* Footer */

.footer {
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    padding: 34px 0;
    color: var(--color-muted);
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer strong {
    color: var(--color-navy);
}

.footer span {
    display: block;
}

/* Responsive */

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-right {
        max-width: 850px;
    }

    .dashboard-preview {
        transform: none;
    }

    .dashboard-preview:hover {
        transform: scale(1.01);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-hero-grid,
    .pricing-grid,
    .pricing-bullets,
    .starter-vertical-grid,
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }

    .use-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Header and drawer switch over earlier than the layout does.
 * The nav carries seven items, and in German and Italian the labels are long
 * enough that they cannot sit on one line beside the logo until roughly 1100px.
 * Below that the desktop nav overflowed its container and clipped the call to
 * action, so the drawer takes over there while the hero, steps and pricing
 * grids keep their own 840px breakpoint. */
@media (max-width: 1100px) {

    body.menu-open {
        overflow: hidden;
    }

    :root {
        --home-mobile-header-height: 72px;
    }

    .header-inner {
        min-height: var(--home-mobile-header-height);
        padding: 14px 0;
    }

.mobile-menu-btn {
        display: inline-flex;
        margin-left: auto;
        width: 46px;
        height: 46px;
        border: 1px solid rgba(6, 26, 53, .12);
        border-radius: 14px;
        background: #ffffff;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding: 0;
        box-shadow: 0 10px 24px rgba(6, 26, 53, .08);
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 99px;
        background: var(--color-navy);
        transition: transform .2s ease, opacity .2s ease;
    }

    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(6, 26, 53, .48);
        z-index: 55;
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }

    .nav {
        position: fixed;
        top: var(--home-mobile-header-height);
        right: 0;
        bottom: 0;
        width: min(86vw, 340px);
        height: calc(100vh - var(--home-mobile-header-height));
        padding: 70px 18px 22px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        background:
            radial-gradient(circle at top right, rgba(18, 201, 206, .10), transparent 38%),
            linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
        border-left: 1px solid rgba(219, 231, 238, .95);
        box-shadow: -28px 0 70px rgba(6, 26, 53, .18);
        transform: translateX(102%);
        transition: transform .22s ease;
        z-index: 60;
        overflow-y: auto;
    }

    .home-menu-toggle:checked ~ .site-header .nav {
        transform: translateX(0);
    }

    .home-menu-toggle:checked ~ .site-header .mobile-nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .home-menu-toggle:checked ~ .site-header .mobile-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .home-menu-toggle:checked ~ .site-header .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .home-menu-toggle:checked ~ .site-header .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav a:not(.btn) {
        display: block;
        padding: 15px 16px;
        border-radius: 16px;
        background: rgba(6, 26, 53, .03);
        font-size: 16px;
        font-weight: 800;
        letter-spacing: -.01em;
        color: var(--color-navy);
    }

    .nav a:not(.btn)::after {
        display: none;
    }

    .nav .btn {
        width: 100%;
        margin-top: 8px;
        min-height: 52px;
        border-radius: 16px;
        box-shadow: none;
    }

    .nav a:not(.btn):hover {
        background: rgba(18, 201, 206, .10);
        color: var(--color-primary-dark);
    }

    .mobile-nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 14px;
        right: 16px;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(6, 26, 53, .10);
        border-radius: 12px;
        background: #fff;
        color: var(--color-navy);
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(6, 26, 53, .08);
    }

    .brand-logo {
        height: 42px;
    }
}

@media (max-width: 840px) {
.hero {
        padding: 72px 0 54px;
    }

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

    .pricing-hero-grid,
    .pricing-grid,
    .pricing-bullets,
    .starter-vertical-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .pricing-sizer,
    .pricing-sizer-fields {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-sizer-fields select,
    .pricing-sizer-fields input {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .header-inner {
        gap: 14px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .beta-note {
        padding: 18px;
    }

    .hero-small-stats {
        flex-direction: column;
        gap: 16px;
    }

    .features-grid,
    .use-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Locale switcher in the footer */

.footer-langs {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-langs a {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(219, 231, 238, .9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    color: inherit;
    opacity: .7;
}

.footer-langs a:hover {
    opacity: 1;
}

.footer-langs a.is-current {
    opacity: 1;
    border-color: rgba(18, 201, 206, .55);
    background: rgba(18, 201, 206, .12);
}

/* Price condition under the primary calls to action */

.hero-microcopy,
.cta-microcopy {
    margin: 14px 0 0;
    font-size: 14px;
    opacity: .72;
}

.cta-microcopy {
    text-align: center;
}

/* Beta badge beside the wordmark. .brand is inline-flex, so this sits inline
   with a 12px gap and needs no positioning of its own. */

.brand-beta {
    align-self: center;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(18, 201, 206, .55);
    background: rgba(18, 201, 206, .12);
    color: var(--color-primary-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Guides */

.guides-hero {
    padding-bottom: 8px;
}

.guides-hero h1 {
    margin: 14px 0 0;
}

.guides-intro {
    max-width: 62ch;
    font-size: 18px;
    opacity: .78;
}

.guides-category h2 {
    margin: 0 0 22px;
    font-size: 22px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.guide-card {
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(219, 231, 238, .9);
    background: rgba(255, 255, 255, .7);
}

.guide-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
}

.guide-card h3 a {
    color: inherit;
    text-decoration: none;
}

.guide-card h3 a:hover {
    text-decoration: underline;
}

.guide-card p {
    margin: 0;
    font-size: 15px;
    opacity: .76;
}

.guide-card time {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    opacity: .55;
}

/* Article */

.guide-body {
    max-width: 74ch;
}

.guide-breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    opacity: .65;
    margin-bottom: 18px;
}

.guide-breadcrumb a {
    color: inherit;
}

.guide-article h1 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    margin: 0 0 18px;
}

.guide-intro {
    font-size: 19px;
    line-height: 1.6;
    opacity: .82;
}

.guide-meta {
    font-size: 13px;
    opacity: .55;
    margin: 0 0 32px;
}

/* Long-form prose. Measure is capped on .guide-body, so these rules only set
   rhythm and the treatment of the elements the article bodies actually use. */

.guide-prose h2 {
    margin: 44px 0 14px;
    font-size: 26px;
    line-height: 1.2;
}

.guide-prose p,
.guide-prose li {
    font-size: 17px;
    line-height: 1.7;
}

.guide-prose ul,
.guide-prose ol {
    padding-left: 22px;
}

.guide-prose li {
    margin-bottom: 10px;
}

.guide-prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(15, 23, 42, .06);
    font-size: .92em;
}

.guide-prose pre {
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(15, 23, 42, .05);
    border: 1px solid rgba(219, 231, 238, .9);
    overflow-x: auto;
}

.guide-prose pre code {
    padding: 0;
    background: none;
}

.guide-figure {
    margin: 32px 0;
}

.guide-figure img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(219, 231, 238, .9);
    box-shadow: var(--shadow-lg);
}

.guide-figure figcaption {
    margin-top: 10px;
    font-size: 13px;
    opacity: .6;
}

.guide-cta {
    margin: 48px 0;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(18, 201, 206, .4);
    background: rgba(18, 201, 206, .08);
}

.guide-cta h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.guide-cta .cta-microcopy {
    text-align: left;
}

.guide-related ul {
    padding-left: 20px;
}

.guide-related li {
    margin-bottom: 8px;
}

.guide-langs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    font-size: 13px;
    opacity: .7;
}

.guide-langs a {
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(219, 231, 238, .9);
    text-decoration: none;
    color: inherit;
}

/* Category blocks stack, so the generous .section rhythm doubles up between
   them. Each block keeps its heading close to its own cards. */

.guides-category {
    padding-top: 0;
    padding-bottom: 28px;
}

.guides-category:first-of-type {
    padding-top: 16px;
}

/* Feedback box: the only row on the page with no responsive rule of its own.
   Kept as a row it squeezes the copy into a sliver, because .btn is nowrap and
   will not give up its width, and the button then overflows the card. */

@media (max-width: 840px) {
    .feedback-box {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        padding: 28px 24px;
    }

    .feedback-box .btn {
        width: 100%;
    }
}

/* The mobile drawer is parked off-screen with translateX(102%), which leaves it
   sitting ~200px past the right edge and makes the document horizontally
   scrollable: swiping right on a phone reveals a band of empty page.

   Clipped rather than hidden. overflow-x: hidden on the root turns it into a
   scroll container, which would break position: sticky further down; clip does
   not, and it leaves nested scrollers (the code blocks in the guides, wide
   tables) working normally. */

@media (max-width: 1100px) {
    html {
        overflow-x: clip;
    }
}

/* Belt and braces for the parked drawer.
 *
 * overflow-x: clip stops the document scrolling sideways, but .nav is
 * position: fixed, so its containing block is the viewport and a browser that
 * rubber-bands an overscroll can still paint it past the edge — which is what a
 * real phone showed after the clip alone.
 *
 * visibility is what actually guarantees nothing renders. It is transitioned
 * with a delay equal to the slide so the drawer stays visible while it animates
 * out, and it takes the closed drawer's links out of the tab order, which
 * translateX alone never did.
 */

@media (max-width: 1100px) {
    .nav {
        visibility: hidden;
        transition: transform .22s ease, visibility 0s linear .22s;
    }

    .home-menu-toggle:checked ~ .site-header .nav {
        visibility: visible;
        transition: transform .22s ease, visibility 0s linear 0s;
    }
}

/* Privacy policy. The page previously referenced these class names without any
   of them existing in a stylesheet, so it rendered as unstyled browser default. */

.privacy-policy-shell {
    padding: 56px 0 90px;
}

.privacy-policy-card {
    max-width: 74ch;
}

.privacy-policy-card h1 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    margin: 0 0 12px;
}

.privacy-policy-updated {
    margin: 0 0 26px;
    font-size: 13px;
    opacity: .55;
}

.privacy-policy-intro {
    font-size: 18px;
    line-height: 1.65;
    opacity: .82;
    margin: 0 0 8px;
}

.privacy-policy-section {
    margin-top: 40px;
}

.privacy-policy-section h2 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.privacy-policy-section p,
.privacy-policy-section li {
    font-size: 16px;
    line-height: 1.7;
}

.privacy-policy-section p {
    margin: 0 0 14px;
}

.privacy-policy-section ul {
    padding-left: 22px;
    margin: 0 0 14px;
}

.privacy-policy-section li {
    margin-bottom: 10px;
}

/* Desktop nav with seven items and long labels.
 *
 * Without nowrap, "So funktioniert es" and "Richiedi una funzionalità" break
 * into stacks two or three lines tall and the header turns into a column of
 * fragments. Wrapping is what makes it look broken, so the labels are kept
 * whole and the gap is tightened before the drawer takes over. */

.nav a,
.nav .btn {
    white-space: nowrap;
}

@media (min-width: 1101px) and (max-width: 1400px) {
    .nav {
        gap: 18px;
    }

    .header-inner {
        gap: 18px;
    }
}

/* Cookie notice. A bar, not a modal: it does not block the page, so it is not a
   dark pattern and does not bury the content a crawler came for. */

.cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 16px;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid rgba(219, 231, 238, .95);
    box-shadow: 0 -18px 50px rgba(6, 26, 53, .12);
    backdrop-filter: blur(10px);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice-inner {
    width: min(100% - 8px, var(--container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-notice-copy strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.cookie-notice-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    opacity: .78;
    max-width: 78ch;
}

.cookie-notice-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Both buttons stay the same size, so refusing is exactly as easy as accepting. */
.cookie-notice-actions .btn {
    min-width: 150px;
}

@media (max-width: 840px) {
    .cookie-notice-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-notice-actions .btn {
        flex: 1 1 0;
        min-width: 0;
    }
}
