/* Rcx64 - single stylesheet.
   Reconstructed from the original Google Sites renders (Lato, dark slate header band,
   white page, teal #1e6c93 accents). Breakpoints used everywhere:
     mobile  <= 767px   |   tablet 768-1023px   |   desktop >= 1024px            */

:root {
    --hero-base: #2b3539;
    --text: #111;
    --accent: #1e6c93;       /* buttons, home card titles (sampled from render) */
    --link: #006580;         /* inline links (sampled from render)              */
    --hero-sub: #d9d9d9;     /* Style.txt: subtitle gray                        */
    --icon-bg: #5f6368;      /* social circles (sampled from render)            */
    --container: 1140px;     /* content width measured from the renders         */
    --gutter: clamp(1rem, 5vw, 2rem);
    --nav-size: 1.05rem;     /* header brand + nav links share this size (1.2rem <=767px) */
    --font: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4rem; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;                 /* mobile/tablet: comfortable reading size */
    line-height: 1.5;
    color: var(--text);
    background: #fff;
    overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: .5rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: #fff; color: #000; border-radius: 2px; }
.skip-link:focus { top: .5rem; }

/* ---------------- Header + navigation (sits on top of the hero band) ---------------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; padding: 0 1.25rem; }
.brand { color: #fff; text-decoration: none; font-size: var(--nav-size); line-height: 1; padding: .75rem 0; }
.site-nav ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: .5rem 0; color: rgb(255 255 255 / .86); text-decoration: none; font-size: var(--nav-size); }
.site-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.site-nav a[aria-current="page"] { color: #fff; font-weight: 700; }
.site-header :focus-visible { outline-color: #fff; }

.nav-toggle { display: none; width: 3rem; height: 3rem; padding: 0; align-items: center; justify-content: center; background: transparent; color: #fff; border: 0; border-radius: 50%; cursor: pointer; }
.nav-toggle:hover { background: rgb(255 255 255 / .12); }
.nav-toggle svg { width: 1.6rem; height: 1.6rem; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 767px) {
    :root { --nav-size: 1.2rem; }
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--hero-base); border-top: 1px solid rgb(255 255 255 / .15); box-shadow: 0 8px 16px rgb(0 0 0 / .25); }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 0; }
    .site-nav a { display: flex; align-items: center; min-height: 3rem; padding: 0 1.25rem; font-size: var(--nav-size); }
    .site-nav a:hover { background: rgb(255 255 255 / .08); text-decoration: none; }
}
/* Without JavaScript the menu simply stays visible. */
@media (scripting: none) {
    .nav-toggle { display: none; }
    .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
    @media (max-width: 767px) {
        .site-header { position: relative; background: var(--hero-base); }
        .header-inner { flex-wrap: wrap; }
        .site-nav { width: 100%; }
    }
}

/* ---------------- Hero band ---------------- */
.hero {
    --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon fill='%23283135' points='0,0 17.2,0 25.9,86 24.5,100 0,100'/%3E%3Cpolygon fill='%23313b40' points='17.2,0 34.1,0 25.9,86'/%3E%3Cpolygon fill='%23343f44' points='34.1,0 83.6,0 75.3,100 24.5,100 25.9,86'/%3E%3Cpolygon fill='%23394a52' points='83.6,0 100,0 100,100 75.3,100'/%3E%3C/svg%3E");
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    padding: 4.5rem var(--gutter) 2.5rem;
    color: #fff;
    text-align: center;
    background: var(--band) center / 100% 100% no-repeat, var(--hero-base);
}
.hero-title { margin: 0; font-weight: 300; font-size: clamp(2.5rem, 1rem + 6vw, 5.333rem); line-height: 1.15; letter-spacing: 0; }
.hero-sub { margin: .6rem 0 0; font-size: 1.5rem; line-height: 1.3; color: var(--hero-sub); }

.hero--home .hero-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; max-width: 100%; }
.hero-logo { grid-column: 1; justify-self: end; margin-right: 5rem; width: 170px; height: auto; }
.hero--home .hero-text { grid-column: 2; }

/* ---------------- Page content ---------------- */
.content { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 3.5rem var(--gutter) 2.5rem; }
.content--home { padding-top: 0; }
h2 { margin: 0 0 .75em; font-size: 1.2em; font-weight: 400; line-height: 1.3; }
h2.strong { font-weight: 700; font-size: 1.05em; }
h2.plain { font-size: 1em; }
#founder { margin-bottom: 1.6em; }
main .content .founder-row { display: grid; grid-template-columns: 268px 1fr; gap: 2.25rem; align-items: start; margin-bottom: 5.5rem; }
.founder-row img { display: block; width: 100%; height: auto; aspect-ratio: 268 / 262; object-fit: cover; object-position: center top; background: #e8eaed; }
.founder-text { padding-top: 1.25rem; }
p { margin: 0 0 1.1em; }
main .content section { margin-bottom: 2.25em; }
.narrow { max-width: var(--container); }

.icon-list, .bullets, .file-list { margin: 0 0 1.1em; padding: 0; }
.icon-list, .file-list { list-style: none; }
.icon-list li, .file-list li { margin-bottom: 1.1em; }
.bullets { padding-left: 1.4em; }
.bullets li { margin-bottom: .75em; }
.bullets--described li { margin-bottom: 0; }
.bullets--described li p { margin: 1em 0 1em 0; }
.file-list li { margin-bottom: .55em; }
.file-list a { color: var(--text); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.25rem; align-items: start; }
.icon-list--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.25rem; }
/* Feature list (SmartPath "Core Features"): emoji tile + name + description per row */
.feature-list { margin: 0 0 1.1em; padding: 0; list-style: none; border-top: 1px solid #dde4e8; }
.feature { display: grid; grid-template-columns: 3.5rem minmax(11rem, 15rem) minmax(0, 1fr); gap: 0 1.5rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid #dde4e8; }
.feature-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: .5rem; background: #eaf1f5; font-size: 1.75rem; line-height: 1; }
.feature-name { margin: 0; font-size: 1.05em; font-weight: 700; line-height: 1.25; color: var(--text); }
.feature-text { margin: 0; }

/* Buttons (flat, as in the original) */
.btn { display: inline-block; min-height: 2rem; padding: .35rem 1rem; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; border-radius: 2px; }
.btn:hover { filter: brightness(1.12); }

/* Home */
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 495px)); justify-content: center; gap: 1.5rem 0; }
.home-card { margin: 0; text-align: center; }
.home-art { display: block; margin: 0 auto; }
@media (min-width: 1024px) { .home-art { margin-top: -1.75rem; } }
@media (min-width: 1200px) { .home-grid { margin-right: 5.5rem; } }   /* original group sits left of centre */
.home-art--sp { width: 370px; }
.home-art--ready { width: 370px; }
.home-text { max-width: 22rem; margin: 0 auto; }
.card-title { margin: 0 0 .9em; font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1.25; }
.home-text p { margin-bottom: 1.1em; }

/* Home: SmartPath intro + call to action (proportions measured from the 1672px reference) */
.content.content--home {
    --home-ink: #1d2e37; --home-text: #46586a; --home-teal: #0089a2; --home-blue: #0868a8; --home-rule: #e7eef5;
    padding-top: 2.5rem; padding-bottom: 0;
}
.home-intro { display: grid; gap: 2rem; }
main .content.content--home > section { margin-bottom: 0; }
.home-intro-text { min-width: 0; }
.home-eyebrow { margin: 0; font-size: .875rem; font-weight: 700; letter-spacing: .06em; color: var(--home-teal); }
.home-eyebrow::after { content: ""; display: block; width: 3rem; height: 2px; margin-top: .6em; background: var(--home-teal); }
.home-title { margin: .3em 0 .27em; font-size: clamp(2.1rem, 9vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: var(--home-ink); }
.home-title-accent { color: var(--home-teal); }
.home-lead { margin: 0 0 1.3em; font-size: 1rem; line-height: 1.45; color: var(--home-text); }
.home-intro-action { margin: 0; }
.btn--home { display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.7em; background: var(--home-blue); border-radius: 4px; font-size: 1rem; line-height: 1.2; }
.btn-icon { flex: none; width: 1.05em; height: 1.05em; }
.br-lg { display: none; }

.home-visual { width: 100%; max-width: 640px; margin: 0 auto; }
.home-visual-img { display: block; width: 100%; height: auto; }

.home-cta { margin-top: 2.5rem; padding: 2rem 0 2rem; border-top: 1px solid var(--home-rule); text-align: center; }
.home-cta-title { margin: 0 0 .8em; font-size: 1.35rem; font-weight: 400; line-height: 1.3; color: var(--home-blue); }
.home-cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.6rem; }
.home-cta-link { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; text-decoration: none; color: var(--home-blue); }
.home-cta-link:hover { text-decoration: underline; }
.home-cta .btn--home { padding: .78em 1.7em; }

@media (min-width: 1024px) {
    /* compact brand band (hero--home only) */
    .hero--home { min-height: 0; padding: 3.5rem var(--gutter) 1.2rem; }
    .hero--home .hero-grid { padding-left: 3.4vw; }   /* reference: brand group sits slightly right of centre */
    .hero--home .hero-logo { width: clamp(84px, 5.86vw, 108px); margin-right: clamp(1.6rem, 2.55vw, 3.1rem); }
    .hero--home .hero-title { font-size: clamp(2.6rem, 4.2vw, 4.6rem); line-height: 1.02; }
    .hero--home .hero-sub { margin-top: .3rem; font-size: clamp(1.05rem, 1.25vw, 1.4rem); }

    .content.content--home { --home-pad: max(var(--gutter), 9.7vw); max-width: calc(1360px + 2 * var(--home-pad)); padding: clamp(2.5rem, 3.6vw, 4rem) var(--home-pad) 0; }
    .home-intro { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 0 1.5%; align-items: center; }
    .home-eyebrow { font-size: clamp(.8rem, .9vw, 1rem); }
    .home-eyebrow::after { width: clamp(2.6rem, 3.75vw, 4.2rem); }
    .home-title { font-size: clamp(2.2rem, 4vw, 4.4rem); line-height: 1.03; }
    .home-lead { font-size: clamp(.95rem, 1.27vw, 1.4rem); }
    .btn--home { font-size: clamp(.95rem, 1.1vw, 1.25rem); padding: .87em 1.75em; }
    .home-visual { position: relative; top: .84vw; max-width: none; margin: 0 -4.6% 0 0; }
    .home-cta { margin-top: clamp(2.5rem, 4vw, 4.4rem); padding-top: clamp(1.4rem, 1.8vw, 2rem); padding-bottom: 2rem; }
    .home-cta-title { font-size: clamp(1.2rem, 1.44vw, 1.6rem); margin-bottom: .85rem; }
    .home-cta-link { font-size: clamp(.95rem, 1.02vw, 1.15rem); }
    .home-cta .btn--home { font-size: clamp(.9rem, .96vw, 1.1rem); }
}
@media (min-width: 1200px) {
    .br-lg { display: inline; }
}
@media (min-width: 1280px) {
    .hero--home { padding: 1.9rem var(--gutter) 2.65rem; }
}

/* Demos */
.demo-list { max-width: 1056px; margin: 0 auto; }
.demo { margin-bottom: 2.75rem; }
.demo h2 { margin-bottom: .6em; font-size: 1em; }
.demo img { display: block; width: 100%; height: auto; aspect-ratio: 950 / 720; background: #f1f3f4; }

/* About */
.about-build { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; margin: 4rem 0 0; }
.about-build img { display: block; width: 100%; height: auto; aspect-ratio: 1.41 / 1; object-fit: cover; }
.about-build-text { padding-top: 1.25rem; max-width: 34rem; }

/* Contact */
.spaced { margin-top: 2.2em; }
.gap-lg { margin-bottom: 1.8em; }
.gap-xl { margin-bottom: 2.7em; }
.narrow--wide a { overflow-wrap: anywhere; }

/* ---------------- Footer: social circles ---------------- */
.site-footer { padding: 1.5rem 1rem 4rem; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--icon-bg); color: #fff; }
.social a:hover { filter: brightness(1.25); }
.social svg { width: 1.05rem; height: 1.05rem; }

/* ---------------- Desktop (>= 1024px): original proportions ---------------- */
@media (min-width: 1024px) {
    body { font-size: 0.9167rem; }                 /* Style.txt: content 11pt */
}

/* ---------------- Tablet and below (<= 1023px) ---------------- */
@media (max-width: 1023px) {
    .hero { min-height: 300px; }
    .hero--home .hero-grid { grid-template-columns: 1fr; justify-items: center; gap: .5rem; }
    .hero-logo { grid-column: 1; justify-self: center; margin: 0; width: 130px; }
    .hero--home .hero-text { grid-column: 1; }
    .content { padding-top: 2.75rem; }
    .two-col { gap: 0 2rem; }
    .home-art--sp { width: 340px; }
    .home-art--ready { width: 320px; }
    .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
}

/* ---------------- Mobile (<= 767px) ---------------- */
@media (max-width: 767px) {
    .hero { min-height: 250px; padding-top: 4rem; }
    .hero-sub { font-size: 1.125rem; }
    .hero-logo { width: 96px; }
    .content { padding-top: 2rem; padding-bottom: 1.5rem; }
    .two-col { grid-template-columns: 1fr; }
    .icon-list--grid { grid-template-columns: 1fr; }
    .feature { grid-template-columns: 3rem minmax(0, 1fr); gap: .6rem 1rem; padding: 1rem 0; }
    .feature-icon { width: 3rem; height: 3rem; font-size: 1.5rem; }
    .feature-text { grid-column: 1 / -1; }
    .home-grid { grid-template-columns: 1fr; gap: 2.5rem 0; }
    .home-art--sp, .home-art--ready { width: min(80%, 320px); }
    .card-title { font-size: 1.35rem; }
    .btn { min-height: 2.75rem; padding: .7rem 1.5rem; }
    main .content .founder-row { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
    .founder-row img { width: 200px; }
    .founder-text { padding-top: 0; }
    .about-build { grid-template-columns: 1fr; margin-top: 2.5rem; gap: 1.25rem; }
    .about-build-text { padding-top: 0; }
    .social a { width: 2.75rem; height: 2.75rem; }
    .social svg { width: 1.35rem; height: 1.35rem; }
    .social { gap: .75rem; }
    .file-list a { display: inline-block; padding: .35rem 0; }
}

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