/* Home page styles (index.html and ha.html). Shared tokens are in site.css. */
/* HERO */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 96px; } .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero h1 span { color: var(--primary); }
.hero .lead { font-size: 1.15rem; margin-bottom: 28px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.store-row .btn { min-width: 190px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-3); font-size: .93rem; }
.hero-note i { color: var(--success); margin-right: 6px; }

/* PHONE MOCK (illustration of the Today screen; numbers are an example) */
.phone { width: 100%; max-width: 330px; margin: 0 auto; border-radius: 40px; padding: 10px; background: #0B0E13; box-shadow: 0 30px 60px -20px rgba(15,23,42,.45); }
.screen { border-radius: 31px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; min-height: 600px; }
.sb { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 11px; color: var(--text-2); font-weight: 600; }
.sc { padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sc-head small { display: block; font-size: 12px; color: var(--text-2); }
.sc-head b { font-family: 'Outfit', sans-serif; font-size: 22px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; }
.tile.wide { grid-column: span 2; }
.tile small { font-size: 11.5px; color: var(--text-2); font-weight: 600; display: block; }
.tile b { font-size: 20px; font-variant-numeric: tabular-nums; }
.tile .pos { color: var(--success); } .tile .owe { color: var(--warning); }
.tile em { font-style: normal; font-size: 11px; color: var(--text-3); display: block; }
.sec { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); margin-top: 4px; }
.rows { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.r { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 13px; }
.r + .r { border-top: 1px solid var(--border); }
.r div { flex: 1; min-width: 0; } .r div b { display: block; font-weight: 600; } .r div span { font-size: 11px; color: var(--text-3); }
.r .amt { font-weight: 700; color: var(--warning); font-variant-numeric: tabular-nums; }
.chip { font-size: 10.5px; font-weight: 600; padding: 5px 8px; border-radius: 8px; background: var(--success-soft); color: var(--success); white-space: nowrap; }
.tabbar { display: flex; justify-content: space-around; align-items: center; height: 60px; background: var(--surface); border-top: 1px solid var(--border); font-size: 10px; color: var(--text-2); }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; } .tabbar i { font-size: 16px; }
.tabbar .on { color: var(--primary); font-weight: 700; }
.sell { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; margin-top: -26px; border: 4px solid var(--surface); font-size: 18px; }

/* WHO */
.who { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.types { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 640px) { .types { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .types { grid-template-columns: repeat(4, 1fr); } }
.type { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.type i { font-size: 1.2rem; color: var(--primary); background: var(--primary-soft); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.type h3 { font-size: 1.1rem; margin-bottom: 6px; }
.type p { color: var(--text-2); font-size: .95rem; }

/* FEATURES */
.features { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature i { font-size: 1.1rem; color: var(--primary); background: var(--primary-soft); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: .96rem; }
.tag { display: inline-block; white-space: nowrap; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; background: var(--primary-soft); color: var(--primary); margin-left: 6px; vertical-align: 2px; }

/* STEPS */
.howto { display: grid; gap: 16px; margin-top: 32px; grid-template-columns: 1fr; counter-reset: h; }
@media (min-width: 860px) { .howto { grid-template-columns: repeat(3, 1fr); } }
.howto .card { counter-increment: h; }
.howto .card::before { content: counter(h); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; margin-bottom: 14px; }
.howto h3 { font-size: 1.1rem; margin-bottom: 6px; }
.howto p { color: var(--text-2); font-size: .96rem; }

/* PRICING */
.pricing { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cycle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin: 8px 0 28px; }
.cycle button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .95rem; color: var(--text-2); padding: 9px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.cycle button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.cycle .save { color: var(--success); font-size: .8rem; margin-left: 4px; }
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; background: var(--bg); }
.plan.main { border: 2px solid var(--primary); background: var(--surface); }
.plan h3 { font-size: 1.3rem; }
.plan .for { color: var(--text-2); font-size: .95rem; margin: 4px 0 16px; min-height: 2.9em; }
.price { font-family: 'Outfit', sans-serif; font-size: 2.3rem; font-weight: 700; line-height: 1; }
.price small { font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 500; color: var(--text-2); }
.price-note { font-size: .88rem; color: var(--text-3); min-height: 1.5em; margin: 6px 0 18px; }
.plan ul { list-style: none; margin: 0 0 24px; flex: 1; }
.plan li { display: flex; gap: 10px; padding: 6px 0; font-size: .96rem; color: var(--text-2); }
.plan li i { color: var(--success); margin-top: 5px; font-size: .85rem; }
.plan li.no { color: var(--text-3); } .plan li.no i { color: var(--text-3); }
.plans-foot { color: var(--text-3); font-size: .9rem; margin-top: 20px; }

/* FOUNDERS */
.founders { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 860px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder { display: flex; gap: 18px; align-items: flex-start; }
.founder img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); }
.founder h3 { font-size: 1.15rem; }
.founder .role { color: var(--primary); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.founder p { color: var(--text-2); font-size: .96rem; }

/* FAQ */
.faq { max-width: 780px; margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.02rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; color: var(--text-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq details p { color: var(--text-2); padding: 0 0 18px; }

/* CTA */
.cta { text-align: center; }
.cta .card { padding: 48px 20px; background: var(--primary-soft); border-color: color-mix(in srgb, var(--primary) 25%, transparent); box-shadow: none; }
.cta .store-row { justify-content: center; margin: 24px 0 0; }
