/* Public marketing pages */

.marketing-page {
    overflow: hidden;
    background: var(--rg-surface-page);
}

/* Editorial homepage */
.front-page {
    overflow: hidden;
}

.front-feature {
    padding-block: clamp(72px, 10vw, 136px);
    background: var(--rg-surface-page);
}

.front-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: clamp(48px, 8vw, 112px);
}

.front-feature-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rg-space-5);
}

.front-feature-copy .mud-typography-h1,
.update-article-header .mud-typography-h1 {
    max-width: 820px;
    font-size: clamp(3rem, 6.3vw, 6rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.front-feature-copy .mud-typography-h6 {
    max-width: 680px;
    line-height: 1.65;
    font-weight: var(--rg-font-weight-regular);
}

.front-feature-visual {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 440px;
    padding: 0;
    overflow: visible;
    color: var(--mud-palette-text-primary);
    background: transparent;
    text-align: center;
}

.front-feature-visual > img {
    display: block;
    width: 100%;
    max-width: 540px;
    height: auto;
    object-fit: contain;
}

.front-section {
    padding-block: clamp(72px, 9vw, 120px);
}

.front-updates {
    padding-top: 0;
}

.front-updates-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--rg-space-6);
    margin-bottom: var(--rg-space-8);
}

.front-updates-heading .mud-typography-h2 {
    font-size: var(--rg-type-display-small-size);
    line-height: var(--rg-type-display-small-line-height);
    font-weight: var(--rg-font-weight-bold);
}

.front-update-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--rg-space-12);
    row-gap: var(--rg-space-6);
}

.front-update-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: center;
    gap: var(--rg-space-6);
}

.front-update-image-link,
.updates-index-image-link {
    display: block;
    min-width: 0;
}

.update-cover {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--rg-shape-card);
    background: var(--rg-surface-container);
}

/* Procedural cover artwork, independent of the interface palette. */
.update-cover--generated {
    background:
        radial-gradient(ellipse at var(--cover-x) var(--cover-y), hsl(calc(var(--cover-hue) + 65) 90% 85% / 0.85), transparent 65%),
        radial-gradient(ellipse at 100% 100%, hsl(calc(var(--cover-hue) - 35) 85% 60%), transparent 70%),
        linear-gradient(var(--cover-angle), hsl(var(--cover-hue) 80% 42%), hsl(calc(var(--cover-hue) + 40) 85% 72%));
}

.front-update-copy,
.updates-index-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rg-space-3);
    min-width: 0;
}

.marketing-update-title,
.marketing-update-title .mud-link {
    font-size: var(--rg-type-title-medium-size);
    line-height: var(--rg-type-title-medium-line-height);
    font-weight: var(--rg-font-weight-medium);
    letter-spacing: normal;
}

.marketing-update-meta {
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--rg-space-3);
    row-gap: var(--rg-space-1);
    font-size: var(--rg-type-body-medium-size);
    line-height: var(--rg-type-body-medium-line-height);
}

.marketing-update-meta time {
    color: var(--mud-palette-text-secondary);
}

.marketing-closing.front-introduction {
    padding-block: clamp(var(--rg-space-8), 3vw, var(--rg-space-10));
    text-align: left;
}

.front-introduction-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
    align-items: center;
    gap: clamp(40px, 7vw, 96px);
}

.front-introduction-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rg-space-5);
}

.front-introduction-copy .mud-typography-body1 {
    max-width: 680px;
    line-height: 1.75;
}

.marketing-editorial-image {
    display: block;
    width: 100%;
    height: auto;
}

.front-introduction-illustration {
    max-width: 720px;
    margin-inline: auto;
}

/* Individual homepage updates */
.update-article {
    padding-block: clamp(64px, 9vw, 112px);
}

.update-article-back.mud-button-root {
    margin-inline-start: calc(0px - var(--rg-space-10));
    margin-bottom: var(--rg-space-10);
}

.update-article-header {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-5);
    padding-bottom: var(--rg-space-10);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.update-article-header .mud-typography-h6 {
    max-width: 720px;
    line-height: 1.65;
    font-weight: var(--rg-font-weight-regular);
}

.update-article-body {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-5);
    max-width: 720px;
    padding-block: var(--rg-space-10);
}

.update-article-body .mud-typography-body1 {
    line-height: 1.8;
}

.update-article-prose {
    color: var(--mud-palette-text-primary);
}

.update-article-prose h2,
.update-article-prose h3 {
    margin-top: var(--rg-space-8);
    margin-bottom: 0;
    color: var(--mud-palette-text-primary);
    font-weight: var(--rg-font-weight-medium);
    letter-spacing: -0.025em;
}

.update-article-prose h2 {
    font-size: var(--mud-typography-h4-size);
    line-height: var(--mud-typography-h4-lineheight);
}

.update-article-prose h3 {
    font-size: var(--mud-typography-h5-size);
    line-height: var(--mud-typography-h5-lineheight);
}

.update-article-prose p,
.update-article-prose li {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: var(--mud-typography-body1-size);
    line-height: 1.8;
}

.update-article-prose ul,
.update-article-prose ol {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-2);
    margin: 0;
    padding-left: var(--rg-space-6);
}

.update-article-prose img {
    display: block;
    width: 100%;
    max-height: 520px;
    margin-block: var(--rg-space-4);
    object-fit: contain;
}

.update-article-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rg-space-6);
}

/* Updates archive */
.updates-index-page {
    padding-block: clamp(64px, 9vw, 112px);
}

.updates-index-header {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-4);
    max-width: 760px;
    margin-bottom: var(--rg-space-10);
}

.updates-index-header .mud-typography-h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.updates-index-header .mud-typography-body1 {
    line-height: 1.65;
    font-weight: var(--rg-font-weight-regular);
}

.updates-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--rg-space-6);
    row-gap: var(--rg-space-12);
}

.updates-index-entry {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-4);
    min-width: 0;
}

@media (max-width: 959px) {
    .front-update-list {
        grid-template-columns: 1fr;
    }

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

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

    .front-feature-grid {
        grid-template-columns: 1fr;
    }

    .front-feature-visual {
        min-height: 360px;
    }
}

@media (max-width: 599px) {
    .front-feature,
    .front-section,
    .update-article,
    .updates-index-page {
        padding-block: var(--rg-space-10);
    }

    .front-updates {
        padding-top: 0;
    }

    .front-feature-copy .mud-typography-h1,
    .update-article-header .mud-typography-h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .front-feature-visual {
        min-height: 280px;
        padding: var(--rg-space-8);
    }

    .marketing-section-heading--inline {
        align-items: flex-start;
        flex-direction: column;
    }

    .update-article-back.mud-button-root {
        margin-inline-start: 0;
    }

    .updates-index-grid {
        grid-template-columns: 1fr;
    }
}

.marketing-page .mud-typography-h1,
.marketing-page .mud-typography-h2,
.marketing-page .mud-typography-h3,
.marketing-page .mud-typography-h4,
.marketing-page .mud-typography-h5,
.marketing-page .mud-typography-h6 {
    text-wrap: balance;
}

.marketing-page .mud-typography-body1,
.marketing-page .mud-typography-body2 {
    text-wrap: pretty;
}

.marketing-align-center {
    align-items: center;
}

.marketing-section {
    padding-block: clamp(64px, 7vw, 96px);
}

.marketing-section-muted {
    background: var(--rg-surface-page);
}

.marketing-section-title {
    max-width: 760px;
    margin-top: var(--rg-space-3);
    letter-spacing: -0.035em;
}

.marketing-section-lead {
    max-width: 720px;
    margin-top: var(--rg-space-5);
    line-height: 1.75;
}

.marketing-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: end;
    gap: var(--rg-space-12);
    margin-bottom: var(--rg-space-10);
}

.marketing-section-heading--inline {
    display: flex;
    justify-content: space-between;
    gap: var(--rg-space-6);
    margin-bottom: var(--rg-space-8);
}

.marketing-section-heading--inline .marketing-section-heading-copy {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-2);
}

.marketing-section-heading--inline .marketing-section-title {
    max-width: none;
    margin-top: 0;
}

.marketing-heading-copy {
    max-width: 520px;
    line-height: 1.7;
}

.marketing-actions {
    flex-wrap: wrap;
}

.marketing-actions .mud-button-root {
    min-height: var(--rg-control-height-lg);
    padding-inline: var(--rg-space-6);
}

.marketing-page .marketing-text-link {
    align-self: flex-start;
    margin: var(--rg-space-6) 0 0;
}

.marketing-cta-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rg-space-5);
    padding: clamp(24px, 4vw, 48px) 0;
    text-align: center;
}

.marketing-cta-panel .mud-typography-body1 {
    max-width: 620px;
}

/* Home hero */

.page-stagger > .home-page {
    animation: none;
    margin-top: calc(0px - var(--mud-appbar-height));
}

.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100svh;
    overflow: hidden;
    padding: calc(var(--mud-appbar-height) + clamp(48px, 7svh, 96px)) 0 clamp(160px, 22svh, 260px);
    background: center bottom / cover no-repeat url("/images/rungard-hero-light.jpg");
}

/* Ambient animation layer. Sized and positioned from JS to match the hero background box. */
.home-hero-canvas {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.home-hero::after {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: clamp(var(--rg-space-6), 3vw, var(--rg-space-12));
    background: var(--rg-surface-page);
    content: "";
    pointer-events: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 30C110 18 170 38 280 31C390 24 455 9 585 22C740 38 810 41 930 29C1060 15 1150 12 1245 26C1335 39 1384 33 1440 24V56H0Z' fill='black'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 30C110 18 170 38 280 31C390 24 455 9 585 22C740 38 810 41 930 29C1060 15 1150 12 1245 26C1335 39 1384 33 1440 24V56H0Z' fill='black'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

body.dark-mode .home-hero {
    background-image: url("/images/rungard-hero-dark.jpg");
}

.home-hero > .mud-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.home-hero-copy {
    align-items: center;
    gap: clamp(16px, 3.5svh, 40px) !important;
    min-width: 0;
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
}

.home-hero-title {
    font-size: clamp(2.75rem, min(5vw, 7.5svh), 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.home-hero-title:lang(de) {
    overflow-wrap: break-word;
    hyphens: manual;
}

.home-hero-summary,
.about-hero-summary {
    max-width: 660px;
    font-weight: var(--rg-font-weight-regular);
    line-height: 1.65;
}

.home-hero-summary {
    text-wrap: balance;
}

/* Always one point per row. Wrapping put two on one line and one on the next, which
   read as a broken grid. fit-content keeps the check marks on a shared left edge while
   the block itself stays centred under the hero copy, and collapses to the full width
   once a label has to wrap. */
.home-hero-points {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--rg-space-3);
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: start;
}

.home-hero-point {
    display: flex;
    align-items: flex-start;
    gap: var(--rg-space-2);
}

.home-hero-point .mud-icon-root {
    flex: 0 0 auto;
}

/* Home product, showcase, and film */

.home-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: center;
    gap: var(--rg-space-12);
}

.home-product-render {
    display: block;
    width: 100%;
    height: auto;
}

/* The offer strip sits directly on the page: price on the left, headline specs on the right. */
.home-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: var(--rg-space-12);
    margin-top: var(--rg-space-10);
    padding-top: var(--rg-space-8);
    border-top: 1px solid var(--mud-palette-lines-default);
}

.home-offer-price {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-1);
}

.home-offer-amount {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.home-offer-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--rg-space-6);
    margin: 0;
}

.home-offer-specs dt {
    color: var(--mud-palette-text-secondary);
    font-size: var(--rg-type-body-small-size);
    font-weight: var(--rg-font-weight-regular);
}

.home-offer-specs dd {
    margin: var(--rg-space-1) 0 0;
    color: var(--mud-palette-text-primary);
    font-weight: var(--rg-font-weight-medium);
}

.home-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: var(--rg-space-12);
    margin-bottom: var(--rg-space-10);
}

.home-section-heading .marketing-section-title {
    margin: 0;
    font-size: var(--rg-type-display-medium-size);
    line-height: var(--rg-type-display-medium-line-height);
}

.home-section-heading .mud-typography-body1 {
    max-width: 52ch;
    line-height: 1.75;
}

.home-scene-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--rg-shape-card);
}

.home-library-visual {
    display: block;
}

.home-control-shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--rg-shape-card);
}

.home-control-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--rg-space-10);
    margin-top: var(--rg-space-8);
}

.home-control-features > div {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-2);
}

.home-control-features .mud-typography-body1 {
    line-height: 1.7;
}

.home-control-detail {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--rg-shape-card);
    margin-top: auto;
}

.home-control-features .mud-typography-body1 {
    margin-bottom: var(--rg-space-4);
}

.home-setup-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--rg-space-12);
    align-items: start;
}

.home-setup-copy > .home-story-copy {
    padding-top: var(--rg-space-4);
}

.home-film-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--rg-shape-card);
}

@media (max-width: 959.98px) {
    .home-product-layout,
    .home-offer,
    .home-section-heading,
    .home-control-features,
    .home-setup-copy {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--rg-space-8);
    }

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

    .home-setup-copy > .home-story-copy {
        padding-top: 0;
    }
}

/* Home story */

.home-intro-layout,
.home-how-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: var(--rg-space-16);
}

.home-how-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.home-intro-title-line {
    display: block;
}

.home-story-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rg-space-6);
    max-width: 54ch;
}

.home-story-copy .mud-typography-body1 {
    line-height: 1.8;
}

.home-story-copy .marketing-section-title {
    margin: 0 0 var(--rg-space-2);
    font-size: var(--rg-type-display-medium-size);
    line-height: var(--rg-type-display-medium-line-height);
}

.home-how,
.home-everyday {
    padding-top: clamp(var(--rg-space-6), 3vw, var(--rg-space-12));
}

.home-everyday-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--rg-space-16);
}

.home-everyday-illustration {
    grid-column: 1;
    grid-row: 1;
}

.home-everyday .home-story-copy {
    grid-column: 2;
}

.home-how-layout .home-story-copy {
    grid-column: 1;
    grid-row: 1;
}

.home-how-illustration {
    grid-column: 2;
}

.marketing-closing {
    padding-block: var(--rg-space-20);
}

.marketing-closing--tinted {
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, var(--rg-surface-page));
}

.marketing-closing-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--rg-space-12);
}

.marketing-closing-layout > div:first-child {
    max-width: 58ch;
}

.marketing-closing .mud-typography-h2 {
    margin-bottom: var(--rg-space-5);
    font-size: var(--rg-type-display-medium-size);
    line-height: var(--rg-type-display-medium-line-height);
}

.marketing-closing .mud-typography-body1 {
    line-height: 1.75;
}

.marketing-closing .marketing-actions {
    flex: 0 0 auto;
}

.pricing-term-note {
    margin-top: var(--rg-space-3);
    line-height: 1.6;
}

/* About story */

.about-opening {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--rg-space-12);
    padding-block: var(--rg-space-16);
}

.about-opening-copy {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-6);
}

.about-story-title {
    max-width: 14ch;
    font-size: var(--rg-type-display-large-size);
    letter-spacing: var(--rg-type-heading-letter-spacing);
}

.about-opening-illustration {
    max-width: 460px;
    margin-inline: auto;
}

.about-story {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-6);
    padding-block: var(--rg-space-6) var(--rg-space-16);
}

.about-story-intro {
    max-width: var(--rg-layout-reading-measure);
    margin-inline: auto;
}

.about-service-control {
    display: flex;
    justify-content: center;
}

.about-service-map {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--rg-space-10);
    padding-block: var(--rg-space-10);
    text-align: center;
}

.about-service-paths {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--mud-palette-primary);
    stroke-width: 2;
    stroke-dasharray: 6 8;
}

.about-local-path,
.about-cloud-path {
    animation: about-service-flow calc(var(--rg-motion-duration-spinner) * 4) linear infinite;
}

.about-service-endpoint,
.about-service-device {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rg-space-3);
}

.about-service-icon {
    width: var(--rg-space-12);
    height: var(--rg-space-12);
    color: var(--mud-palette-primary);
}

.about-service-map .mud-typography-h3,
.about-service-details .mud-typography-h3 {
    font-size: var(--rg-type-title-large-size);
    line-height: var(--rg-type-title-large-line-height);
}

.about-service-endpoint .mud-typography-body1 {
    max-width: 23ch;
}

.about-service-device img {
    display: block;
    width: 100%;
    height: auto;
}

.about-service-state {
    min-height: 3lh;
    max-width: 60ch;
    margin-inline: auto;
    text-align: center;
    color: var(--mud-palette-primary);
}

.about-service-demo.is-offline .about-cloud-path {
    stroke: var(--mud-palette-text-secondary);
    animation: none;
    opacity: 0.35;
}

.about-service-demo.is-offline .about-service-cloud .about-service-icon {
    color: var(--mud-palette-text-secondary);
}

.about-service-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--rg-space-12);
}

.about-service-details > div {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-4);
}

@keyframes about-service-flow {
    to { stroke-dashoffset: -56; }
}

@media (prefers-reduced-motion: reduce) {
    .about-local-path,
    .about-cloud-path {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .about-service-map {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--rg-space-6);
    }

    .about-service-device {
        grid-column: 1 / -1;
        grid-row: 1;
        width: min(100%, 360px);
        margin-inline: auto;
    }

    .about-service-paths {
        display: none;
    }

    .about-service-details {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--rg-space-8);
    }
}

.about-story .mud-typography-h2 {
    max-width: 30ch;
    margin-bottom: var(--rg-space-4);
    font-size: var(--rg-type-headline-large-size);
    line-height: var(--rg-type-headline-large-line-height);
}

.about-story .mud-typography-body1 {
    line-height: 1.85;
}

.about-company {
    padding-bottom: var(--rg-space-20);
}

.about-company-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--rg-space-16);
}

.about-company-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rg-space-5);
    max-width: 52ch;
}

.about-company-copy .mud-typography-body1 {
    line-height: 1.8;
}

.about-colophon {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-2);
    margin-top: var(--rg-space-6);
}

.about-wordmark {
    display: block;
    width: min(180px, 100%);
    height: auto;
}

.about-company-illustration {
    max-width: 520px;
    margin-inline: auto;
}

/* Products and contact */

.support-page,
.contact-page {
    min-height: 100%;
    padding-block: clamp(48px, 7vw, 88px);
    background: var(--rg-surface-page);
}

.products-page {
    padding-block: clamp(32px, 4vw, 56px);
}

.support-page-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--rg-space-6);
    max-width: 820px;
    margin-inline: auto;
    margin-bottom: var(--rg-space-10);
    text-align: center;
}

.products-header,
.contact-header {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
    align-items: center;
    gap: clamp(40px, 7vw, 96px);
    max-width: none;
    text-align: left;
}

.products-header-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rg-space-4);
}

.products-header {
    grid-template-columns: 1fr;
    gap: var(--rg-space-4);
    width: 100%;
    margin-bottom: var(--rg-space-12);
    text-align: center;
}

.products-header-copy .mud-typography-h1 {
    letter-spacing: var(--rg-type-heading-letter-spacing);
}

.contact-header-illustration {
    max-width: 480px;
    margin-inline: auto;
}

.support-page-header .mud-typography-h2,
.contact-header .mud-typography-h2 {
    margin-bottom: var(--rg-space-3);
    letter-spacing: -0.035em;
}

.support-page-header .mud-typography-body1,
.contact-header .mud-typography-body1 {
    max-width: 760px;
    line-height: 1.7;
}

.products-header .products-currency {
    flex: 0 0 auto;
    margin-inline: auto;
    width: 116px;
}

/* Subscription choices sit above the compact device card. */
.pricing-picker .product-customer-type {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
}

.pricing-picker .product-customer-type .segmented-control-option {
    font-weight: var(--rg-font-weight-strong);
}

.pricing-offer {
    padding: var(--rg-space-6);
    border-radius: var(--rg-shape-card);
    background: var(--rg-surface-container);
    box-shadow: var(--rg-shadow-workspace-panel);
    text-align: center;
}

.pricing-offer .mud-typography-h2 {
    font-size: var(--rg-type-display-small-size);
    line-height: var(--rg-type-display-small-line-height);
}

.pricing-device-image {
    display: block;
    width: min(100%, 280px);
    height: auto;
    margin: var(--rg-space-5) auto;
}

.pricing-saving {
    margin-top: var(--rg-space-2);
    color: var(--rg-status-success-text);
    font-weight: var(--rg-font-weight-medium);
}

.pricing-term-choices {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
}

.pricing-term-savings {
    display: grid;
    grid-template-columns: repeat(var(--pricing-term-count), minmax(0, 1fr));
    margin-bottom: var(--rg-space-1);
    padding-inline: var(--rg-space-1);
}

.pricing-term-saving {
    color: var(--rg-status-success-text);
    font-size: var(--rg-type-body-small-size);
    font-weight: var(--rg-font-weight-medium);
}

.pricing-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rg-space-1);
}

.pricing-amount .mud-typography-h3 {
    font-size: var(--rg-type-display-large-size);
}

.pricing-description {
    margin-block: var(--rg-space-6) var(--rg-space-8);
    line-height: 1.7;
}

.pricing-specifications {
    margin: 0;
    padding-top: var(--rg-space-4);
    border-top: 1px solid var(--mud-palette-lines-default);
}

.pricing-specifications > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: var(--rg-space-3);
    padding-block: var(--rg-space-2);
}

.pricing-specifications dt {
    display: flex;
    align-items: center;
    gap: var(--rg-space-3);
    text-align: left;
    font-weight: var(--rg-font-weight-strong);
}

.pricing-specifications dd {
    margin: 0;
    text-align: right;
    overflow-wrap: anywhere;
    color: var(--mud-palette-text-secondary);
}

.pricing-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rg-space-3);
    margin-top: var(--rg-space-5);
}

.pricing-subscription,
.products-page .product-faq-surface {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--rg-space-20);
}

.pricing-subscription {
    margin-top: var(--rg-space-20);
}

.pricing-subscription > .mud-typography-h4 {
    max-width: 22ch;
}

.pricing-subscription-copy {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-5);
    line-height: 1.75;
}

.products-page .product-faq-section {
    width: 100%;
    margin-top: var(--rg-space-16);
}

.products-page .product-faq-surface {
    padding: 0;
    border: 0;
    background: transparent;
}

.products-page .product-faq-surface .mud-typography-h4 {
    text-align: left;
}

.products-page .product-faq-surface .mud-expand-panel {
    background: transparent;
}

.products-page .product-faq-surface .mud-expand-panel-header {
    padding-inline: 0;
}

.product-picker {
    width: min(100%, 460px);
    margin-inline: auto;
}

.products-loading {
    display: grid;
    justify-items: center;
    gap: var(--rg-space-5);
}

.product-card.products-loading-card {
    width: 100%;
    border: 0;
}

.products-loading-period,
.products-loading-heading,
.products-loading-price,
.products-loading-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.products-loading-period {
    gap: var(--rg-space-2);
}

.products-loading-tabs {
    display: flex;
    gap: var(--rg-space-3);
}

.products-loading-tabs .mud-skeleton,
.products-loading-actions .mud-skeleton {
    border-radius: var(--rg-shape-control);
}

.products-loading-content {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-5);
    padding: calc(var(--rg-space-12) + var(--rg-space-3)) var(--rg-space-6) var(--rg-space-6);
}

.products-loading-heading {
    gap: var(--rg-space-4);
}

.products-loading-image {
    border-radius: var(--rg-shape-app-tile);
}

.products-loading-price,
.products-loading-copy {
    gap: var(--rg-space-1);
}

.products-loading-specs {
    display: grid;
    gap: var(--rg-space-3);
}

.products-loading-spec {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--rg-space-2);
}

.products-loading-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rg-space-3);
    padding: 0 var(--rg-space-6) var(--rg-space-6);
}

.products-load-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 520px);
    margin-inline: auto;
    padding: var(--rg-space-5);
    border-radius: var(--rg-shape-card);
}

.product-period-selector {
    width: 100%;
    margin: 0;
    text-align: center;
}

/* The term choice uses the same segmented control as the customer type, directly under it. */
.product-period-choice {
    width: max-content;
    max-width: 100%;
    margin: 0 auto var(--rg-space-5);
}

.product-pricing-controls {
    display: grid;
    gap: var(--rg-space-3);
    margin-bottom: var(--rg-space-5);
}

.product-customer-type {
    width: max-content;
    max-width: 100%;
    justify-self: center;
    margin-inline: auto;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--m3-shape-l);
    background: var(--rg-surface-container);
    box-shadow: var(--rg-shadow-workspace-panel);
}

.product-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: var(--rg-space-5);
    padding: calc(var(--rg-space-12) + var(--rg-space-3)) var(--rg-space-6) var(--rg-space-6);
    text-align: center;
}

.product-card-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rg-space-4);
}

.product-card-image {
    width: 96px;
    height: 96px;
}

.product-price {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: var(--rg-space-1);
}

.product-price .mud-typography-h3 {
    font-size: var(--rg-type-display-medium-size);
    line-height: var(--rg-type-display-medium-line-height);
}

.product-description {
    min-height: 64px;
    line-height: 1.65;
}

.product-specs {
    width: 100%;
    max-width: 360px;
    margin-top: auto;
    margin-inline: auto;
    text-align: left;
}

.product-spec-row {
    display: grid;
    grid-template-columns: 24px minmax(72px, auto) minmax(0, 1fr);
    align-items: start;
    gap: var(--rg-space-2);
}

.product-spec-row > :last-child {
    text-align: right;
    overflow-wrap: anywhere;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rg-space-3);
    padding: 0 var(--rg-space-6) var(--rg-space-6);
}

.product-details-back {
    margin-bottom: var(--rg-space-6);
}

.product-details-loading {
    display: grid;
    place-items: center;
    min-height: 420px;
}

.product-details-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--rg-space-16);
    padding-block: var(--rg-space-6) var(--rg-space-12);
}

.product-details-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rg-space-6);
    max-width: 54ch;
}

.product-details-copy .mud-typography-h1 {
    letter-spacing: var(--rg-type-heading-letter-spacing);
}

.product-details-introduction {
    font-weight: var(--rg-font-weight-regular);
    line-height: 1.5;
}

.product-details-copy .mud-typography-body1 {
    line-height: 1.75;
}

.product-details-visual {
    margin: 0;
}

.product-details-visual figcaption,
.product-details-gallery figcaption {
    margin-top: var(--rg-space-3);
    color: var(--mud-palette-text-secondary);
    font-size: var(--rg-type-body-small-size);
    line-height: var(--rg-type-body-small-line-height);
}

.product-model {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    background: transparent;
    --poster-color: transparent;
}

.product-model:not(:defined) {
    display: block;
}

.product-model-poster {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.product-model-poster img {
    display: block;
    width: 100%;
    height: auto;
}

.product-model-explore {
    position: absolute;
    bottom: 0;
    left: 50%;
    min-height: var(--rg-control-height-md);
    padding-inline: var(--rg-space-5);
    border: 0;
    border-radius: var(--rg-shape-pill);
    color: var(--mud-palette-text-primary);
    background: var(--rg-surface-control);
    font: inherit;
    font-weight: var(--rg-font-weight-medium);
    cursor: pointer;
    transform: translateX(-50%);
    transition: background-color var(--m3-motion-duration-short) var(--m3-motion-easing-effects);
}

.product-model-explore:hover {
    background: var(--rg-surface-control-hover);
}

.product-model-explore:focus-visible {
    outline: var(--rg-focus-ring);
    outline-offset: var(--rg-focus-ring-offset);
}

.product-model.is-exploring .product-model-explore {
    visibility: hidden;
}

.product-details-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rg-space-8) var(--rg-space-6);
    padding-block: var(--rg-space-12);
}

.product-details-gallery figure {
    margin: 0;
}

.product-details-gallery-wide {
    grid-column: 1 / -1;
}

.product-details-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--rg-shape-card);
}

@media (max-width: 599.98px) {
    .product-details-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

.product-details-glance {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--rg-space-6);
    margin: 0;
    padding-block: var(--rg-space-6);
    border-block: 1px solid var(--mud-palette-lines-default);
}

.product-details-glance-item > dt,
.product-details-glance-item > dd {
    margin: 0;
}

.product-details-glance-item > dt {
    margin-bottom: var(--rg-space-2);
}

.product-details-story,
.product-details-specifications {
    scroll-margin-top: calc(var(--mud-appbar-height) + var(--rg-space-6));
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: var(--rg-space-16);
    margin-top: var(--rg-space-20);
}

.product-details-story > .mud-typography-h2,
.product-details-specification-heading .mud-typography-h2 {
    font-size: var(--rg-type-display-small-size);
    line-height: var(--rg-type-display-small-line-height);
    max-width: 20ch;
}

.product-details-prose,
.product-details-specification-heading {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-5);
}

.product-details-prose .mud-typography-body1,
.product-details-specification-heading .mud-typography-body2 {
    line-height: 1.75;
}

.product-details-spec-group {
    padding-block: var(--rg-space-6);
    border-top: 1px solid var(--mud-palette-lines-default);
}

.product-details-spec-group > .mud-typography-h6 {
    margin-bottom: var(--rg-space-4);
}

.product-details-spec-rows {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-3);
    margin: 0;
}

.product-details-spec {
    display: grid;
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
    gap: var(--rg-space-6);
    line-height: 1.65;
}

.product-details-spec-label,
.product-details-spec-value {
    margin: 0;
}

.product-details-spec-label {
    color: var(--mud-palette-text-secondary);
}

.product-details-spec-value {
    overflow-wrap: anywhere;
}

.product-details-closing {
    border-top: 1px solid var(--mud-palette-lines-default);
    margin-top: var(--rg-space-16);
    padding-bottom: 0;
}

.products-section,
.product-faq-section {
    width: min(100%, 760px);
    margin-inline: auto;
}

.subscription-includes {
    width: min(100%, 1040px);
}

.products-section {
    padding-top: clamp(80px, 9vw, 120px);
}

.product-faq-section {
    margin-top: clamp(80px, 9vw, 120px);
}

.support-section-heading {
    margin-bottom: var(--rg-space-10);
    text-align: center;
}

.support-section-heading .mud-typography-h4 {
    margin-bottom: var(--rg-space-3);
}

.support-section-heading .mud-typography-h3 {
    margin-bottom: var(--rg-space-2);
    letter-spacing: -0.025em;
}

.product-faq-surface {
    overflow: hidden;
    padding: var(--rg-space-6);
    border-radius: var(--rg-shape-card);
}

.product-faq-surface .mud-expand-panel.mud-panel-expanded,
.product-faq-surface .mud-expand-panel.mud-panel-next-expanded {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.product-faq-surface .mud-expand-panel:last-child {
    border-bottom: none;
}

.subscription-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--rg-space-4);
}

.subscription-card {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-3);
    padding: var(--rg-space-6);
    border-radius: var(--m3-shape-l);
    background: var(--rg-surface-container);
    box-shadow: var(--rg-shadow-workspace-panel);
}

.subscription-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--rg-space-2);
    border-radius: var(--m3-shape-m);
    color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 14%, transparent);
}

.subscription-card .mud-typography-body2 {
    line-height: 1.7;
}

.subscription-note {
    display: block;
    margin-top: var(--rg-space-5);
    text-align: center;
}

.contact-header {
    max-width: none;
    margin-bottom: var(--rg-space-10);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 112px);
    padding-bottom: var(--rg-space-20);
}

.contact-compose,
.contact-direct,
.contact-direct > section {
    display: flex;
    flex-direction: column;
    gap: var(--rg-space-4);
}

.contact-direct {
    gap: var(--rg-space-12);
}

.contact-interest {
    padding-top: var(--rg-space-10);
    border-top: 1px solid var(--mud-palette-lines-default);
}

.contact-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--rg-space-3) var(--rg-space-5);
}

.contact-addresses {
    display: grid;
    gap: var(--rg-space-5);
    margin: 0;
}

.contact-addresses dt {
    color: var(--mud-palette-text-secondary);
    font-size: var(--rg-type-body-small-size);
}

.contact-addresses dd {
    margin: var(--rg-space-1) 0 0;
    font-size: var(--rg-type-body-large-size);
}

@media (max-width: 959.98px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Responsive behavior */

@media (max-width: 959.98px) {
    .marketing-section-heading {
        grid-template-columns: 1fr;
        gap: var(--rg-space-5);
    }

    .front-introduction-layout {
        grid-template-columns: 1fr;
    }

    .home-intro-layout,
    .home-how-layout,
    .products-header,
    .contact-header {
        grid-template-columns: 1fr;
    }

    .contact-header {
        text-align: center;
    }

    .product-details-hero {
        grid-template-columns: 1fr;
    }

    .product-details-visual {
        min-height: 240px;
    }

    .home-hero-copy {
        max-width: 800px;
    }

    .about-opening,
    .about-company-layout {
        grid-template-columns: 1fr;
        gap: var(--rg-space-8);
    }

    .about-story-title {
        max-width: none;
    }

    .home-story-copy {
        max-width: none;
    }

    .home-intro-illustration {
        max-width: 520px;
        margin-inline: auto;
    }

    .home-how-illustration {
        order: 1;
        max-width: 520px;
        margin-inline: auto;
    }

    .about-company-copy {
        max-width: none;
    }

    .about-company-illustration {
        order: -1;
        max-width: 420px;
    }
}

@media (max-width: 767.98px) {
    .marketing-section {
        padding-block: 64px;
    }

    .home-hero {
        min-height: 100svh;
        padding: calc(var(--mud-appbar-height) + 28px) 0 72px;
    }

    .pricing-subscription,
    .products-page .product-faq-surface,
    .subscription-cards {
        grid-template-columns: 1fr;
    }

    .pricing-subscription,
    .products-page .product-faq-surface {
        gap: var(--rg-space-6);
    }

    .home-hero-title {
        font-size: clamp(2.8rem, 13vw, 4.3rem);
    }

    .home-story-copy {
        gap: var(--rg-space-5);
    }

    .product-details-spec-groups {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 599.98px) {
    .page-stagger > .home-page {
        margin-top: calc(0px - var(--mud-appbar-height) + var(--rg-space-2));
    }

    .support-page-header {
        align-items: stretch;
        flex-direction: column;
    }

    .product-card-image {
        width: 80px;
        height: 80px;
    }

    .products-loading-image {
        width: 80px !important;
        height: 80px !important;
    }

    .product-actions,
    .products-loading-actions {
        grid-template-columns: 1fr;
    }

    .product-details-hero {
        padding-block: var(--rg-space-6);
    }

    .product-details-visual .mud-image {
        max-height: 320px;
    }

    .product-details-glance {
        grid-template-columns: 1fr;
    }

    .product-details-spec {
        grid-template-columns: 1fr;
        gap: var(--rg-space-1);
    }

    .product-faq-surface {
        padding: var(--rg-space-4);
    }

    .subscription-card {
        padding: var(--rg-space-5);
    }

    .marketing-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .marketing-actions .mud-button-root {
        width: 100%;
    }

    .marketing-cta-panel {
        align-items: stretch;
        padding-block: var(--rg-space-5);
        text-align: left;
    }

    .marketing-cta-panel .marketing-actions {
        align-items: stretch;
    }

    .home-page .marketing-cta-panel {
        align-items: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marketing-page *,
    .marketing-page *::before,
    .marketing-page *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}

@media (max-width: 959.98px) {
    .home-everyday-layout,
    .product-details-story,
    .product-details-specifications {
        grid-template-columns: 1fr;
        gap: var(--rg-space-8);
    }

    .home-everyday .home-story-copy,
    .home-how-layout .home-story-copy,
    .home-everyday-illustration,
    .home-how-illustration {
        grid-column: auto;
        grid-row: auto;
    }

    .home-everyday-illustration {
        max-width: 600px;
        margin-inline: auto;
    }

    .marketing-closing-layout {
        align-items: flex-start;
        flex-direction: column;
        gap: var(--rg-space-8);
    }

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

@media (max-width: 599.98px) {
    .front-update-entry {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
        gap: var(--rg-space-4);
    }
}

.not-found-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rg-space-5);
    padding-block: clamp(96px, 16vh, 180px);
}

.not-found-copy {
    max-width: 52ch;
    line-height: 1.75;
}
