/* LeoCart public website. One file, no web fonts, no scripts: the page makes no requests to anyone else. */
:root {
  --forest: #0A4A36;          /* the logo's deep green, lifted a little so it reads as green */
  --forest-deep: #06281E;
  --saffron: #FF6A0A;         /* the logo's orange */
  --saffron-ink: #B53B08;     /* the same orange, dark enough to read as text on the page colour */
  --leaf: #389224;            /* the logo's leaf */
  --leaf-ink: #1F7A1F;        /* ...dark enough to read as text */
  --paper: #F5F8F4;
  --wash: #E4EFE7;
  --ink: #12241B;
  --ink-soft: #46584E;
  --line: #D3DFD6;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Telugu", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--saffron-ink); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
p { margin: 0 0 1rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: 70rem; margin-inline: auto; padding-inline: 1.25rem; }

/* header */
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .9rem; }
.brand { display: block; }
.nav { display: flex; flex-wrap: wrap; gap: .1rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: .45rem 0; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--saffron); color: var(--ink); }

@media (max-width: 36rem) {
  .brand img { width: 72px; height: auto; }
  .nav { gap: .1rem 1.1rem; }
  .nav a { font-size: .95rem; }
}
h1, h2 { text-wrap: balance; }   /* no single word left alone on a last line, where the browser supports it */

/* buttons */
.btn { display: inline-block; font: 700 1.0625rem/1.2 var(--sans); padding: .95rem 1.5rem; border-radius: 10px; background: var(--saffron); color: #0B1E15; text-decoration: none; border: 2px solid var(--saffron); }
.btn:hover { background: #FF8433; border-color: #FF8433; color: #0B1E15; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn.soon { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); cursor: default; }
.btn.dark { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn.dark:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: #fff; }

/* hero */
.hero { background: var(--forest); color: #fff; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.75rem, 8vw, 6.5rem); }
.hero .wrap { display: grid; gap: 3rem 3.5rem; align-items: center; }
@media (min-width: 60rem) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { font-size: clamp(2.7rem, 7.2vw + .3rem, 5rem); letter-spacing: -.035em; line-height: 1; }
.lead { font-size: clamp(1.1rem, 1.1vw + .95rem, 1.35rem); line-height: 1.55; max-width: 34rem; color: #D6E8DC; margin: 1.4rem 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.fine { font-size: .95rem; color: #B9D3C4; margin: 1.1rem 0 0; }

/* the order slip */
.slip { position: relative; background: #fff; color: var(--ink); border-radius: 8px 8px 0 0; padding: 1.5rem 1.6rem 2.4rem; width: 100%; max-width: 25rem; justify-self: center; }
.slip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 20px; background: radial-gradient(circle at 11px 0, var(--forest) 9px, transparent 9.5px) 0 0 / 22px 20px repeat-x; }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.3rem; border-bottom: 2px dashed var(--line); }
.slip-head strong { font-size: 1.2rem; letter-spacing: -.01em; }
.slip-head span { color: var(--ink-soft); font-size: .95rem; }
.journey { list-style: none; margin: 0; padding: 0; }
.journey li { position: relative; padding: 0 0 1.4rem 2.3rem; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1rem; height: 1rem; border-radius: 50%; border: 3px solid var(--saffron); background: #fff; }
.journey li::after { content: ""; position: absolute; left: calc(.5rem - 1px); top: 1.45rem; bottom: .05rem; border-left: 2px dashed var(--saffron); transform-origin: top; animation: draw .55s ease-out backwards; }
.journey li:last-child::after { display: none; }
.journey li:last-child::before { background: var(--leaf); border-color: var(--leaf); }
.journey li:nth-child(1)::after { animation-delay: .35s; }
.journey li:nth-child(2)::after { animation-delay: .9s; }
.journey li:nth-child(3)::after { animation-delay: 1.45s; }
.journey li:nth-child(4)::after { animation-delay: 2s; }
.journey b { display: block; line-height: 1.3; }
.journey span { color: var(--ink-soft); font-size: .95rem; line-height: 1.4; display: block; }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .journey li::after { animation: none; } }

/* sections */
.block { padding-block: clamp(3rem, 7vw, 5.5rem); }
.block.alt { background: var(--wash); }
.block h2 { font-size: clamp(1.9rem, 3.4vw + .7rem, 2.9rem); letter-spacing: -.03em; max-width: 24ch; }
.intro { max-width: 40rem; color: var(--ink-soft); margin: 1rem 0 0; }

.menu { list-style: none; margin: 2.25rem 0 0; padding: 0; max-width: 46rem; display: grid; gap: 1.6rem; }
.menu .row { display: flex; align-items: baseline; gap: .9rem; }
.menu b { font-size: 1.45rem; letter-spacing: -.01em; line-height: 1.2; }
.menu .dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted #7F9588; transform: translateY(-.3em); }
.menu .state { font-weight: 700; white-space: nowrap; color: var(--ink-soft); }
.menu .state.live { color: var(--leaf-ink); }
.menu .detail { display: block; color: var(--ink-soft); margin-top: .15rem; }

.steps { list-style: none; counter-reset: step; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-size: 3.25rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--saffron-ink); margin-bottom: .75rem; }
.steps h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.facts { margin: 2.25rem 0 0; max-width: 56rem; }
.facts div { display: grid; gap: .25rem 2rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
@media (min-width: 44rem) { .facts div { grid-template-columns: 16rem 1fr; } }
.facts dt { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.facts dd { margin: 0; color: var(--ink-soft); }

.areas { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.areas li { background: #fff; border: 2px solid var(--forest); border-radius: 999px; padding: .4rem 1.1rem; font-weight: 700; }

.faq { margin-top: 2rem; max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.7rem; font-weight: 400; line-height: 1; color: var(--saffron-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.2rem; color: var(--ink-soft); max-width: 40rem; }

.join { display: grid; gap: 2rem 3rem; margin-top: 2rem; }
@media (min-width: 48rem) { .join { grid-template-columns: 1fr 1fr; } }
.join h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.join p { color: var(--ink-soft); }

/* footer */
.foot { background: var(--forest-deep); color: #D6E8DC; padding-block: 3rem 2rem; font-size: .98rem; }
.foot a { color: #fff; }
.foot .cols { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .foot .cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot h2 { font-size: 1rem; color: #fff; margin-bottom: .6rem; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot address { font-style: normal; line-height: 1.6; }
.foot .legal { margin: 2.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); color: #B9D3C4; font-size: .9rem; }

/* policy and information pages */
.page-head { background: var(--wash); padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.page-head h1 { font-size: clamp(2.2rem, 5vw + .5rem, 3.6rem); letter-spacing: -.03em; max-width: 20ch; }
.page-head .updated { color: var(--ink-soft); margin: .9rem 0 0; }
.policy { padding-block: 2.5rem 4.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3.5rem; }   /* minmax(0,..): a wide table must scroll inside its own box, not stretch the page */
.policy > * { min-width: 0; }
@media (min-width: 60rem) { .policy { grid-template-columns: 15rem minmax(0, 1fr); } }
/* a page with no contents list (Contact) is one wide column, not text squeezed into the 15rem space reserved for the list */
@media (min-width: 60rem) { .policy.policy-single { grid-template-columns: minmax(0, 1fr); } }
.toc { align-self: start; font-size: .97rem; }
@media (min-width: 60rem) { .toc { position: sticky; top: 1.5rem; } }
.toc h2 { font-size: 1rem; margin-bottom: .6rem; letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin: 2.6rem 0 .8rem; letter-spacing: -.02em; }
.prose > h2:first-child, .prose > .summary + h2 { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; letter-spacing: -.01em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose li + li { margin-top: .4rem; }
.prose address { font-style: normal; margin: 0 0 1rem; line-height: 1.6; }
.summary { border-left: 5px solid var(--saffron); background: #fff; padding: 1.1rem 1.4rem; margin: 0 0 2.4rem; }
.summary h2 { font-size: 1.1rem; margin: 0 0 .5rem; letter-spacing: 0; }
.summary ul { margin: 0; padding-left: 1.2rem; }
.providers { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.providers li { padding: 1rem 0; border-top: 1px solid var(--line); }
.providers li:last-child { border-bottom: 1px solid var(--line); }
.providers b { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
.providers span { display: block; color: var(--ink-soft); }
.providers i { font-style: normal; font-weight: 700; color: var(--ink); }
.tablewrap { overflow-x: auto; margin: 1rem 0 1.4rem; }
table { border-collapse: collapse; width: 100%; min-width: 24rem; }
th, td { text-align: left; padding: .8rem .95rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; background: var(--wash); }
.detail-grid { display: grid; gap: 1.5rem 3rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.detail-grid h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.detail-grid address { font-style: normal; }
.notfound { padding-block: 5rem; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 1rem; }

/* a value that still has to be filled in (never left on a published site) */
.todo { background: #FFE27A; color: #241A00; padding: .05em .35em; border-radius: 3px; outline: 1px dashed #B45309; }

@media print {
  .top, .skip, .toc, .cta, .foot .cols { display: none; }
  body { background: #fff; font-size: 11pt; }
  .page-head, .hero { background: #fff; color: #000; padding-block: 1rem; }
  a { color: #000; }
}
