/* Vinabase landing page. Brand tokens shared with the app, see
   web-frontend/modules/vinabase/assets/scss/theme/_tokens.scss. */

@font-face {
    font-family: 'Be Vietnam Pro';
    font-weight: 400;
    font-display: swap;
    src: url('fonts/be-vietnam-pro-vietnamese-400-normal.woff2') format('woff2');
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-weight: 500;
    font-display: swap;
    src: url('fonts/be-vietnam-pro-vietnamese-500-normal.woff2') format('woff2');
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-weight: 600;
    font-display: swap;
    src: url('fonts/be-vietnam-pro-vietnamese-600-normal.woff2') format('woff2');
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-weight: 700;
    font-display: swap;
    src: url('fonts/be-vietnam-pro-vietnamese-700-normal.woff2') format('woff2');
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-weight: 400;
    font-display: swap;
    src: url('fonts/be-vietnam-pro-latin-400-normal.woff2') format('woff2');
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-weight: 500;
    font-display: swap;
    src: url('fonts/be-vietnam-pro-latin-500-normal.woff2') format('woff2');
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-weight: 600;
    font-display: swap;
    src: url('fonts/be-vietnam-pro-latin-600-normal.woff2') format('woff2');
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-weight: 700;
    font-display: swap;
    src: url('fonts/be-vietnam-pro-latin-700-normal.woff2') format('woff2');
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --primary-50: #f0f4ff;
    --primary-100: #e1eaff;
    --primary-200: #bacefd;
    --primary-300: #82a7fc;
    --primary-400: #4e83fd;
    --primary-500: #3370ff;
    --primary-600: #245bdb;
    --primary-700: #1c4cba;
    --gold-100: #fdf1d8;
    --gold-300: #f7cf7d;
    --gold-500: #f0b03c;
    --ink-900: #1f2329;
    --ink-800: #2b2f36;
    --ink-700: #373c43;
    --ink-text: #c9cdd4;
    --ink-muted: #8f959e;
    --text: #1f2329;
    --text-2: #646a73;
    --text-3: #8f959e;
    --line: #dee0e3;
    --bg-tint: #f5f6f7;
    --radius: 14px;
    --shadow:
        0 1px 2px rgba(11, 19, 17, 0.06), 0 12px 32px rgba(11, 19, 17, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family:
        'Be Vietnam Pro',
        -apple-system,
        'Segoe UI',
        Roboto,
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

p {
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background-color 0.15s,
        border-color 0.15s,
        transform 0.15s,
        box-shadow 0.15s;
}

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

.button--large {
    height: 50px;
    padding: 0 26px;
    font-size: 16px;
    border-radius: 12px;
}

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

.button--primary {
    background: var(--primary-500);
    color: #fff;
    box-shadow: 0 6px 18px rgba(15, 154, 115, 0.28);
}

.button--primary:hover {
    background: var(--primary-600);
}

.button--outline {
    border-color: var(--line);
    background: #fff;
    color: var(--text);
}

.button--outline:hover {
    border-color: var(--primary-300);
}

.button--ghost {
    color: var(--text-2);
}

.button--ghost:hover {
    color: var(--text);
    transform: none;
}

.button--gold {
    background: var(--gold-500);
    color: var(--ink-900);
    box-shadow: 0 8px 24px rgba(240, 176, 60, 0.35);
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo__mark {
    width: 32px;
    height: 32px;
}

.logo__name {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.logo--light {
    color: #fff;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.nav.is-scrolled {
    border-bottom-color: var(--line);
}

.nav__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 68px;
}

.nav__links {
    display: flex;
    gap: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-2);
}

.nav__links a:hover {
    color: var(--primary-600);
}

.nav__actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.nav__toggle {
    display: none;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav__toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 96px;
}

.hero__glow {
    position: absolute;
    inset: -200px -10% auto;
    height: 720px;
    background:
        radial-gradient(
            50% 50% at 75% 40%,
            rgba(61, 187, 147, 0.22),
            transparent 70%
        ),
        radial-gradient(
            30% 30% at 95% 10%,
            rgba(240, 176, 60, 0.2),
            transparent 70%
        );
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(240, 176, 60, 0.2);
}

.hero__title {
    text-wrap: balance;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.hero__accent {
    display: block;
    background: linear-gradient(
        90deg,
        var(--primary-500),
        var(--primary-400) 60%,
        var(--gold-500)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    margin-top: 22px;
    font-size: 18px;
    color: var(--text-2);
    max-width: 540px;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero__notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--text-3);
}

.hero__notes li::before {
    content: '✓';
    margin-right: 6px;
    color: var(--primary-500);
    font-weight: 700;
}

/* Product mock */
.mock {
    position: relative;
    padding: 24px 0 36px;
}

.mock__window {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow:
        0 2px 4px rgba(11, 19, 17, 0.04),
        0 30px 60px -12px rgba(11, 26, 23, 0.25);
    transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
    transform-origin: left center;
}

.mock__bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--ink-900);
}

.mock__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.mock__app {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 330px;
    font-size: 11.5px;
}

.mock__sidebar {
    background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
    color: var(--ink-text);
    padding: 12px 8px;
}

.mock__workspace {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    padding: 0 6px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 8px;
    white-space: nowrap;
}

.mock__workspace b {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--primary-500);
    font-size: 9px;
}

.mock__group {
    padding: 10px 6px 4px;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.mock__item {
    padding: 5px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.mock__item--sub {
    margin-left: 12px;
}

.mock__item--active {
    background: rgba(61, 187, 147, 0.16);
    color: #fff;
    font-weight: 600;
}

.mock__main {
    min-width: 0;
}

.mock__toolbar {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
}

.mock__chip {
    padding: 3px 9px;
    border-radius: 7px;
    color: var(--text-2);
    font-weight: 500;
}

.mock__chip--view {
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 600;
}

.mock__chip--on {
    background: var(--primary-50);
    color: var(--primary-700);
}

.mock__row {
    display: grid;
    grid-template-columns: 1.35fr 1.1fr 0.85fr 1fr;
    align-items: center;
    border-bottom: 1px solid #edf0ef;
    border-left: 3px solid transparent;
}

.mock__row > span {
    padding: 9px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mock__row--head {
    background: #f5f7f6;
    font-weight: 600;
    color: var(--text-2);
}

.mock__row:nth-child(2) {
    border-left-color: #41dd75;
}

.mock__row:nth-child(3),
.mock__row:nth-child(5) {
    border-left-color: #ffd269;
}

.mock__row:nth-child(4) {
    border-left-color: #689ef1;
}

.mock__row:nth-child(6) {
    border-left-color: #ff7b69;
}

.mock__row .num {
    justify-content: flex-end;
    font-variant-numeric: tabular-nums;
}

.tag {
    font-style: normal;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 500;
}

.tag--green {
    background: #d0f6dc;
}

.tag--yellow {
    background: #fff4da;
}

.tag--blue {
    background: #dae4fd;
}

.tag--red {
    background: #ffdeda;
}

.avatar {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-500);
    color: #fff;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    flex: 0 0 auto;
}

.avatar--2 {
    background: #cb5f9e;
}

.avatar--3 {
    background: #4783db;
}

.mock__float {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 13px;
    animation: float 6s ease-in-out infinite;
}

.mock__float small {
    display: block;
    color: var(--text-3);
    font-size: 11.5px;
}

.mock__float--flow {
    left: -28px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.mock__float-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gold-100);
}

.mock__float--card {
    right: -12px;
    top: -22px;
    width: 200px;
    padding: 12px 14px;
    border-top: 3px solid var(--gold-500);
    animation-delay: -3s;
}

.mock__float--card b {
    display: block;
    margin: 2px 0 8px;
}

.mock__float-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-3);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Industries strip */
.strip {
    border-block: 1px solid var(--line);
    background: var(--bg-tint);
}

.strip__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-block: 22px;
}

.strip__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-3);
    white-space: nowrap;
}

.strip__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
    color: var(--text-2);
}

/* Sections */
.section {
    padding: 104px 0;
}

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

.section--ink {
    background:
        radial-gradient(
            60% 80% at 100% 100%,
            rgba(15, 154, 115, 0.3),
            transparent 60%
        ),
        var(--ink-900);
    color: var(--ink-text);
}

.section__head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: 12px;
}

.kicker--gold {
    color: var(--gold-500);
}

.section__title {
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 700;
    text-wrap: balance;
}

.section--ink .section__title {
    color: #fff;
}

.section__lead {
    margin-top: 16px;
    font-size: 17px;
    color: var(--text-2);
}

.section--ink .section__lead {
    color: var(--ink-text);
}

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

.feature {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}

.feature:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-50);
    color: var(--primary-600);
    margin-bottom: 18px;
}

.feature__icon svg,
.mock__float-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mock__float-icon svg {
    width: 18px;
    height: 18px;
    color: #b9801c;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-2);
    font-size: 15px;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.step {
    position: relative;
    padding: 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
}

.step__number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink-800);
    color: var(--gold-500);
    font-weight: 700;
    margin-bottom: 18px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-2);
    font-size: 15px;
}

/* Use cases */
.usecases__tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.usecases__tab {
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
}

.usecases__tab.is-active {
    background: var(--ink-800);
    border-color: var(--ink-800);
    color: #fff;
}

.usecases__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, var(--primary-50), #fff 60%);
}

.usecases__panel[hidden] {
    display: none;
}

.usecases__panel h3 {
    text-wrap: balance;
    font-size: 24px;
    margin-bottom: 20px;
}

.checks {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checks li {
    position: relative;
    padding-left: 30px;
    color: var(--text-2);
}

.checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-100)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7155' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
        center / 12px no-repeat;
}

.usecases__visual {
    height: 260px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 20px;
}

.usecases__visual--crm {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.lane {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    background: var(--bg-tint);
    font-size: 12px;
}

.lane i {
    height: 46px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--primary-300);
}

.lane--won i {
    border-top-color: var(--gold-500);
}

.usecases__visual--gantt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0 19.6%,
        #edf0ef 19.6% 20%
    );
}

.usecases__visual--gantt i {
    height: 22px;
    width: var(--w);
    margin-left: var(--x);
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-300));
}

.usecases__visual--gantt i:nth-child(4) {
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}

.usecases__visual--form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
}

.usecases__visual--form i {
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg-tint);
}

.usecases__visual--form i.short {
    width: 60%;
}

.usecases__visual--form span {
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--primary-500);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.usecases__visual--stock {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    padding: 28px;
}

.usecases__visual--stock i {
    flex: 1;
    height: var(--h);
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, var(--primary-400), var(--primary-200));
}

.usecases__visual--stock i.low {
    background: linear-gradient(180deg, #ff7b69, #ffbdb4);
}

/* Why */
.why {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.why__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.why__list li {
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.why__list b {
    display: block;
    color: #fff;
    margin-bottom: 6px;
}

.why__list span {
    font-size: 14px;
    color: var(--ink-muted);
}

/* Pricing */
.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 32px 28px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
}

.plan .checks {
    margin: 24px 0 28px;
    flex: 1;
}

.plan h3 {
    font-size: 18px;
}

.plan__price {
    margin-top: 12px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.plan__price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0;
}

.plan__note {
    color: var(--text-3);
    font-size: 14px;
}

.plan--featured {
    border: 2px solid var(--primary-500);
    box-shadow: 0 20px 50px -16px rgba(15, 154, 115, 0.4);
}

.plan__badge {
    position: absolute;
    top: -13px;
    left: 28px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--gold-500);
    color: var(--ink-900);
    font-size: 12px;
    font-weight: 700;
}

/* FAQ */
.faq {
    display: grid;
    gap: 12px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 0 22px;
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.faq summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--primary-600);
    transition: transform 0.2s;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    padding-bottom: 20px;
    color: var(--text-2);
}

/* CTA */
.cta {
    padding: 0 24px 104px;
}

.cta__inner {
    position: relative;
    overflow: hidden;
    padding: 64px 32px;
    border-radius: 24px;
    text-align: center;
    color: var(--ink-text);
    background:
        radial-gradient(
            70% 120% at 50% 120%,
            rgba(15, 154, 115, 0.55),
            transparent 70%
        ),
        var(--ink-900);
}

.cta__inner h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    color: #fff;
}

.cta__inner p {
    margin: 12px 0 28px;
    font-size: 17px;
}

/* Footer */
.footer {
    background: var(--ink-900);
    color: var(--ink-muted);
    padding: 56px 0 32px;
    font-size: 14px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__brand p {
    margin-top: 12px;
    max-width: 320px;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: flex-start;
}

.footer__links a:hover {
    color: #fff;
}

.footer__legal {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

/* Terms and privacy pages */
.legal {
    padding: 120px 0 80px;
}

.legal__meta {
    color: var(--text-3);
    font-size: 14px;
}

.legal__body h1 {
    margin: 8px 0 16px;
    font-size: 40px;
}

.legal__lead {
    margin-bottom: 16px;
    color: var(--text-2);
    font-size: 18px;
}

.legal__body h2 {
    margin: 40px 0 12px;
    font-size: 22px;
}

.legal__body p + p,
.legal__body ul + p {
    margin-top: 12px;
}

.legal__body ul {
    margin: 12px 0 0;
    padding-left: 22px;
}

.legal__body li + li {
    margin-top: 6px;
}

.legal__body a {
    color: var(--primary-600);
    text-decoration: underline;
}

.legal__body code {
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--bg-tint);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero__inner,
    .why,
    .usecases__panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .mock {
        max-width: 640px;
    }

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

@media (max-width: 760px) {
    .nav__links,
    .nav__actions {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav.is-open .nav__inner {
        flex-wrap: wrap;
        height: auto;
        padding-block: 14px;
    }

    .nav.is-open .nav__links,
    .nav.is-open .nav__actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }

    .nav.is-open .nav__actions {
        margin-left: 0;
        padding-bottom: 8px;
    }

    .hero {
        padding: 40px 0 64px;
    }

    .mock__window {
        transform: none;
    }

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

    .mock__sidebar,
    .mock__float--card,
    .mock__row > span:nth-child(3) {
        display: none;
    }

    .mock__row {
        grid-template-columns: 1.3fr 1.1fr 1fr;
    }

    .mock__float--flow {
        left: 12px;
        right: 12px;
    }

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

    .section {
        padding: 72px 0;
    }

    .features,
    .plans,
    .steps,
    .why__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .usecases__panel {
        padding: 24px;
    }

    .legal {
        padding: 96px 0 56px;
    }

    .legal__body h1 {
        font-size: 32px;
    }
}

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

    .mock__float {
        animation: none;
    }
}
