/* ==========================================================================
   Diamondlab — research laboratory template
   Token layer + shared components
   ========================================================================== */

:root {
    --white: #ffffff;
    --black: #040b1b;
    --dim-grey: #6e6e6f;
    --aquamarine: #60ffd2;
    --royal-blue: #1d6cef;
    --light-cyan: #dffff6;
    --alice-blue: #f3f8fe;
    --violet: #c397fd;

    --navy-900: #050c22;
    --navy-800: #071130;
    --navy-700: #0b1a3f;
    --line: #e3eaf5;
    --line-strong: #cdd9ea;

    --font: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --radius-sm: 7px;
    --radius-md: 15px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --container: 1400px;
    --gutter: 30px;

    --shadow-sm: 0 8px 24px rgba(4, 11, 27, 0.06);
    --shadow-md: 0 22px 50px rgba(4, 11, 27, 0.12);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.3s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--black);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--royal-blue);
    outline-offset: 3px;
}

/* Layout primitives ------------------------------------------------------- */

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container--narrow {
    max-width: 940px;
}

.section {
    padding: 110px 0;
}

.section--tight {
    padding: 72px 0;
}

.section--alice {
    background: var(--alice-blue);
}

.section--dark {
    background: var(--black);
    color: var(--white);
}

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

.grid {
    display: grid;
    gap: 30px;
}

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

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

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

.stack {
    display: flex;
    flex-direction: column;
}

.stack--8 {
    gap: 8px;
}

.stack--14 {
    gap: 14px;
}

.stack--22 {
    gap: 22px;
}

.stack--34 {
    gap: 34px;
}

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

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

.split--wide-left {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 54px;
}

.section-head__text {
    max-width: 720px;
}

/* Typography -------------------------------------------------------------- */

.h1,
.h2,
.h3,
.h4 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.h1 {
    font-size: clamp(40px, 5.2vw, 68px);
    line-height: 1.04;
}

.h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.1;
}

.h3 {
    font-size: clamp(22px, 2vw, 26px);
    line-height: 1.25;
}

.h4 {
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;
}

.lead {
    font-size: 18px;
    line-height: 1.65;
    color: var(--dim-grey);
}

.muted {
    color: var(--dim-grey);
}

.body-sm {
    font-size: 15px;
    line-height: 1.65;
    color: var(--dim-grey);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--royal-blue);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--aquamarine);
    box-shadow: 0 0 0 4px rgba(96, 255, 210, 0.22);
}

.eyebrow--light {
    color: var(--aquamarine);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
        border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn--primary {
    background: var(--royal-blue);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--violet);
    color: var(--black);
}

.btn--secondary {
    background: var(--aquamarine);
    color: var(--black);
}

.btn--secondary:hover {
    background: var(--black);
    color: var(--aquamarine);
}

.btn--dark {
    background: var(--black);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--royal-blue);
}

.btn--outline {
    border-color: var(--line-strong);
    color: var(--black);
}

.btn--outline:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.26);
    color: var(--white);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--sm {
    padding: 11px 16px;
    font-size: 14px;
}

.btn--block {
    width: 100%;
}

.btn__arrow {
    width: 8px;
    height: 8px;
    border-top: 1.6px solid currentColor;
    border-right: 1.6px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__arrow {
    transform: rotate(45deg) translate(2px, -2px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--royal-blue);
    font-size: 15px;
    font-weight: 600;
}

.link-arrow .btn__arrow {
    border-color: currentColor;
}

/* Header ------------------------------------------------------------------ */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 24px 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.brand__mark {
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
}

.brand__name span {
    color: var(--aquamarine);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 26px;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--white);
    font-family: inherit;
    font-size: 16px;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: color var(--dur) var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
    color: var(--aquamarine);
}

.nav__caret {
    width: 7px;
    height: 7px;
    border-bottom: 1.6px solid currentColor;
    border-right: 1.6px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.nav__dropdown {
    position: relative;
}

.nav__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    padding: 10px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
        visibility var(--dur) var(--ease);
}

.nav__dropdown:hover .nav__panel,
.nav__dropdown:focus-within .nav__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__panel-link {
    display: block;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    color: var(--black);
    font-size: 15px;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav__panel-link:hover {
    background: var(--alice-blue);
    color: var(--royal-blue);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    background: none;
    cursor: pointer;
}

.nav-toggle__bars {
    display: block;
    width: 18px;
    height: 12px;
    margin: 0 auto;
    border-top: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    position: relative;
}

.nav-toggle__bars::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 2px solid var(--white);
    transform: translateY(-1px);
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    flex-direction: column;
    padding: 24px var(--gutter) 40px;
    background: var(--navy-900);
    color: var(--white);
    overflow-y: auto;
}

.mobile-nav[data-open="true"] {
    display: flex;
}

.mobile-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.mobile-nav__close {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--white);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav__link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 20px;
    font-weight: 500;
}

.mobile-nav__group-title {
    margin: 26px 0 6px;
    color: var(--aquamarine);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mobile-nav__sublink {
    display: block;
    padding: 11px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
}

.mobile-nav .btn {
    margin-top: 30px;
}

/* Hero -------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 700px;
    padding: 164px 0 90px;
    background: radial-gradient(130% 110% at 16% -10%, #14346b 0%, #0a1a3d 42%, var(--navy-900) 100%);
    color: var(--white);
}

.hero__pattern {
    position: absolute;
    inset: -10% -5% -20% -5%;
    z-index: 0;
    opacity: 0.85;
    background-image: repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 27px),
        repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 27px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 47px);
    -webkit-mask-image: radial-gradient(80% 70% at 72% 40%, #000 0%, transparent 78%);
    mask-image: radial-gradient(80% 70% at 72% 40%, #000 0%, transparent 78%);
}

.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 50px;
    align-items: start;
}

.hero__title {
    max-width: 12ch;
}

.hero__right {
    padding-top: 92px;
}

.hero__lead {
    max-width: 40ch;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
}

.hero__footer {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 44px;
    margin-top: 78px;
    flex-wrap: wrap;
}

.hero__frame {
    position: relative;
    width: min(46vw, 520px);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.hero__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.94;
}

.hero__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(29, 108, 239, 0.22), rgba(5, 12, 34, 0.48));
    pointer-events: none;
}

.hero__stats {
    display: flex;
    align-items: flex-end;
    gap: clamp(28px, 5vw, 68px);
    padding-bottom: 6px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat__icon {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
    border-radius: 8px;
    background: rgba(96, 255, 210, 0.16);
    border: 1px solid rgba(96, 255, 210, 0.34);
    position: relative;
}

.stat__icon::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 3px;
    background: var(--aquamarine);
}

.stat__icon--blue {
    background: rgba(29, 108, 239, 0.2);
    border-color: rgba(29, 108, 239, 0.45);
}

.stat__icon--blue::after {
    background: var(--royal-blue);
}

.stat__icon--violet {
    background: rgba(195, 151, 253, 0.18);
    border-color: rgba(195, 151, 253, 0.42);
}

.stat__icon--violet::after {
    background: var(--violet);
}

.stat__value {
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.stat__label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
}

.stat--bordered {
    padding-left: 22px;
    border-left: 1px solid var(--line);
}

.stat--bordered .stat__label {
    color: var(--dim-grey);
}

/* Page banner ------------------------------------------------------------- */

.page-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 190px 0 92px;
    background: radial-gradient(120% 110% at 20% -20%, #14346b 0%, #0a1a3d 45%, var(--navy-900) 100%);
    color: var(--white);
}

.page-banner__pattern {
    position: absolute;
    inset: -10% -5% -20% -5%;
    opacity: 0.8;
    background-image: repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 27px),
        repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 27px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 47px);
    -webkit-mask-image: radial-gradient(75% 90% at 30% 30%, #000 0%, transparent 80%);
    mask-image: radial-gradient(75% 90% at 30% 30%, #000 0%, transparent 80%);
}

.page-banner__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-banner__lead {
    max-width: 62ch;
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.84);
}

.page-banner__meta {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 34px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb {
    display: flex;
    gap: 9px;
    margin-bottom: 22px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--aquamarine);
}

/* Cards ------------------------------------------------------------------- */

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--alice-blue);
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.card:hover .card__media img {
    transform: scale(1.04);
}

.card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
}

.card__tag {
    color: var(--royal-blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.card__title {
    font-size: 21px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
}

.card__text {
    font-size: 15px;
    line-height: 1.62;
    color: var(--dim-grey);
}

.card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 8px;
}

.card--flat {
    border: none;
    background: none;
}

.card--flat:hover {
    transform: none;
    box-shadow: none;
}

.card--dark {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
}

.card--dark .card__text {
    color: rgba(255, 255, 255, 0.72);
}

/* Media frames ------------------------------------------------------------ */

.media-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--alice-blue);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-frame--wide {
    aspect-ratio: 16 / 11;
}

.media-frame--tall {
    aspect-ratio: 4 / 5;
}

.media-frame--hero {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
}

.media-badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    background: rgba(4, 11, 27, 0.82);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

/* Feature list ------------------------------------------------------------ */

.feature {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--line);
    height: 100%;
}

.feature__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--alice-blue);
    color: var(--royal-blue);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.feature--plain {
    padding: 0;
    border: none;
    background: none;
}

/* Process steps ----------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 30px 26px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--line);
}

.step__index {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--royal-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.step__title {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 600;
}

/* Pricing ----------------------------------------------------------------- */

.pricing-toggle {
    display: inline-flex;
    padding: 5px;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1px solid var(--line);
}

.pricing-toggle button {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-pill);
    background: none;
    color: var(--dim-grey);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.pricing-toggle button[aria-pressed="true"] {
    background: var(--black);
    color: var(--white);
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 34px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--line);
    height: 100%;
}

.plan--featured {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.plan__name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--royal-blue);
}

.plan--featured .plan__name {
    color: var(--aquamarine);
}

.plan__price {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.plan__period {
    font-size: 15px;
    font-weight: 500;
    color: var(--dim-grey);
}

.plan--featured .plan__period {
    color: rgba(255, 255, 255, 0.7);
}

.plan__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 15px;
}

.plan__list li {
    position: relative;
    padding-left: 26px;
    color: var(--dim-grey);
}

.plan--featured .plan__list li {
    color: rgba(255, 255, 255, 0.78);
}

.plan__list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 4px;
    border-left: 1.8px solid var(--aquamarine);
    border-bottom: 1.8px solid var(--aquamarine);
    transform: rotate(-45deg);
}

/* Quotes ------------------------------------------------------------------ */

.quote {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--line);
    height: 100%;
}

.quote__text {
    font-size: 16px;
    line-height: 1.66;
    color: var(--black);
}

.quote__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.quote__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--alice-blue);
    flex: 0 0 auto;
}

.quote__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote__name {
    font-weight: 600;
}

.quote__role {
    font-size: 14px;
    color: var(--dim-grey);
}

/* Team -------------------------------------------------------------------- */

.member {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.member__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--alice-blue);
}

.member__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.member:hover .member__media img {
    transform: scale(1.04);
}

.member__name {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
}

.member__role {
    font-size: 14px;
    color: var(--dim-grey);
}

/* Contact strip ----------------------------------------------------------- */

.contact-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--navy-900);
    color: var(--white);
    padding: 26px 0;
}

.contact-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.contact-item__label {
    color: rgba(255, 255, 255, 0.58);
}

.contact-item__value {
    font-weight: 600;
}

/* Forms ------------------------------------------------------------------- */

.form-card {
    padding: clamp(26px, 4vw, 50px);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field--full {
    grid-column: 1 / -1;
}

.field__label {
    font-size: 14px;
    font-weight: 600;
}

.field__label span {
    color: var(--royal-blue);
}

.input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--black);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.input::placeholder {
    color: #97a2b4;
}

.input:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(29, 108, 239, 0.16);
}

.input--area {
    min-height: 132px;
    resize: vertical;
}

.field__error {
    color: #c0392b;
    font-size: 13px;
    min-height: 0;
}

.form-note {
    font-size: 13px;
    line-height: 1.55;
    color: var(--dim-grey);
}

.form-status {
    display: none;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.5;
}

.form-status[data-state="success"] {
    display: block;
    border: 1px solid rgba(29, 108, 239, 0.28);
    background: var(--alice-blue);
    color: #14428f;
}

.form-status[data-state="error"] {
    display: block;
    border: 1px solid rgba(192, 57, 43, 0.3);
    background: #fdf3f2;
    color: #a33124;
}

/* FAQ --------------------------------------------------------------------- */

.faq {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
}

.faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__summary::after {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-right: 2px solid var(--royal-blue);
    border-bottom: 2px solid var(--royal-blue);
    transform: rotate(45deg);
    transition: transform var(--dur) var(--ease);
}

.faq-item[open] .faq-item__summary::after {
    transform: rotate(-135deg);
}

.faq-item__body {
    padding: 0 26px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--dim-grey);
}

/* Article ----------------------------------------------------------------- */

.prose {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 17px;
    line-height: 1.75;
    color: #2b3446;
}

.prose h2 {
    margin: 16px 0 0;
    font-size: 26px;
    line-height: 1.25;
}

.aside-card {
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--alice-blue);
}

.aside-card__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--royal-blue);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 84px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 46px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 340px;
}

.footer__about {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.66);
}

.footer__title {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer__link {
    display: block;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    transition: color var(--dur) var(--ease);
}

.footer__link:hover {
    color: var(--aquamarine);
}

.footer__form {
    display: flex;
    gap: 10px;
}

.footer__input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
}

.footer__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer__input:focus {
    outline: none;
    border-color: var(--aquamarine);
}

.footer__status {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.footer__status[data-state="success"] {
    display: block;
    color: var(--aquamarine);
}

.footer__status[data-state="error"] {
    display: block;
    color: #ff9c8f;
}

.hours {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
    font-size: 15px;
}

.hours__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
}

.hours__row strong {
    color: var(--white);
    font-weight: 600;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.footer__bottom-links {
    display: flex;
    gap: 22px;
}

.footer__bottom-links a:hover {
    color: var(--aquamarine);
}

/* Utilities --------------------------------------------------------------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.mt-40 {
    margin-top: 40px;
}

.mt-56 {
    margin-top: 56px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: var(--light-cyan);
    color: #0b5c4a;
    font-size: 13px;
    font-weight: 600;
}

/* Responsive -------------------------------------------------------------- */

@media screen and (max-width: 1199px) {
    .section {
        padding: 88px 0;
    }

    .hero {
        min-height: 640px;
        padding-top: 148px;
    }

    .hero__right {
        padding-top: 60px;
    }

    .hero__stats {
        margin-top: 110px;
    }

    .footer__grid {
        grid-template-columns: 1.2fr 0.8fr 0.8fr;
    }

    .footer__brand {
        max-width: none;
    }
}

@media screen and (max-width: 991px) {
    .section {
        padding: 72px 0;
    }

    .nav,
    .site-header__actions .btn {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .site-header__actions {
        gap: 8px;
    }

    .hero {
        min-height: 0;
        padding: 138px 0 64px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero__right {
        padding-top: 0;
    }

    .hero__lead {
        max-width: 52ch;
    }

    .hero__footer {
        margin-top: 46px;
        gap: 30px;
    }

    .hero__frame {
        width: 100%;
        max-width: 460px;
    }

    .hero__stats {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 30px 42px;
        padding-bottom: 0;
    }

    .page-banner {
        padding: 148px 0 64px;
    }

    .split,
    .split--wide-left {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        margin-bottom: 38px;
    }

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

@media screen and (max-width: 767px) {
    :root {
        --gutter: 22px;
    }

    .section {
        padding: 60px 0;
    }

    .h1 {
        font-size: clamp(34px, 8.4vw, 48px);
    }

    .lead,
    .hero__lead,
    .page-banner__lead {
        font-size: 16px;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .steps,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        gap: 22px 34px;
    }

    .stat__value {
        font-size: 28px;
    }

    .card__body,
    .feature,
    .quote,
    .plan {
        padding: 22px;
    }

    .contact-strip__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

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

    .site-footer {
        padding-top: 60px;
    }

    .footer__bottom {
        margin-top: 40px;
    }

    .faq-item__summary {
        padding: 18px 20px;
        font-size: 16px;
    }

    .faq-item__body {
        padding: 0 20px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
