:root {
    --bg: #0f172a;
    --bg-2: #1e3a8a;
    --panel: rgba(15, 23, 42, 0.74);
    --panel-strong: rgba(30, 41, 59, 0.82);
    --line: rgba(59, 130, 246, 0.24);
    --line-strong: rgba(6, 182, 212, 0.42);
    --text: #ffffff;
    --muted: #d1d5db;
    --soft: #9ca3af;
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --cyan: #22d3ee;
    --cyan-dark: #0891b2;
    --rose: #fb7185;
    --yellow: #facc15;
    --radius: 12px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 58, 138, 0.96) 48%, rgba(15, 23, 42, 0.98)),
        var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

p,
ul,
ol,
dl,
figure {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--text);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 700px;
    font-size: clamp(2.55rem, 5.2vw, 4.9rem);
}

h2 {
    font-size: clamp(2rem, 4.2vw, 3.45rem);
}

h3 {
    font-size: 1.45rem;
}

h4 {
    font-size: 1.12rem;
}

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

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    z-index: 1000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    overflow: visible;
    clip: auto;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
}

.container {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
}

.container.narrow {
    width: min(100% - 32px, 900px);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.94);
    color: var(--text);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 64px;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 900;
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-text strong {
    background: linear-gradient(90deg, #60a5fa, var(--cyan));
    background-clip: text;
    color: transparent;
    font-size: 1.2rem;
    line-height: 1;
}

.brand-text span {
    color: var(--soft);
    font-size: 0.7rem;
}

.primary-nav {
    justify-self: end;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

.menu,
.footer-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 160ms ease;
}

.menu a:hover,
.menu a:focus-visible {
    color: var(--cyan);
}

.header-cta,
.header-account,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.header-account:hover,
.header-account:focus-visible {
    transform: translateY(-1px);
}

.btn-primary,
.header-cta,
.header-account {
    background: linear-gradient(90deg, var(--blue), var(--cyan-dark));
    box-shadow: 0 18px 44px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.header-account:hover,
.header-account:focus-visible {
    background: linear-gradient(90deg, var(--blue-dark), var(--cyan-dark));
}

.btn-ghost {
    border-color: rgba(96, 165, 250, 0.52);
    background: rgba(15, 23, 42, 0.24);
    color: #bfdbfe;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--cyan);
    background: rgba(59, 130, 246, 0.12);
}

.btn-light {
    background: #ffffff;
    color: var(--blue-dark);
}

.btn-light:hover,
.btn-light:focus-visible {
    background: #f3f4f6;
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: var(--text);
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 42px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(30, 58, 138, 0.38) 100%),
        linear-gradient(180deg, rgba(6, 182, 212, 0.08), rgba(15, 23, 42, 0));
    pointer-events: none;
}

.hero-glow {
    display: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.82fr);
    gap: 42px;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    font-size: 0.92rem;
}

.pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cyan);
}

.hero h1,
.section-heading h2 {
    background: linear-gradient(90deg, #ffffff, #dbeafe 54%, #a5f3fc);
    background-clip: text;
    color: transparent;
}

.hero-lede {
    max-width: 650px;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.35vw, 1.16rem);
}

.policy-note {
    display: grid;
    gap: 6px;
    max-width: 720px;
    padding: 13px 15px;
    border-color: rgba(34, 211, 238, 0.36);
    background: rgba(6, 182, 212, 0.1);
}

.policy-note strong {
    color: #ffffff;
}

.policy-note span {
    color: var(--muted);
}

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

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 8px;
}

.stats-grid div {
    min-width: 110px;
}

.stats-grid dt {
    color: #60a5fa;
    font-size: 1.72rem;
    font-weight: 900;
    line-height: 1;
}

.stats-grid div:nth-child(2) dt {
    color: var(--cyan);
}

.stats-grid div:nth-child(3) dt {
    color: #93c5fd;
}

.stats-grid dd {
    margin: 7px 0 0;
    color: var(--soft);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    min-height: 360px;
}

.hero-visual picture {
    display: block;
}

.hero-visual img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.floating-card {
    position: absolute;
    display: grid;
    gap: 3px;
    width: min(240px, 62%);
    padding: 16px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.86);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.floating-card strong {
    color: #ffffff;
}

.floating-card span {
    color: var(--soft);
    font-size: 0.88rem;
}

.card-one {
    top: 26px;
    left: -24px;
}

.card-two {
    right: -18px;
    bottom: 30px;
}

.section {
    padding: clamp(48px, 6vw, 76px) 0;
}

main > .section {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
}

.section-alt {
    background: rgba(15, 23, 42, 0.5);
}

.section-deep {
    background: rgba(15, 23, 42, 0.72);
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 36px;
}

.section-heading.text-center {
    justify-items: center;
    text-align: center;
}

.section-heading p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.08rem;
}

.glass-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(30, 58, 138, 0.24));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.glass-card:hover,
.glass-card:focus-within {
    border-color: rgba(59, 130, 246, 0.54);
    transform: translateY(-3px);
}

.service-grid,
.benefits-grid,
.client-grid,
.process-grid,
.compare-grid,
.story-grid,
.testimonial-grid {
    display: grid;
    gap: 24px;
}

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

.service-card,
.story-card,
.testimonial-card {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 28px;
}

.service-card p,
.benefit-card p,
.client-card p,
.problem-card p,
.solution-card p,
.story-card p,
.testimonial-card blockquote {
    color: var(--muted);
}

.service-icon,
.benefit-icon,
.client-icon,
.compare-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--cyan-dark));
}

.service-icon::before,
.benefit-icon::before,
.client-icon::before,
.compare-icon::before {
    content: "";
    width: 19px;
    height: 19px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 6px;
    transform: rotate(45deg);
}

.benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
}

.benefit-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 22px;
    align-items: start;
    padding: 28px;
}

.client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1060px;
}

.client-card {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 36px 30px;
    text-align: center;
}

.client-icon {
    width: 82px;
    height: 82px;
    border-radius: 999px;
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 26px;
}

.process-card span {
    width: max-content;
    padding: 5px 11px;
    border: 1px solid rgba(34, 211, 238, 0.34);
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    font-weight: 900;
    line-height: 1;
}

.process-card p {
    color: var(--muted);
}

.network-section {
    background: rgba(15, 23, 42, 0.62);
}

.network-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    gap: 34px;
    align-items: center;
}

.network-copy {
    display: grid;
    gap: 20px;
}

.network-copy h2 {
    font-size: clamp(1.95rem, 4vw, 3.35rem);
}

.network-copy p:not(.pill),
.language-panel p {
    color: var(--muted);
    font-size: 1.06rem;
}

.quality-list {
    display: grid;
    gap: 12px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    color: #e5e7eb;
}

.quality-list li {
    position: relative;
    padding-left: 28px;
}

.quality-list li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 14px;
    height: 8px;
    border-bottom: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    transform: rotate(-45deg);
}

.language-panel {
    display: grid;
    gap: 20px;
    padding: clamp(24px, 4vw, 36px);
}

.language-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 12px;
    border: 1px solid rgba(34, 211, 238, 0.26);
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.1);
    color: #dbeafe;
    font-weight: 800;
}

.dashboard-preview-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: center;
}

.dashboard-preview-copy {
    display: grid;
    gap: 22px;
}

.dashboard-preview-copy h2 {
    font-size: clamp(1.95rem, 4vw, 3.35rem);
}

.dashboard-preview-copy p:not(.pill) {
    max-width: 660px;
    color: var(--muted);
    font-size: 1.08rem;
}

.pricing-strip {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    width: min(100%, 640px);
    padding: 15px 17px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
}

.pricing-strip span {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pricing-strip strong {
    color: var(--cyan);
    font-size: clamp(1.2rem, 2.3vw, 1.65rem);
}

.pricing-strip em {
    color: var(--soft);
    font-style: normal;
    font-weight: 800;
}

.dashboard-preview-panel {
    display: grid;
    gap: 20px;
    padding: clamp(22px, 3vw, 32px);
}

.dashboard-preview-panel h3 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.dashboard-feature-list {
    display: grid;
    gap: 14px;
}

.dashboard-feature-list article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 14px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.34);
}

.dashboard-feature-list article > span {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--blue), var(--cyan-dark));
}

.dashboard-feature-list article > span::before {
    content: "";
    width: 14px;
    height: 7px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
}

.dashboard-feature-list h4 {
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 1.02rem;
}

.dashboard-feature-list p {
    color: var(--muted);
}

.philosophy-stack {
    display: block;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.28), rgba(30, 41, 59, 0.62));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.philosophy-stack p {
    margin: 0;
    color: #e5e7eb;
    font-size: 1.05rem;
    line-height: 1.72;
}

.philosophy-stack p + p {
    margin-top: 0.82rem;
}

.tilt-left {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.34), rgba(30, 41, 59, 0.52));
}

.tilt-right {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.52), rgba(30, 58, 138, 0.34));
}

.compare-block + .compare-block {
    margin-top: 50px;
}

.subheading {
    margin-bottom: 28px;
    text-align: center;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.subheading.problem {
    color: var(--rose);
}

.subheading.solution {
    color: var(--cyan);
}

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

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

.problem-card,
.solution-card {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.problem-card {
    border-color: rgba(244, 63, 94, 0.24);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(136, 19, 55, 0.22));
}

.problem-card .compare-icon {
    background: linear-gradient(135deg, #f43f5e, #dc2626);
}

.story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1180px;
}

.story-card span {
    width: max-content;
    max-width: 100%;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan);
    font-size: 0.88rem;
    font-weight: 800;
}

.story-card h3 {
    transition: color 180ms ease;
}

.story-card:hover h3 {
    color: #93c5fd;
}

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

.testimonial-card {
    margin: 0;
}

.stars {
    color: var(--yellow);
    font-size: 1.1rem;
    letter-spacing: 0;
}

.testimonial-card blockquote {
    font-style: italic;
}

.testimonial-card figcaption {
    display: grid;
    gap: 2px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.testimonial-card figcaption strong {
    color: #ffffff;
}

.testimonial-card figcaption span {
    color: var(--soft);
    font-size: 0.9rem;
}

.testimonial-card figcaption em {
    color: var(--cyan);
    font-style: normal;
    font-size: 0.9rem;
}

.brief-section {
    scroll-margin-top: 80px;
}

.brief-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 36px;
    align-items: start;
}

.brief-copy {
    display: grid;
    gap: 20px;
}

.brief-copy h2 {
    font-size: clamp(1.95rem, 4vw, 3.35rem);
}

.brief-copy p:not(.pill) {
    color: var(--muted);
    font-size: 1.08rem;
}

.brief-points {
    display: grid;
    gap: 12px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: #e5e7eb;
}

.brief-points li {
    position: relative;
    padding-left: 28px;
}

.brief-points li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 14px;
    height: 8px;
    border-bottom: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    transform: rotate(-45deg);
}

.brief-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 28px;
}

.brief-hp {
    position: absolute;
    left: -9999px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row-wide {
    grid-column: 1 / -1;
}

.form-row label {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.76);
    color: #ffffff;
    padding: 12px 13px;
    outline: none;
}

.form-row textarea {
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(209, 213, 219, 0.62);
}

.brief-form .btn {
    grid-column: 1 / -1;
    width: max-content;
    min-width: 160px;
}

.form-alert {
    grid-column: 1 / -1;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.form-alert.success {
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(6, 182, 212, 0.12);
    color: #a5f3fc;
}

.form-alert.error {
    border: 1px solid rgba(251, 113, 133, 0.35);
    background: rgba(244, 63, 94, 0.12);
    color: #fecdd3;
}

.cta-section {
    padding-top: 24px;
}

.cta-panel {
    display: grid;
    justify-items: center;
    gap: 24px;
    overflow: hidden;
    padding: clamp(44px, 7vw, 72px);
    border-radius: 26px;
    background: linear-gradient(135deg, var(--blue-dark), var(--cyan-dark));
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-panel h2 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.cta-panel p {
    max-width: 680px;
    color: #dbeafe;
    font-size: 1.18rem;
}

.cta-actions {
    justify-content: center;
}

.cta-checks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    color: #ffffff;
}

.cta-checks li {
    position: relative;
    padding-left: 24px;
}

.cta-checks li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 13px;
    height: 8px;
    border-bottom: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    transform: rotate(-45deg);
}

.page-hero {
    padding: 148px 0 72px;
    background: rgba(15, 23, 42, 0.72);
}

.page-hero h1 {
    max-width: 900px;
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.16rem;
}

.eyebrow {
    color: var(--cyan);
    font-size: 0.84rem;
    font-weight: 850;
    text-transform: uppercase;
}

.content-body {
    max-width: 860px;
}

.content-body > * + * {
    margin-top: 1.15em;
}

.content-body h2 {
    margin-top: 1.5em;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.content-body h3 {
    margin-top: 1.4em;
}

.content-body p,
.content-body li {
    color: var(--muted);
}

.content-body a {
    color: var(--cyan);
    font-weight: 750;
}

.content-body ul,
.content-body ol {
    padding-left: 1.2em;
}

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

.dashboard-container {
    width: min(100% - 32px, 1240px);
}

.client-app {
    display: grid;
    gap: 26px;
}

.client-auth {
    max-width: 1040px;
    margin-inline: auto;
}

.auth-grid,
.app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.app-grid {
    grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.05fr) minmax(220px, 0.8fr);
}

.app-panel {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 3vw, 32px);
}

.app-panel h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.app-panel h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.app-panel p {
    color: var(--muted);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.dashboard-top > div {
    display: grid;
    gap: 14px;
}

.dashboard-top h2 {
    max-width: 840px;
    font-size: clamp(2.1rem, 4.5vw, 4rem);
}

.dashboard-top p:not(.pill) {
    color: var(--muted);
}

.credit-panel span {
    color: var(--cyan);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1;
}

.credit-panel strong {
    color: #ffffff;
    font-size: 1.05rem;
}

.account-panel strong {
    color: #ffffff;
    overflow-wrap: anywhere;
}

.account-panel .btn {
    width: 100%;
    margin-top: auto;
}

.app-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.app-form.compact-form,
.chat-form {
    grid-template-columns: 1fr;
}

.app-form label {
    display: grid;
    gap: 8px;
}

.app-form label span,
.order-cost span {
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
}

.app-form input,
.app-form textarea,
.app-form select,
.login-username input,
.login-password input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.76);
    color: #ffffff;
    padding: 12px 13px;
    outline: none;
}

.app-form textarea {
    resize: vertical;
}

.app-form input:focus,
.app-form textarea:focus,
.app-form select:focus,
.login-username input:focus,
.login-password input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

.form-wide,
.order-cost,
.app-form .btn {
    grid-column: 1 / -1;
}

.checkbox-row {
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
    gap: 10px;
}

.checkbox-row input {
    width: 18px;
    min-height: 18px;
    accent-color: var(--cyan);
}

.order-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
}

.order-cost strong {
    color: var(--cyan);
}

.microcopy {
    color: var(--soft) !important;
    font-size: 0.9rem;
}

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

.panel-head span:not(.app-badge) {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.16);
    color: #ffffff;
    font-weight: 900;
}

.app-table-wrap {
    overflow-x: auto;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
}

.app-table th,
.app-table td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.16);
    text-align: left;
    vertical-align: middle;
}

.app-table th {
    background: rgba(15, 23, 42, 0.72);
    color: #bfdbfe;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.app-table td {
    color: var(--muted);
    font-size: 0.94rem;
}

.app-table td strong,
.app-table td a {
    color: #ffffff;
    font-weight: 800;
}

.app-table td span {
    display: block;
    color: var(--soft);
    font-size: 0.84rem;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    width: max-content;
    padding: 4px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.2;
}

.status-brief-received,
.status-pending {
    background: rgba(148, 163, 184, 0.24);
    color: #e5e7eb;
}

.status-in-progress {
    background: rgba(59, 130, 246, 0.28);
    color: #bfdbfe;
}

.status-review {
    background: rgba(250, 204, 21, 0.22);
    color: #fef3c7;
}

.status-delivered,
.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
}

.status-revision,
.status-failed,
.status-cancelled {
    background: rgba(251, 113, 133, 0.22);
    color: #fecdd3;
}

.table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(34, 211, 238, 0.34);
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
    text-decoration: none;
}

.order-detail {
    scroll-margin-top: 96px;
}

.order-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.order-meta-grid div {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.34);
}

.order-meta-grid dt {
    color: var(--soft);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.order-meta-grid dd {
    margin: 0;
    color: #ffffff;
    font-weight: 800;
}

.delivery-box,
.brief-box,
.chat-box {
    display: grid;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(96, 165, 250, 0.16);
}

.delivery-box h4,
.brief-box h4,
.chat-box h4 {
    font-size: 1.12rem;
}

.delivery-box pre {
    max-height: 520px;
    overflow: auto;
    white-space: pre-wrap;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.62);
    color: #e5e7eb;
    padding: 18px;
    font-family: var(--font-sans);
}

.chat-thread {
    display: grid;
    gap: 12px;
}

.chat-message {
    display: grid;
    gap: 5px;
    max-width: 76%;
    padding: 14px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.48);
}

.chat-message.is-admin {
    justify-self: start;
    border-color: rgba(34, 211, 238, 0.34);
}

.chat-message.is-client {
    justify-self: end;
    background: rgba(37, 99, 235, 0.22);
}

.chat-message strong {
    color: #ffffff;
}

.chat-message time {
    color: var(--soft);
    font-size: 0.78rem;
}

.chat-message p {
    color: var(--muted);
}

.app-empty {
    padding: 18px;
    border: 1px dashed rgba(96, 165, 250, 0.3);
    border-radius: 8px;
}

.login-form {
    display: grid;
    gap: 14px;
}

.login-form label {
    display: grid;
    gap: 8px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
}

.login-submit .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--blue), var(--cyan-dark));
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.auth-links {
    margin: 0;
}

.auth-links a {
    color: var(--cyan);
    font-weight: 800;
}

.site-footer {
    padding: 64px 0 28px;
    border-top: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.82);
    color: var(--soft);
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--cyan);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.8fr));
    gap: 38px;
}

.footer-brand {
    display: grid;
    gap: 16px;
}

.footer-brand p,
.footer-contact p {
    max-width: 370px;
}

.site-footer h2,
.footer-heading {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.08;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact {
    display: grid;
    gap: 14px;
    align-content: start;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.86rem;
}

@media (max-width: 1020px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .header-cta {
        display: none;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .nav-toggle {
        grid-column: 3;
        grid-row: 1;
        display: block;
        justify-self: end;
    }

    .primary-nav {
        position: absolute;
        inset: 100% 0 auto;
        display: none;
        padding: 20px;
        border-bottom: 1px solid var(--line);
        background: rgba(15, 23, 42, 0.98);
    }

    .primary-nav.is-open {
        display: block;
    }

    .menu {
        display: grid;
        gap: 8px;
    }

    .menu a {
        min-height: 48px;
        font-size: 1.04rem;
    }

    .hero-grid,
    .service-grid,
    .benefits-grid,
    .client-grid,
    .process-grid,
    .dashboard-preview-grid,
    .network-grid,
    .compare-grid,
    .solution-grid,
    .story-grid,
    .testimonial-grid,
    .archive-grid,
    .brief-grid,
    .auth-grid,
    .app-grid,
    .order-meta-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .pricing-strip {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .dashboard-top,
    .panel-head {
        display: grid;
        align-items: start;
    }

    .app-form {
        grid-template-columns: 1fr;
    }

    .app-table,
    .app-table thead,
    .app-table tbody,
    .app-table th,
    .app-table td,
    .app-table tr {
        display: block;
    }

    .app-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .app-table tr {
        padding: 14px;
        border-bottom: 1px solid rgba(96, 165, 250, 0.18);
    }

    .app-table td {
        display: grid;
        grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
        gap: 12px;
        padding: 10px 0;
        border: 0;
    }

    .app-table td::before {
        content: attr(data-label);
        color: #bfdbfe;
        font-size: 0.72rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-visual img {
        height: 320px;
    }

    .floating-card {
        position: static;
        width: auto;
        margin-top: 14px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container,
    .container.narrow {
        width: min(100% - 26px, 1180px);
    }

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

    .brand-text span {
        display: none;
    }

    .brand-text strong {
        font-size: 1.1rem;
    }

    .primary-nav {
        inset: 100% 0 auto;
    }

    .hero {
        padding: 38px 0 38px;
    }

    .hero-actions {
        display: grid;
    }

    .btn,
    .header-cta {
        width: 100%;
    }

    .header-account {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.9rem;
    }

    .stats-grid {
        gap: 18px;
    }

    .stats-grid div {
        flex: 1 1 130px;
    }

    .service-card,
    .story-card,
    .testimonial-card,
    .benefit-card,
    .client-card,
    .process-card,
    .problem-card,
    .solution-card,
    .brief-form {
        padding: 22px;
    }

    .brief-form {
        grid-template-columns: 1fr;
    }

    .chat-message {
        max-width: 100%;
    }

    .benefit-card {
        grid-template-columns: 1fr;
    }

    .hero-visual img {
        height: 260px;
    }

    .cta-panel {
        border-radius: 18px;
    }
}
