/* WhatsApp, security, FAQ, download, footer. */

/* WhatsApp: full-width rows */
.wa { background: var(--ground-2); }
.wa .sec-head { max-width: 40rem; }
.wa-icon { width: 2.5rem; height: 2.5rem; color: var(--accent-text); }
.wa .sec-head .chips { list-style: none; }
.wa-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .wa-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } .wa-demo { position: sticky; top: calc(var(--nav-h) + 24px); } }
.wa-rows { display: grid; }
.wa-rows li { display: grid; gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); }
.wa-rows li:first-child { border-top: 0; }
.wa-rows h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); letter-spacing: -0.025em; }
.wa-rows p { max-width: 48ch; }


/* Security */
.perks-grid { display: grid; gap: 32px 48px; }
@media (min-width: 700px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .perks-grid { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 12px; align-items: start; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; gap: 16px 24px; } }
.faq details { background: var(--ground-2); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color var(--t-hover) ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.01em; border-radius: var(--r-card); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent-text); transition: transform 240ms var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; max-width: 60ch; }

/* Download */
.download { overflow: hidden; isolation: isolate; background: var(--ground-2); }
.download-inner { display: grid; gap: 24px; justify-items: start; max-width: 40rem; }
.download h2 { max-width: 12ch; font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5rem); }

/* Footer */
.footer { padding-top: 0; }
.footer .hem { clip-path: none; margin-bottom: 56px; }
.footer-grid { display: grid; gap: 40px; }
.footer-note { max-width: 36ch; margin-top: 16px; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 32px 56px; justify-content: start; }
.footer-links div { display: grid; gap: 8px; align-content: start; }
.footer-links h3 { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; color: var(--text-faint); letter-spacing: 0; margin-bottom: 4px; }
.footer-links a { text-decoration: none; color: var(--text-dim); transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: var(--text); } }
.footer-base { padding-block: 40px 48px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr auto; } }
@media (max-width: 480px) { .footer-links { grid-template-columns: repeat(2, auto); } }

/* WhatsApp demo */
.wa-demo { position: relative; overflow: hidden; display: grid; background: var(--ground); border: 1px solid var(--line-strong); border-radius: var(--r-card); box-shadow: var(--shadow); width: 100%; max-width: 460px; margin-inline: auto; }
.wa-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.wa-top strong { display: block; line-height: 1.2; }
.wa-top .dim { font-size: 0.875rem; }
.wa-avatar { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink-on-accent); display: grid; place-items: center; }
.wa-avatar .brand-mark { width: 16px; height: 22px; color: var(--ink-on-accent); }
.wa-log { height: 320px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--ground-2); }
.wa-log .bubble.them { background: var(--ground-3); }
.wa-log div.bubble { display: grid; gap: 10px; justify-items: start; }
.wa-log div.bubble p { margin: 0; }
.wa-link { min-height: 40px; padding: 0 14px; border-radius: var(--r-ctl); background: var(--accent); color: var(--ink-on-accent); font-weight: 600; font-size: 0.9375rem; transition: transform var(--t-press) var(--ease-out), opacity var(--t-hover) ease; }
.wa-link:active { transform: scale(0.97); }
.wa-link[disabled] { opacity: 0.45; cursor: default; }
.wa-link[disabled]:active { transform: none; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); animation: blink 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 150ms; }
.typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.wa-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 6px; }
.wa-quick .chip[disabled] { opacity: 0.4; cursor: default; }
.wa-demo .demo-note { padding: 6px 20px 16px; }
.wa-sheet { position: absolute; inset: 0; z-index: 2; display: grid; align-items: end; background: color-mix(in srgb, var(--ground) 72%, transparent); animation: fade 200ms var(--ease-out) both; }
.wa-sheet[hidden] { display: none; }
.wa-sheet-card { display: grid; gap: 14px; padding: 24px 20px 20px; background: var(--ground); border-top: 1px solid var(--line-strong); border-radius: var(--r-card) var(--r-card) 0 0; animation: sheet 260ms var(--ease-out) both; }
.wa-sheet-card h3 { font-size: 1.375rem; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wa-sheet, .wa-sheet-card, .typing i { animation: none; } }
.wa-demo .summary { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-ctl); background: var(--ground-2); border: 1px solid var(--line); }
.wa-demo .summary .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; letter-spacing: -0.03em; line-height: 1.05; }
.wa-demo .summary .what { color: var(--text-dim); }
.btn-block { width: 100%; }
.wa-menu { display: grid; gap: 6px; width: 100%; margin-top: 6px; }
.wa-opt { min-height: 40px; padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); text-align: left; font-weight: 600; font-size: 0.9375rem; color: var(--text); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out), opacity var(--t-hover) ease; }
.wa-opt:active { transform: scale(0.98); }
.wa-opt.is-soft { font-weight: 500; color: var(--text-dim); }
.wa-opt[disabled] { opacity: 0.45; cursor: default; }
.wa-opt[disabled]:active { transform: none; }
@media (hover: hover) and (pointer: fine) { .wa-opt:not([disabled]):hover { background: var(--ground-2); } }
.wa-log .bubble { white-space: pre-line; }
.wa-compose { display: flex; gap: 8px; padding: 6px 20px 8px; }
.wa-compose .input { min-height: 48px; }
.wa-compose .btn-icon { width: 48px; min-height: 48px; }
.wa-sheet-done { justify-items: center; text-align: center; }
.wa-sheet-done[hidden] { display: none; }
.wa-sheet-card .field { gap: 6px; }
.otp { letter-spacing: 0.5em; font-family: var(--font-mono); text-align: center; font-size: 1.25rem; }
