:root {
    --navy: #0b1737;
    --navy-light: #142750;
    --cyan: #16d9d4;
    --cyan-dark: #087e86;
    --cyan-soft: #dffaf6;
    --paper: #faf9f4;
    --white: #ffffff;
    --muted: #4e5c71;
    --line: #d9e0e6;
    --dark-line: #364662;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--navy);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

#paghimo-site {
    color: var(--navy);
    font-family: Arial, Helvetica, sans-serif;
}

#paghimo-site a {
    color: inherit;
}

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

#paghimo-site h1,
#paghimo-site h2,
#paghimo-site h3 {
    line-height: 1.1;
    letter-spacing: -0.045em;
}

#paghimo-site h1 {
    font-size: clamp(3.2rem, 6vw, 6.1rem);
}

#paghimo-site h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

#paghimo-site h3 {
    font-size: 1.5rem;
}

#paghimo-site :focus-visible {
    outline: 3px solid var(--cyan-dark);
    outline-offset: 4px;
}

.wrap {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: -9999px;
    z-index: 100;
    padding: 10px;
    background: var(--white);
}

.skip-link:focus {
    left: 12px;
}

/* Header and navigation */

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    text-decoration: none;
    font-size: 1.52rem;
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 1;
    white-space: nowrap;
}

.logo-accent {
    color: var(--cyan-dark);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.desktop-nav a,
.mobile-nav a {
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.text-link:hover {
    text-decoration: underline;
}

.mobile-menu {
    display: none;
}

/* Buttons */

#paghimo-site .button,
#paghimo-site button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 49px;
    padding: 12px 19px;
    background: var(--cyan);
    border: 1px solid var(--navy);
    border-radius: 2px;
    color: var(--navy);
    font-size: 0.88rem;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--navy);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

#paghimo-site .button:hover,
#paghimo-site button.button:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--navy);
}

#paghimo-site .button--secondary {
    background: transparent;
    box-shadow: none;
}

#paghimo-site .button--secondary:hover {
    background: var(--cyan-soft);
    box-shadow: none;
}

#paghimo-site .button--light {
    background: var(--white);
}

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

.eyebrow {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Homepage hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background: var(--paper);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: 58px;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 690px;
    margin: 24px 0;
}

.hero h1 em {
    color: var(--cyan-dark);
    font-style: normal;
}

.hero-lead {
    max-width: 535px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.14rem;
}

.hero-note {
    margin: 27px 0 0;
    color: var(--muted);
    font-size: 0.83rem;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--cyan-dark);
}

/* Hero graphic */

.hero-visual {
    position: relative;
    min-width: 0;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    overflow: hidden;
    color: var(--white);
    background-color: var(--navy);
    background-image:
        linear-gradient(rgba(22, 217, 212, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 217, 212, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    border: 1px solid var(--navy);
    box-shadow: 12px 12px 0 var(--cyan);
}

.visual-top,
.visual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.visual-top {
    color: #b7d6e2;
}

.visual-bottom {
    color: var(--cyan);
}

.visual-signal {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
}

.visual-screen {
    margin: 34px 5px;
    background: #122449;
    border: 1px solid #8babbf;
    box-shadow: 7px 7px 0 rgba(22, 217, 212, 0.25);
}

.screen-top {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #65869b;
    color: #bfd7e2;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.screen-content {
    padding: 43px 28px 30px;
}

.screen-kicker {
    display: block;
    margin-bottom: 20px;
    color: var(--cyan);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.screen-content strong {
    display: block;
    max-width: 390px;
    font-size: clamp(2rem, 3.15vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.screen-content strong span {
    color: var(--cyan);
}

.screen-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 38px;
}

.screen-actions span {
    padding: 7px 9px;
    border: 1px solid #65869b;
    color: #e3f2f3;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.screen-actions span:last-child {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* Homepage content */

.strip {
    background: var(--navy);
    color: var(--white);
}

.strip-inner {
    min-height: 73px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: 0.71rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.strip-inner span:first-child {
    color: var(--cyan);
    font-size: 0.88rem;
    letter-spacing: 0;
}

.section {
    padding: 100px 0;
}

.section--tint {
    background: #edf3f3;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 0 0 17px;
}

.section-intro {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.07rem;
}

/* Packages */

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

.package-card {
    min-width: 0;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    padding: 27px;
    background: var(--white);
    border: 1px solid #9aaabb;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: var(--navy);
    box-shadow: 0 10px 24px rgba(11, 23, 55, 0.08);
}

.package-card--featured {
    background: #f2fcfa;
    border: 2px solid var(--navy);
}

.package-top {
    min-height: 29px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
}

.package-number,
.package-tag,
.tag {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.package-tag {
    padding: 4px 6px;
    background: var(--cyan);
}

.package-card h3 {
    margin: 28px 0 9px;
}

.package-purpose {
    min-height: 48px;
    margin-bottom: 22px;
    font-weight: 700;
}

.package-price {
    margin-bottom: 17px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.06em;
    white-space: nowrap;
}

.package-price span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.package-description {
    min-height: 75px;
    color: var(--muted);
    font-size: 0.91rem;
}

.package-card ul {
    margin: 0 0 27px;
    padding-left: 20px;
    font-size: 0.9rem;
}

.package-card li {
    margin: 9px 0;
}

.package-card .button {
    align-self: flex-start;
    margin-top: auto;
}

.pricing-note {
    max-width: 850px;
    margin: 27px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

/* Concept demo cards */

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.demo-card {
    background: var(--white);
    border: 1px solid var(--line);
}

.demo-art {
    height: 285px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
}

.demo-art--cafe {
    background: #e4af89;
    color: #42291f;
}

.demo-art--church {
    background: #c8dacd;
    color: #203c37;
}

.mock-browser {
    height: 25px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid currentColor;
}

.mock-browser span {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 5px;
    border-radius: 50%;
    background: currentColor;
}

.mock-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid currentColor;
    border-top: 0;
}

.mock-content small {
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.mock-content strong {
    max-width: 310px;
    margin: 12px 0;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.mock-content i {
    font-size: 0.75rem;
    font-weight: 800;
    font-style: normal;
}

.demo-card-body {
    padding: 25px;
}

.demo-card h3 {
    margin: 12px 0;
}

.demo-card p,
.detail-list p {
    color: var(--muted);
}

.text-link {
    font-size: 0.83rem;
    font-weight: 900;
}

.section-end {
    margin-top: 32px;
}

/* Process and final CTA */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 85px;
}

.steps > div {
    display: grid;
    grid-template-columns: 55px 1fr;
    column-gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.steps span {
    grid-row: span 2;
    color: var(--cyan-dark);
    font-size: 1.5rem;
    font-weight: 900;
}

.steps strong {
    font-size: 1.13rem;
}

.steps p {
    margin: 5px 0;
    color: var(--muted);
}

.final-cta {
    padding: 75px 0;
    background: var(--navy);
    color: var(--white);
}

.final-cta-inner,
.concept-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.final-cta h2 {
    max-width: 740px;
    margin: 12px 0;
}

.final-cta p:last-child {
    margin-bottom: 0;
    color: #ccdbe3;
}

.final-cta .eyebrow {
    color: var(--cyan);
}

.final-cta .button {
    flex-shrink: 0;
}

/* Inner-page headings and details */

.page-hero {
    padding: 90px 0;
    background: #edf3f3;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 950px;
    margin: 15px 0 20px;
}

.page-hero p:last-child {
    max-width: 710px;
    color: var(--muted);
    font-size: 1.12rem;
}

.fine-print {
    margin: 15px 0 0;
    color: var(--muted);
}

.fine-print a {
    text-underline-offset: 3px;
}

.detail-list > div {
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.detail-list h3 {
    margin: 0 0 6px;
    font-size: 1.12rem;
}

.detail-list p {
    margin: 0;
}

.process-list {
    max-width: 900px;
}

.process-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 25px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.process-item > span {
    color: var(--cyan-dark);
    font-size: 2rem;
    font-weight: 900;
}

.process-item h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.process-item p {
    max-width: 630px;
    color: var(--muted);
}

/* Contact form */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 85px;
}

.contact-grid h2 {
    font-size: 2.9rem;
}

.contact-grid p {
    color: var(--muted);
}

.contact-aside {
    margin-top: 35px;
    padding-left: 20px;
    border-left: 4px solid var(--cyan-dark);
}

.form-panel {
    padding: 35px;
    background: #edf3f3;
    border: 1px solid var(--line);
}

.form-panel label {
    display: block;
    margin: 20px 0 7px;
    font-size: 0.83rem;
    font-weight: 800;
}

.form-panel label:first-of-type {
    margin-top: 0;
}

.form-panel label span {
    color: #a33522;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
    width: 100%;
    padding: 12px;
    background: var(--white);
    color: var(--navy);
    border: 1px solid #8998a8;
    border-radius: 2px;
    font: inherit;
}

.form-panel textarea {
    resize: vertical;
}

.form-panel .form-note {
    font-size: 0.79rem;
}

.notice {
    margin-bottom: 20px;
    padding: 14px;
    background: #ffebe4;
    border-left: 4px solid #a33522;
}

.notice--success {
    background: #e4f2df;
    border-color: #387d42;
}

.trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Individual concept pages */

.concept-notice {
    padding: 13px 0;
    background: var(--cyan-soft);
    font-size: 0.8rem;
}

.concept-hero {
    min-height: 630px;
    padding: 25px 0 85px;
}

.concept-hero--cafe {
    background: #dcaa86;
    color: #42291f;
}

.concept-hero--church {
    background: #c8dacd;
    color: #203c37;
}

.concept-brand {
    display: flex;
    justify-content: space-between;
    padding-bottom: 19px;
    border-bottom: 1px solid currentColor;
    font-size: 1.05rem;
    font-weight: 900;
}

.concept-hero-inner {
    max-width: 800px;
    margin: 110px 0 0;
}

.concept-hero h1 {
    margin: 16px 0 20px;
}

.concept-hero-inner > p:not(.eyebrow) {
    max-width: 520px;
    font-size: 1.12rem;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.concept-grid article {
    padding: 30px;
    background: #edf3f3;
    border: 1px solid var(--line);
}

.concept-grid span {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.concept-grid h3 {
    margin: 35px 0 10px;
}

.concept-grid p,
.concept-bottom p {
    color: var(--muted);
}

/* Footer */

.site-footer {
    padding: 65px 0 25px;
    background: #08132e;
    color: #eaf6f7;
}

.site-footer .logo-accent {
    color: var(--cyan);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-main h2 {
    margin: 20px 0 0;
    font-size: 2.5rem;
}

.footer-main p {
    max-width: 400px;
    color: #bdcbd7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    align-content: start;
    gap: 9px 35px;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 22px;
    border-top: 1px solid var(--dark-line);
    color: #bdcbd7;
    font-size: 0.75rem;
}

/* Restrained entrance animation */

@media (prefers-reduced-motion: no-preference) {
    .hero-copy {
        animation: paghimo-rise 0.55s ease-out both;
    }

    .hero-visual {
        animation: paghimo-rise 0.65s 0.12s ease-out both;
    }

    @keyframes paghimo-rise {
        from {
            opacity: 0;
            transform: translateY(16px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Responsive layout */

@media (max-width: 1000px) {
    .hero-grid {
        gap: 35px;
    }

    .hero-visual {
        min-height: 425px;
    }

    .package-card {
        padding: 21px;
    }

    .package-price {
        font-size: 2.15rem;
    }

    .package-tag {
        font-size: 0.58rem;
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 70px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        position: relative;
        display: block;
    }

    .mobile-menu summary {
        padding: 9px 13px;
        border: 1px solid var(--navy);
        cursor: pointer;
        font-size: 0.88rem;
        font-weight: 900;
        list-style: none;
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-nav {
        position: absolute;
        top: 48px;
        right: 0;
        z-index: 10;
        width: 220px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        background: var(--paper);
        border: 1px solid var(--navy);
        box-shadow: 4px 4px 0 var(--navy);
    }

    .hero {
        padding: 65px 0 75px;
    }

    .hero-grid,
    .split,
    .contact-grid,
    .demo-grid,
    .concept-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(calc(100% - 12px), 560px);
        min-height: 380px;
    }

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

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

    .package-purpose,
    .package-description {
        min-height: 0;
    }

    .package-card h3 {
        margin-top: 22px;
    }

    .section {
        padding: 70px 0;
    }

    .page-hero {
        padding: 70px 0;
    }

    .final-cta-inner,
    .concept-bottom,
    .footer-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .strip-inner {
        justify-content: flex-start;
        padding-block: 20px;
    }

    .concept-hero {
        min-height: 530px;
    }

    .concept-hero-inner {
        margin-top: 90px;
    }
}

@media (max-width: 480px) {
    .wrap {
        width: min(calc(100% - 32px), 1160px);
    }

    .hero h1 {
        font-size: clamp(3rem, 12vw, 4rem);
    }

    .hero-visual {
        min-height: 325px;
        padding: 15px;
    }

    .visual-screen {
        margin: 23px 0;
    }

    .screen-content {
        padding: 30px 18px 22px;
    }

    .screen-content strong {
        font-size: 2rem;
    }

    .screen-actions {
        margin-top: 25px;
    }

    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button-row .button {
        width: 100%;
    }

    .process-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .form-panel {
        padding: 21px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

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

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

    #paghimo-site .button,
    #paghimo-site button.button,
    .package-card {
        transition: none;
    }

    #paghimo-site .button:hover,
    #paghimo-site button.button:hover,
    .package-card:hover {
        transform: none;
    }
}
