* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #f8efe7;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 94, 31, 0.24), transparent 32rem),
        radial-gradient(circle at 82% 42%, rgba(31, 141, 132, 0.16), transparent 28rem),
        linear-gradient(135deg, #120b09, #25110b 52%, #070504);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: rgba(7, 5, 4, 0.12);
}

a {
    color: inherit;
}

.site-header,
main {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    backdrop-filter: blur(12px);
}

.brand {
    flex: 0 0 auto;
    color: #fff8ef;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
}

nav a,
.card-links a {
    color: rgba(248, 239, 231, 0.78);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

nav a {
    padding: 0.55rem 0.7rem;
    border-radius: 6px;
}

nav a:hover,
.card-links a:hover {
    color: #fff8ef;
}

.hero {
    min-height: calc(100vh - 4.5rem);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.hero-copy {
    display: grid;
    justify-items: start;
    gap: 1.1rem;
}

.eyebrow {
    margin: 0;
    color: #ffb15c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p,
label,
input,
textarea,
button {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    color: #fff8ef;
}

h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 6vw, 5.75rem);
    line-height: 1.03;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

h3 {
    font-size: 1.15rem;
    line-height: 1.25;
}

.intro,
.section-heading > p:last-child,
.app-card p,
.policy p,
.policy li {
    color: rgba(248, 239, 231, 0.76);
    line-height: 1.65;
}

.intro {
    margin: 0;
    max-width: 620px;
    font-size: 1.12rem;
}

.hero-actions,
.card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    color: #1a0d08;
    background: #ff8a2a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0.85rem 1.05rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.button.secondary {
    color: #f8efe7;
    background: rgba(255, 255, 255, 0.08);
}

.showcase {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.phone-frame {
    width: min(100%, 340px);
    aspect-ratio: 0.58;
    padding: 0.8rem;
    border: 1px solid rgba(255, 177, 92, 0.34);
    border-radius: 2.1rem;
    background: linear-gradient(145deg, rgba(255, 138, 42, 0.22), rgba(255, 255, 255, 0.08) 38%, rgba(7, 5, 4, 0.8));
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.42);
}

.phone-top {
    width: 5.2rem;
    height: 0.45rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: rgba(248, 239, 231, 0.3);
}

.app-preview {
    min-height: calc(100% - 1.45rem);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 1.55rem;
    background:
        radial-gradient(circle at 48% 18%, rgba(255, 138, 42, 0.35), transparent 9rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: calc(100% - 1.45rem);
    display: block;
    object-fit: cover;
}

.preview-icon,
.app-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 1rem;
    color: #1a0d08;
    font-weight: 900;
}

.preview-icon {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 2rem;
    background: linear-gradient(135deg, #ffb15c, #ff6f3c);
}

.app-preview p,
.app-card p,
.policy p,
.policy ul {
    margin: 0;
}

.preview-bars {
    width: 100%;
    display: grid;
    gap: 0.55rem;
    margin-top: 0.25rem;
}

.preview-bars span {
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(248, 239, 231, 0.18);
}

.preview-bars span:nth-child(2) {
    width: 78%;
    justify-self: center;
}

.preview-bars span:nth-child(3) {
    width: 52%;
    justify-self: center;
}

.section,
.contact-section {
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-heading {
    display: grid;
    gap: 0.7rem;
    max-width: 720px;
    margin-bottom: 1.5rem;
}

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

.app-card,
.policy,
.request-panel,
.contact-section {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.22);
}

.app-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
    padding: 1.1rem;
}

.app-card > div:last-child,
.policy {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

.app-icon {
    position: relative;
    width: 3rem;
    height: 3rem;
    overflow: hidden;
}

.image-icon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-icon img:not([hidden]) + span {
    opacity: 0;
}

.app-icon.teal {
    background: linear-gradient(135deg, #72d5c8, #1f8d84);
}

.app-icon.coral {
    background: linear-gradient(135deg, #ffb15c, #ff6f3c);
}

.app-icon.amber {
    background: linear-gradient(135deg, #ffd36d, #ff8a2a);
}

.request-panel {
    display: grid;
    gap: 1.1rem;
    margin-top: 1rem;
    padding: 1.25rem;
}

.section-heading.compact {
    margin-bottom: 0;
}

.request-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.request-form label {
    display: grid;
    gap: 0.45rem;
    color: rgba(248, 239, 231, 0.82);
    font-size: 0.95rem;
    font-weight: 800;
}

.request-form input,
.request-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    padding: 0.85rem;
    color: #fff8ef;
    background: rgba(7, 5, 4, 0.36);
    font: inherit;
}

.request-form textarea {
    resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus {
    outline: 2px solid rgba(255, 177, 92, 0.72);
    outline-offset: 2px;
}

.request-form .full-width,
.request-form .form-message {
    grid-column: 1 / -1;
}

.request-form .button {
    justify-self: start;
    cursor: pointer;
}

.form-message {
    min-height: 1.5rem;
    margin: 0;
    color: #ffb15c;
    font-weight: 800;
}

.policy-list {
    display: grid;
    gap: 1rem;
}

.policy {
    padding: 1.25rem;
}

.policy ul {
    padding-left: 1.2rem;
}

.policy a,
.card-links a {
    color: #ffb15c;
}

.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: clamp(2rem, 5vw, 4rem) 0;
    padding: 1.4rem;
}

.contact-section > div {
    display: grid;
    gap: 0.45rem;
}

.legal-page main {
    max-width: 860px;
}

.legal-document {
    display: grid;
    gap: 1.2rem;
    padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.legal-document header,
.legal-content {
    display: grid;
    gap: 1rem;
}

.legal-content {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.22);
    padding: clamp(1.1rem, 3vw, 1.6rem);
}

.legal-content h2 {
    font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
    margin: 0;
    color: rgba(248, 239, 231, 0.76);
    line-height: 1.65;
}

.legal-content ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-left: 1.2rem;
}

.legal-content a {
    color: #ffb15c;
}

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

    nav {
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy {
        justify-items: center;
    }

    .app-grid,
    .request-form {
        grid-template-columns: 1fr;
    }

    .contact-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .site-header,
    main {
        width: min(100% - 1rem, 1120px);
    }

    nav a {
        padding: 0.5rem 0.45rem;
        font-size: 0.86rem;
    }

    h1 {
        font-size: clamp(2.2rem, 13vw, 3.5rem);
        line-height: 1.08;
    }

    .hero-actions,
    .hero-actions .button,
    .request-form .button,
    .contact-section .button {
        width: 100%;
    }

    .phone-frame {
        max-width: 280px;
    }

    .app-card {
        flex-direction: column;
    }
}
