/* =========================================================
   PIPEIT — Static CSS
   Design tokens, base styles, and component classes
   ========================================================= */

@import url("fonts-inter-jetbrains.css");
@import url("material-symbols-outlined.css");

/* ---------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   --------------------------------------------------------- */
:root {
    --background: hsl(220, 20%, 97%);
    --foreground: hsl(222, 47%, 11%);

    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222, 47%, 11%);

    --primary: hsl(24, 90%, 48%); /* Safety Orange */
    --primary-foreground: hsl(0, 0%, 100%);

    --secondary: hsl(215, 25%, 27%); /* Slate */
    --secondary-foreground: hsl(0, 0%, 100%);

    --muted: hsl(220, 14%, 96%);
    --muted-foreground: hsl(220, 9%, 46%);

    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);

    --border: hsl(220, 13%, 91%);
    --input: hsl(220, 13%, 91%);
    --ring: hsl(24, 90%, 48%);

    --radius: 0rem; /* Sharp edges */

    /* Hero / dark section tokens */
    --hero-bg: hsl(222, 47%, 11%); /* Deep Navy */
    --hero-foreground: hsl(220, 20%, 97%);
    --hero-muted: hsl(220, 15%, 60%);

    /* Gradients */
    --gradient-primary: linear-gradient(
        135deg,
        hsl(24, 90%, 48%),
        hsl(24, 90%, 40%)
    );
    --gradient-hero: linear-gradient(
        180deg,
        hsl(222, 47%, 11%) 0%,
        hsl(215, 25%, 27%) 100%
    );
    --gradient-cta: linear-gradient(
        135deg,
        hsl(24, 90%, 48%),
        hsl(24, 90%, 40%)
    );
    --gradient-card: linear-gradient(
        180deg,
        hsl(0, 0%, 100%) 0%,
        hsl(220, 20%, 98%) 100%
    );

    /* Shadows */
    --shadow-card: 0 1px 2px hsl(222 47% 11% / 0.1);
    --shadow-card-hover:
        0 4px 6px hsl(222 47% 11% / 0.15), 0 0 0 1px var(--primary);
    --shadow-glow: 0 0 20px hsl(24 90% 48% / 0.15);

    /* Sidebar tokens — dark navy */
    --sidebar-background: hsl(222, 47%, 11%);
    --sidebar-foreground: rgba(255, 255, 255, 0.6);
    --sidebar-primary: hsl(0, 0%, 100%);
    --sidebar-primary-foreground: hsl(222, 47%, 11%);
    --sidebar-accent: rgba(255, 255, 255, 0.08);
    --sidebar-accent-foreground: hsl(0, 0%, 100%);
    --sidebar-border: rgba(255, 255, 255, 0.08);

    /* Marketing navbar — glassmorphism */
    --navbar-glass-bg: hsl(222 47% 11% / 0.9);
    --navbar-mobile-glass-bg: hsl(222 47% 11% / 0.98);
    --navbar-backdrop-blur: 12px;
}

/* ---------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", system-ui, sans-serif;
}

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

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ---------------------------------------------------------
   3. LAYOUT UTILITIES
   --------------------------------------------------------- */
.section-container {
    max-width: 80rem; /* 7xl = 1280px */
    margin-inline: auto;
    padding-inline: 1.5rem; /* px-6 */
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .section-container {
        padding-inline: 2rem; /* lg:px-8 */
    }
}

.section-padding {
    padding-block: 5rem; /* py-20 */
}

@media (min-width: 1024px) {
    .section-padding {
        padding-block: 7rem; /* lg:py-28 */
    }
}

/* ---------------------------------------------------------
   4. COMPONENT UTILITY CLASSES
   --------------------------------------------------------- */

/* Gradient text (clips gradient into text fill) */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero / dark section background */
.hero-section {
    background: var(--gradient-hero);
}

/* Elevated card */
.card-elevated {
    background: var(--gradient-card);
    box-shadow: var(--shadow-card);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.card-elevated:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

/* CTA gradient background */
.cta-gradient {
    background: var(--gradient-cta);
}

/* Glow shadow */
.glow {
    box-shadow: var(--shadow-glow);
}

/* Badge pills */
.badge-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: hsl(24 90% 48% / 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.badge-coming-soon {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: hsl(220 9% 46% / 0.1);
    color: hsl(220, 9%, 46%);
    border: 1px solid hsl(220, 9%, 46%);
}

/* ---------------------------------------------------------
   5. ANIMATIONS
   --------------------------------------------------------- */
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Initial state matches keyframe 0% — text stays hidden until motion runs so webfonts can load without a visible fallback→Inter width jump. */
.animate-fade-up {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fade-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Stagger for paired hero columns (e.g. Plumbing Copilot) */
.pc-animation-delay-300 {
    animation-delay: 0.3s;
}

/* Opacity-only: avoids parent transform ending mid-hero (0.45s vs 0.7s) which could snap compositor layers */
@keyframes pc-page-enter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

main.pc-page-main {
    animation: pc-page-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    main.pc-page-main {
        animation: none;
    }
}

@keyframes pc-sub-nav-enter {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cross-document view transitions — root morph between marketing pages */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.35s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 0.001ms;
    }
}

/* The pulsing animation keyframes */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 hsl(24 90% 48% / 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px hsl(24 90% 48% / 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 hsl(24 90% 48% / 0);
    }
}

/* ---------------------------------------------------------
   6. BUTTONS
   --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    transition:
        background-color 0.2s,
        color 0.2s,
        border-color 0.2s,
        opacity 0.2s,
        box-shadow 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Default size */
.btn {
    height: 2.5rem;
    padding-inline: 1rem;
    padding-block: 0.5rem;
}

/* Large size */
.btn-lg {
    height: 3rem; /* h-12 */
    padding-inline: 2rem; /* px-8 */
    font-size: 1rem; /* text-base */
    border-radius: var(--radius);
}

/* Primary CTA gradient button */
.btn-primary {
    background: var(--gradient-cta);
    color: var(--primary-foreground);
    border-color: transparent;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* Outline button on dark (hero) bg */
.btn-outline-hero {
    background: transparent;
    color: var(--hero-foreground);
    border: 1px solid hsl(220 15% 60% / 0.3);
}

.btn-outline-hero:hover {
    background: hsl(220 20% 97% / 0.05);
}

/* Outline button on light bg */
.btn-outline {
    background: var(--background);
    color: var(--foreground);
    border: 1px solid var(--input);
}

.btn-outline:hover {
    background: var(--muted);
    color: var(--foreground);
}

/* ---------------------------------------------------------
   7. NAVBAR — glassmorphism (80% bar / 95% mobile drawer, blur-xl)
   --------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid hsl(220 13% 91% / 0.12);
    background: var(--navbar-glass-bg);
    backdrop-filter: blur(var(--navbar-backdrop-blur)) saturate(1.25);
    -webkit-backdrop-filter: blur(var(--navbar-backdrop-blur)) saturate(1.25);
    view-transition-name: marketing-navbar;
}

.navbar-inner {
    display: flex;
    height: 4rem; /* h-16 */
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-logo-icon {
    display: flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.navbar-logo-icon span {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
}

.navbar-logo-text {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--hero-foreground);
}

.navbar-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar-links {
        display: flex;
    }
}

.navbar-links a {
    font-size: 0.875rem;
    color: var(--hero-muted);
    transition: color 0.2s;
    text-decoration: none;
}

.navbar-links a:hover {
    color: var(--hero-foreground);
}

.navbar-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .navbar-actions {
        display: flex;
    }
}

/* Hamburger button (mobile) */
.navbar-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hero-foreground);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

@media (min-width: 768px) {
    .navbar-hamburger {
        display: none;
    }
}

/* Mobile drawer — slightly more opaque (95%) for readability over content */
.navbar-mobile {
    display: none;
    border-top: 1px solid hsl(220 13% 91% / 0.12);
    background: var(--navbar-mobile-glass-bg);
    backdrop-filter: blur(var(--navbar-backdrop-blur)) saturate(1.25);
    -webkit-backdrop-filter: blur(var(--navbar-backdrop-blur)) saturate(1.25);
    padding: 1rem 1.5rem;
}

.navbar-mobile.open {
    display: block;
}

.navbar-mobile a {
    display: block;
    font-size: 0.875rem;
    color: var(--hero-muted);
    padding-block: 0.5rem;
    transition: color 0.2s;
    text-decoration: none;
}

.navbar-mobile a:hover {
    color: var(--hero-foreground);
}

.navbar-mobile-actions {
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
}

.navbar-mobile-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Drawer CTAs on small viewports: avoid fixed .btn height + padding-block fighting
   flex alignment; min-height preserves tap target. Desktop uses .navbar-actions. */
@media (max-width: 767px) {
    .navbar-mobile-actions .btn {
        display: flex;
        height: auto;
        min-height: 2.75rem;
        padding-block: 0;
        padding-inline: 1rem;
        align-items: center;
        text-align: center;
    }

    .navbar-mobile-actions .btn .material-symbols-outlined.icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ---------------------------------------------------------
   8. HERO SECTION
   --------------------------------------------------------- */
.hero {
    padding-top: 8rem; /* pt-32 */
    padding-bottom: 5rem; /* pb-20 */
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 10rem; /* lg:pt-40 */
        padding-bottom: 7rem; /* lg:pb-28 */
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-grid > * {
    min-width: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Prevent badge from stretching full-width inside any flex column container */
.hero-content .badge-tag,
.badge-tag {
    align-self: flex-start;
}

/* Main hero only (.hero-section + .hero — not footer/CTA reuses of .hero-section) */
.hero-section.hero .badge-tag {
    background: hsl(24 90% 48% / 0.18);
    color: var(--primary);
    border: 1px solid hsl(24 90% 48% / 0.35);
}

/* The animated dot element */
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
    margin-right: 0.5rem;
}

.hero-section.hero .badge-dot {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.hero-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800;
    line-height: 1.1;
    color: var(--hero-foreground);
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem; /* md:text-5xl */
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem; /* lg:text-6xl */
    }
}

.hero-description {
    font-size: 1.125rem; /* text-lg */
    color: var(--hero-muted);
    max-width: 32rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem; /* md:text-xl */
    }
}

.hero-cta-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-cta-row {
        flex-direction: row;
    }
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.hero-avatars {
    display: flex;
}

.hero-avatar {
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    border: 2px solid var(--hero-bg);
    background: hsl(220 15% 60% / 0.3);
    margin-left: -0.5rem;
}

.hero-avatars .hero-avatar:first-child {
    margin-left: 0;
}

.hero-social-text {
    font-size: 0.875rem;
    color: var(--hero-muted);
}

.hero-social-text strong {
    color: var(--hero-foreground);
    font-weight: 600;
}

/* Hero image side */
.hero-image-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.hero-image-frame {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.hero-glow-bottom {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    height: 8rem;
    width: 8rem;
    border-radius: 9999px;
    background: hsl(230 80% 56% / 0.2);
    filter: blur(48px);
    pointer-events: none;
}

.hero-glow-top {
    position: absolute;
    top: -1rem;
    right: -1rem;
    height: 6rem;
    width: 6rem;
    border-radius: 9999px;
    background: hsl(230 80% 56% / 0.1);
    filter: blur(32px);
    pointer-events: none;
}

/* 8b. HERO MOCKUP (G3pro animated BIM UI)
   --------------------------------------------------------- */
.hm-container {
    background: hsl(0 0% 100%);
    border-radius: 0;
    border: 1px solid var(--border);
    box-shadow:
        0 25px 50px -12px hsl(0 0% 0% / 0.18),
        var(--shadow-glow);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.hm-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@media (max-width: 767px) {
    .hm-container,
    .hm-container:hover {
        transform: none;
    }
}

.hm-header {
    background: hsl(210 40% 96%);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid hsl(0 0% 0% / 0.05);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.hm-dots {
    display: flex;
    gap: 0.35rem;
}
.hm-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.hm-dots span:nth-child(1) {
    background: #ef4444;
}
.hm-dots span:nth-child(2) {
    background: #eab308;
}
.hm-dots span:nth-child(3) {
    background: #22c55e;
}

.hm-title {
    flex: 1;
    min-width: 0;
    text-align: center;
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(0.5625rem, 2.4vw, 0.75rem);
    color: var(--muted-foreground);
    font-weight: 600;
    margin-right: 30px;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.hm-body {
    display: flex;
    height: 350px;
    background: hsl(210 20% 98%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.hm-sidebar {
    width: 140px;
    background: white;
    border-right: 1px solid hsl(0 0% 0% / 0.05);
    padding: 1rem;
    border-bottom-left-radius: 0;
    flex-shrink: 0;
}
.hm-widget-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}
.hm-setting-bar {
    height: 8px;
    background: var(--muted);
    border-radius: 0;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.hm-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 0;
}
.hm-btn-small {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0;
    margin-top: 2rem;
    cursor: pointer;
}

.hm-bim-view {
    flex: 1;
    position: relative;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: 0;
    overflow: hidden;
}
.hm-animated-pipes {
    width: 100%;
    height: 100%;
}
.hm-pipe-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: hm-drawPipe 3s ease-in-out forwards infinite alternate;
}
.hm-path-1 {
    stroke: var(--primary);
    animation-delay: 0s;
}
.hm-path-2 {
    stroke: hsl(262 83% 58%);
    animation-delay: 0.6s;
}
.hm-node-1 {
    fill: var(--primary);
}
.hm-node-2 {
    fill: hsl(262 83% 58%);
}

@keyframes hm-drawPipe {
    to {
        stroke-dashoffset: 0;
    }
}

.hm-floating-card {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem 1.25rem;
    border-radius: 0;
    box-shadow: 0 10px 25px hsl(0 0% 0% / 0.12);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: hm-float 6s ease-in-out infinite;
    border: 1px solid var(--border);
    z-index: 2;
}
.hm-success-icon {
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}
.hm-glass-text {
    display: flex;
    flex-direction: column;
}
.hm-glass-text strong {
    font-size: 0.875rem;
    color: var(--foreground);
    white-space: normal;
    overflow-wrap: anywhere;
}
.hm-glass-text span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

@keyframes hm-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 640px) {
    .hm-floating-card {
        right: 0.5rem;
        bottom: 1rem;
        max-width: min(17rem, calc(100% - 1rem));
        box-sizing: border-box;
    }
    .hm-body {
        height: 240px;
    }
    .hm-sidebar {
        width: 100px;
        padding: 0.75rem;
    }
    .hm-btn-small {
        margin-top: 1rem;
    }
    .hm-title {
        margin-right: 0.5rem;
    }
}

/* ---------------------------------------------------------
   9. SECTION HEADERS (shared pattern)
   --------------------------------------------------------- */
.trust-section {
    padding: 2rem 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin-inline: auto;
    margin-bottom: 4rem;
}

.section-header .badge-tag {
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: var(--foreground);
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem; /* md:text-4xl */
    }
}

.section-description {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
}

/* ---------------------------------------------------------
   10. PROBLEM SECTION
   --------------------------------------------------------- */
.problem-section {
    background-color: var(--background);
}

.problem-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.comparison-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.problem-card {
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
}

.problem-icon-box {
    height: 3rem;
    width: 3rem;
    border-radius: 0;
    background: hsl(0 84% 60% / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.problem-icon-box svg {
    color: var(--destructive);
}

.problem-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.problem-card-desc {
    color: var(--muted-foreground);
    line-height: 1.75;
}

/* ---------------------------------------------------------
   11. SOLUTION SECTION
   --------------------------------------------------------- */
.solution-section {
    background-color: hsl(220, 14%, 97%);
}

.solution-grid {
    display: grid;
    --solution-col-gap: 2rem;
    --solution-icon-size: 4rem;
    gap: var(--solution-col-gap);
}

@media (min-width: 768px) {
    .solution-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-step {
    position: relative;
    text-align: center;
}

.solution-icon-box {
    margin-inline: auto;
    height: var(--solution-icon-size);
    width: var(--solution-icon-size);
    border-radius: 0;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 1;
}

.solution-icon-box svg {
    color: white;
}

.solution-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.solution-step-desc {
    color: var(--muted-foreground);
    line-height: 1.75;
}

/* Dashed line: right edge of icon → grid gap → left edge of next icon (equal segments) */
.solution-step:not(:last-child)::after {
    content: none;
}

@media (min-width: 768px) {
    .solution-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: calc(var(--solution-icon-size) / 2);
        left: calc(50% + var(--solution-icon-size) / 2);
        width: calc(100% - var(--solution-icon-size) + var(--solution-col-gap));
        height: 0;
        border-top: 1px dashed var(--border);
        pointer-events: none;
        z-index: 0;
        box-sizing: border-box;
    }
}

/* ---------------------------------------------------------
   12. PRODUCT SUITE SECTION
   --------------------------------------------------------- */
.products-section {
    background-color: hsl(220, 14%, 97%);
}

.products-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease,
        border-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
    border-color: hsl(230 80% 56% / 0.3);
}

.product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.product-icon-box {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0;
    background: hsl(230 80% 56% / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-icon-box svg {
    color: var(--primary);
}

.product-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.product-card-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 1rem;
    flex: 1;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-top: auto;
    gap: 0.375rem;
}

/* ---------------------------------------------------------
   13. PLUMBING COPILOT PREVIEW
   --------------------------------------------------------- */
.plumbing-preview-section {
    background-color: var(--background);
}

.plumbing-features-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .plumbing-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .plumbing-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.plumbing-feature-card {
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.plumbing-feature-icon {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0;
    background: hsl(230 80% 56% / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plumbing-feature-icon svg {
    color: var(--primary);
}

.plumbing-feature-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

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

/* ---------------------------------------------------------
   14. CTA SECTION
   --------------------------------------------------------- */
.cta-outer-section {
    background-color: var(--background);
}

.cta-card {
    border-radius: 0;
    padding: 2rem 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}

@media (min-width: 768px) {
    .cta-card {
        padding: 4rem;
    }
}

.cta-card-glow-1 {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    height: 10rem;
    width: 10rem;
    border-radius: 9999px;
    background: hsl(230 80% 56% / 0.3);
    filter: blur(48px);
    opacity: 0.2;
    pointer-events: none;
}

.cta-card-glow-2 {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    height: 13rem;
    width: 13rem;
    border-radius: 9999px;
    background: hsl(230 80% 56% / 0.2);
    filter: blur(48px);
    opacity: 0.2;
    pointer-events: none;
}

.cta-card-content {
    position: relative;
    z-index: 10;
    max-width: 42rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-card-title {
    font-size: clamp(1.35rem, 4.5vw, 1.875rem);
    font-weight: 700;
    color: var(--hero-foreground);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .cta-card-title {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
    }
}

.cta-card-sub {
    font-size: clamp(0.9375rem, 2.8vw, 1.125rem);
    color: var(--hero-muted);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.cta-card-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
}

@media (min-width: 640px) {
    .cta-card-actions {
        flex-direction: row;
        align-items: center;
    }
}

/* Marketing CTAs: allow wrapping on narrow screens (mono + long labels). */
.cta-card-actions .btn.btn-lg,
.pc-hero-cta-row .btn.btn-lg {
    white-space: normal;
    height: auto;
    min-height: 3rem;
    padding-block: 0.625rem;
    padding-inline: clamp(1rem, 4vw, 2rem);
    text-align: center;
    line-height: 1.35;
}

/* ---------------------------------------------------------
   15. FOOTER
   --------------------------------------------------------- */
.footer {
    border-top: 1px solid hsl(220 13% 91% / 0.1);
}

.footer-inner {
    padding-block: 4rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand-text {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--hero-foreground);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--hero-muted);
    line-height: 1.75;
}

.footer-founded {
    font-size: 0.75rem;
    color: hsl(220 15% 60% / 0.6);
    margin-top: 1rem;
}

.footer-col-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hero-foreground);
    margin-bottom: 1rem;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-list a {
    font-size: 0.875rem;
    color: var(--hero-muted);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-nav-list a:hover {
    color: var(--hero-foreground);
}

.footer-bottom {
    border-top: 1px solid hsl(220 13% 91% / 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.75rem;
    color: hsl(220 15% 60% / 0.6);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    font-size: 0.75rem;
    color: hsl(220 15% 60% / 0.6);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-socials a:hover {
    color: var(--hero-foreground);
}

/* ---------------------------------------------------------
   16. SVG ICON HELPER
   --------------------------------------------------------- */
.icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Material Symbols — pair with .material-symbols-outlined */
.btn .material-symbols-outlined.icon {
    font-size: 1rem;
    line-height: 1;
}

/* Hero — Book a Demo play icon (overrides .btn .material-symbols-outlined.icon) */
.btn .hero-book-demo-icon.material-symbols-outlined {
    font-size: 1.6rem;
    line-height: 1;
}

.navbar-hamburger .material-symbols-outlined.icon {
    font-size: 1.5rem;
    line-height: 1;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.problem-icon-box .material-symbols-outlined {
    font-size: 1.5rem;
    line-height: 1;
}

.solution-icon-box .material-symbols-outlined {
    font-size: 1.75rem;
    line-height: 1;
    color: hsl(220, 30%, 98%);
}

.product-icon-box .material-symbols-outlined {
    font-size: 1.25rem;
    line-height: 1;
}

.product-card-link .material-symbols-outlined {
    font-size: 0.875rem;
    line-height: 1;
}

.video-play-btn .material-symbols-outlined {
    font-size: 1.75rem;
    line-height: 1;
    color: #fff;
}

.value-icon-gradient .material-symbols-outlined {
    font-size: 1.75rem;
    line-height: 1;
    color: #fff;
}

.feature-icon-tile .material-symbols-outlined {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary);
}

.benefit-icon-tile .material-symbols-outlined {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--primary);
}

.pricing-check-light.material-symbols-outlined,
.pricing-check-dark.material-symbols-outlined {
    font-size: 1rem;
    line-height: 1;
}

.accordion-chevron.material-symbols-outlined {
    font-size: 1.25rem;
    line-height: 1;
}

.form-select-chevron.material-symbols-outlined {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--muted-foreground);
    font-size: 1.25rem;
    line-height: 1;
}

/* ---------------------------------------------------------
   17. AUTH LAYOUT (for Step 2)
   --------------------------------------------------------- */
.auth-page {
    min-height: 100vh;
    background-color: var(--hero-bg);
    display: flex;
    flex-direction: column;
}

.auth-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-back-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.auth-back-link:hover {
    color: white;
}

.auth-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.auth-card {
    width: 100%;
    max-width: 26rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.auth-card-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.auth-card-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Form elements */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.375rem;
}

.form-input {
    width: 100%;
    height: 2.5rem;
    padding-inline: 0.75rem;
    border: 1px solid var(--input);
    border-radius: 0;
    background: var(--background);
    color: var(--foreground);
    font-size: 0.875rem;
    font-family: inherit;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 2px hsl(24 90% 48% / 0.15);
}

.form-input::placeholder {
    color: var(--muted-foreground);
}

.form-footer {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.form-footer a {
    color: var(--primary);
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Alert / info box */
.form-alert {
    padding: 0.75rem 1rem;
    border-radius: 0;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.form-alert-info {
    background: hsl(230 80% 56% / 0.08);
    color: var(--primary);
    border: 1px solid hsl(230 80% 56% / 0.2);
}

.form-alert-error {
    background: hsl(0 84% 60% / 0.08);
    color: var(--destructive);
    border: 1px solid hsl(0 84% 60% / 0.2);
}

/* ---------------------------------------------------------
   18. AUTH — additional elements
   --------------------------------------------------------- */

/* Circular icon badge (email, check) */
.auth-icon-circle {
    margin-inline: auto;
    margin-bottom: 1rem;
    display: flex;
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: hsl(24 90% 48% / 0.1);
}

.auth-icon-circle svg {
    color: var(--primary);
}

.auth-footer {
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    font-size: 0.75rem;
    margin-top: 1.5rem;
}

/* Muted info note box inside cards */
.form-note {
    padding: 1rem;
    border-radius: 0;
    background: var(--muted);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Label + forgot password row */
.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.375rem;
}

.form-label-row .form-label {
    margin-bottom: 0;
}

.form-link-small {
    font-size: 0.75rem;
    color: var(--primary);
    text-decoration: none;
}

.form-link-small:hover {
    text-decoration: underline;
}

/* Password hint */
.form-hint {
    padding: 0.75rem;
    border-radius: 0;
    background: var(--muted);
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* Card header centered */
.auth-card-header {
    text-align: center;
    padding-bottom: 1rem;
}

/* Divider */
.form-divider {
    height: 1px;
    background: var(--border);
    margin-block: 1.25rem;
}

/* ---------------------------------------------------------
   19. DASHBOARD LAYOUT (for Step 3)
   --------------------------------------------------------- */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--background);
}

.sidebar {
    width: 16rem;
    flex-shrink: 0;
    background: var(--sidebar-background);
    border-right: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    transition:
        width 0.3s ease,
        transform 0.3s ease;
    z-index: 40;
}

.sidebar.collapsed {
    width: 4rem;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid var(--sidebar-border);
    height: 4rem;
    overflow: hidden;
}

.sidebar-logo-icon {
    display: flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.sidebar-logo-icon span {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
}

.sidebar-logo-text {
    font-family: "JetBrains Mono", monospace;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sidebar-primary);
    white-space: nowrap;
    transition: opacity 0.2s;
}

.sidebar.collapsed .sidebar-logo-text {
    opacity: 0;
    pointer-events: none;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sidebar-foreground);
    text-decoration: none;
    transition:
        background-color 0.15s,
        color 0.15s;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-nav-item:hover {
    background: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
}

.sidebar-nav-item.active {
    background: var(--sidebar-accent);
    color: var(--sidebar-primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
}

.sidebar-nav-item svg {
    flex-shrink: 0;
}

.sidebar-nav-label {
    transition: opacity 0.2s;
}

.sidebar.collapsed .sidebar-nav-label {
    opacity: 0;
    pointer-events: none;
    width: 0;
}

.sidebar-footer {
    padding: 0.5rem;
    border-top: 1px solid var(--sidebar-border);
}

/* Dashboard main area */
.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* Topbar */
.topbar {
    height: 4rem;
    border-bottom: 1px solid var(--border);
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1.5rem;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 30;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    padding: 0.375rem;
    border-radius: 0;
    transition: background-color 0.15s;
}

.topbar-toggle:hover {
    background: var(--muted);
}

.topbar-breadcrumb {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border-radius: 0;
    color: var(--muted-foreground);
    transition: background-color 0.15s;
    position: relative;
}

.topbar-icon-btn:hover {
    background: var(--muted);
}

.topbar-avatar {
    height: 2rem;
    width: 2rem;
    border-radius: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
}

/* Dashboard content area */
.dashboard-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

/* Dashboard page title */
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.page-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Stats card */
.stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
}

.stat-change {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.stat-change.positive {
    color: hsl(142, 71%, 45%);
}

/* Generic data table */
.data-table-wrapper {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th {
    text-align: left;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--background);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.data-table td {
    padding: 0.875rem 1rem;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: hsl(220 14% 96% / 0.5);
}

/* Status badges for dashboard */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-active {
    background: hsl(142 71% 45% / 0.1);
    color: hsl(142, 71%, 35%);
}

.status-inactive {
    background: hsl(220 9% 46% / 0.1);
    color: hsl(220, 9%, 46%);
}

.status-pending {
    background: hsl(38 92% 50% / 0.1);
    color: hsl(38, 92%, 40%);
}

.status-expired {
    background: hsl(0 84% 60% / 0.1);
    color: hsl(0, 84%, 50%);
}

/* ---------------------------------------------------------
   19. MOBILE RESPONSIVE — DASHBOARD
   --------------------------------------------------------- */
@media (max-width: 1023px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: hsl(0 0% 0% / 0.5);
        z-index: 39;
    }

    .sidebar-overlay.active {
        display: block;
    }
}

/* ---------------------------------------------------------
   20. SIDEBAR — user profile block
   --------------------------------------------------------- */
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--sidebar-border);
    overflow: hidden;
    transition: opacity 0.2s;
}

.sidebar.collapsed .sidebar-user {
    opacity: 0;
    pointer-events: none;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.sidebar-user-avatar {
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.sidebar-user-info {
    min-width: 0;
    flex: 1;
}

.sidebar-user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sidebar-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-email {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Group label */
.sidebar-group-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
    transition: opacity 0.2s;
}

.sidebar.collapsed .sidebar-group-label {
    opacity: 0;
    pointer-events: none;
}

/* Footer version text */
.sidebar-footer-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
    transition: opacity 0.2s;
}

.sidebar.collapsed .sidebar-footer-text {
    opacity: 0;
    pointer-events: none;
}

/* ---------------------------------------------------------
   21. TOPBAR — dropdowns
   --------------------------------------------------------- */

/* Notification badge */
.notif-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 1rem;
    height: 1rem;
    padding-inline: 0.2rem;
    border-radius: 9999px;
    background: var(--destructive);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Topbar dropdown panel */
.topbar-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px hsl(0 0% 0% / 0.12);
    z-index: 100;
    overflow: hidden;
    min-width: 10rem;
    animation: fade-in 0.15s ease-out;
}

.topbar-dropdown-header {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.topbar-dropdown-divider {
    height: 1px;
    background: var(--border);
}

.topbar-dropdown-item {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.topbar-dropdown-item--link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
    transition: background-color 0.15s;
    cursor: pointer;
}

.topbar-dropdown-item--link:hover {
    background: var(--muted);
}

.topbar-dropdown-item--danger {
    color: var(--destructive);
}

.topbar-dropdown-footer-link {
    display: block;
    text-align: center;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    transition: background-color 0.15s;
}

.topbar-dropdown-footer-link:hover {
    background: var(--muted);
}

/* ---------------------------------------------------------
   22. DASHBOARD FOOTER BAR
   --------------------------------------------------------- */
.dashboard-footer {
    border-top: 1px solid var(--border);
    background: var(--card);
    padding: 0.75rem 1.5rem;
}

/* ---------------------------------------------------------
   23. GENERIC CARD COMPONENT
   --------------------------------------------------------- */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.card-header {
    padding: 1.25rem 1.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.4;
}

.card-description {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.card-content-p0 {
    padding: 0;
}

.card-footer {
    padding: 0.875rem 1.5rem;
    border-top: 1px solid var(--border);
    background: hsl(220 14% 96% / 0.4);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* ---------------------------------------------------------
   24. EXTENDED BUTTON VARIANTS
   --------------------------------------------------------- */
.btn-sm {
    height: 2rem;
    padding-inline: 0.75rem;
    font-size: 0.8125rem;
    border-radius: 0;
}

.btn-icon {
    height: 2rem;
    width: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: 1px solid transparent;
    background: none;
    color: var(--muted-foreground);
    cursor: pointer;
    transition:
        background-color 0.15s,
        color 0.15s;
    flex-shrink: 0;
}

.btn-icon:hover {
    background: var(--muted);
    color: var(--foreground);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--muted);
}

.btn-ghost-danger {
    background: transparent;
    color: var(--destructive);
    border-color: transparent;
}

.btn-ghost-danger:hover {
    background: hsl(0 84% 60% / 0.08);
}

.btn-destructive {
    background: var(--destructive);
    color: var(--destructive-foreground);
    border-color: transparent;
}

.btn-destructive:hover {
    opacity: 0.9;
}

.btn-link {
    background: transparent;
    color: var(--primary);
    border-color: transparent;
    padding-inline: 0;
    height: auto;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   25. EXTENDED STATUS BADGES
   --------------------------------------------------------- */
.status-trial {
    background: hsl(210 100% 56% / 0.1);
    color: hsl(210, 100%, 40%);
}

.status-paid {
    background: hsl(142 71% 45% / 0.1);
    color: hsl(142, 71%, 35%);
}

.status-online {
    background: hsl(142 71% 45% / 0.1);
    color: hsl(142, 71%, 35%);
}

.status-offline {
    background: hsl(220 9% 46% / 0.1);
    color: hsl(220, 9%, 46%);
}

.status-pending {
    background: hsl(38 92% 50% / 0.1);
    color: hsl(38, 65%, 35%);
}

.status-warning {
    background: hsl(38 92% 50% / 0.1);
    color: hsl(38, 65%, 35%);
}

/* ---------------------------------------------------------
   26. MODAL / DIALOG
   --------------------------------------------------------- */
@keyframes modal-backdrop-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modal-panel-in {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: hsl(0 0% 0% / 0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: max(0.75rem, env(safe-area-inset-top, 0px))
        max(0.75rem, env(safe-area-inset-right, 0px))
        max(0.75rem, env(safe-area-inset-bottom, 0px))
        max(0.75rem, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
}

.modal-backdrop.open {
    display: flex;
    animation: modal-backdrop-in 0.18s ease;
}

.modal-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px hsl(0 0% 0% / 0.2);
    width: 100%;
    max-width: 28rem;
    max-height: 90vh;
    overflow-y: auto;
    animation: modal-panel-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Team plan modal: header stays put; only the body scrolls (mobile-friendly). */
.team-setup-modal-panel.modal-panel {
    display: flex;
    flex-direction: column;
    max-height: min(88vh, calc(100vh - 2rem));
    max-height: min(88vh, calc(100dvh - 2rem));
    width: min(100%, 28rem);
    overflow: hidden;
    margin-block: auto;
}

.modal-header {
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.modal-description {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.modal-body {
    padding: 1.25rem 1.5rem;
}

.modal-footer {
    padding: 0.875rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ---------------------------------------------------------
   27. SELECT / FILTER DROPDOWN
   --------------------------------------------------------- */
.form-select {
    height: 2.25rem;
    padding: 0 2rem 0 0.75rem;
    border: 1px solid var(--input);
    border-radius: 0;
    background: var(--background);
    color: var(--foreground);
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.625rem center;
    outline: none;
    transition: border-color 0.2s;
}

.form-select:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 2px hsl(230 80% 56% / 0.15);
}

/* ---------------------------------------------------------
   28. EMPTY STATE
   --------------------------------------------------------- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.empty-state-icon {
    display: flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--muted);
    margin-bottom: 1rem;
}

.empty-state-icon svg {
    color: var(--muted-foreground);
}

.empty-state-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.375rem;
}

.empty-state-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 24rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ---------------------------------------------------------
   29. NOTIFICATION ITEM
   --------------------------------------------------------- */
.notif-list {
    divide-y: var(--border);
}

.notif-item {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s;
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item:hover {
    background: hsl(220 14% 96% / 0.5);
}

.notif-item.unread {
    background: hsl(230 80% 56% / 0.04);
}

.notif-item-icon-wrap {
    flex-shrink: 0;
    margin-top: 0.125rem;
    padding: 0.5rem;
    border-radius: 9999px;
}

.notif-item-icon-wrap.unread-icon {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px hsl(0 0% 0% / 0.05);
}

.notif-item-icon-wrap.read-icon {
    background: var(--muted);
}

.notif-item-body {
    flex: 1;
    min-width: 0;
}

.notif-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.notif-item-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.notif-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.notif-item-time {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.notif-item-actions {
    display: flex;
    gap: 0.25rem;
}

/* ---------------------------------------------------------
   30. PROFILE AVATAR
   --------------------------------------------------------- */
.profile-avatar-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.profile-avatar-circle {
    height: 7rem;
    width: 7rem;
    border-radius: 9999px;
    background: hsl(230 80% 56% / 0.1);
    border: 4px solid var(--card);
    box-shadow: 0 1px 4px hsl(0 0% 0% / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.profile-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: hsl(0 0% 0% / 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.profile-avatar-wrap:hover .profile-avatar-overlay {
    opacity: 1;
}

.profile-avatar-overlay svg {
    color: white;
}

/* ---------------------------------------------------------
   31. PROGRESS BAR
   --------------------------------------------------------- */
.progress-track {
    width: 100%;
    height: 0.375rem;
    border-radius: 9999px;
    background: var(--secondary);
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    height: 100%;
    border-radius: 9999px;
    background: var(--primary);
    transition: width 0.3s ease;
}

/* ---------------------------------------------------------
   32. DANGER ZONE CARD
   --------------------------------------------------------- */
.danger-card {
    border-color: hsl(0 84% 60% / 0.2);
    background: hsl(0 84% 60% / 0.03);
}

/* ---------------------------------------------------------
   33. PAGE HEADER ROW
   --------------------------------------------------------- */
.page-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .page-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ---------------------------------------------------------
   34. CODE / MONO SNIPPET
   --------------------------------------------------------- */
.mono-snippet {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

/* ---------------------------------------------------------
   35. INFO BLOCK (muted bg)
   --------------------------------------------------------- */
.info-block {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.info-block p + p {
    margin-top: 0.25rem;
}

/* ---------------------------------------------------------
   36. TABLE ROW ACTIONS BUTTON
   --------------------------------------------------------- */
.row-action-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border-radius: 0;
    color: var(--muted-foreground);
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s;
}

.row-action-trigger:hover {
    background: var(--muted);
    color: var(--foreground);
}

/* Row action dropdown wrapper */
.row-action-wrap {
    position: relative;
    display: inline-block;
}

/* ---------------------------------------------------------
   37. BILLING PAYMENT METHOD CARD
   --------------------------------------------------------- */
.payment-method-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 1rem;
    background: hsl(220 14% 96% / 0.3);
}

.payment-method-icon {
    background: hsl(230 80% 56% / 0.1);
    padding: 0.5rem;
    border-radius: 0;
    flex-shrink: 0;
}

.payment-method-icon svg {
    color: var(--primary);
}

/* ---------------------------------------------------------
   38. UTILITIES
   --------------------------------------------------------- */
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.flex {
    display: flex;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mt-6 {
    margin-top: 1.5rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.w-full {
    width: 100%;
}
.hidden {
    display: none;
}
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.font-mono {
    font-family: "JetBrains Mono", monospace;
}
.text-primary {
    color: var(--primary);
}
.text-muted {
    color: var(--muted-foreground);
}
.text-destructive {
    color: var(--destructive);
}
.text-sm {
    font-size: 0.875rem;
}
.text-xs {
    font-size: 0.75rem;
}
.font-semibold {
    font-weight: 600;
}
.font-medium {
    font-weight: 500;
}
.max-w-4xl {
    max-width: 56rem;
}

/* ---------------------------------------------------------
   39. PRODUCT SUB-NAV (plumbing-copilot page)
   --------------------------------------------------------- */
.sub-nav {
    position: sticky;
    top: 4rem; /* sits just below 64px navbar */
    z-index: 40;
    border-bottom: 1px solid hsl(220 13% 91% / 0.5);
    background: hsl(220 20% 97% / 0.93);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 1px 0 hsl(220 13% 91% / 0.4),
        0 4px 16px hsl(0 0% 0% / 0.04);
    /* needed for ::before / ::after edge fades */
    overflow: hidden;
    animation: pc-sub-nav-enter 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .sub-nav {
        animation: none;
    }
}

/* ---- Edge-fade overlays — hint that the strip is scrollable ---- */
.sub-nav::before,
.sub-nav::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2.5rem;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.25s ease;
}

.sub-nav::before {
    left: 0;
    background: linear-gradient(to right, hsl(220 20% 97% / 0.96), transparent);
}

.sub-nav::after {
    right: 0;
    background: linear-gradient(to left, hsl(220 20% 97% / 0.96), transparent);
}

/* JS toggles these when strip is at either end */
.sub-nav.no-left-fade::before {
    opacity: 0;
}
.sub-nav.no-right-fade::after {
    opacity: 0;
}

/* ---- Scrollable strip ---- */
.sub-nav-inner {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding-block: 0.5rem;
    /* side padding keeps first/last item clear of edge fades */
    padding-inline: 0.75rem;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sub-nav-inner::-webkit-scrollbar {
    display: none;
}

/* ---- Buttons ---- */
.sub-nav-btn {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    /* 40px minimum — comfortable touch target */
    min-height: 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--muted-foreground);
    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        transform 0.12s ease;
    font-family: inherit;
    flex-shrink: 0;
    /* Remove tap flash on mobile */
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.sub-nav-btn:hover {
    color: var(--foreground);
    background: hsl(220 14% 93% / 0.8);
}

/* Brief scale-down on tap for tactile feedback */
.sub-nav-btn:active {
    transform: scale(0.95);
}

.sub-nav-btn.active {
    color: var(--primary);
    background: hsl(230 80% 56% / 0.1);
    font-weight: 600;
}

/* In-page section buttons use <button>; Documentation uses <a> with same look */
.sub-nav-inner a.sub-nav-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.sub-nav-inner a.sub-nav-btn .sub-nav-link-icon {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.75;
    font-variation-settings:
        "FILL" 0,
        "wght" 500,
        "GRAD" 0,
        "opsz" 24;
}

.sub-nav-inner a.sub-nav-btn:hover .sub-nav-link-icon {
    opacity: 1;
}

/* ---- Scroll-margin: navbar (64px) + sub-nav (~44px) + 8px air ---- */
.scroll-section {
    scroll-margin-top: 7.5rem;
}

/* ---------------------------------------------------------
   40. ACCORDION (FAQ)
   --------------------------------------------------------- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid hsl(220 13% 91% / 0.5);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.125rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    text-align: left;
    gap: 1rem;
    transition: color 0.2s;
}

.accordion-trigger:hover {
    color: var(--primary);
}

.accordion-chevron {
    flex-shrink: 0;
    color: var(--muted-foreground);
    transition: transform 0.25s ease;
}

.accordion-item.open .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    transition:
        max-height 0.3s ease,
        padding 0.2s ease;
}

.accordion-item.open .accordion-content {
    max-height: 40rem;
}

.accordion-body {
    padding-bottom: 1.125rem;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.75;
}

/* ---------------------------------------------------------
   41. PRICING CARDS
   --------------------------------------------------------- */
.pricing-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 62rem;
    width: 100%;
    margin-inline: auto;
    grid-template-columns: 1fr;
    align-items: start;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }
}

.pricing-grid > .pricing-card {
    min-width: 0;
}

.pricing-card {
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card-highlighted {
    background: var(--gradient-cta);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.pricing-popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    padding: 0.25rem 1rem;
    border-radius: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    border: 1px solid var(--border);
}

.pricing-name {
    font-size: 1.125rem;
    font-weight: 600;
}

.pricing-name-light {
    color: var(--primary-foreground);
}
.pricing-name-dark {
    color: var(--foreground);
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 1rem;
    min-width: 0;
}

.pricing-price {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    font-weight: 800;
    min-width: 0;
}

.pricing-price-light {
    color: var(--primary-foreground);
}
.pricing-price-dark {
    color: var(--foreground);
}

.pricing-period {
    font-size: clamp(0.75rem, 2.5vw, 0.875rem);
}

.pricing-period-light {
    color: hsl(0 0% 100% / 0.7);
}
.pricing-period-dark {
    color: var(--muted-foreground);
}

.pricing-desc {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.pricing-desc-light {
    color: hsl(0 0% 100% / 0.8);
}
.pricing-desc-dark {
    color: var(--muted-foreground);
}

.pricing-features {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.pricing-check-light {
    color: var(--primary-foreground);
    flex-shrink: 0;
    margin-top: 0.125rem;
}
.pricing-check-dark {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-feature-text-light {
    color: hsl(0 0% 100% / 0.9);
}
.pricing-feature-text-dark {
    color: var(--foreground);
}

.pricing-features {
    flex: 1;
}

.pricing-cta {
    width: 100%;
    margin-top: 2rem;
    height: 2.75rem;
    font-size: 0.9375rem;
}

.pricing-cta-light {
    background: var(--card);
    color: var(--primary);
    border: 1px solid transparent;
}

.pricing-cta-light:hover {
    background: hsl(0 0% 100% / 0.9);
}

.pricing-cta-dark {
    background: var(--gradient-cta);
    color: var(--primary-foreground);
    border: 1px solid transparent;
}

.pricing-cta-dark:hover {
    opacity: 0.9;
}

/* Team plan setup UI lives in #team-pricing-modal (fixed overlay), not inside the card. */

.team-setup-modal-panel {
    background: var(--gradient-cta);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.team-setup-modal-head {
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 1px solid hsl(0 0% 100% / 0.12);
    flex-shrink: 0;
}

.team-setup-modal-head .pricing-name--no-margin {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.team-setup-modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* ---------------------------------------------------------
   41b. TEAM PRICING SETUP UI
   --------------------------------------------------------- */
.team-setup-container {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: hsl(0 0% 100% / 0.05);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid hsl(0 0% 100% / 0.1);
}

.team-setup-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-setup-label {
    font-size: 0.8125rem;
    color: hsl(0 0% 100% / 0.7);
    font-weight: 500;
}

.team-setup-input {
    width: 100%;
    height: 2.5rem;
    padding-inline: 0.75rem;
    background: hsl(0 0% 0% / 0.2);
    border: 1px solid hsl(0 0% 100% / 0.1);
    color: white;
    font-size: 0.875rem;
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s;
}

.team-setup-input:focus {
    border-color: var(--primary);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (max-width: 380px) {
    .team-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.team-member-btn {
    height: 2.5rem;
    background: hsl(0 0% 0% / 0.2);
    border: 1px solid hsl(0 0% 100% / 0.1);
    color: hsl(0 0% 100% / 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.team-member-btn:hover {
    background: hsl(0 0% 100% / 0.05);
}

.team-member-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.team-billing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
}

.team-billing-card {
    position: relative;
    background: hsl(0 0% 0% / 0.2);
    border: 1px solid hsl(0 0% 100% / 0.1);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.team-billing-card:hover {
    background: hsl(0 0% 100% / 0.05);
}

.team-billing-card.active {
    border-color: var(--primary);
    background: hsl(24 90% 48% / 0.1);
}

.team-billing-title {
    font-size: 0.875rem;
    color: white;
    font-weight: 500;
}

.team-billing-price {
    font-size: 0.8125rem;
    color: hsl(0 0% 100% / 0.7);
}

.team-billing-save {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 500;
    margin-top: 0.25rem;
}

.team-billing-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.2s;
}

.team-billing-card.active .team-billing-check {
    opacity: 1;
}

.custom-seat-selector {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: hsl(0 0% 0% / 0.2);
    border: 1px solid hsl(0 0% 100% / 0.1);
    border-radius: var(--radius);
    height: 2.5rem;
    overflow: hidden;
    margin-top: 0.5rem;
}

.custom-seat-selector.is-visible {
    display: flex;
}

.seat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 100%;
    background: transparent;
    border: none;
    color: hsl(0 0% 100% / 0.7);
    cursor: pointer;
    transition:
        background-color 0.2s,
        color 0.2s;
}

.seat-btn:hover {
    background: hsl(0 0% 100% / 0.05);
    color: white;
}

.seat-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

.seat-input {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--primary);
    font-family: "JetBrains Mono", monospace;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.seat-input::-webkit-outer-spin-button,
.seat-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ---------------------------------------------------------
   42. FORM TEXTAREA
   --------------------------------------------------------- */
.form-textarea {
    width: 100%;
    min-height: 7rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--input);
    border-radius: 0;
    background: var(--background);
    color: var(--foreground);
    font-size: 0.875rem;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
}

.form-textarea:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 2px hsl(230 80% 56% / 0.15);
}

.form-textarea::placeholder {
    color: var(--muted-foreground);
}

/* ---------------------------------------------------------
   43. FORM LABEL WITH ICON
   --------------------------------------------------------- */
.form-label-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.375rem;
}

.form-label-icon svg,
.form-label-icon .material-symbols-outlined {
    color: var(--muted-foreground);
    flex-shrink: 0;
}

.form-label-icon .material-symbols-outlined {
    font-size: 1.125rem;
    line-height: 1;
}

.form-required {
    color: var(--destructive);
}

.form-optional {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-weight: 400;
}

/* ---------------------------------------------------------
   44. FILE UPLOAD BUTTON
   --------------------------------------------------------- */
.file-upload-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    height: 2.5rem;
    padding-inline: 0.75rem;
    border: 1px solid var(--input);
    border-radius: 0;
    background: var(--background);
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition:
        border-color 0.2s,
        color 0.2s;
}

.file-upload-btn:hover {
    border-color: var(--ring);
    color: var(--foreground);
}

.file-upload-btn.has-file {
    color: var(--foreground);
    border-color: var(--ring);
}

.file-upload-btn .material-symbols-outlined {
    font-size: 1.125rem;
    line-height: 1;
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   45. MARKETING PAGE HERO (careers / contact)
   --------------------------------------------------------- */
.marketing-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
}

.marketing-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--hero-foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .marketing-hero-title {
        font-size: 3rem;
    }
}

.marketing-hero-sub {
    font-size: 1.125rem;
    color: var(--hero-muted);
    max-width: 36rem;
    margin-inline: auto;
    line-height: 1.75;
}

/* ---------------------------------------------------------
   46. VIDEO PLACEHOLDER (plumbing hero)
   --------------------------------------------------------- */
.video-placeholder {
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: hsl(220 14% 96% / 0.2);
    border: 1px solid var(--border);
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: #888;
    font-size: 0.875rem;
}

.video-play-btn {
    height: 4rem;
    width: 4rem;
    border-radius: 9999px;
    background: hsl(230 80% 56% / 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background-color 0.2s,
        transform 0.2s;
    box-shadow: 0 4px 16px hsl(230 80% 56% / 0.3);
}

.video-play-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.video-caption {
    position: absolute;
    bottom: 1rem;
    left: 0.5rem;
    right: 0.5rem;
    font-size: clamp(0.625rem, 2.8vw, 0.75rem);
    color: var(--muted-foreground);
    text-align: center;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
   47. BENEFITS METRIC CARDS
   --------------------------------------------------------- */
.benefit-metric {
    font-family: "JetBrains Mono", monospace;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Notification dot on topbar icon */
.notif-dot {
    position: absolute;
    top: 0.125rem;
    right: 0.125rem;
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    background: var(--destructive);
}

/* ---------------------------------------------------------
   48. TABS
   --------------------------------------------------------- */
.tabs-row {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tabs-row::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 0.625rem 1rem;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    white-space: nowrap;
    transition:
        color 0.2s,
        border-color 0.2s;
    flex-shrink: 0;
}

.tab-btn:hover {
    color: var(--foreground);
}

.tab-btn.tab-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Tab panel */
.tab-panel {
    display: none;
}

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

/* ---------------------------------------------------------
   49. STAT CARDS (overview dashboard)
   --------------------------------------------------------- */
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-card-label {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.stat-card-value {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.2;
}

.stat-card-sub {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.125rem;
}

.stat-card-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------
   50. RECENT ACTIVITY TABLE (overview)
   --------------------------------------------------------- */
.recent-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .recent-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------------------------------------------------------
   51. TOAST — extended (title + description support)
   --------------------------------------------------------- */
.toast-title {
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.toast-desc {
    font-size: 0.8125rem;
    opacity: 0.85;
}

/* ---------------------------------------------------------
   52. DOCUMENTATION PAGE LAYOUT
   --------------------------------------------------------- */

/* Two-column layout: doc-nav (sidebar) + doc-content */
.doc-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .doc-layout {
        grid-template-columns: 13rem 1fr;
    }
}

/* ---- Left doc nav ---- */
.doc-nav {
    display: none;
    flex-direction: column;
    gap: 0.125rem;
    position: sticky;
    top: 4.5rem; /* clears topbar */
}

@media (min-width: 1024px) {
    .doc-nav {
        display: flex;
    }
}

.doc-nav-group-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-foreground);
    padding: 0.75rem 0.625rem 0.375rem;
}

.doc-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.625rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition:
        color 0.15s,
        background-color 0.15s;
    font-weight: 400;
}

.doc-nav-link:hover {
    color: var(--foreground);
    background: var(--accent);
}

.doc-nav-link.active {
    color: var(--primary);
    background: hsl(230 80% 56% / 0.08);
    font-weight: 500;
}

/* ---- Content column ---- */
.doc-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.doc-section {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 4.5rem;
}

.doc-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.doc-section-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.doc-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.3;
    margin-bottom: 0.875rem;
}

.doc-body {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.doc-body p + p {
    margin-top: 0.75rem;
}

.doc-body ul {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.doc-body li {
    color: var(--muted-foreground);
    line-height: 1.7;
}

.doc-body a {
    color: var(--primary);
    text-decoration: none;
}

.doc-body a:hover {
    text-decoration: underline;
}

/* ---- Alert / callout box ---- */
.doc-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.65;
}

.doc-alert svg {
    flex-shrink: 0;
    margin-top: 0.0625rem;
}

.doc-alert-warning {
    background: hsl(38 92% 50% / 0.07);
    border: 1px solid hsl(38 92% 50% / 0.25);
    color: hsl(32 60% 35%);
}

.doc-alert-info {
    background: hsl(230 80% 56% / 0.06);
    border: 1px solid hsl(230 80% 56% / 0.2);
    color: var(--primary);
}

/* ---- Numbered steps (same visual as get-app.html) ---- */
.doc-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.doc-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.doc-step-num {
    height: 1.75rem;
    width: 1.75rem;
    border-radius: 0;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.doc-step-body {
    padding-top: 0.125rem;
}

.doc-step-body strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.doc-step-body span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.65;
}

/* ---- Feature grid inside docs ---- */
.doc-feature-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .doc-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.doc-feature-card {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.doc-feature-icon {
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 0;
    background: hsl(230 80% 56% / 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-feature-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.doc-feature-card-desc {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ---- Troubleshooting list ---- */
.doc-trouble-list {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.doc-trouble-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
}

.doc-trouble-item:last-child {
    border-bottom: none;
}

.doc-trouble-icon {
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    background: hsl(0 84% 60% / 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-trouble-problem {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.doc-trouble-solution {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ---- Support CTA block ---- */
.doc-support-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: hsl(230 80% 56% / 0.05);
    border: 1px solid hsl(230 80% 56% / 0.15);
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .doc-support-cta {
        flex-direction: row;
        align-items: center;
    }
}

.doc-support-cta-text {
    flex: 1;
}

.doc-support-cta-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.doc-support-cta-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ---- Inline code span ---- */
.doc-code {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    background: var(--muted);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    color: var(--foreground);
}

/* =========================================================
   MARKETING — extracted from inline styles (p_copilot)
   ========================================================= */

.pc-hidden {
    display: none !important;
}

.navbar-logo {
    gap: 0.75rem;
}

.navbar-links a.is-active {
    color: var(--primary);
}

/* --- Marketing forms (contact / careers) --- */
.pc-form-success {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: hsl(142 76% 36% / 0.1);
    border: 1px solid hsl(142 76% 36% / 0.25);
    color: hsl(142 76% 36%);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.pc-form-success.is-visible {
    display: block;
}

.pc-form-banner-error {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: hsl(0 62% 50% / 0.1);
    border: 1px solid hsl(0 62% 50% / 0.25);
    color: var(--destructive);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.pc-form-banner-error.is-visible {
    display: block;
}

.form-error {
    display: none;
    font-size: 0.8125rem;
    color: var(--destructive);
    margin-top: 0.25rem;
}

.form-error.is-visible {
    display: block;
}

.form-field--mb {
    margin-bottom: 1.5rem;
}

.pc-form-select-wrap {
    position: relative;
}

.form-select-native {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-label-block {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.375rem;
}

.btn-submit-block {
    width: 100%;
    justify-content: center;
    height: 2.75rem;
    font-size: 0.9375rem;
    gap: 0.5rem;
}

.pc-file-input-hidden {
    display: none;
}

.careers-apply-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.careers-project-hint {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.section-container--narrow-40 {
    max-width: 40rem;
    margin-inline: auto;
}

.section-container--narrow-48 {
    max-width: 48rem;
    margin-inline: auto;
}

.section-container--text-center {
    text-align: center;
}

.card-elevated--form-panel {
    border-radius: 0;
    padding: 2rem 2.5rem;
}

/* --- Marketing forms: mobile-first (contact / careers) --- */
.section-container--narrow-40,
.section-container--narrow-48 {
    width: 100%;
    box-sizing: border-box;
}

.pc-form-section {
    margin: 0 0 1.75rem;
    padding: 0;
    border: none;
    min-width: 0;
}

.pc-form-section:last-of-type {
    margin-bottom: 0;
}

.pc-form-section__title {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin: 0 0 1.125rem;
    line-height: 1.3;
}

.pc-form-field-hint {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0.5rem 0 0;
}

@media (max-width: 767px) {
    .section-padding .section-container--narrow-40 {
        padding-inline: 1rem;
    }

    .card-elevated--form-panel {
        padding: 1.25rem 1rem;
        box-shadow: var(--shadow-card);
    }

    .careers-apply-title {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
    }

    .pc-form-section {
        margin-bottom: 1.5rem;
    }

    .pc-form-section:last-of-type {
        margin-bottom: 0;
    }

    .pc-form-section__title {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .card-elevated--form-panel .form-field--mb {
        margin-bottom: 1.25rem;
    }

    .card-elevated--form-panel .form-input,
    .card-elevated--form-panel .form-select-native {
        min-height: 2.75rem;
        font-size: 1rem;
    }

    .card-elevated--form-panel .form-textarea {
        font-size: 1rem;
        line-height: 1.65;
        min-height: 6.5rem;
    }

    .card-elevated--form-panel .form-label-icon {
        align-items: flex-start;
        line-height: 1.4;
    }

    .card-elevated--form-panel .form-label-block {
        line-height: 1.4;
    }

    .card-elevated--form-panel .careers-project-hint {
        font-size: 0.8125rem;
        line-height: 1.65;
    }

    .card-elevated--form-panel .file-upload-btn {
        min-height: 2.75rem;
        height: auto;
        padding-block: 0.625rem;
        align-items: center;
    }

    .card-elevated--form-panel .file-upload-btn span:last-child {
        text-align: left;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .btn-submit-block {
        min-height: 3rem;
        height: auto;
        padding-block: 0.75rem;
        font-size: 1rem;
    }

    .pc-form-success,
    .pc-form-banner-error {
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }
}

@media (min-width: 768px) {
    .pc-form-section {
        margin-bottom: 2rem;
        padding-bottom: 0.25rem;
    }

    .pc-form-section:last-of-type {
        margin-bottom: 0;
    }
}

/* --- Index: hero mockup dark theme (overrides default .hm-*) --- */
.pc-hm-dark.hm-container {
    border-color: #333;
}

.pc-hm-dark .hm-header {
    background: #1e1e1e;
    border-bottom: 1px solid #333;
}

.pc-hm-dark .hm-dots span {
    background: #555 !important;
}

.pc-hm-dark .hm-title {
    color: #aaa;
}

.pc-hm-dark .hm-body {
    background: #121212;
}

.pc-hm-dark .hm-sidebar {
    background: #1a1a1a;
    border-right: 1px solid #333;
}

.pc-hm-dark .hm-widget-title {
    color: #eee;
}

.pc-hm-dark .hm-setting-bar {
    background: #333;
}

.pc-hm-dark .hm-fill {
    width: 100%;
    background: var(--primary);
}

.pc-hm-dark .hm-btn-small {
    font-family: "JetBrains Mono", monospace;
    font-weight: bold;
    text-transform: uppercase;
}

.pc-hm-dark .hm-bim-view {
    background-color: #0f0f0f;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 20px 20px;
}

.pc-hm-dark .hm-bim-view-label {
    color: #666;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.875rem;
}

.pc-hm-dark .hm-floating-card {
    background: rgba(30, 30, 30, 0.95);
    border-color: #444;
}

.pc-hm-dark .hm-success-icon {
    background: var(--primary);
    border-radius: 0;
}

.pc-hm-dark .hm-glass-text strong {
    color: #fff;
    font-family: "JetBrains Mono", monospace;
}

.pc-hm-dark .hm-glass-text span {
    color: #aaa;
}

.hero-image-wrapper.pc-animate-delay-300 {
    animation-delay: 0.3s;
}

/* --- Index: problem / product / FAQ / CTA --- */
.problem-card--manual {
    border-top: 4px solid #ef4444;
}

.problem-card-title--manual {
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
}

.problem-list {
    margin-top: 1.5rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--muted-foreground);
}

.problem-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.problem-list-icon--bad {
    color: #ef4444;
    font-size: 1.25rem;
}

.problem-list-icon--good {
    color: #10b981;
    font-size: 1.25rem;
}

.problem-card--auto {
    border-top: 4px solid #10b981;
}

.problem-card-title--auto {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
}

.image-placeholder--problem-bad {
    margin-top: 1.5rem;
    height: 150px;
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
    font-weight: 500;
}

.image-placeholder--problem-good {
    margin-top: 1.5rem;
    height: 150px;
    background: #d1fae5;
    border-color: #6ee7b7;
    color: #10b981;
    font-weight: 500;
}

.badge-tag--xs {
    font-size: 0.625rem;
}

.product-card--static {
    cursor: default;
}

.pc-section-bg {
    background: var(--background);
}

.section-container--faq {
    max-width: 48rem;
    margin-inline: auto;
}

.pc-faq-header {
    margin-bottom: 3rem;
}

.pc-badge-tag-block {
    display: inline-block;
    margin-bottom: 1rem;
}

.pc-heading-faq {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--foreground);
    margin-top: 1rem;
}

.card-elevated--faq-panel {
    border-radius: 0;
    padding: 2rem 2.5rem;
    border: 1px solid var(--border);
}

@media (max-width: 639px) {
    .card-elevated--faq-panel {
        padding: 1.25rem 1rem;
    }
}

.cta-card-title--mono {
    font-family: "JetBrains Mono", monospace;
    letter-spacing: -0.025em;
}

.btn-marketing-mono-cta {
    font-family: "JetBrains Mono", monospace;
    text-transform: uppercase;
    font-weight: 700;
    white-space: normal;
    font-size: clamp(0.6875rem, 2.6vw, 0.875rem);
    letter-spacing: clamp(0.03em, 0.5vw, 0.05em);
}

/* --- Plumbing Copilot page --- */
.pc-hero-plumbing {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.two-col-hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.two-col-hero-grid > * {
    min-width: 0;
}

.pc-hero-copy-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pc-heading-plumbing-hero {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--hero-foreground);
    line-height: 1.1;
    margin-top: 1rem;
}

.pc-hero-lead {
    font-size: 1.25rem;
    color: var(--hero-muted);
}

.pc-hero-sublead {
    font-size: 1rem;
    color: hsl(220 30% 80% / 0.8);
    max-width: 36rem;
    line-height: 1.75;
}

.pc-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
}

.pc-icon-nudge-right {
    margin-left: 3px;
}

.pc-trust-caption {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-logos.pc-trust-gap {
    gap: 1.5rem;
}

.pc-revit-year-badge {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--foreground);
    background: var(--muted);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
}

.pc-section-how {
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.pc-section-intro {
    max-width: 36rem;
    margin-inline: auto;
    margin-bottom: 4rem;
}

.pc-section-intro--pricing-tight {
    margin-bottom: 2rem;
}

.pc-heading-section {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--foreground);
    margin-top: 1rem;
}

.pc-heading-section--hero-tight {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.three-col-grid {
    display: grid;
    gap: 2rem;
}

.two-col-grid {
    display: grid;
    gap: 1.5rem;
}

.two-col-grid > *,
.three-col-grid > * {
    min-width: 0;
}

.pc-workflow-card {
    border: 1px solid var(--border);
    padding: 1.5rem;
    background: var(--card);
}

.pc-workflow-step-num {
    font-family: "JetBrains Mono", monospace;
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.8;
    line-height: 1;
    display: block;
}

.pc-workflow-card-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.pc-body-text-muted {
    color: var(--muted-foreground);
    line-height: 1.75;
}

.image-placeholder--workflow {
    margin-top: 1.5rem;
    height: 200px;
    border-radius: 0;
}

.pc-placeholder-label {
    font-family: "JetBrains Mono", monospace;
}

.pc-section-features-tint {
    background: hsl(220 14% 96% / 0.5);
}

.pc-feature-card-row {
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    display: flex;
    gap: 1.5rem;
    min-width: 0;
}

.pc-feature-card-row > div:last-child {
    min-width: 0;
}

.feature-icon-tile.pc-feature-icon {
    height: 3rem;
    width: 3rem;
    flex-shrink: 0;
    border-radius: 0;
    background: hsl(24 90% 48% / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-feature-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

/* Features section — phones: single-column grid + clearer card rhythm (desktop unchanged). */
@media (max-width: 767px) {
    .pc-section-features-tint .two-col-grid {
        gap: 1.75rem;
    }

    .pc-section-features-tint .pc-feature-card-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.35rem 1.25rem;
        gap: 1rem;
    }

    .pc-section-features-tint .pc-feature-title {
        font-size: 1.0625rem;
        line-height: 1.35;
        margin-bottom: 0.5rem;
    }

    .pc-section-features-tint .pc-feature-card-row .pc-body-text-muted {
        font-size: 0.9375rem;
        line-height: 1.72;
        overflow-wrap: anywhere;
    }

    .pc-section-features-tint .feature-icon-tile.pc-feature-icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .pc-section-features-tint .feature-icon-tile.pc-feature-icon .material-symbols-outlined {
        font-size: 1.375rem;
    }
}

.pc-benefit-card {
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    text-align: center;
}

.benefit-icon-tile.pc-benefit-icon {
    margin-inline: auto;
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 0;
    background: hsl(24 90% 48% / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pc-benefit-card-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.pc-benefit-card-text {
    color: var(--muted-foreground);
    line-height: 1.75;
    font-size: 0.875rem;
}

.pc-pricing-lead {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Pricing: “alternate route” trial strip (blueprint / pipe-run vibe) */
.pc-pricing-trial-fork {
    position: relative;
    width: 100%;
    max-width: 62rem;
    margin-inline: auto;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    padding: 1.25rem 1rem 1.25rem 1rem;
    box-sizing: border-box;
    background:
        linear-gradient(
            125deg,
            hsl(24 90% 48% / 0.07) 0%,
            hsl(220 14% 96% / 0.4) 45%,
            transparent 70%
        ),
        var(--card);
    border: 1px dashed hsl(24 90% 48% / 0.35);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    box-shadow: 0 0 0 1px hsl(220 13% 91% / 0.5);
}

@media (min-width: 480px) {
    .pc-pricing-trial-fork {
        padding: 1.75rem 1.5rem 1.75rem 1.25rem;
    }
}

.pc-pricing-trial-fork__accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), hsl(24 90% 38%));
}

.pc-pricing-trial-fork__grid {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    padding-left: 0.5rem;
}

.pc-pricing-trial-fork__grid > * {
    min-width: 0;
}

@media (min-width: 480px) {
    .pc-pricing-trial-fork__grid {
        padding-left: 0.75rem;
    }
}

@media (min-width: 900px) {
    .pc-pricing-trial-fork__grid {
        grid-template-columns: auto 1fr auto;
        gap: 1.75rem;
    }
}

.pc-pricing-trial-fork__label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.pc-pricing-trial-fork__rev {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--primary);
    padding: 0.35rem 0.5rem;
    border: 1px solid hsl(24 90% 48% / 0.4);
    background: hsl(24 90% 48% / 0.08);
}

.pc-pricing-trial-fork__pipe-line {
    display: block;
    width: 2.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 1px;
}

.pc-pricing-trial-fork__copy {
    min-width: 0;
}

.pc-pricing-trial-fork__kicker {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-foreground);
    margin: 0 0 0.35rem;
}

.pc-pricing-trial-fork__lede {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--foreground);
    max-width: 38rem;
}

@media (max-width: 767px) {
    .pc-pricing-trial-fork__kicker {
        font-size: 0.6875rem;
        letter-spacing: 0.06em;
        margin-bottom: 0.5rem;
    }

    .pc-pricing-trial-fork__lede {
        font-size: 0.875rem;
        line-height: 1.68;
    }

    .pc-pricing-trial-fork__copy {
        margin-bottom: 0.35rem;
    }

    .pc-pricing-trial-fork__grid {
        gap: 1.5rem;
    }
}

.pc-pricing-trial-fork__action {
    width: 100%;
    min-width: 0;
}

@media (min-width: 900px) {
    .pc-pricing-trial-fork__action {
        width: auto;
        flex-shrink: 0;
    }
}

.pc-pricing-trial-fork__form {
    margin: 0;
}

.pc-pricing-trial-fork__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3rem;
    height: auto;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: clamp(0.78rem, 3.1vw, 0.9375rem);
    border-radius: 0;
    background: var(--foreground);
    color: var(--background);
    border: 2px solid var(--foreground);
    box-shadow: 4px 4px 0 hsl(24 90% 48% / 0.35);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.pc-pricing-trial-fork__btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 hsl(24 90% 48% / 0.45);
}

.pc-pricing-trial-fork__btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.pc-pricing-trial-fork__btn-text {
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
    max-width: 100%;
}

.pc-pricing-trial-fork__btn-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .pc-pricing-trial-fork__btn {
        padding: 0.8rem 1rem;
        gap: 0.45rem;
    }

    .pc-pricing-trial-fork__btn-text {
        line-height: 1.5;
    }

    .pc-pricing-trial-fork__btn-icon {
        display: none;
    }
}

@media (max-width: 479px) {
    .pc-pricing-trial-fork__btn {
        flex-direction: column;
        padding: 0.9rem 1rem;
    }
}

@media (min-width: 900px) {
    .pc-pricing-trial-fork__btn {
        width: auto;
        white-space: nowrap;
        flex-direction: row;
    }
}

.pricing-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: var(--radius);
}

.pricing-cta-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.pricing-cta-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.pc-team-back-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pc-team-back-btn {
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.pc-team-back-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

.pricing-name--no-margin {
    margin: 0;
}

.team-setup-container--flush {
    margin-top: 0;
}

.pc-icon-20 {
    font-size: 1.25rem;
}

/* ---------------------------------------------------------
   PRICING BILLING TOGGLE
   --------------------------------------------------------- */
.pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.pricing-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    background: var(--card);
    padding: 4px;
    gap: 2px;
}

.pricing-toggle-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.pricing-toggle-btn:hover:not(.active) {
    color: var(--foreground);
    background: var(--muted);
}

.pricing-toggle-btn.active {
    background: var(--gradient-cta);
    color: var(--primary-foreground);
}

.pricing-toggle-save {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    background: hsl(142 76% 36% / 0.15);
    color: hsl(142, 76%, 45%);
    border: 1px solid hsl(142 76% 36% / 0.3);
    line-height: 1.4;
}

@media (max-width: 479px) {
    .pricing-toggle-wrap {
        width: 100%;
        padding-inline: 0;
    }

    .pricing-toggle {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: stretch;
        gap: 0.25rem;
        padding: 3px;
        box-sizing: border-box;
    }

    .pricing-toggle-btn {
        flex: 1 1 calc(50% - 2px);
        min-width: 0;
        justify-content: center;
        padding: 0.45rem 0.5rem;
        font-size: 0.8125rem;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }
}

/* Strikethrough original price */
.pricing-price-strike {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    margin-right: 0.25rem;
    align-self: center;
}

.pricing-price-strike--light {
    color: hsl(0 0% 100% / 0.5);
}

/* Billing note below price */
.pricing-billing-note {
    font-size: 0.75rem;
    color: hsl(142, 76%, 45%);
    font-weight: 500;
    margin-top: 0.25rem;
}

.pricing-billing-note--light {
    color: hsl(142, 76%, 60%);
}

/* ---------------------------------------------------------
   CHECKOUT RESULT PAGES (Success / Cancel)
   --------------------------------------------------------- */
.checkout-result-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.checkout-result-container {
    max-width: 36rem;
    margin-inline: auto;
    text-align: center;
    padding-block: 4rem;
}

.checkout-result-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.checkout-result-icon .material-symbols-outlined {
    font-size: 2rem;
}

.checkout-result-icon--success {
    background: hsl(142 76% 36% / 0.12);
    color: hsl(142, 76%, 45%);
}

.checkout-result-icon--cancel {
    background: hsl(24 90% 48% / 0.12);
    color: var(--primary);
}

.checkout-result-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hero-foreground);
    margin-bottom: 0.5rem;
}

.checkout-result-lead {
    font-size: 1.0625rem;
    color: var(--hero-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.checkout-result-card {
    background: hsl(0 0% 100% / 0.04);
    border: 1px solid hsl(0 0% 100% / 0.08);
    padding: 1.25rem 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.checkout-result-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.checkout-result-detail + .checkout-result-detail {
    border-top: 1px solid hsl(0 0% 100% / 0.06);
}

.checkout-result-label {
    font-size: 0.875rem;
    color: var(--hero-muted);
}

.checkout-result-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hero-foreground);
}

.checkout-result-reassurance {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.checkout-result-reassurance .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.checkout-result-reassurance p {
    font-size: 0.875rem;
    color: var(--hero-muted);
    margin: 0;
    line-height: 1.5;
}

.checkout-result-next {
    text-align: left;
    margin-bottom: 2.5rem;
}

.checkout-result-next-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hero-foreground);
    margin-bottom: 1rem;
}

.checkout-result-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkout-result-steps li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.checkout-result-step-icon {
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkout-result-steps li strong {
    font-size: 0.875rem;
    color: var(--hero-foreground);
    display: block;
}

.checkout-result-steps li p {
    font-size: 0.8125rem;
    color: var(--hero-muted);
    margin: 0.125rem 0 0;
    line-height: 1.5;
}

.checkout-result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
