:root {
    color-scheme: light;
    --ink: #0f172a;
    --muted: #64748b;
    --soft: #f8fafc;
    --line: rgba(15, 23, 42, 0.1);
    --blue: #2563eb;
    --cyan: #0ea5e9;
    --teal: #14b8a6;
    --green: #22c55e;
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: #ffffff;
    color: var(--ink);
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

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

a:hover {
    color: var(--blue);
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 30;
    transform: translateY(-140%);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 12px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    min-height: 72px;
    padding: 16px clamp(20px, 5vw, 64px);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-name {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    overflow: hidden;
    padding: 112px clamp(20px, 6vw, 80px) 64px;
    isolation: isolate;
}

#tidal-canvas,
.tidal-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#tidal-canvas {
    z-index: -1;
    opacity: 0.92;
}

.tidal-fallback {
    z-index: -2;
    background:
        radial-gradient(circle at 74% 24%, rgba(14, 165, 233, 0.19), transparent 26%),
        radial-gradient(circle at 28% 72%, rgba(20, 184, 166, 0.18), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #eef9f8 100%);
}

.tidal-fallback::before,
.tidal-fallback::after {
    position: absolute;
    content: "";
    left: -12%;
    right: -12%;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 50%;
}

.tidal-fallback::before {
    bottom: 5%;
    height: 38%;
}

.tidal-fallback::after {
    bottom: -8%;
    height: 46%;
    border-color: rgba(20, 184, 166, 0.18);
}

.hero-copy {
    position: relative;
    align-self: center;
    width: min(var(--max), 100%);
    max-width: var(--max);
    padding-top: 4vh;
}

.eyebrow,
.section-kicker {
    margin: 0 0 18px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(58px, 12vw, 120px);
    line-height: 0.88;
    font-weight: 850;
    letter-spacing: 0;
}

.hero-company {
    margin: 28px 0 0;
    color: #1e293b;
    font-size: clamp(22px, 3.6vw, 42px);
    font-weight: 650;
}

.hero-slogan {
    max-width: 680px;
    margin: 18px 0 0;
    color: #334155;
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 560;
}

.slogan-trigger {
    position: relative;
    appearance: none;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 760;
    letter-spacing: 0;
    padding: 0 0.08em;
}

.slogan-trigger::after {
    position: absolute;
    left: 0.08em;
    right: 0.08em;
    bottom: 0.02em;
    height: 0.22em;
    content: "";
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.22), rgba(20, 184, 166, 0.2));
    border-radius: 999px;
    transform: scaleX(0.54);
    transform-origin: left center;
    transition: transform 260ms ease, opacity 260ms ease;
    opacity: 0.55;
    z-index: -1;
}

.slogan-trigger:hover,
.slogan-trigger:focus-visible,
.slogan-trigger.is-active {
    color: var(--blue);
    outline: 0;
}

.slogan-trigger:hover::after,
.slogan-trigger:focus-visible::after,
.slogan-trigger.is-active::after {
    transform: scaleX(1);
    opacity: 1;
}

.dimension-caption {
    max-width: 560px;
    min-height: 56px;
    margin: 18px 0 0;
    color: #475569;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.65;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 420ms ease, transform 420ms ease;
}

.dimension-caption.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-bottom {
    position: absolute;
    left: clamp(20px, 6vw, 80px);
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-bottom .line {
    display: block;
    width: 96px;
    height: 1px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.55), transparent);
}

.content-band {
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.intro-band {
    margin-top: -1px;
}

.section-inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(64px, 10vw, 110px) 0;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 7vw, 96px);
}

h2 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 760;
    letter-spacing: 0;
}

.section-copy {
    color: #334155;
    font-size: clamp(17px, 2vw, 21px);
}

.section-copy p {
    margin: 0;
}

.section-copy p+p {
    margin-top: 22px;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 28px;
}

.footer-actions a,
.copy-email {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    padding: 10px 16px;
    color: var(--blue);
    font-weight: 700;
  font: inherit;
}

.icon-button {
  width: 44px;
  padding: 0;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.copy-email {
  cursor: pointer;
}

.footer-actions a:hover,
.copy-email:hover {
    border-color: rgba(37, 99, 235, 0.36);
    background: #ffffff;
}

.copy-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--teal);
    font-size: 14px;
}

.site-footer {
    padding: clamp(56px, 8vw, 88px) 20px;
    border-top: 1px solid var(--line);
    background: #ffffff;
    color: #64748b;
    font-size: 15px;
}

.site-footer a {
    color: #475569;
}

.site-footer a:hover {
    color: var(--blue);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
    gap: clamp(36px, 8vw, 96px);
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.footer-brand {
    min-width: 0;
}

.footer-logo .brand-mark {
    font-size: 24px;
}

.footer-logo .brand-name {
    font-size: 16px;
}

.footer-legal {
    display: grid;
    align-content: end;
    justify-items: end;
    gap: 14px;
    text-align: right;
}

@media (max-width: 760px) {
    .site-header {
        min-height: 64px;
        padding: 14px 20px;
    }

    .brand-name {
        display: none;
    }

    .hero {
        min-height: 100svh;
        padding: 96px 20px 56px;
    }

    .hero-copy {
        align-self: center;
        padding-bottom: 2vh;
    }

    .eyebrow {
        max-width: 260px;
    }

    .hero-company {
        margin-top: 22px;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

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

    .footer-actions {
        margin-top: 22px;
    }

    .footer-legal {
        justify-items: start;
        text-align: left;
    }

    .dimension-caption {
        min-height: 78px;
    }
}

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

    #tidal-canvas {
        display: none;
    }

    .dimension-caption {
        opacity: 1;
        transform: none;
    }
}
