:root {
    --primary-blue: #2887a1;
    --secondary-red: #a16928;
    --tertiary-sand: #edeac2;

    --background-dark: #0e1113;
    --surface-dark: #14181b;
    --surface-dark-elevated: #1b2024;

    --text-primary: #e4e6e8;
    --text-secondary: #b0b4b8;
    --text-muted: #7f858a;

    --red-blue-red-3: #a16928;
    --red-blue-red-2: #bd925a;
    --red-blue-red-1: #d6bd8d;
    --red-blue-neutral: #edeac2;
    --red-blue-blue-1: #b5c8b8;
    --red-blue-blue-2: #79a7ac;
    --red-blue-blue-3: #2887a1;

    --border-subtle: rgba(40, 135, 161, 0.25);
    --border-strong: rgba(40, 135, 161, 0.55);
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.35);

    --radius-small: 14px;
    --radius-medium: 22px;
    --radius-large: 34px;

    --page-max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text-primary);
    background:
        radial-gradient(circle at top left, rgba(40, 135, 161, 0.18), transparent 32rem),
        radial-gradient(circle at top right, rgba(161, 105, 40, 0.18), transparent 28rem),
        var(--background-dark);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 4vw, 56px);
    background: rgba(14, 17, 19, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

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


.brand-name {
    color: var(--primary-blue);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 32px);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 650;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--text-primary);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: clamp(42px, 7vw, 90px);
    align-items: center;
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: clamp(56px, 9vw, 112px) clamp(20px, 4vw, 56px) clamp(42px, 7vw, 88px);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--red-blue-blue-2);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(52px, 8vw, 92px);
    line-height: 0.98;
    letter-spacing: -0.025em;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: -0.015em;
}

.hero-copy {
    max-width: 650px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: clamp(19px, 2vw, 23px);
}

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

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease;
}

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

.button-primary {
    color: #ffffff;
    background: var(--primary-blue);
    box-shadow: 0 12px 28px rgba(40, 135, 161, 0.28);
}

.button-primary:hover {
    background: #3298b5;
}

.button-secondary {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.16);
}

.button-secondary:hover {
    border-color: var(--border-strong);
}

.small-note {
    max-width: 590px;
    margin: 18px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-phone-stack {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone {
    width: min(320px, 70vw);
    border-radius: 34px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    background: var(--surface-dark);
}

.phone-front {
    position: static;
}


.section {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: clamp(54px, 8vw, 92px) clamp(20px, 4vw, 56px);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
    color: var(--text-secondary);
    font-size: 19px;
}

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

.card,
.beta-card,
.first-test-card,
.screenshot-card,
details {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        var(--surface-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-medium);
}

.card {
    min-height: 240px;
    padding: 24px;
}

.card p,
.beta-card p,
.screenshot-card p,
.first-test-card p,
details p {
    color: var(--text-secondary);
}

.screenshots-section {
    max-width: var(--page-max-width);
}

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

.screenshot-card {
    overflow: hidden;
}

.screenshot-card img {
    width: 100%;
    aspect-ratio: 9 / 18.5;
    object-fit: cover;
    object-position: top center;
    border-bottom: 1px solid var(--border-subtle);
    background: #050607;
}

.screenshot-card div {
    padding: 20px;
}

.screenshot-card h3 {
    font-size: 20px;
}

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

.beta-card {
    padding: clamp(24px, 4vw, 34px);
}

.beta-card ol {
    margin: 20px 0 26px;
    padding-left: 22px;
    color: var(--text-secondary);
}

.beta-card li+li {
    margin-top: 8px;
}

.first-test-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(26px, 5vw, 42px);
    background:
        radial-gradient(circle at top left, rgba(40, 135, 161, 0.22), transparent 26rem),
        var(--surface-dark-elevated);
}

.first-test-card div {
    max-width: 760px;
}

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

details {
    padding: 0;
    overflow: hidden;
}

summary {
    cursor: pointer;
    padding: 22px 24px;
    font-size: 19px;
    font-weight: 800;
    list-style: none;
}

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

summary::after {
    content: "+";
    float: right;
    color: var(--primary-blue);
    font-size: 24px;
    line-height: 1;
}

details[open] summary::after {
    content: "–";
}

details p {
    max-width: 820px;
    margin: 0;
    padding: 0 24px 24px;
}

details a {
    color: var(--red-blue-blue-2);
    font-weight: 750;
}

.site-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 26px;
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 36px clamp(20px, 4vw, 56px) 46px;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer strong {
    display: block;
    color: var(--text-primary);
    font-size: 22px;
    letter-spacing: -0.04em;
}

.site-footer p {
    margin: 4px 0 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

@media (max-width: 1050px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-phone-stack {
        max-width: 420px;
        margin: 0 auto;
    }

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

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

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 42px;
  }

  .feature-grid,
  .beta-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
    padding: 20px;
  }

  .card p {
    margin-bottom: 0;
  }

  .screenshot-card {
    display: block;
  }

  .screenshot-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: top center;
  }

  .screenshot-card div {
    padding: 20px;
  }

  .first-test-card,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(46px, 16vw, 68px);
    line-height: 1;
  }
}

@media (max-width: 460px) {
    .button {
        width: 100%;
    }
}