/* Baasto brand: orange primary, white secondary, reflective silver tertiary. */
:root {
  --orange: #ff6a13;
  --orange-deep: #e2530a;
  --orange-soft: #fff1e7;
  --white: #ffffff;
  --cream: #fffaf5;
  --ink: #1d1712;
  --muted: #6b6157;
  --dim: #9a9087;
  --line: #ece5dd;
  --silver: linear-gradient(135deg, #fbfcfd 0%, #d5d9df 38%, #f4f5f7 52%, #b9bec6 78%, #eceef1 100%);
  --silver-edge: #c8cdd4;
  --shadow: 0 1px 2px rgba(29,23,18,.05), 0 8px 24px rgba(29,23,18,.06);
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--orange); color: var(--ink); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
#pasta { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }
#pasta .belt { position: absolute; top: 0; left: 0; height: 100%; width: calc(100% + var(--tile, 1200px)); background-repeat: repeat-x; opacity: 0; transition: opacity .6s; will-change: transform; animation: belt 34s linear infinite; }
#pasta.ready .belt { opacity: 1; }
@keyframes belt { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-1 * var(--tile, 1200px)), 0, 0); } }
@media (prefers-reduced-motion: reduce) { #pasta .belt { animation: none; } }
main, header, footer { position: relative; z-index: 1; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Wordmark: three noodles + lowercase name */
.mark { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: .4em; color: var(--ink); white-space: nowrap; }
.mark .tile { width: 1.3em; height: 1.3em; flex: none; filter: drop-shadow(0 3px 6px rgba(226,83,10,.25)); }
.mark .word { position: relative; padding-bottom: .22em; line-height: 1; }
.mark .swig { position: absolute; left: -.04em; bottom: -.08em; width: 104%; height: .34em; overflow: visible; }
.mark .swig path { stroke-width: 3.2px; }
.mark .dot { color: var(--orange); }

/* Header */
header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(120,40,0,.18); }
nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
nav .mark { font-size: 24px; }
.links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--orange-deep); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font: 600 14px var(--body); cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; border: 1px solid var(--silver-edge); background: var(--silver); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), var(--shadow); }
.btn:hover { transform: translateY(-1px); }
.btn.solid { background: var(--orange); border-color: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(255,106,19,.32); }
.btn.solid:hover { background: var(--orange-deep); box-shadow: 0 8px 24px rgba(255,106,19,.42); }
.btn svg { width: 16px; height: 16px; }

/* Hero */
.hero { min-height: calc(100vh - 68px); display: flex; align-items: center; padding: 80px 0; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 62% 58% at 34% 46%, rgba(214,74,6,.82) 0%, rgba(226,83,10,.55) 40%, rgba(226,83,10,0) 72%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero .eyebrow { color: var(--cream); }
.hero .eyebrow::before { background: var(--cream); }
.hero h1 { color: var(--white); text-shadow: 0 2px 30px rgba(120,40,0,.35); }
.hero h1 .soft { color: #ffe3c4; }
.hero .lead { color: rgba(255,255,255,.92); }
.hero .btn.solid { background: var(--cream); border-color: var(--cream); color: var(--orange-deep); box-shadow: 0 8px 24px rgba(120,40,0,.3); }
.hero .btn.solid:hover { background: var(--white); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-deep); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--orange); }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 84px); line-height: 1.02; letter-spacing: -.035em; margin: 22px 0; }
h1 .soft { color: var(--orange); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 620px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-meta { margin-top: 60px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.hero-meta div { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 13px; color: var(--muted); box-shadow: var(--shadow); }
.hero-meta b { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--orange-deep); margin-bottom: 2px; }

/* Sections */
section { padding: 110px 0; scroll-margin-top: 40px; }
/* Content floats on cream plates above the orange pasta conveyor. */
section > .wrap { background: var(--cream); border-radius: 30px; padding: 64px 56px; box-shadow: 0 30px 60px -20px rgba(120,40,0,.45), 0 0 0 1px rgba(255,255,255,.5) inset; }
section { padding: 56px 0; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.03em; line-height: 1.08; margin: 16px 0; }
.sub { color: var(--muted); max-width: 640px; font-size: 17px; }

/* Numbered cards */
.grid { display: grid; gap: 18px; margin-top: 52px; counter-reset: c; }
.g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g2 { grid-template-columns: repeat(2, 1fr); }
.cell { counter-increment: c; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.cell::before { content: counter(c, decimal-leading-zero); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 700 12px var(--display); color: var(--ink); background: var(--silver); border: 1px solid var(--silver-edge); box-shadow: inset 0 1px 0 #fff; }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.cell:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(29,23,18,.09); border-color: #f6d3bd; }
.cell:hover::after { transform: scaleX(1); }
.cell h3 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 16px 0 8px; }
.cell p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.tag { display: inline-block; margin-left: 10px; vertical-align: middle; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); background: var(--orange-soft); border-radius: 999px; padding: 4px 10px; }
.cell .tag + h3 { margin-top: 14px; }
.more { display: inline-flex; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--orange-deep); border-bottom: 2px solid #ffc9a6; padding-bottom: 1px; }
.more:hover { border-color: var(--orange); }
.flowline { height: 2px; margin-top: 52px; background: var(--silver); border-radius: 2px; }

/* Callout */
.callout { margin-top: 36px; padding: 26px 30px; border-radius: 18px; background: var(--orange); color: rgba(255,255,255,.92); max-width: 880px; box-shadow: 0 12px 30px rgba(255,106,19,.28); }
.callout b { color: var(--white); }

/* Split list */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.list { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 6px 24px; box-shadow: var(--shadow); }
.list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.list li:last-child { border-bottom: 0; }
.list li b { color: var(--ink); }
.list svg { flex: none; width: 20px; height: 20px; color: var(--white); background: var(--orange); border-radius: 50%; padding: 4px; margin-top: 2px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--silver); border: 1px solid var(--silver-edge); color: var(--ink); margin: 0 6px 8px 0; }

/* Forms */
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.card > p { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
input, select, textarea { width: 100%; background: var(--cream); border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; margin-bottom: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,19,.14); background: var(--white); }
textarea { min-height: 96px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { font-size: 12px; color: var(--dim); margin-top: 14px; }
.ok { display: none; font-size: 14px; font-weight: 600; color: var(--orange-deep); margin-top: 12px; }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 40px; }
footer .mark { color: var(--white); font-size: 22px; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot p { font-size: 13px; }
footer .links { color: rgba(255,255,255,.7); }
footer .links a:hover { color: var(--orange); }
.legal { margin-top: 32px; max-width: 820px; line-height: 1.7; font-size: 13px; color: rgba(255,255,255,.55); }
.legal a { color: rgba(255,255,255,.75) !important; }

/* Section rail */
.rail { position: fixed; left: 28px; top: 50%; transform: translateY(-50%); z-index: 15; display: none; flex-direction: column; gap: 2px; }
.rail a { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); text-shadow: 0 1px 6px rgba(120,40,0,.4); }
.rail a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--silver); border: 1px solid var(--silver-edge); transition: transform .3s, background .3s; }
.rail a span { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.rail:hover a span, .rail a.on span { opacity: 1; transform: none; }
.rail a.on { color: var(--white); }
.rail a.on::before { background: var(--white); border-color: var(--white); transform: scale(1.3); box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
@media (min-width: 1360px) { .rail { display: flex; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .g4 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: 1fr; }
  .split, .forms { grid-template-columns: 1fr; gap: 40px; }
  header .links { display: none; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .g4, .g3, .g2, .row { grid-template-columns: 1fr; }
  nav .mark { font-size: 21px; }
  nav .btn { padding: 9px 16px; font-size: 13px; }
  section { padding: 28px 0; } section > .wrap { padding: 40px 20px; border-radius: 22px; margin: 0 12px; }
  .card { padding: 26px 20px; }
}

/* Merchant cards show an icon instead of the number badge. */
.cell.merchant::before { display: none; }
.cell.merchant .mlogo { display: block; width: 56px; height: 56px; object-fit: contain; margin-bottom: 8px; }

/* Persistent bottom band of local payment channels (planned, not partners yet). */
body { padding-bottom: 42px; }
.ticker { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 42px; display: flex; align-items: center; background: rgba(255,250,245,.82); border-top: 1px solid rgba(255,255,255,.6); box-shadow: 0 -6px 20px rgba(120,40,0,.18); overflow: hidden; font: 600 13px var(--body); color: var(--ink); }
.ticker-label { flex: none; height: 100%; display: flex; align-items: center; padding: 0 16px; background: var(--orange); color: var(--white); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; z-index: 1; box-shadow: 8px 0 14px rgba(255,250,245,.9); }
.ticker-label sup { font-size: 9px; margin-left: 1px; }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; will-change: transform; }
.ticker-run { display: flex; align-items: center; flex: none; }
.ticker-run span { padding: 0 18px; white-space: nowrap; opacity: .8; }
.ticker-run i { width: 22px; height: 6px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 6'%3E%3Cpath d='M1 3c3-3 6 3 10 0s6 3 10 0' fill='none' stroke='%23ff6a13' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .9; }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
@media (max-width: 600px) { .ticker-label { padding: 0 10px; font-size: 10px; } .ticker-run span { padding: 0 12px; } }