:root {
    --ink: #f8f3e9;
    --muted: rgba(248, 243, 233, 0.78);
    --deep: #14201c;
    --deep-2: #1f2f29;
    --sage: #7c9473;
    --gold: #d7a85a;
    --clay: #b97a55;
    --paper: #fbf7ee;
    --paper-muted: #efe5d2;
    --line: rgba(255, 255, 255, 0.18);
    --shadow: 0 24px 70px rgba(16, 21, 19, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--deep);
    background: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.5;
}

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

button {
    font: inherit;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 56px);
    color: var(--ink);
    background: linear-gradient(180deg, rgba(13, 20, 18, 0.72), rgba(13, 20, 18, 0));
}

.brand-mark,
.top-links {
    display: flex;
    align-items: center;
}

.brand-mark {
    gap: 12px;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
}

.brand-symbol {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
}

.top-links {
    gap: clamp(12px, 2vw, 24px);
    font-family: Arial, sans-serif;
    font-size: 0.86rem;
}

.top-links a {
    color: rgba(255, 255, 255, 0.84);
    transition: color 180ms ease;
}

.top-links a:hover {
    color: #fff;
}

.hero {
    position: relative;
    display: grid;
    min-height: 86svh;
    overflow: hidden;
    color: var(--ink);
    isolation: isolate;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -2;
    background-image: url("../assets/hero-luz-siao.png");
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(12, 20, 18, 0.9) 0%, rgba(12, 20, 18, 0.58) 43%, rgba(12, 20, 18, 0.08) 100%),
        linear-gradient(180deg, rgba(13, 20, 18, 0.35), rgba(13, 20, 18, 0.62));
}

.hero-content {
    align-self: center;
    width: min(680px, calc(100% - 36px));
    margin-left: clamp(18px, 8vw, 112px);
    padding: 112px 0 72px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    max-width: 9ch;
    margin: 0;
    font-size: clamp(4.2rem, 11vw, 9.5rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 640px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.primary-action,
.quiet-action,
.copy-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-action {
    padding: 0 22px;
    background: var(--gold);
    color: #17211d;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.quiet-action {
    padding: 0 20px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.primary-action:hover,
.quiet-action:hover,
.copy-button:hover {
    transform: translateY(-2px);
}

.quiet-action:hover {
    border-color: rgba(255, 255, 255, 0.42);
}

.social-section,
.message-section {
    padding: clamp(58px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.social-section {
    background: linear-gradient(180deg, var(--paper) 0%, #f4ecdc 100%);
}

.section-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
    gap: clamp(22px, 5vw, 72px);
    align-items: end;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 0;
    color: var(--deep);
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 1;
    letter-spacing: 0;
}

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

.link-card {
    display: flex;
    min-height: 148px;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid rgba(20, 32, 28, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 36px rgba(48, 40, 28, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(183, 122, 85, 0.45);
    box-shadow: var(--shadow);
}

.link-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: var(--deep);
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

.link-card strong,
.link-card small {
    display: block;
}

.link-card strong {
    margin-top: 4px;
    color: var(--deep);
    font-size: 1.25rem;
    line-height: 1.1;
}

.link-card small {
    margin-top: 10px;
    color: rgba(20, 32, 28, 0.7);
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.45;
}

.message-section {
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(20, 32, 28, 0.96), rgba(39, 55, 48, 0.96)),
        linear-gradient(90deg, var(--deep), var(--deep-2));
}

.message-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
    gap: clamp(24px, 5vw, 76px);
    align-items: center;
}

.daily-prayer {
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
}

.daily-prayer h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: 0;
}

.daily-prayer p:not(.eyebrow) {
    margin: 24px 0 0;
    color: rgba(248, 243, 233, 0.78);
    font-size: 1.1rem;
}

.copy-button {
    margin-top: 28px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.copy-button.is-copied {
    border-color: rgba(215, 168, 90, 0.84);
    background: rgba(215, 168, 90, 0.14);
}

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

.reflection-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.reflection-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.reflection-item span {
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
}

.reflection-item p {
    margin: 0;
    color: rgba(248, 243, 233, 0.84);
    font-size: clamp(1.22rem, 2.4vw, 2rem);
    line-height: 1.18;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: space-between;
    padding: 26px clamp(18px, 4vw, 56px);
    color: rgba(20, 32, 28, 0.72);
    background: var(--paper);
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
}

.site-footer p {
    margin: 0;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-links a,
.legal-footer a {
    color: rgba(20, 32, 28, 0.82);
    font-weight: 700;
}

.footer-links a:hover,
.legal-footer a:hover,
.legal-content a:hover {
    color: var(--clay);
}

.legal-page {
    background:
        linear-gradient(180deg, rgba(20, 32, 28, 0.94), rgba(20, 32, 28, 0.86) 340px, var(--paper) 340px),
        url("../assets/hero-luz-siao.png") center top / cover no-repeat;
}

.legal-header {
    display: flex;
    justify-content: center;
    padding: 28px 18px 0;
    color: var(--ink);
}

.legal-brand {
    width: min(980px, 100%);
}

.legal-main {
    width: min(980px, calc(100% - 36px));
    margin: 42px auto 64px;
}

.legal-content {
    padding: clamp(26px, 5vw, 58px);
    border: 1px solid rgba(20, 32, 28, 0.1);
    border-radius: 8px;
    background: rgba(251, 247, 238, 0.96);
    box-shadow: var(--shadow);
}

.legal-content h1 {
    max-width: none;
    color: var(--deep);
    font-size: clamp(2.7rem, 7vw, 5.6rem);
}

.legal-content h2 {
    margin: 34px 0 10px;
    color: var(--deep);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.1;
}

.legal-content p {
    margin: 0 0 14px;
    color: rgba(20, 32, 28, 0.76);
    font-family: Arial, sans-serif;
    font-size: 1rem;
}

.legal-content a {
    color: var(--clay);
    font-weight: 700;
}

.legal-date {
    margin-top: 16px;
}

.legal-footer {
    border-top: 1px solid rgba(20, 32, 28, 0.1);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms ease, transform 650ms ease;
}

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

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 860px) {
    .site-header {
        position: absolute;
        align-items: flex-start;
    }

    .top-links {
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 188px;
    }

    .hero {
        min-height: 84svh;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(12, 20, 18, 0.76) 0%, rgba(12, 20, 18, 0.54) 42%, rgba(12, 20, 18, 0.72) 100%),
            linear-gradient(90deg, rgba(12, 20, 18, 0.72), rgba(12, 20, 18, 0.28));
    }

    .hero-content {
        width: min(100% - 36px, 620px);
        margin: 0 auto;
        padding-top: 128px;
    }

    h1 {
        max-width: 8ch;
        font-size: clamp(4rem, 18vw, 6.4rem);
    }

    .section-heading,
    .message-layout {
        grid-template-columns: 1fr;
    }

    .link-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .site-header {
        gap: 12px;
        padding-top: 14px;
    }

    .brand-mark span:last-child {
        display: none;
    }

    .top-links {
        gap: 10px;
        font-size: 0.8rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .primary-action,
    .quiet-action {
        width: 100%;
    }

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

    .reflection-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .site-footer {
        display: grid;
    }
}
