/* Distrolio landing page (batch 15), on top of /site/brand.css */
.site section { scroll-margin-top: 76px; }
@media (max-width: 760px) { .site header.top nav a.hide-sm { display: none; } }

/* hero: text and the route illustration, on the grid pattern */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--hair); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 34px; } }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin: 18px 0 18px; max-width: 13.5em; }
.hero h1 em { font-style: normal; color: var(--green-600); }
.hero p.lead { font-size: 1.12rem; color: var(--slate); max-width: 36em; margin-bottom: 0; }
.hero .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { background: var(--white); border: 1px solid var(--hair); border-radius: 10px; box-shadow: 0 1px 0 rgba(14, 59, 46, .04), 0 18px 40px -18px rgba(14, 59, 46, .28); padding: 14px; margin: 0; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-art figcaption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: var(--slate); padding: 10px 4px 2px; }
.hero-art figcaption b { color: var(--spruce); }
.flow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 34px; align-items: center; }
.flow .st { background: var(--white); border: 1px solid var(--hair); border-radius: 6px; padding: 6px 11px; font-weight: 700; font-size: .85rem; color: var(--spruce); }
.flow .st:first-child { background: var(--spruce); color: #fff; border-color: var(--spruce); }
.flow .st:last-child { background: var(--green-100); border-color: color-mix(in srgb, var(--green) 40%, var(--hair)); }
.flow .ar { color: var(--ice-500); font-weight: 700; }

/* highlights: four short cards with an icon */
.hl { padding: 44px 0 20px; }
.hl .grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 960px) { .hl .grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .hl .grid { grid-template-columns: 1fr; } }
.hl .card { padding: 18px; border-top: 3px solid var(--green); }
.hl .card:nth-child(2) { border-top-color: var(--ice-500); } .hl .card:nth-child(3) { border-top-color: var(--spruce); } .hl .card:nth-child(4) { border-top-color: var(--citrus); }
.hl strong { display: block; font-family: var(--display); font-weight: 750; font-size: 1.04rem; letter-spacing: -.015em; margin-bottom: 4px; }
.hl p { margin: 0; color: var(--slate); font-size: .93rem; }

/* section heads */
.sect-head { max-width: 760px; margin-bottom: 26px; }
.sect-head .eyebrow { display: block; color: var(--green-600); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.sect-head p { color: var(--slate); font-size: 1.05rem; }

/* features: a structured grid of icon + short copy */
.features { padding: 52px 0 64px; }
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; }
@media (max-width: 1000px) { .panels { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 640px) { .panels { grid-template-columns: 1fr; } }
.panel { background: var(--white); padding: 24px 22px; display: flex; flex-direction: column; }
.panel h3 { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; margin-bottom: 8px; }
.panel .ico { width: 38px; height: 38px; border-radius: 7px; background: var(--ice-50); color: var(--ice-600); border: 1px solid color-mix(in srgb, var(--ice-500) 25%, transparent); display: grid; place-items: center; flex: none; }
.panel .ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.panel p.intro { color: var(--slate); margin-bottom: 10px; font-size: .95rem; }
.panel ul { margin: 0; padding-left: 0; list-style: none; } .panel li { position: relative; padding-left: 20px; margin: 6px 0; font-size: .93rem; }
.panel li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; background: var(--green); }
.panel.feature-ai { background: linear-gradient(180deg, var(--green-100), var(--white) 38%); }
.panel.feature-ai .ico { background: var(--green-600); color: #fff; border-color: var(--green-600); }

/* a day in Distrolio: a numbered timeline */
.band { background: var(--ice-50); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 60px 0; }
.day { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; counter-reset: d; }
@media (max-width: 860px) { .day { grid-template-columns: 1fr; } }
.day div { counter-increment: d; position: relative; padding: 16px 16px 16px 60px; background: var(--white); border: 1px solid var(--hair); border-radius: 8px; }
.day div::before { content: counter(d, decimal-leading-zero); position: absolute; left: 14px; top: 15px; width: 34px; height: 34px; border-radius: 6px; background: var(--spruce); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: .9rem; }
.day strong { display: block; font-family: var(--display); letter-spacing: -.015em; }
.day .t { display: block; color: var(--ice-600); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.day p { margin: 2px 0 0; color: var(--slate); font-size: .93rem; }

/* built for food distributors: the dark spruce proof band */
.why.dark { background: var(--spruce); color: #E4F0EA; padding: 64px 0; position: relative; overflow: hidden; }
.why.dark::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px; }
.why.dark .wrap { position: relative; }
.why.dark h2 { color: #fff; } .why.dark .sect-head p { color: #A9C7BA; } .why.dark .eyebrow { color: var(--green-300); }
.why.dark .grid { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 860px) { .why.dark .grid { grid-template-columns: 1fr; } }
.why.dark .grid > div { padding: 22px 24px 4px 0; }
.why.dark h3 { color: #fff; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.why.dark h3::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--green-300); flex: none; }
.why.dark .grid > div:nth-child(2) h3::before { background: #9FD3E8; } .why.dark .grid > div:nth-child(3) h3::before { background: var(--citrus); }
.why.dark p { color: #B9D3C8; margin: 0; }
.why.dark .stats { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.why.dark .stats span { color: #A9C7BA; font-size: .9rem; } .why.dark .stats b { display: block; color: #fff; font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; }

/* plans */
.plans { padding: 60px 0 64px; } .plans .card { display: flex; flex-direction: column; }
.plans .price { font-family: var(--display); font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; color: var(--spruce); }
.plans ul { padding-left: 18px; margin: 8px 0 18px; flex: 1; } .plans li { margin: 4px 0; }
.plangrid { display: grid; gap: 16px; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1000px) { .plangrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 640px) { .plangrid { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; } .plan.rec { border: 2px solid var(--spruce); }
.plan .badge { position: absolute; top: -12px; left: 18px; background: var(--spruce); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 5px; text-transform: uppercase; letter-spacing: .06em; }
.plan .tag { color: var(--slate); margin: -2px 0 8px; font-size: .95rem; } .plan .per { font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.plan .lim { color: var(--slate); font-size: .88rem; } .plan .plus { font-weight: 700; margin: 14px 0 4px; font-size: .92rem; }
.plan .fgs { flex: 1; margin: 2px 0 16px; } .plan .fg { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--hair-soft); font-size: .88rem; }
.plan .fg:first-child { border-top: 0; } .plan .fg b { color: var(--green-600); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.plan .fg span { display: flex; flex-wrap: wrap; gap: 4px 0; } .plan .fg i { font-style: normal; cursor: default; }
.plan .fg i:not(:last-child)::after { content: "\00b7"; color: var(--slate); margin: 0 6px; }
.plan .btn { justify-content: center; }
.plan .basis { color: var(--slate); font-size: .85rem; margin: -2px 0 4px; }
.plans-foot { margin: 18px 0 0; color: var(--slate); font-size: .98rem; text-align: center; }
.plans-foot b { color: var(--spruce); }
.switch { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding: 22px 24px; border-left: 4px solid var(--citrus); }
.switch h3 { margin: 0 0 4px; } .switch p { margin: 0; color: var(--slate); max-width: 46em; }
[hidden] { display: none !important; }

/* closing call to action */
.cta { padding: 0 0 70px; }
.cta .box { background: var(--spruce); color: #DCEBE4; border-radius: 10px; padding: 46px 32px; text-align: center; position: relative; overflow: hidden; }
.cta .box::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border: 2px dashed rgba(127, 209, 160, .35); border-radius: 50%; pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.cta p { color: #B9D3C8; } .cta a:not(.btn) { color: var(--green-300); }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 1; }
