/* App promo. Orange is the Flutter seed (Colors.orange), not a pharmacy register. */

:root {
    --ink: oklch(18% 0.02 55);
    --paper: oklch(97.6% 0.006 85);
    --muted: oklch(42% 0.02 55);
    --line: oklch(89% 0.01 75);
    --orange: oklch(74.5% 0.17 58);
    --orange-deep: oklch(66% 0.17 52);
    --night: oklch(16% 0.016 55);
    --night-soft: oklch(78% 0.02 75);
    --display: "Bricolage Grotesque", sans-serif;
    --sans: "Figtree", sans-serif;
    --wrap: 72rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.5;
    overflow-x: clip;
}

img {
    max-width: 100%;
}

p,
h1,
h2,
h3 {
    margin: 0;
}

a {
    color: inherit;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--paper);
    color: var(--ink);
    padding: 0.5rem 0.8rem;
}

.skip:focus {
    top: 0.75rem;
    z-index: 20;
}

.wrap {
    width: min(var(--wrap), calc(100% - 2.5rem));
    margin-inline: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.65rem 1.15rem;
    border-radius: 0.7rem;
    border: 2px solid transparent;
    font: 600 1rem/1 var(--sans);
    text-decoration: none;
    cursor: pointer;
}

.btn--primary {
    background: var(--orange);
    color: var(--ink);
}

.btn--primary:hover {
    background: var(--orange-deep);
}

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

.btn--ghost:hover {
    background: oklch(18% 0.02 55 / 0.06);
}

.btn--ink {
    background: var(--ink);
    color: var(--paper);
}

.btn--ink:hover {
    background: oklch(28% 0.02 55);
}

.btn:focus-visible,
.bar__nav a:focus-visible,
.logo:focus-visible,
.langs button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.bar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.bar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    min-height: 4.25rem;
    padding-block: 0.65rem;
}

.logo {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.bar__nav {
    display: flex;
    gap: 1.1rem;
    margin-left: auto;
}

.bar__nav a {
    text-decoration: none;
    font-weight: 600;
}

.bar__nav a:hover {
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-underline-offset: 0.28em;
}

.langs {
    display: flex;
    gap: 0.35rem;
}

.langs form {
    margin: 0;
}

.langs button {
    background: transparent;
    border: 0;
    border-radius: 0.45rem;
    font-size: 1.35rem;
    line-height: 1;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.2rem;
    cursor: pointer;
}

.langs button[aria-current="true"] {
    box-shadow: inset 0 0 0 2px var(--orange);
}

.hero {
    padding: clamp(2.5rem, 6vh, 4.5rem) 0 clamp(3rem, 7vh, 5rem);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
}

.kicker {
    color: oklch(40% 0.12 48);
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.hero h1,
.shots h2,
.office h2,
.story h2,
.plans h2,
.close h2 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.94;
}

.hero h1 {
    font-size: clamp(3.3rem, 6.2vw, 5.7rem);
    max-width: 11ch;
}

.lead {
    margin-top: 1.25rem;
    max-width: 34rem;
    color: var(--muted);
    font-size: 1.2rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.platforms {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.stage {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1.25rem 0;
}

.stage::before {
    content: "";
    position: absolute;
    width: 74%;
    height: 88%;
    left: 16%;
    top: 7%;
    background: var(--orange);
    border-radius: 2.4rem;
    transform: rotate(7deg);
}

.device {
    position: relative;
    z-index: 1;
    width: min(100%, 20.75rem);
    background: oklch(14% 0.012 55);
    padding: 0.48rem;
    border-radius: 2.2rem;
    box-shadow: 0 30px 50px -22px oklch(20% 0.04 50 / 0.55);
}

.screen {
    background: oklch(98.2% 0.004 90);
    color: var(--ink);
    border-radius: 1.8rem;
    min-height: 28rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 1.1rem;
}

.appbar {
    padding: 1.25rem 1.05rem 0.35rem;
}

.appbar__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.appbar__sub {
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 0.15rem;
}

.tabs {
    display: flex;
    gap: 0.85rem;
    padding: 0.7rem 1.05rem 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}

.tabs span {
    padding-bottom: 0.55rem;
}

.tabs .is-on {
    color: var(--ink);
    box-shadow: inset 0 -3px 0 var(--orange);
}

.sheet {
    padding: 0.85rem 1rem 0;
}

.chart {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 0.75rem;
}

.chart-name {
    font-weight: 700;
    margin-top: 0.85rem;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 600;
}

.legend li::before {
    content: "";
    display: inline-block;
    width: 1.15rem;
    margin-right: 0.35rem;
    border-top: 2px dashed #808080;
    vertical-align: middle;
}

.legend .is-actual::before {
    border-top-style: solid;
    border-top-color: #6100BC;
}

.legend .is-forecast::before {
    border-top-style: dashed;
    border-top-color: #6100BC;
}

.schema,
.web__sub {
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 0.7rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.filters span {
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    padding: 0.35rem 0.55rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.note {
    background: white;
    border-radius: 1rem;
    padding: 1.05rem 1rem 0.95rem;
    box-shadow: 0 1px 0 var(--line), 0 12px 28px -22px oklch(20% 0.03 50 / 0.8);
}

.note__body {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.note__meta,
.mini__meta {
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 0.7rem;
}

.fab {
    margin: auto 1rem 1rem auto;
    background: var(--orange);
    color: var(--ink);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    width: fit-content;
}

.shots {
    background: var(--night);
    color: var(--paper);
    padding: clamp(3.5rem, 8vh, 5.5rem) 0;
}

.shots h2,
.office h2,
.story h2,
.plans h2,
.close h2 {
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    max-width: 16ch;
}

.shots__lead {
    margin-top: 1rem;
    max-width: 36rem;
    color: var(--night-soft);
    font-size: 1.15rem;
}

.shot-grid {
    list-style: none;
    margin: 2.25rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.shot-grid h3 {
    font-family: var(--display);
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    margin: 0.15rem 0 0.75rem;
}

.idx {
    color: var(--orange);
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
}

.mini {
    background: oklch(98% 0.004 90);
    color: var(--ink);
    border-radius: 1.15rem;
    min-height: 16.5rem;
    padding: 0.95rem 0.95rem 1rem;
    display: flex;
    flex-direction: column;
}

.mini__tab {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    box-shadow: inset 0 -2px 0 var(--orange);
    width: fit-content;
    padding-bottom: 0.3rem;
    margin-bottom: 0.85rem;
}

.mini__body {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.photo-row {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
}

.thumb {
    height: 4.25rem;
    border-radius: 0.7rem;
    background:
        linear-gradient(160deg, oklch(86% 0.03 85) 0%, oklch(62% 0.07 58) 48%, oklch(40% 0.04 48) 100%);
}

.shot-grid h3 + p {
    color: var(--night-soft);
    margin-top: 0.4rem;
}

#pannello,
#cantieri,
#funzioni,
#uso,
#piani {
    scroll-margin-top: 4.75rem;
}

.story,
.plans {
    padding: clamp(3.5rem, 8vh, 5.5rem) 0;
}

.story__body {
    display: grid;
    gap: 1rem;
    max-width: 40rem;
    margin-top: 1.25rem;
}

.story__body p {
    font-size: 1.15rem;
}

.catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
    padding: 0;
    list-style: none;
}

.catalog li {
    background: white;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 1.25rem 1.35rem 1.4rem;
    box-shadow: 0 22px 44px -28px oklch(20% 0.04 50 / 0.55);
}

.catalog h3 {
    font-family: var(--display);
    font-size: 1.7rem;
    letter-spacing: -0.03em;
}

.catalog__price {
    margin-top: 0.65rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.catalog__interval,
.plans-note,
.plans-empty {
    color: var(--muted);
}

.catalog__interval,
.catalog__description,
.plans-empty,
.plans-note {
    margin-top: 0.45rem;
}

.plans-empty,
.plans-note {
    margin-top: 1.25rem;
    font-size: 1.05rem;
}

.colophon__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
}

.stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.store {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    min-height: 3.15rem;
    padding: 0.4rem 0.95rem 0.4rem 0.7rem;
    background: var(--ink);
    color: var(--paper);
    border-radius: 0.7rem;
}

.store svg {
    width: 1.35rem;
    height: 1.35rem;
    flex: none;
}

.store small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 0.75;
}

.store strong {
    font-family: var(--display);
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.store-note {
    margin-top: 0.85rem;
    font-size: 0.88rem;
}

.pair {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1rem;
    margin-top: 2rem;
    align-items: stretch;
}

.panel {
    background: white;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 1.05rem 1.05rem 1.15rem;
    box-shadow: 0 22px 44px -28px oklch(20% 0.04 50 / 0.55);
}

.panel__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.panel__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.panel__sub {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.fake-btn {
    background: var(--orange);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 0.55rem;
    padding: 0.5rem 0.7rem;
    white-space: nowrap;
}

.cols,
.skel {
    display: grid;
    grid-template-columns: 1.3fr 1.1fr 0.9fr 0.7fr 0.7fr 0.7fr;
    gap: 0.45rem;
    align-items: center;
}

.cols {
    margin-top: 1rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
}

.skel {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
}

.skel span {
    display: block;
    height: 0.55rem;
    width: 78%;
    border-radius: 999px;
    background: oklch(91% 0.01 80);
}

.skel:nth-of-type(3) span:nth-child(1) {
    width: 62%;
}

.skel:nth-of-type(4) span:nth-child(1) {
    width: 88%;
}

.step {
    margin-top: 0.9rem;
    font-weight: 700;
    font-size: 0.92rem;
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.75rem;
    margin-top: 0.75rem;
}

.field {
    margin: 0;
}

.field span:first-child {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.28rem;
}

.blank {
    display: flex;
    align-items: center;
    min-height: 2.2rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: oklch(98.5% 0.004 90);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.3rem 0.5rem;
}

.field--wide {
    grid-column: 1 / -1;
}

.choices {
    display: flex;
    gap: 0.85rem;
    min-height: 2.2rem;
    align-items: center;
    font-size: 0.9rem;
}

.choices span::before {
    content: "";
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    margin-right: 0.35rem;
    border: 2px solid var(--line);
    border-radius: 50%;
    vertical-align: -0.12rem;
}

.choices .is-on::before {
    border-color: var(--orange);
    box-shadow: inset 0 0 0 3px white, inset 0 0 0 8px var(--orange);
}

.chip {
    margin-top: 0.75rem;
    width: fit-content;
    background: var(--orange);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
}

.office {
    padding: clamp(3.5rem, 8vh, 5.5rem) 0;
}

.office__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.web {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    min-height: 18rem;
    background: white;
    border-radius: 1.15rem;
    overflow: hidden;
    box-shadow: 0 22px 44px -28px oklch(20% 0.04 50 / 0.55);
    border: 1px solid var(--line);
}

.web__side {
    background: var(--night);
    color: var(--paper);
    padding: 1.15rem 0.95rem;
}

.web__brand {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.web__item.is-on {
    color: var(--orange);
    font-weight: 700;
}

.web__main {
    padding: 1.15rem 1.1rem 1.2rem;
}

.web__heading {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
}

.web__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--line);
}

.web__row span {
    color: var(--muted);
}

.close {
    background: var(--orange);
    color: var(--ink);
    padding: clamp(3.5rem, 8vh, 5.5rem) 0;
}

.close__inner {
    display: grid;
    justify-items: start;
    gap: 1.1rem;
}

.close p {
    max-width: 34rem;
    font-size: 1.15rem;
}

.colophon {
    background: var(--night);
    color: var(--night-soft);
    padding: 1.4rem 0;
    font-size: 0.95rem;
}

@media (max-width: 60rem) {
    .bar__row {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo langs"
            "nav nav";
        align-items: center;
        column-gap: 0.75rem;
    }

    .logo {
        grid-area: logo;
    }

    .bar__nav {
        grid-area: nav;
        margin-left: 0;
    }

    .langs {
        grid-area: langs;
        justify-self: end;
    }

    .hero__grid,
    .office__grid {
        grid-template-columns: 1fr;
    }

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

    .pair,
    .fields {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: 14ch;
    }
}

@media (max-width: 40rem) {
    .shot-grid,
    .web {
        grid-template-columns: 1fr;
    }

    .wrap {
        width: min(var(--wrap), calc(100% - 1.5rem));
    }

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

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