/* Storage Unit Tracker landing site
   storageunittracker.vertolini.com */

:root {
    --brand: #005a9c;
    --brand-dark: #00365f;
    --brand-light: #e8f2fa;
    --amber: #e19410;
    --amber-soft: #fdf3dd;
    --ink: #12202c;
    --ink-soft: #4a5b6a;
    --line: #dbe4ec;
    --card: #ffffff;
    --bg: #f6f9fc;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(18, 32, 44, .06), 0 12px 32px rgba(18, 32, 44, .07);
    --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); }

h1, h2, h3 {
    line-height: 1.18;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.14rem; }

p { margin: 0 0 1rem; }

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

.section { padding: 76px 0; }
.section--tint { background: #fff; border-block: 1px solid var(--line); }
.section__lead {
    max-width: 62ch;
    font-size: 1.1rem;
    color: var(--ink-soft);
}
.center { text-align: center; }
.center .section__lead { margin-inline: auto; }

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

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 66px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.03rem;
}

.brand img { width: 34px; height: 34px; border-radius: 8px; }

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
}

.site-nav a:hover { color: var(--brand); }
.site-nav a.btn--primary { color: #fff; }
.site-nav a.btn--primary:hover { color: #fff; }

@media (max-width: 760px) {
    .site-nav .hide-sm { display: none; }
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform .12s ease, background-color .12s ease;
}

.btn:active { transform: translateY(1px); }

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

.btn--ghost {
    background: #fff;
    color: var(--brand);
    border-color: #b9d3e8;
}

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

.btn--sm { padding: 9px 17px; font-size: .92rem; }

.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 14px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px 12px 18px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    transition: transform .12s ease, background-color .12s ease;
}

.store-btn:hover { background: #000; transform: translateY(-1px); }
.store-btn svg { width: 24px; height: 24px; flex: none; fill: #fff; }
.store-btn span { display: block; font-size: .72rem; opacity: .82; }
.store-btn strong { display: block; font-size: 1.02rem; letter-spacing: -.01em; }

.fineprint { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- hero ---------- */

.hero {
    background:
        radial-gradient(1000px 460px at 12% -8%, #e4f0fa 0%, rgba(228, 240, 250, 0) 70%),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
    padding: 64px 0 72px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 52px;
    align-items: center;
}

.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }

.hero__sub {
    font-size: 1.2rem;
    color: var(--ink-soft);
    max-width: 48ch;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
    font-size: .93rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.hero__badges li::before {
    content: "✓";
    color: var(--brand);
    font-weight: 800;
    margin-right: 6px;
}

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- phone frames ---------- */

.phone {
    position: relative;
    margin: 0 auto;
    max-width: 310px;
    padding: 10px;
    background: #1b2733;
    border-radius: 40px;
    box-shadow: 0 24px 60px rgba(0, 54, 95, .26), 0 2px 6px rgba(0, 0, 0, .18);
}

.phone img {
    border-radius: 31px;
    width: 100%;
    background: #f2f2f7;
}

.phone--hero { max-width: 330px; }

.shot {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shot figcaption {
    text-align: center;
    color: var(--ink-soft);
    font-size: .96rem;
    max-width: 34ch;
    margin: 0 auto;
}

.shot figcaption b { color: var(--ink); display: block; font-size: 1.02rem; }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
    gap: 40px 20px;
    margin-top: 46px;
}

.gallery .phone { padding: 7px; border-radius: 30px; max-width: 260px; }
.gallery .phone img { border-radius: 24px; }

/* ---------- steps ---------- */

.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    margin-top: 44px;
    padding: 0;
    list-style: none;
}

.steps li {
    counter-increment: step;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 24px;
    box-shadow: var(--shadow);
}

.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 11px;
    background: var(--brand-light);
    color: var(--brand);
    font-weight: 800;
}

.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- compare ---------- */

.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.compare > div {
    border-radius: var(--radius);
    padding: 26px 26px 20px;
    border: 1px solid var(--line);
    background: #fff;
}

.compare--bad { background: #fbfcfd; }
.compare--good { border-color: #b9d3e8; box-shadow: var(--shadow); }
.compare h3 { display: flex; align-items: center; gap: 10px; }
.compare ul { margin: 0; padding-left: 1.15em; color: var(--ink-soft); }
.compare li { margin-bottom: .5em; }
.compare--good li::marker { color: var(--brand); }

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

/* ---------- features ---------- */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
    gap: 22px;
    margin-top: 44px;
}

.feature {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--brand-light);
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- use cases ---------- */

.cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 0;
    list-style: none;
}

.cases li {
    border-left: 3px solid var(--amber);
    background: #fff;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cases b { display: block; }
.cases span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- pricing ---------- */

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
    gap: 22px;
    margin-top: 44px;
    align-items: start;
}

.plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
}

.plan--feature {
    border-color: var(--brand);
    box-shadow: var(--shadow);
    position: relative;
}

.plan h3 { margin-bottom: .35em; }

.plan ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: .97rem;
}

.plan li { padding: 7px 0 7px 26px; position: relative; color: var(--ink-soft); }

.plan li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--brand);
    font-weight: 800;
}

.plan li b { color: var(--ink); }

.note {
    margin-top: 28px;
    background: var(--amber-soft);
    border: 1px solid #f0dcae;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: .96rem;
}

.note strong { color: #7a5406; }

/* ---------- privacy ---------- */

.privacy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 40px;
    padding: 0;
    list-style: none;
}

.privacy li {
    background: var(--brand-dark);
    color: #dbe9f5;
    border-radius: var(--radius);
    padding: 22px 24px;
    font-size: .97rem;
}

.privacy b { color: #fff; display: block; margin-bottom: .3em; font-size: 1.05rem; }

/* ---------- faq ---------- */

.faq { margin-top: 40px; }

.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px 20px;
    margin-bottom: 12px;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    padding: 14px 0;
    list-style: none;
}

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

.faq summary::after {
    content: "+";
    float: right;
    color: var(--brand);
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1;
}

.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 14px; }

/* ---------- final cta ---------- */

.cta {
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 78px 0;
}

.cta h2 { color: #fff; }
.cta p { color: #cfe3f3; max-width: 56ch; margin-inline: auto; font-size: 1.08rem; }
.cta .store-row { justify-content: center; }
.cta .store-btn { background: #fff; color: var(--ink); }
.cta .store-btn svg { fill: var(--ink); }
.cta .store-btn:hover { background: #eef6fc; }
.cta .fineprint { color: #b9d6ec; }

/* ---------- footer ---------- */

.site-footer {
    background: #0d1b26;
    color: #93a7b6;
    padding: 46px 0 40px;
    font-size: .93rem;
}

.site-footer a { color: #cfe0ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 40px;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 26px;
    border-bottom: 1px solid #1e3040;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.site-footer p { margin: 22px 0 0; }
.site-footer .brand { color: #fff; }

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 12px;
    top: 12px;
    z-index: 50;
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
}

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