/* Helios Cloud Suite — marketing site
   Structure inspired by microsoft.com's homepage (utility bar → sticky
   nav → hero → product tile grid → alternating feature spotlights →
   trust stats → pricing cards → signup → multi-column footer), built
   from scratch with Helios's own brand and no dependency on any
   Microsoft asset, copy, or code. Plain CSS, no build step, so this is
   easy to keep handing to Claude for incremental edits later. */

:root {
    --brand: #2b5fff;
    --brand-dark: #1c3fc7;
    --ink: #10131a;
    --ink-soft: #4a5163;
    --bg: #ffffff;
    --bg-soft: #f5f6fa;
    --border: #e3e5ec;
    --ink-faint: #9299ab;
    --radius: 10px;
    --max-width: 1180px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
}

img {
    max-width: 100%;
}

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

.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Utility bar ---------- */

.utility-bar {
    background: var(--ink);
    color: #d7dae3;
    font-size: 13px;
}

.utility-bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}

.utility-links a {
    margin-left: 20px;
    opacity: 0.85;
}

.utility-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ---------- Main nav ---------- */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.main-nav .wrap {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 17px;
    white-space: nowrap;
}

.logo-mark {
    height: 25px; /* 22px + 15% */
    width: 54px; /* matches images/logo.svg's 208:96 ratio at this height — fixed
                    (not auto) so a tight flex row can't squash it off-ratio */
    flex-shrink: 0;
    display: inline-block;
    object-fit: contain;
}

.primary-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    flex: 1;
}

.primary-links a {
    color: var(--ink-soft);
    padding: 8px 0;
}

.primary-links a:hover {
    color: var(--ink);
}

.nav-cta {
    display: flex;
    gap: 10px;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-lg {
    padding: 13px 26px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* ---------- Hero ---------- */

.hero {
    background: linear-gradient(180deg, var(--bg-soft), var(--bg) 70%);
    padding: 72px 0 88px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 0 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-art {
    position: relative;
    height: 320px;
}

.art-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 40px -20px rgba(16, 19, 26, 0.25);
    padding: 14px 20px;
    font-weight: 600;
    font-size: 15px;
}

.art-dot {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.art-card-1 { top: 0; left: 10%; }
.art-card-2 { top: 70px; left: 40%; }
.art-card-3 { top: 160px; left: 5%; }
.art-card-4 { top: 220px; left: 45%; }

/* Each hero card reuses the same icon set as the product tile grid below
   (see .tile-icon[data-icon]) — same four categories, one asset each. */
.art-card-1 .art-dot { background-image: url("images/icons/mail.svg"); }
.art-card-2 .art-dot { background-image: url("images/icons/files.svg"); }
.art-card-3 .art-dot { background-image: url("images/icons/meet.svg"); }
.art-card-4 .art-dot { background-image: url("images/icons/sites.svg"); }

/* ---------- Section headings ---------- */

.section-title {
    font-size: clamp(26px, 3vw, 34px);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.section-sub {
    color: var(--ink-soft);
    margin: 0 0 40px;
    font-size: 16px;
}

/* ---------- Product tiles ---------- */

.products {
    padding: 88px 0;
}

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

.tile {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    background: #fff;
    transition: box-shadow 0.15s, transform 0.15s;
}

.tile:hover {
    box-shadow: 0 16px 32px -20px rgba(16, 19, 26, 0.25);
    transform: translateY(-2px);
}

.tile h3 {
    margin: 16px 0 8px;
    font-size: 18px;
}

.tile p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-soft);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.tile-icon[data-icon="mail"] { background-image: url("images/icons/mail.svg"); }
.tile-icon[data-icon="files"] { background-image: url("images/icons/files.svg"); }
.tile-icon[data-icon="meet"] { background-image: url("images/icons/meet.svg"); }
.tile-icon[data-icon="sites"] { background-image: url("images/icons/sites.svg"); }
.tile-icon[data-icon="docs"] { background-image: url("images/icons/docs.svg"); }
.tile-icon[data-icon="device"] { background-image: url("images/icons/device.svg"); }

/* ---------- Spotlight (alternating feature) sections ---------- */

.spotlight {
    padding: 80px 0;
    background: var(--bg-soft);
}

.spotlight-alt {
    background: var(--bg);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.spotlight-grid.reverse .spotlight-art {
    order: 2;
}

.spotlight-art {
    height: 280px;
    border-radius: 16px;
    /* Fallback gradient shows if the image below is ever missing/fails
       to load; the SVGs already paint their own full-bleed background,
       so in practice only the image is visible once it loads. */
    background: linear-gradient(135deg, var(--brand), #6c8bff);
    background-image: url("images/spotlight/team.svg");
    background-size: cover;
    background-position: center;
}

.spotlight-art-2 {
    background-color: #1c3fc7;
    background-image: url("images/spotlight/storage.svg");
}

.eyebrow {
    color: var(--brand);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 12px;
}

.spotlight-copy h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 16px;
}

.spotlight-copy p {
    color: var(--ink-soft);
    font-size: 16px;
    max-width: 46ch;
    margin: 0 0 20px;
}

.link-arrow {
    font-weight: 600;
    color: var(--brand);
}

/* ---------- Trust band ---------- */

.trust-band {
    background: var(--ink);
    color: #fff;
    padding: 48px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.trust-label {
    display: block;
    color: #b8bdcc;
    font-size: 13px;
    margin-top: 4px;
}

/* ---------- Pricing ---------- */

.pricing {
    padding: 88px 0;
    text-align: center;
}

.pricing .section-title,
.pricing .section-sub {
    text-align: center;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    justify-content: center;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    background: #fff;
}

.plan-card-featured {
    border-color: var(--brand);
    box-shadow: 0 20px 40px -24px rgba(43, 95, 255, 0.4);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 32px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin: 0;
}

.plan-code {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink-faint);
    margin: 0 0 4px;
}

.plan-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.plan-price {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 20px;
}

.plan-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-soft);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--ink-soft);
}

.plan-features li {
    padding: 6px 0;
    border-top: 1px solid var(--border);
}

.plan-features li:first-child {
    border-top: none;
}

.plan-features li.excluded {
    color: var(--ink-faint);
}

/* ---------- Signup band ---------- */

.signup-band {
    background: var(--bg-soft);
    padding: 88px 0;
}

.signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.signup-copy h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 12px;
}

.signup-copy p {
    color: var(--ink-soft);
    font-size: 16px;
}

.signup-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
}

.form-row input,
.form-row select {
    font: inherit;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-split > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-error {
    color: #c0362c;
    font-size: 13px;
    margin: 0;
}

/* ---------- Product pages (mail.html, files.html, meet.html, sites.html,
   docs.html, device.html) ---------- */

.product-hero,
.centered-section {
    padding: 72px 0 56px;
    text-align: center;
}

.product-hero-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background-color: var(--bg-soft);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
}

.product-hero-icon[data-icon="mail"] { background-image: url("images/icons/mail.svg"); }
.product-hero-icon[data-icon="files"] { background-image: url("images/icons/files.svg"); }
.product-hero-icon[data-icon="meet"] { background-image: url("images/icons/meet.svg"); }
.product-hero-icon[data-icon="sites"] { background-image: url("images/icons/sites.svg"); }
.product-hero-icon[data-icon="docs"] { background-image: url("images/icons/docs.svg"); }
.product-hero-icon[data-icon="device"] { background-image: url("images/icons/device.svg"); }

.product-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 14px;
}

.product-hero p {
    max-width: 620px;
    margin: 0 auto 24px;
    color: var(--ink-soft);
    font-size: 17px;
}

.product-hero .hero-actions {
    justify-content: center;
}

.product-tier-note {
    display: inline-block;
    margin: 0 0 24px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 640px;
    display: grid;
    gap: 16px;
    text-align: left;
}

.feature-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--ink-soft);
}

.feature-list li::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.cta-band {
    background: var(--bg-soft);
    padding: 72px 0;
    text-align: center;
}

.cta-band h2 {
    font-size: clamp(22px, 3vw, 28px);
    margin: 0 0 12px;
}

.cta-band p {
    color: var(--ink-soft);
    margin: 0 0 24px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--ink);
    color: #b8bdcc;
    padding: 56px 0 24px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    margin: 0 0 16px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    opacity: 0.85;
}

.footer-col a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    font-size: 13px;
    opacity: 0.75;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .primary-links {
        display: none;
    }

    .hero-grid,
    .spotlight-grid,
    .signup-grid {
        grid-template-columns: 1fr;
    }

    .spotlight-grid.reverse .spotlight-art {
        order: 0;
    }

    .hero-art {
        display: none;
    }

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

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

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

@media (max-width: 560px) {
    .tile-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row-split {
        grid-template-columns: 1fr;
    }

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