@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Sora";
    font-style: normal;
    font-weight: 500 600;
    font-display: swap;
    src: url("fonts/sora-latin.woff2") format("woff2");
}

:root {
    --bg: #05070d;
    --text: #f4f7fb;
    --muted: rgba(244, 247, 251, 0.58);
    --faint: rgba(244, 247, 251, 0.52);
    --cyan: #5ce6ff;
    --blue: #2f7bff;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100%;
    color: var(--text);
    background: var(--bg);
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

button,
a {
    font: inherit;
    color: inherit;
}

[hidden] {
    display: none !important;
}

.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;
}

.glow {
    position: fixed;
    left: 50%;
    top: 42%;
    width: min(52vw, 560px);
    height: min(52vw, 560px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(70, 210, 255, 0.22), transparent 62%),
        radial-gradient(circle at 60% 40%, rgba(47, 123, 255, 0.16), transparent 55%);
    filter: blur(8px);
    pointer-events: none;
    animation: drift 16s var(--ease) infinite;
}

.grain {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.14;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.frame {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.7rem, 1.7vh, 1.15rem);
    padding:
        calc(3.4rem + env(safe-area-inset-top))
        calc(1.25rem + env(safe-area-inset-right))
        calc(1.25rem + env(safe-area-inset-bottom))
        calc(1.25rem + env(safe-area-inset-left));
    text-align: center;
}

header {
    display: flex;
    justify-content: center;
}

.logo {
    position: relative;
    width: min(210px, 30vh);
    height: auto;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: transparent;
    animation: pulse 5.6s ease-in-out infinite;
}

.book-call {
    position: fixed;
    top: calc(0.85rem + env(safe-area-inset-top));
    right: calc(1rem + env(safe-area-inset-right));
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(92, 230, 255, 0.4);
    border-radius: 999px;
    background: rgba(8, 12, 18, 0.55);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.book-call:hover,
.book-call:focus-visible {
    border-color: var(--cyan);
    box-shadow: 0 0 24px rgba(70, 210, 255, 0.28);
}

.sweep {
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
}

.sweep::after {
    content: "";
    position: absolute;
    top: -30%;
    bottom: -30%;
    width: 38%;
    left: -60%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: sweep 5.6s ease-in-out infinite;
}

.copy {
    width: min(640px, 100%);
    min-height: clamp(11rem, 30vh, 15rem);
    display: grid;
}

.home,
.prices {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

h1 {
    margin: 0;
    max-width: 14ch;
    font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: clamp(1.7rem, 4.4vw, 3.15rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.sentence {
    margin: 0;
    max-width: 34rem;
    min-height: 2.7em;
    color: var(--muted);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.45;
    text-wrap: balance;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.sentence.is-out {
    opacity: 0;
    transform: translateY(6px);
}

.words {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 0.85rem;
}

.words button,
.book,
.close,
.price-line,
.back {
    border: 0;
    background: none;
    cursor: pointer;
}

.words button {
    position: relative;
    min-height: 44px;
    padding: 0.55rem 0.2rem;
    color: var(--faint);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 200ms var(--ease);
}

.words button:hover,
.words button:focus-visible,
.words button.is-hot,
.words button[aria-pressed="true"] {
    color: var(--cyan);
}

.words button[aria-pressed="true"] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.35rem;
}

.proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin: 0;
    color: var(--faint);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.proof strong {
    color: var(--text);
    font-weight: 600;
}

.dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--faint);
}

.prices {
    gap: 0.2rem;
}

.prices p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.35;
}

.prices span {
    color: var(--faint);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.68rem;
    margin-right: 0.45rem;
}

.prices strong {
    color: var(--text);
    font-weight: 600;
}

.prices .detail {
    margin-bottom: 0.55rem;
    color: var(--faint);
    font-size: 0.8rem;
}

.prices .about {
    margin-top: 0.35rem;
    color: var(--faint);
    font-size: 0.82rem;
}

.price-line {
    max-width: 36rem;
    margin: 0;
    min-height: 44px;
    padding: 0.4rem 0.5rem;
    color: var(--muted);
    font-size: 0.84rem;
}

.price-line:hover,
.price-line:focus-visible,
.back:hover,
.back:focus-visible {
    color: var(--cyan);
}

.back {
    margin-top: 0.35rem;
    min-height: 44px;
    padding: 0.4rem 0.7rem;
    color: var(--faint);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.book {
    display: inline-block;
    padding: 0.85rem 1.45rem;
    border-radius: 999px;
    background: linear-gradient(105deg, #f5fbff 0%, #8aefff 42%, #3d86ff 100%);
    color: #061018;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 40px rgba(47, 150, 255, 0.28);
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.book:hover,
.book:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 16px 48px rgba(47, 180, 255, 0.4);
}

.quiet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 1.1rem;
    margin: 0;
}

.quiet a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.15rem;
    color: var(--faint);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 200ms var(--ease);
}

.quiet a:hover,
.quiet a:focus-visible {
    color: var(--text);
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 5;
    overflow: auto;
    background: var(--bg);
    opacity: 0;
    transition: opacity 280ms var(--ease);
}

.overlay.is-open {
    opacity: 1;
}

.close {
    position: fixed;
    top: calc(0.65rem + env(safe-area-inset-top));
    right: calc(0.85rem + env(safe-area-inset-right));
    z-index: 6;
    min-width: 44px;
    min-height: 44px;
    padding: 0.6rem 0.4rem;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.close:hover,
.close:focus-visible {
    color: var(--text);
}

.calendly {
    width: 100%;
    min-width: 0;
    min-height: 100dvh;
}

.calendly iframe {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    border: 0;
}

.calendly-fallback {
    max-width: 28rem;
    margin: 0 auto;
    padding: 28vh 1.5rem 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
}

.calendly-fallback a {
    color: var(--cyan);
}

.sheet {
    position: relative;
    z-index: 1;
    width: min(40rem, 100%);
    margin: 0 auto;
    padding:
        calc(2.5rem + env(safe-area-inset-top))
        calc(1.25rem + env(safe-area-inset-right))
        calc(3rem + env(safe-area-inset-bottom))
        calc(1.25rem + env(safe-area-inset-left));
}

.sheet .logo {
    display: block;
    width: 88px;
    margin: 0 0 1.5rem;
}

.sheet h1 {
    max-width: none;
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.sheet p,
.sheet li {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.sheet p,
.sheet ul {
    text-align: left;
}

.sheet a {
    color: var(--cyan);
}

.sheet a.book {
    margin-top: 0.5rem;
    color: #061018;
}

.sheet ul {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
}

.sheet li + li {
    margin-top: 0.45rem;
}

.sheet.center {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sheet.center .logo {
    margin-inline: auto;
}

.sheet.center h1,
.sheet.center p {
    text-align: center;
}

:focus-visible {
    outline: 1px solid var(--cyan);
    outline-offset: 4px;
}

body.is-booking {
    overflow: hidden;
}

@keyframes drift {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-46%, -54%) scale(1.08); }
}

@keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 16px rgba(70, 210, 255, 0.28)); }
    50% { filter: drop-shadow(0 0 34px rgba(80, 220, 255, 0.62)); }
}

@keyframes sweep {
    0%, 58% { transform: translateX(0); opacity: 0; }
    68% { opacity: 1; }
    100% { transform: translateX(420%); opacity: 0; }
}

@media (max-height: 760px) {
    .logo {
        width: min(150px, 22vh);
    }

    .frame {
        gap: 0.5rem;
    }

    .copy {
        min-height: 10.5rem;
    }

    .home,
    .prices {
        gap: 0.5rem;
    }

    h1 {
        font-size: clamp(1.45rem, 4.2vw, 2.15rem);
    }
}

@media (max-height: 520px) {
    .frame {
        gap: 0.3rem;
        padding-top: calc(0.7rem + env(safe-area-inset-top));
        padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
    }

    .frame .logo {
        width: 72px;
    }

    .copy {
        min-height: 0;
    }

    .home,
    .prices {
        gap: 0.3rem;
    }

    .frame h1 {
        font-size: 1.35rem;
    }

    .sentence {
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .grain {
        display: none;
    }
}

@media (max-width: 520px) {
    .words {
        gap: 0.1rem 0.55rem;
    }

    .prices p {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .grain {
        display: none;
    }

    .sentence.is-out {
        opacity: 1;
        transform: none;
    }
}
