* {
    box-sizing: border-box;
}

:root {
    --primary: #5b21b6;
    --primary-soft: #6d28d9;
    --accent: #f97316;
    --bg-main: #f5f3ff;
    --bg-dark: #0b1020;
    --bg-card: #ffffff;
    --text-main: #111827;
    --text-soft: #4b5563;
    --border-soft: #e5e7eb;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.18);
}

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
}

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

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    opacity: 0.85;
}

.site-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top navigation */

.top-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(11, 16, 32, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem ;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 20%, var(--accent), var(--primary));
    color: #f9fafb;
    font-weight: 700;
    font-size: 0.98rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.brand-sub {
    font-size: 0.8rem;
    color: #9ca3af;
}

.nav-main {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.nav-link {
    color: #e5e7eb;
    padding: 0.4rem 0;
    position: relative;
}

.nav-link.is-active {
    color: var(--accent);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transition: width 0.2s ease-out;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero */

.hero {
    position: relative;
    padding: 4.8rem 0 3.6rem;
    color: #f9fafb;
    background-image:
            linear-gradient(135deg, rgba(17, 24, 39, 0.2), rgba(91, 33, 182, 0.8)),
            url("../imgbuild/imgtr1.webp");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0, rgba(249, 115, 22, 0.45), transparent 55%);
}

.decor-pill {
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: conic-gradient(from 160deg, rgba(249, 115, 22, 0.7), rgba(91, 33, 182, 0.9), rgba(56, 189, 248, 0.7));
    opacity: 0.18;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.8rem;
    align-items: flex-start;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
}

.hero-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #c7d2fe;
    margin: 0 0 0.8rem;
}

.hero-title {
    font-size: 2.4rem;
    line-height: 1.18;
    margin: 0 0 1.2rem;
}

.hero-text {
    margin: 0 0 1.6rem;
    color: #e5e7eb;
    font-size: 0.97rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.btn {
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.7rem 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out, color 0.15s ease-out, opacity 0.15s ease-out;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--primary-soft));
    color: #f9fafb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.45);
    opacity: 0.95;
}

.btn-outline {
    border: 1px solid rgba(209, 213, 219, 0.6);
    background: rgba(15, 23, 42, 0.5);
    color: #e5e7eb;
}

.btn-outline:hover {
    background: rgba(15, 23, 42, 0.8);
}

.btn-icon {
    font-size: 1rem;
}

.btn.wide {
    width: 100%;
    justify-content: center;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1.4rem;
    font-size: 0.8rem;
}

.hero-meta-item {
    display: flex;
    gap: 0.5rem;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #f97316;
    flex-shrink: 0;
}

.icon-circle.big {
    width: 70px;
    height: 70px;
    font-size: 1.7rem;
}

.hero-meta-item p {
    margin: 0;
    color: #e5e7eb;
}

.hero-side {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: rgba(15, 23, 42, 0.92);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.7rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-card-title {
    font-size: 1.1rem;
    margin: 0 0 0.8rem;
}

.hero-card-text {
    font-size: 0.9rem;
    color: #e5e7eb;
    margin: 0 0 1.1rem;
}

.hero-list {
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.hero-list li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.hero-list i {
    color: var(--accent);
    margin-top: 0.1rem;
}

.hero-location {
    border-top: 1px dashed rgba(156, 163, 175, 0.6);
    padding-top: 0.8rem;
    margin-top: 0.5rem;
}

.hero-location-line {
    margin: 0 0 0.3rem;
    font-size: 0.88rem;
}

.hero-location-line i {
    color: #fbbf24;
    margin-right: 0.4rem;
}

.hero-location-note {
    margin: 0;
    font-size: 0.8rem;
    color: #d1d5db;
}

/* Sections */

.section {
    padding: 3.3rem 0;
}

.section-light {
    background: var(--bg-main);
}

.section-dark {
    background: var(--bg-dark);
    color: #e5e7eb;
}

.section-accent {
    background: #fef3c7;
}

.section-cta {
    background: linear-gradient(135deg, #0f172a, #1f2937);
    color: #e5e7eb;
}

.section-contact {
    background: #020617;
    color: #e5e7eb;
}

.section-head {
    margin-bottom: 1.6rem;
}

.section-head.center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin: 0 0 0.6rem;
}

.section-head h2 {
    margin: 0 0 0.8rem;
    font-size: 1.6rem;
}

.section-lead {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.section-dark .section-lead {
    color: #cbd5f5;
}

/* Split layouts */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.split.reverse {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split-text h2 {
    margin: 0 0 0.8rem;
    font-size: 1.5rem;
}

.split-text p {
    margin: 0 0 0.9rem;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.section-dark .split-text p {
    color: #d1d5db;
}

.split-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cards and grids */

.info-card,
.story-card,
.tag-card,
.steps-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-soft);
}

.section-dark .info-card {
    background: #020617;
    border-color: rgba(31, 41, 55, 0.9);
}

.info-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.1rem;
}

.info-row {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.info-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(91, 33, 182, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-row h4 {
    margin: 0 0 0.15rem;
    font-size: 0.98rem;
}

.info-row p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-soft);
}

.mini-note {
    font-size: 0.9rem;
    color: var(--text-soft);
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.95));
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    margin-bottom: 0.7rem;
}

.feature-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.story-card h3,
.tag-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
}

.story-card p,
.tag-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* Steps */

.steps-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
}

.steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.steps-list li {
    border-radius: var(--radius-md);
    padding: 0.6rem 0.7rem;
    background: rgba(129, 140, 248, 0.05);
    margin-bottom: 0.5rem;
}

.step-label {
    display: inline-block;
    margin-right: 0.4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
}

/* CTA */

.cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.4rem;
    align-items: center;
}

.cta-text h2 {
    margin: 0 0 0.8rem;
    font-size: 1.6rem;
}

.cta-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cta-note {
    font-size: 0.9rem;
    color: #d1d5db;
}

/* Contact */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: flex-start;
}

.contact-info h2 {
    margin: 0 0 0.8rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin: 0 0 0.9rem;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
}

.contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
}

/* Form */

.contact-form-wrap {
    background: #020617;
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.7rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(31, 41, 55, 0.9);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-row {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.field {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.86rem;
    color: #e5e7eb;
}

.field label {
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 0.6rem 0.9rem;
    background: rgba(15, 23, 42, 0.8);
    color: #f9fafb;
    font-family: inherit;
    font-size: 0.9rem;
}

.field textarea {
    border-radius: 16px;
    min-height: 120px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid rgba(249, 115, 22, 0.9);
    outline-offset: 1px;
}

.checkbox-field {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.55rem;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    margin-top: 0.18rem;
}

/* Bullet lists on about page */

.bullet-list {
    padding-left: 1.1rem;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.bullet-list li {
    margin-bottom: 0.4rem;
}

.two-columns {
    columns: 2;
    column-gap: 2.2rem;
}

.two-columns li {
    break-inside: avoid;
}

/* About / legal heroes */

.page-hero {
    padding: 3.2rem 0 2.6rem;
    background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.18), transparent 60%), #f5f3ff;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.4rem;
    align-items: center;
}

.page-hero-text h1 {
    margin: 0 0 0.9rem;
    font-size: 1.8rem;
}

.page-hero-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.page-hero-image {
    display: flex;
    justify-content: flex-end;
}

.image-frame {
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--primary-soft));
    box-shadow: var(--shadow-soft);
}

.image-frame img {
    border-radius: calc(var(--radius-lg) - 6px);
}

.image-frame.tall img {
    object-fit: cover;
    height: 100%;
}

.legal-main {
    background: var(--bg-main);
}

.legal-hero {
    padding: 3.1rem 0 1.8rem;
}

.legal-hero h1 {
    margin: 0 0 0.9rem;
    font-size: 1.7rem;
}

.legal-hero p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.legal-section h2 {
    margin: 1.4rem 0 0.4rem;
    font-size: 1.1rem;
}

.legal-section p {
    margin: 0 0 0.7rem;
    font-size: 0.95rem;
    color: var(--text-soft);
}

/* Thanks page */

.thanks-main {
    flex: 1;
    background: radial-gradient(circle at 10% 0, rgba(249, 115, 22, 0.15), transparent 55%), #0b1020;
    color: #e5e7eb;
}

.thanks-section {
    padding: 3.8rem 0 3.3rem;
}

.thanks-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.thanks-inner h1 {
    margin: 1rem 0 0.8rem;
    font-size: 1.7rem;
}

.thanks-inner p {
    margin: 0 0 1.4rem;
    font-size: 0.95rem;
    color: #e5e7eb;
}

/* Footer */

.site-footer {
    background: #020617;
    color: #e5e7eb;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.8rem 0 1.4rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.9);
}

.footer-main {
    max-width: 560px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.footer-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-text {
    margin: 0;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.86rem;
}

.footer-link {
    color: #e5e7eb;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 0.7rem 0 1rem;
    background: #020617;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner,
    .split,
    .page-hero-inner,
    .cta-inner,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-side {
        justify-content: flex-start;
    }

    .page-hero-image {
        justify-content: flex-start;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-bottom-inner {
        flex-direction: column;
    }

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

    .cta-inner {
        gap: 1.6rem;
    }
}

@media (max-width: 720px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .hero {
        padding: 3.6rem 0 2.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-meta {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .two-columns {
        columns: 1;
    }

    .thanks-section {
        padding-top: 3rem;
    }
    .split.reverse{
        grid-template-columns: minmax(0,1fr);
    }
}
