/* =========================================================================
   Gecco — landing page
   Design tokens first, then layout primitives, then sections.
   Light and dark are both first-class: every color goes through a token.
   ========================================================================= */

:root {
    --brand: #fed402;
    --brand-ink: #1a1400;
    --brand-soft: rgba(254, 212, 2, 0.16);

    --bg: #ffffff;
    --bg-alt: #f6f6f7;
    --bg-inset: #fbfbfc;
    --surface: #ffffff;
    --surface-2: #f4f4f5;

    --text: #0c0c0d;
    --text-muted: #5c5c66;
    --text-faint: #8a8a95;

    --line: rgba(9, 9, 11, 0.10);
    --line-strong: rgba(9, 9, 11, 0.16);

    --ink: #0c0c0d;
    --on-ink: #f7f7f8;
    --on-ink-muted: rgba(247, 247, 248, 0.66);
    --on-ink-line: rgba(255, 255, 255, 0.12);

    --ok: #16a34a;
    --info: #2563eb;
    --warn: #d97706;
    --danger: #dc2626;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 2px rgba(9, 9, 11, 0.05);
    --shadow: 0 12px 32px -12px rgba(9, 9, 11, 0.18);
    --shadow-lg: 0 40px 80px -32px rgba(9, 9, 11, 0.32);

    --nav-h: 68px;
    --container: 1160px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
    --bg: #0a0a0b;
    --bg-alt: #101012;
    --bg-inset: #0e0e10;
    --surface: #141416;
    --surface-2: #1c1c20;

    --text: #f4f4f5;
    --text-muted: #a1a1ab;
    --text-faint: #71717a;

    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);

    --ink: #141416;
    --on-ink: #f4f4f5;
    --on-ink-muted: rgba(244, 244, 245, 0.64);
    --on-ink-line: rgba(255, 255, 255, 0.10);

    --ok: #4ade80;
    --info: #60a5fa;
    --warn: #fbbf24;
    --danger: #f87171;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, 0.8);
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* display:flex on .btn / .terms-accept would otherwise win over [hidden] */
[hidden] {
    display: none !important;
}

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

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

::selection {
    background: var(--brand);
    color: var(--brand-ink);
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------------------------------------------------------------- layout */

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

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

section {
    position: relative;
}

.section {
    padding: 112px 0;
}

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

.section-alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--line);
}

.section-ink {
    background: var(--ink);
    color: var(--on-ink);
}

html[data-theme="dark"] .section-ink {
    border-block: 1px solid var(--line);
}

/* ------------------------------------------------------------ typography */

h1,
h2,
h3,
h4 {
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 700;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.6rem, 6.4vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.lead {
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    color: var(--text-muted);
    line-height: 1.65;
    text-wrap: pretty;
}

.section-ink .lead {
    color: var(--on-ink-muted);
}

.text-brand {
    color: var(--text);
    /* marker underline instead of a full highlight: survives line wrapping */
    background-image: linear-gradient(var(--brand), var(--brand));
    background-size: 100% 0.13em;
    background-position: 0 100%;
    padding-bottom: 0.14em;
    background-repeat: no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.sec-head {
    max-width: 720px;
    margin-bottom: 56px;
}

.sec-head-center {
    margin-inline: auto;
    text-align: center;
}

.sec-head h2 {
    margin: 18px 0 16px;
}

/* ---------------------------------------------------------------- eyebrow */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px 6px 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.eyebrow svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.section-ink .eyebrow {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--on-ink-line);
    color: var(--on-ink-muted);
    box-shadow: none;
}

/* --------------------------------------------------------------- buttons */

.btn {
    --btn-bg: var(--brand);
    --btn-fg: var(--brand-ink);
    --btn-line: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid var(--btn-line);
    border-radius: 12px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), opacity 0.18s;
}

.btn svg {
    width: 17px;
    height: 17px;
    flex: none;
    stroke-width: 2.2;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px rgba(9, 9, 11, 0.35);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    --btn-bg: var(--brand);
    --btn-fg: var(--brand-ink);
}

.btn-primary:hover {
    --btn-bg: #ffdf3a;
}

.btn-dark {
    --btn-bg: var(--text);
    --btn-fg: var(--bg);
}

.btn-ghost {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-line: var(--line-strong);
}

.btn-ghost:hover {
    --btn-bg: var(--surface-2);
}

.section-ink .btn-ghost {
    --btn-fg: var(--on-ink);
    --btn-line: var(--on-ink-line);
}

.section-ink .btn-ghost:hover {
    --btn-bg: rgba(255, 255, 255, 0.08);
}

.btn-sm {
    padding: 9px 16px;
    font-size: 0.88rem;
    border-radius: 10px;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1rem;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
}

.btn.disabled,
.btn[disabled] {
    opacity: 0.45;
    pointer-events: none;
}

/* ------------------------------------------------------------ navigation */

.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, background 0.25s;
}

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

.nav .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.06rem;
    letter-spacing: -0.03em;
    margin-right: auto;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: var(--ink);
    border-radius: 10px;
    flex: none;
}

html[data-theme="dark"] .brand-mark {
    background: var(--surface-2);
}

.brand-mark img {
    width: 17px;
    height: 17px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--surface-2);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.icon-btn:hover {
    color: var(--text);
    border-color: var(--line-strong);
}

.icon-btn svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
}

.theme-toggle .icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
}

.nav-toggle {
    display: none;
}

.mobile-menu {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    z-index: 55;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px;
    display: none;
    flex-direction: column;
    gap: 2px;
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu a {
    padding: 13px 4px;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid var(--line);
}

.mobile-menu .btn {
    margin-top: 16px;
}

/* ------------------------------------------------------------------ hero */

.hero {
    position: relative;
    padding: clamp(52px, 6vw, 84px) 0 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -320px;
    left: 50%;
    width: 1100px;
    height: 700px;
    transform: translateX(-50%);
    background: radial-gradient(45% 50% at 50% 50%, var(--brand-soft), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* A gecko walked across the hero. The prints fade out towards the bottom
   left, as if the older ones were already drying up. */
.hero-tracks {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    /* Both the toe pads (fill) and the toe stems (stroke) follow this. */
    color: var(--text);
    fill: currentColor;
    /* Per-print opacity is the trail's fade; this keeps the whole thing a
       background texture rather than a graphic that competes with the copy. */
    opacity: 0.32;
    -webkit-mask-image: linear-gradient(115deg, transparent 8%, #000 45%, #000 70%, transparent 96%);
    mask-image: linear-gradient(115deg, transparent 8%, #000 45%, #000 70%, transparent 96%);
}

.hero-tracks use {
    opacity: var(--o, 0.3);
}

html[data-theme="dark"] .hero-tracks {
    color: var(--brand);
    opacity: 0.5;
}

/* The trail draws itself once, one print at a time. */
@media (prefers-reduced-motion: no-preference) {
    .hero-tracks use {
        animation: step-in 0.5s var(--ease) both;
        animation-delay: var(--d, 0s);
    }
}

@keyframes step-in {
    from {
        opacity: 0;
    }

    to {
        opacity: var(--o, 0.3);
    }
}

/* Asymmetric split: the copy on the left, the things the app produces on the
   right. Deliberately not a centred hero with a screenshot under it. */
.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    padding-bottom: clamp(56px, 8vw, 96px);
}

.hero-copy {
    max-width: 620px;
}

.hero-copy h1 {
    margin: 24px 0 22px;
}

.hero-copy .lead {
    font-size: clamp(1.02rem, 1.5vw, 1.14rem);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 18px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 0.86rem;
    color: var(--text-faint);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-meta svg {
    width: 15px;
    height: 15px;
    stroke: var(--ok);
    stroke-width: 2.4;
}

/* ------------------------------------------------------- hero artefacts */

/* Everything inside the stack is sized in em, so the whole arrangement
   scales with this one font-size instead of needing per-card breakpoints. */
.hero-stack {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    aspect-ratio: 1 / 0.96;
    font-size: clamp(8.6px, 0.92vw, 12.4px);
}

.art {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.2em;
    box-shadow: var(--shadow-lg);
    padding: 1.2em;
    transform: rotate(var(--rot, 0deg));
    transition: box-shadow 0.3s var(--ease);
}

.art-head {
    display: flex;
    align-items: center;
    gap: 0.6em;
    font-size: 0.95em;
    font-weight: 600;
    color: var(--text-faint);
    padding-bottom: 0.9em;
    margin-bottom: 0.9em;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.art-head svg {
    width: 1.3em;
    height: 1.3em;
    color: var(--brand);
    flex: none;
}

/* 1 - the folder tree the app writes to disk */
.art-tree {
    --rot: -3.5deg;
    top: 1%;
    left: 0;
    width: 53%;
    z-index: 2;
}

.art-tree-list {
    list-style: none;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    gap: 0.15em;
}

.art-tree-list li {
    position: relative;
    padding: 0.42em 0.6em;
    border-radius: 0.5em;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.art-tree-list li::before {
    content: "";
    display: inline-block;
    width: 0.9em;
    height: 0.75em;
    margin-right: 0.55em;
    vertical-align: -0.05em;
    border-radius: 0.15em 0.2em 0.2em 0.2em;
    background: currentColor;
    opacity: 0.28;
}

.art-tree-list .lvl-0 {
    color: var(--text);
    font-weight: 600;
}

.art-tree-list .lvl-1 {
    padding-left: 1.6em;
}

.art-tree-list .lvl-2 {
    padding-left: 2.8em;
}

.art-tree-list .lvl-3 {
    padding-left: 4em;
}

.art-tree-list .is-new {
    background: var(--brand-soft);
    color: var(--text);
    font-weight: 600;
}

.art-tree-list .is-new::before {
    opacity: 1;
    color: var(--brand);
}

.art-foot {
    margin-top: 0.9em;
    padding-top: 0.8em;
    border-top: 1px solid var(--line);
    font-size: 0.85em;
    line-height: 1.4;
    color: var(--text-faint);
}

/* 2 - the board you actually work on */
.art-board {
    --rot: 2.6deg;
    top: 0;
    right: 0;
    width: 53%;
    z-index: 3;
}

.art-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7em;
}

.art-col {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.art-col-title {
    display: flex;
    align-items: center;
    gap: 0.45em;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.art-col-title i {
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    flex: none;
}

.dot-blue {
    background: var(--info);
}

.dot-green {
    background: var(--ok);
}

.art-task {
    background: var(--bg-inset);
    border: 1px solid var(--line);
    border-radius: 0.7em;
    padding: 0.7em;
    font-size: 0.95em;
    line-height: 1.35;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 0.55em;
}

.art-task.is-muted {
    color: var(--text-faint);
}

.art-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.88em;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--ok);
}

.art-timer i {
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: var(--ok);
    animation: pulse 1.8s infinite;
}

/* 3 - the PDF that leaves the building */
.art-doc {
    --rot: -1.4deg;
    left: 4%;
    bottom: 0;
    width: 74%;
    z-index: 4;
}

.art-doc-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1em;
    padding-bottom: 0.8em;
    border-bottom: 0.22em solid var(--brand);
}

.art-doc-title {
    font-size: 1.3em;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.art-doc-num {
    font-size: 0.9em;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}

.art-doc-lines {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55em 1em;
    padding: 0.9em 0;
    font-size: 0.95em;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.art-doc-lines span:nth-child(even) {
    text-align: right;
}

/* The net line closes the item list, so it gets the rule above it. */
.art-doc-lines .is-sum {
    padding-top: 0.55em;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-weight: 600;
}

.art-doc-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    background: var(--brand);
    color: var(--brand-ink);
    border-radius: 0.6em;
    padding: 0.7em 0.9em;
    font-size: 1em;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* A slow drift keeps the arrangement from looking like a flat collage. */
@media (prefers-reduced-motion: no-preference) {
    .art {
        animation: drift 11s ease-in-out infinite;
    }

    .art-board {
        animation-delay: -3.6s;
    }

    .art-doc {
        animation-delay: -7.2s;
    }
}

@keyframes drift {

    0%,
    100% {
        transform: rotate(var(--rot, 0deg)) translateY(0);
    }

    50% {
        transform: rotate(var(--rot, 0deg)) translateY(-0.9em);
    }
}

/* --------------------------------------------------- full app screenshot */

.app-shot .mock {
    max-width: 1000px;
    margin: 0 auto;
}

.app-shot-caption {
    margin-top: 18px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-faint);
}

/* ------------------------------------------------------- app UI mockups */

.mock {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mock-hero {
    max-width: 1000px;
    margin: 0 auto;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.mock-dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--line-strong);
}

.mock-hero .mock-dots i:nth-child(1) {
    background: #ff5f57;
}

.mock-hero .mock-dots i:nth-child(2) {
    background: #febc2e;
}

.mock-hero .mock-dots i:nth-child(3) {
    background: #28c840;
}

.mock-title {
    margin-inline: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-faint);
}

.mock-body {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 380px;
}

.mock-side {
    border-right: 1px solid var(--line);
    padding: 16px 12px;
    background: var(--bg-inset);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mock-side-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 6px 10px 8px;
}

.mock-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--text-muted);
}

.mock-nav svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
    flex: none;
}

.mock-nav.active {
    background: var(--brand-soft);
    color: var(--text);
    font-weight: 600;
}

.mock-main {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

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

.mock-h {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mock-chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-muted);
    border: 1px solid var(--line);
}

.mock-chip-brand {
    background: var(--brand);
    color: var(--brand-ink);
    border-color: transparent;
}

.kanban {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.kan-col {
    background: var(--bg-inset);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.kan-col-head {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.kan-col-head i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-faint);
}

.kan-col:nth-child(1) .kan-col-head i {
    background: #94a3b8;
}

.kan-col:nth-child(2) .kan-col-head i {
    background: var(--info);
}

.kan-col:nth-child(3) .kan-col-head i {
    background: var(--warn);
}

.kan-col:nth-child(4) .kan-col-head i {
    background: var(--ok);
}

.kan-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.78rem;
    line-height: 1.4;
}

.kan-card.is-lifted {
    transform: rotate(-1.4deg) translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--brand);
}

.kan-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-faint);
}

.kan-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.kan-meta svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
}

.kan-timer {
    color: var(--ok);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.kan-timer i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ok);
    display: inline-block;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.6rem;
    font-weight: 700;
    background: var(--surface-2);
    color: var(--text-muted);
    border: 1px solid var(--line);
}

/* file tree mockup */
.tree {
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-variant-numeric: tabular-nums;
}

.tree-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 7px;
    color: var(--text-muted);
}

.tree-row svg {
    width: 15px;
    height: 15px;
    flex: none;
    stroke-width: 1.9;
    color: var(--text-faint);
}

.tree-row.root {
    color: var(--text);
    font-weight: 600;
}

.tree-row.root svg {
    color: var(--brand);
    fill: var(--brand-soft);
}

.tree-row.new {
    background: var(--brand-soft);
    color: var(--text);
}

.tree-row .tag {
    margin-left: auto;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-faint);
    text-transform: uppercase;
}

.indent-1 {
    padding-left: 26px;
}

.indent-2 {
    padding-left: 46px;
}

/* invoice / offer mockup */
.doc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.8rem;
}

.doc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand);
}

.doc-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--ink);
    display: grid;
    place-items: center;
}

.doc-logo img {
    width: 16px;
}

.doc-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 0.95rem;
}

.doc-sub {
    color: var(--text-faint);
    font-size: 0.72rem;
}

.doc-lines {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.doc-line {
    display: grid;
    grid-template-columns: 1fr 46px 96px;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--line);
    color: var(--text-muted);
}

.doc-line span:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.doc-line.head {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    border-bottom-style: solid;
}

.doc-total {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    font-variant-numeric: tabular-nums;
}

.doc-total div {
    display: flex;
    gap: 18px;
    color: var(--text-muted);
}

.doc-total .grand {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    padding-top: 6px;
    border-top: 1px solid var(--line);
    width: 100%;
    justify-content: flex-end;
}

/* ------------------------------------------------------------- stat band */

.statband {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat {
    background: var(--bg);
    padding: 26px 22px;
    text-align: center;
}

.stat .n {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.stat .l {
    margin-top: 6px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* ------------------------------------------------------------ bento grid */

.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

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

.card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    text-wrap: pretty;
}

.card-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--text);
    margin-bottom: 4px;
}

.card-icon svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.9;
}

.card-icon.brand {
    background: var(--brand);
    border-color: transparent;
    color: var(--brand-ink);
}

.span-3 {
    grid-column: span 3;
}

.span-2 {
    grid-column: span 2;
}

.card-wide {
    flex-direction: row;
    align-items: center;
    gap: 26px;
}

.card-wide .card-icon {
    margin: 0;
    flex: none;
}

.card-wide div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* -------------------------------------------------------- feature rows */

.frow {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
    padding: clamp(48px, 6vw, 72px) 0;
    border-top: 1px solid var(--line);
}

.frow:first-of-type {
    border-top: 0;
}

.frow.reverse .frow-visual {
    order: -1;
}

.frow-copy h3 {
    font-size: clamp(1.5rem, 2.6vw, 1.95rem);
    margin: 16px 0 14px;
}

.frow-copy p {
    color: var(--text-muted);
    text-wrap: pretty;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
    color: var(--text-muted);
}

.checklist svg {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 3px;
    stroke: var(--brand-ink);
    background: var(--brand);
    border-radius: 50%;
    padding: 3px;
    stroke-width: 3.2;
}

.section-ink .checklist li {
    color: var(--on-ink-muted);
}

.frow-visual .mock {
    box-shadow: var(--shadow);
}

/* ------------------------------------------------------------- workflow */

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

.step {
    position: relative;
    padding: 26px 22px;
    border: 1px solid var(--on-ink-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
}

.step-n {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--brand);
    color: var(--brand-ink);
    font-weight: 800;
    font-size: 0.86rem;
    margin-bottom: 16px;
}

.step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9rem;
    color: var(--on-ink-muted);
    text-wrap: pretty;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 41px;
    right: -13px;
    width: 10px;
    height: 1px;
    background: var(--on-ink-line);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 56px;
}

.pillar-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--on-ink-line);
    margin-bottom: 16px;
}

.pillar-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.9;
    color: var(--brand);
}

.pillar h3 {
    margin-bottom: 8px;
}

.pillar p {
    color: var(--on-ink-muted);
    font-size: 0.93rem;
    text-wrap: pretty;
}

/* ------------------------------------------------------------ comparison */

.compare {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.94rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare th,
.compare td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.compare thead th {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-faint);
    font-weight: 700;
    background: var(--bg-inset);
    white-space: nowrap;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: 0;
}

.compare tbody th {
    font-weight: 600;
    color: var(--text);
    min-width: 190px;
}

.compare .col-gecco {
    background: var(--brand-soft);
    font-weight: 600;
    min-width: 220px;
}

.compare td {
    color: var(--text-muted);
    min-width: 200px;
}

.compare .col-gecco {
    color: var(--text);
}

/* ---------------------------------------------------------------- pricing */

.pricebox {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    box-shadow: var(--shadow);
}

.price {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 18px 0 6px;
}

.price small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-faint);
    letter-spacing: 0;
}

.pricebox .checklist {
    text-align: left;
    max-width: 340px;
    margin: 26px auto 30px;
}

/* --------------------------------------------------------------- download */

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

.dl-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

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

.dl-card.is-yours {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.dl-os {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    color: var(--text);
}

.dl-os svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.dl-card p {
    font-size: 0.85rem;
    color: var(--text-faint);
}

.dl-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.dl-note {
    margin-top: 28px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-faint);
}

.dl-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--brand);
    color: var(--brand-ink);
    padding: 3px 8px;
    border-radius: 999px;
}

.dl-card {
    position: relative;
}

/* -------------------------------------------------------------------- faq */

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

.faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq details[open] {
    border-color: var(--line-strong);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}

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

.faq summary::after {
    content: "";
    width: 10px;
    height: 10px;
    flex: none;
    border-right: 2px solid var(--text-faint);
    border-bottom: 2px solid var(--text-faint);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.faq .faq-body {
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: 0.94rem;
    text-wrap: pretty;
}

/* ---------------------------------------------------------------- support */

.support-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 56px);
    text-align: center;
    box-shadow: var(--shadow);
}

.support-card h2 {
    margin-bottom: 14px;
}

.support-card .lead {
    max-width: 520px;
    margin: 0 auto 28px;
}

.bmc {
    display: flex;
    justify-content: center;
    min-height: 52px;
}

/* ------------------------------------------------------------------- form */

.form {
    display: grid;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 38px);
}

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

.field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-inset);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.15s, background 0.15s;
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a95' stroke-width='2.4' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-faint);
}

.form-status {
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 1.2em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* ----------------------------------------------------------------- final */

.cta-final {
    text-align: center;
    padding: clamp(64px, 9vw, 104px) 0;
}

.cta-final h2 {
    margin-bottom: 18px;
}

.cta-final .lead {
    max-width: 520px;
    margin: 0 auto 32px;
}

/* ---------------------------------------------------------------- footer */

.footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 40px;
    background: var(--bg-alt);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line);
}

.footer-about p {
    margin-top: 14px;
    max-width: 320px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-col h4 {
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    transition: color 0.15s;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-faint);
}

.footer-bottom button {
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ----------------------------------------------------------------- modal */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    padding: 24px;
    background: rgba(9, 9, 11, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal.is-open {
    display: grid;
    place-items: center;
    animation: fade 0.2s ease;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    width: min(620px, 100%);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.modal-content h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.modal-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.close-button:hover {
    color: var(--text);
}

.terms-text {
    max-height: 40vh;
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-inset);
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.terms-text p {
    margin-bottom: 12px;
}

.terms-text strong {
    color: var(--text);
}

.terms-accept {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.terms-accept input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--brand);
    flex: none;
    cursor: pointer;
}

.terms-accept label {
    cursor: pointer;
}

/* -------------------------------------------------------------- reveal fx */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ------------------------------------------------------------ responsive */

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

    .span-3,
    .span-2 {
        grid-column: span 2;
    }

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

    .step:not(:last-child)::after {
        display: none;
    }

    .pillars {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-toggle {
        display: grid;
    }

    .section {
        padding: 80px 0;
    }

    .frow {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .frow.reverse .frow-visual {
        order: 0;
    }

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

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

    .mock-body {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mock-side {
        display: none;
    }

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

@media (max-width: 980px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-copy {
        max-width: 640px;
    }

    .hero-stack {
        margin: 0 auto;
        font-size: clamp(9.5px, 2vw, 12.4px);
    }
}

@media (max-width: 620px) {
    .container {
        padding: 0 18px;
    }

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

    .span-3,
    .span-2 {
        grid-column: span 1;
    }

    .card-wide {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

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

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

    .kan-col:nth-child(n + 3) {
        display: none;
    }

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

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

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

    .modal-content {
        padding: 24px 20px;
    }
}
