/* v6: competition additions. Logo mark, slogan, About and mission, animated how-it-works strip, poll, contact section, footer contact column, disclaimer bar. */

/* Logo mark */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo .logo-word { color: var(--dark); }
.logo-mark { flex: none; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo .logo-word { color: #fff; }
.footer-slogan { font-family: var(--serif); font-style: italic; color: var(--gold) !important; font-size: 1.05rem !important; margin: 0 0 10px; }

/* Shared section rhythm */
.about, .flow, .poll, .findus { position: relative; padding: clamp(60px, 8vw, 110px) 0; }

/* About and mission */
.about-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.about .h2 em { font-style: italic; color: #8a6d1d; }
.about-copy p { color: var(--text); font-size: 1rem; line-height: 1.75; max-width: 38rem; margin: 0 0 14px; }
.about-card { background: var(--dark); color: #fff; border-radius: 28px; padding: clamp(26px, 3.6vw, 40px); box-shadow: 0 40px 70px -40px rgba(0,0,0,.55); border: 1px solid rgba(223,182,94,.35); }
.about-card .kicker { color: var(--gold); }
.about-card h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 500; line-height: 1.3; margin: 0 0 22px; color: #fff; }
.about-facts { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-facts b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gold); font-weight: 500; line-height: 1.1; }
.about-facts span { font-size: 12px; color: #cfc8b8; line-height: 1.4; display: block; margin-top: 4px; }

/* Animated how it works */
.flow-head { margin-bottom: 40px; max-width: 40rem; }
.flow-track { position: relative; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .flow-track { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.flow-line { display: none; position: absolute; left: 12%; right: 12%; top: 54px; height: 2px; background: rgba(0,0,0,.1); border-radius: 2px; overflow: hidden; }
@media (min-width: 900px) { .flow-line { display: block; } }
.flow-line b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #dfb65e, var(--gold)); transform: scaleX(0); transform-origin: left; animation: flowfill 9s ease-in-out infinite; }
.flow-step { position: relative; z-index: 1; padding: 28px 26px 26px; border-radius: 26px; background: rgba(255,255,255,.92); border: 1px solid var(--accent); animation: flowcard 9s ease-in-out infinite; animation-delay: var(--sd, 0s); }
.flow-step h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin: 18px 0 8px; color: var(--dark); }
.flow-step p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.flow-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--dark); color: var(--gold); animation: flowico 9s ease-in-out infinite; animation-delay: var(--sd, 0s); }
.flow-ico svg { width: 26px; height: 26px; }
.flow-ico path { stroke-dasharray: 100; stroke-dashoffset: 0; animation: flowdraw 9s ease-in-out infinite; animation-delay: var(--sd, 0s); }
.flow-cta { margin-top: 30px; }
@keyframes flowfill { 0% { transform: scaleX(0); } 70%, 92% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes flowcard { 0%, 36%, 100% { transform: none; box-shadow: none; border-color: var(--accent); } 6%, 30% { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(0,0,0,.35); border-color: var(--gold); } }
@keyframes flowico { 0%, 36%, 100% { transform: scale(1); background: var(--dark); } 6%, 30% { transform: scale(1.1); background: #2a2417; } }
@keyframes flowdraw { 0% { stroke-dashoffset: 100; } 12%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }

/* Poll */
.poll-wrap { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .poll-wrap { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.poll-card { background: rgba(255,255,255,.92); border: 1px solid var(--accent); border-radius: 28px; padding: clamp(22px, 3.4vw, 36px); box-shadow: 0 40px 70px -48px rgba(0,0,0,.4); }
.poll-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.poll-opt { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--accent); background: #fff; color: var(--dark); font-size: 14px; font-weight: 500; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.poll-opt:hover { border-color: var(--dark); transform: translateY(-2px); }
.poll-opt[aria-pressed="true"] { background: var(--dark); color: var(--gold); border-color: var(--dark); }
.poll-out { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--accent); display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.poll-out[hidden] { display: none; }
.poll-out img { width: 96px; height: 96px; object-fit: cover; border-radius: 18px; background: var(--accent); }
.poll-out h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin: 0 0 4px; }
.poll-out p { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.poll-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.poll-links a, .poll-links button { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.poll-note { margin: 16px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 520px) { .poll-out { grid-template-columns: 72px 1fr; } .poll-out img { width: 72px; height: 72px; } }

/* Contact section */
.findus-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 800px) { .findus-grid { grid-template-columns: repeat(3, 1fr); } }
.findus-card { padding: 26px 26px 24px; border-radius: 24px; background: rgba(255,255,255,.92); border: 1px solid var(--accent); }
.findus-card h3 { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.findus-card p, .findus-card a { font-size: 1rem; color: var(--dark); line-height: 1.6; margin: 0; word-break: break-word; }
.findus-card a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.findus-card a:hover { color: #8a6d1d; }
.findus-card .small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.findus-social { display: grid; gap: 8px; }
.findus .btn { margin-top: 24px; }

/* Footer: contact column and disclaimer bar */
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer a.f-link { display: block; color: #d1d5db; font-size: 14px; margin-bottom: 12px; transition: color .2s; word-break: break-word; }
.footer a.f-link:hover { color: #fff; }
.footer .f-addr { font-size: 14px; color: #d1d5db; max-width: none; margin: 0 0 12px; line-height: 1.55; }
.footer .footer-disc { max-width: none; margin: 0; padding: 22px 0 8px; font-size: 13px; line-height: 1.6; color: #e6dfcd; }
.footer .footer-disc b { color: var(--gold); font-weight: 600; }
.footer .footer-disc button { display: inline; margin: 0 0 0 6px; color: var(--gold); text-decoration: underline; font-size: 13px; }
.footer .footer-disc small { display: block; margin-top: 4px; font-size: 12px; color: #9ca3af; }

/* Disclaimer popup and product page line */
.disc-line { padding: 14px 16px; border: 1px solid var(--gold); border-radius: 14px; background: rgba(223,182,94,.1); font-size: 14px; line-height: 1.55; margin: 0 0 14px; color: var(--dark); }
.disc-line b { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
    .flow-line b { animation: none; transform: scaleX(1); }
    .flow-step, .flow-ico, .flow-ico path { animation: none; }
}

.loader-slogan { margin: -14px 0 22px; font-family: var(--serif); font-style: italic; color: #8a6d1d; font-size: 1.05rem; }

/* Accounts */
.ht-acct-btn { position: relative; }
.ht-acct-dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg); }
.ht-acct-dot[hidden] { display: none; }
.ac-panel { width: min(440px, 100%); }
.ac-panel h2 { margin-bottom: 8px; }
.ac-lede { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.ac-small { font-size: 12px; margin-top: 16px; }
.ac-form { display: grid; gap: 14px; margin-top: 18px; }
.ac-panel .input { border-radius: 14px; padding: 12px 14px; font-size: 14px; width: 100%; font-family: inherit; }
.ac-panel .rv-f { display: grid; gap: 6px; font-size: 12px; font-weight: 500; }
.ac-panel .btn { width: 100%; justify-content: center; }
.ac-panel .btn:disabled { opacity: .55; cursor: default; }
.ac-wide { margin-top: 6px; }
.ac-pw { position: relative; display: block; }
.ac-pw .input { padding-right: 62px; }
.ac-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 6px 10px; font-size: 12px; color: var(--muted); border-radius: 99px; }
.ac-eye:hover { color: #000; background: var(--bg); }
.ac-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ac-check input { margin-top: 3px; accent-color: #000; }
.ac-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.ac-link { font-size: 13px; color: #8a6d1d; text-decoration: underline; text-underline-offset: 3px; padding: 2px 0; }
.ac-link:hover { color: #000; }
.ac-msg { font-size: 13px; min-height: 1.2em; margin: 0; }
.ac-msg.ok { color: #2f6b3a; } .ac-msg.bad { color: #a23b2a; }
.ac-card { display: grid; gap: 1px; background: var(--accent); border: 1px solid var(--accent); border-radius: 18px; overflow: hidden; margin: 18px 0; }
.ac-card > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #fff; font-size: 13px; }
.ac-card span { color: var(--muted); }
.ac-card b { font-weight: 500; text-align: right; word-break: break-all; }
.ac-ok { font-style: normal; color: #2f6b3a; } .ac-warn { font-style: normal; color: #a23b2a; }

/* Cleanup pass: footer has three columns now */
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; } }

/* Cleanup pass: calmer floating buttons on phones (assistant is icon only, back to top sits above it) */
@media (max-width: 899px) {
    #cb-launch { width: 48px; height: 48px; padding: 0; justify-content: center; right: 14px; bottom: 80px; }
    #cb-launch .cb-launch-t { display: none; }
    #to-top { width: 40px; height: 40px; right: 18px; bottom: 138px; }
}

/* Competitor-inspired additions: top bar, comparison table, pillars */
.topbar { background: var(--dark); color: #e9e2d0; font-size: 12.5px; line-height: 1.3; }
.topbar-row { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.topbar-text b { color: var(--gold); font-weight: 600; }
.topbar-link { color: var(--gold); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.topbar-link:hover { color: #fff; }
@media (max-width: 700px) { .topbar-more { display: none; } .topbar-row { gap: 12px; font-size: 12px; } }

.compare { position: relative; padding: clamp(60px, 8vw, 100px) 0; }
.compare-head { margin-bottom: 32px; max-width: 40rem; }
.compare-table { border: 1px solid var(--accent); border-radius: 26px; overflow: hidden; background: rgba(255,255,255,.92); box-shadow: 0 40px 70px -52px rgba(0,0,0,.4); }
.cmp-row { display: grid; grid-template-columns: .8fr 1.2fr 1fr; align-items: stretch; border-top: 1px solid var(--accent); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > span { padding: 16px 20px; font-size: 14px; color: var(--muted); display: flex; align-items: center; }
.cmp-row > span:first-child { color: var(--dark); font-weight: 500; }
.cmp-row .cmp-us { background: rgba(223,182,94,.12); color: var(--dark); font-weight: 400; }
.cmp-head > span { font-family: var(--serif); font-size: 1.05rem; color: var(--dark); background: transparent; }
.cmp-head .cmp-us { background: var(--dark); color: var(--gold); }
.compare-note { margin: 16px 4px 0; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
    .cmp-row { grid-template-columns: 1fr 1fr; }
    .cmp-row > span:first-child { grid-column: 1 / -1; padding-bottom: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
    .cmp-head > span:first-child { display: none; }
    .cmp-row > span { padding: 10px 14px; font-size: 13px; }
}

.pillars { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pillar { padding: 22px 24px; border: 1px solid var(--accent); border-radius: 22px; background: rgba(255,255,255,.9); display: flex; flex-direction: column; gap: 4px; }
.pillar b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--dark); }
.pillar span { font-size: 14px; color: var(--muted); line-height: 1.55; }
.poll-out h3 { margin: 0 0 6px; }
.poll-out { display: block; }

/* HT monogram: single-color mark, tinted through CSS color */
.logo-mark, .loader-mark { display: block; height: auto; aspect-ratio: 1 / 1; overflow: visible; color: var(--dark); }
.logo-mark { width: 40px; }
.footer-logo .logo-mark { width: 56px; color: var(--gold); }
.loader-mark { width: 110px; margin: 0 auto 14px; color: var(--dark); }
@media (max-width: 640px) { .logo-mark { width: 36px; } .footer-logo .logo-mark { width: 48px; } .loader-mark { width: 88px; } }
