/* Public homepage. Builds on /shared/ui.css tokens. */
html{scroll-behavior:smooth; scroll-padding-top:80px}
body{background:var(--bg)}
.container{width:100%; max-width:1160px; margin:0 auto; padding:0 24px}
.container.narrow{max-width:820px}

/* ---- header ---- */
.site-header{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px); -webkit-backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line)}
.header-row{display:flex; align-items:center; gap:24px; height:68px}
.site-nav{display:flex; align-items:center; gap:4px; margin-left:auto}
.site-nav a{color:var(--ink-2); font-size:14px; font-weight:500; padding:8px 12px; border-radius:var(--radius-sm)}
.site-nav a:hover{color:var(--ink); background:var(--surface-2); text-decoration:none}
.site-nav .nav-login{display:none}
.header-cta{display:flex; gap:8px; align-items:center}
.menu-btn{display:none; margin-left:auto; width:40px; height:40px; border-radius:var(--radius);
  border:1px solid var(--line); background:var(--surface); cursor:pointer; align-items:center; justify-content:center}
.menu-btn .icon{width:20px; height:20px}

/* ---- type ---- */
.display{font-family:var(--font-display); font-weight:400; letter-spacing:-.01em; color:var(--ink); text-wrap:balance}
.display em{font-style:italic; color:var(--accent)}
.eyebrow{display:inline-block; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); margin-bottom:14px}
.lead{font-size:18px; color:var(--ink-2); line-height:1.65; max-width:540px}

/* ---- hero ---- */
.hero{padding:64px 0 56px}
.hero-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center}
.chip{display:inline-flex; align-items:center; gap:8px; padding:6px 14px 6px 8px; border-radius:999px;
  background:var(--surface); border:1px solid var(--line); font-size:13px; font-weight:600; color:var(--ink-2); box-shadow:var(--shadow-sm)}
.chip .icon{width:22px; height:22px; padding:4px; border-radius:50%; background:var(--accent); color:#fff}
.hero h1{font-size:clamp(44px, 6.4vw, 72px); line-height:1.04; margin:22px 0 22px}
.hero-points{list-style:none; padding:0; margin:26px 0 30px; display:flex; flex-wrap:wrap; gap:10px}
.hero-points li{display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:var(--radius);
  background:var(--surface); border:1px solid var(--line); font-size:14px; font-weight:600; color:var(--ink-2)}
.hero-points .icon{color:var(--accent); width:16px; height:16px}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}

/* hero visual: a phone showing the customer print page */
.hero-visual{position:relative; display:flex; justify-content:flex-end; padding-right:12px}
.device{width:290px; border-radius:40px; padding:12px; background:var(--navy); box-shadow:0 40px 80px -30px rgba(14,22,49,.45)}
.device-screen{background:var(--surface); border-radius:30px; padding:22px 18px 18px; font-size:12px}
.m-top{display:flex; gap:10px; align-items:center; margin-bottom:16px}
.m-logo{width:34px; height:34px; border-radius:9px; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center}
.m-shop{font-weight:700; font-size:13px; color:var(--ink)}
.m-sub{color:var(--muted); font-size:11px}
.m-file{display:flex; gap:10px; align-items:center; padding:10px; border:1px solid var(--line); border-radius:12px; margin-bottom:14px}
.m-file-ic{width:30px; height:30px; border-radius:8px; background:var(--surface-2); color:var(--ink-2); display:grid; place-items:center}
.m-file-txt b{display:block; font-size:12px; color:var(--ink)}
.m-file-txt span{color:var(--muted); font-size:11px}
.m-label{font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin:10px 0 6px}
.m-row{display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:10px; overflow:hidden}
.m-step{width:30px; text-align:center; color:var(--ink-2); font-size:15px; line-height:30px}
.m-num{width:34px; text-align:center; font-weight:700; color:var(--ink)}
.m-seg{display:flex; gap:6px}
.m-seg span{flex:1; text-align:center; padding:8px 4px; border:1px solid var(--line); border-radius:10px; font-weight:600; color:var(--ink-2)}
.m-seg span.on{background:var(--accent-soft); border-color:var(--accent); color:var(--accent)}
.m-price{display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line)}
.m-price span{display:block; color:var(--muted); font-size:11px}
.m-price b{font-size:18px; color:var(--ink)}
.m-pay{background:var(--accent); color:#fff !important; font-weight:700; font-size:12px !important; padding:10px 14px; border-radius:10px}
.float-card{position:absolute; left:8px; top:44%; display:flex; gap:10px; align-items:center; padding:12px 16px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg)}
.float-card b{display:block; font-size:14px; color:var(--ink)}
.float-card span{font-size:12px; color:var(--muted)}
.float-ic{width:34px; height:34px; border-radius:50%; background:var(--good-soft); color:var(--good); display:grid; place-items:center}

/* ---- trust band ---- */
.band-wrap{padding:8px 0 24px}
.band{display:grid; grid-template-columns:repeat(4,1fr); background:var(--navy); color:#fff; border-radius:var(--radius-xl); padding:32px 8px}
.band-item{padding:4px 24px; border-left:1px solid rgba(255,255,255,.12)}
.band-item:first-child{border-left:none}
.band-val{font-family:var(--font-display); font-size:34px; line-height:1.1; margin-bottom:10px}
.band-title{font-weight:600; font-size:15px}
.band-sub{color:#A9B2CC; font-size:13px; margin-top:2px}

/* ---- sections ---- */
.section{padding:88px 0}
.section-alt{background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section-head{text-align:center; max-width:680px; margin:0 auto 48px}
.section-head h2, .contact-grid h2, .pricing h2{font-size:clamp(32px, 4.4vw, 46px); line-height:1.12}
.section-lead{color:var(--muted); font-size:17px; margin-top:16px}
.section-lead.left{margin:16px 0 28px}

/* steps */
.steps{list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.step{padding:28px 24px}
.step-num{display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--accent-soft);
  color:var(--accent); font-family:var(--font-display); font-size:20px; margin-bottom:18px}
.step h3{font-size:17px; font-weight:600; margin-bottom:8px}
.step p{color:var(--muted); font-size:14px}

/* features */
.features{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.feature{background:var(--surface); padding:28px 26px; border:1px solid var(--line); border-radius:var(--radius-lg)}
.feature-ic{display:grid; place-items:center; width:42px; height:42px; border-radius:var(--radius); background:var(--accent-soft); color:var(--accent); margin-bottom:18px}
.feature-ic .icon{width:20px; height:20px}
.feature h3{font-size:16px; font-weight:600; margin-bottom:6px}
.feature p{color:var(--muted); font-size:14px}

/* payments */
.pay-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.pay{padding:26px 24px}
.pay-top{display:flex; justify-content:space-between; align-items:center; margin-bottom:18px}
.pay-ic{display:grid; place-items:center; width:42px; height:42px; border-radius:var(--radius); background:var(--surface-2); border:1px solid var(--line); color:var(--ink-2)}
.pay-ic .icon{width:20px; height:20px}
.pay h3{font-size:17px; font-weight:600; margin-bottom:8px}
.pay p{color:var(--muted); font-size:14px}

/* pricing */
.pricing{display:grid; grid-template-columns:1fr 1fr; gap:48px; padding:48px; align-items:center; box-shadow:var(--shadow)}
.pricing-copy p{color:var(--muted); font-size:16px; margin:16px 0 28px; max-width:420px}
.checklist{list-style:none; padding:0; margin:0; display:grid; gap:14px}
.checklist li{display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--ink-2)}
.checklist .icon{width:22px; height:22px; padding:4px; border-radius:50%; background:var(--good-soft); color:var(--good); margin-top:0}

/* faq */
.faq{display:grid; gap:10px}
.faq details{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:0 22px}
.faq details[open]{box-shadow:var(--shadow)}
.faq summary{list-style:none; cursor:pointer; padding:18px 0; font-weight:600; font-size:16px; display:flex; justify-content:space-between; align-items:center; gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; font-size:22px; font-weight:400; color:var(--muted); line-height:1; flex:none}
.faq details[open] summary::after{content:"−"}
.faq details p{color:var(--muted); padding:0 0 20px; font-size:15px}

/* contact */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start}
.contact-cards{display:grid; gap:12px}
.contact-card{display:flex; gap:16px; align-items:center; padding:18px 20px; color:var(--ink); transition:border-color .15s, box-shadow .15s}
.contact-card:hover{border-color:var(--accent); box-shadow:var(--shadow); text-decoration:none}
.contact-ic{display:grid; place-items:center; width:44px; height:44px; border-radius:var(--radius); background:var(--accent-soft); color:var(--accent); flex:none}
.contact-ic .icon{width:20px; height:20px}
.contact-k{display:block; font-size:13px; color:var(--muted)}
.contact-v{display:block; font-size:17px; font-weight:600; word-break:break-all}
.help-card h3{font-size:17px; font-weight:600; margin-bottom:16px}
.help-list{list-style:none; padding:0; margin:0 0 20px}
.help-list li{padding:12px 0; border-top:1px solid var(--line)}
.help-list li:first-child{border-top:none; padding-top:0}
.help-list b{display:block; font-size:15px; font-weight:600}
.help-list span{color:var(--muted); font-size:14px}
.help-note{display:flex; gap:10px; align-items:flex-start; padding:12px 14px; border-radius:var(--radius); background:var(--surface-2); border:1px solid var(--line); font-size:13px; color:var(--ink-2)}
.help-note .icon{color:var(--accent); margin-top:1px}

/* login band */
.cta-section{padding:64px 0}
.cta{display:flex; align-items:center; justify-content:space-between; gap:24px; padding:32px 36px; flex-wrap:wrap}
.cta h2{font-size:22px; font-weight:700; margin-bottom:4px}
.cta p{color:var(--muted)}

/* ---- footer ---- */
.site-footer{background:var(--surface); border-top:1px solid var(--line); padding:56px 0 0}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1.3fr; gap:32px}
.footer-brand p{color:var(--muted); font-size:14px; margin-top:14px; max-width:280px}
.site-footer h4{font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); margin-bottom:14px}
.site-footer .footer-grid a:not(.brand){display:block; color:var(--ink-2); font-size:14px; padding:4px 0; word-break:break-word}
.site-footer .footer-grid a:not(.brand):hover{color:var(--accent)}
.footer-bottom{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; border-top:1px solid var(--line);
  margin-top:40px; padding-top:20px; padding-bottom:28px; color:var(--muted); font-size:13px}

/* ---- responsive ---- */
@media (max-width:1140px){ .float-card{display:none} }
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr; gap:48px}
  .hero{padding-top:44px}
  .hero-visual{justify-content:center; padding-right:0}
  .steps{grid-template-columns:repeat(2,1fr)}
  .features{grid-template-columns:repeat(2,1fr)}
  .band{grid-template-columns:repeat(2,1fr); row-gap:28px}
  .band-item:nth-child(3){border-left:none}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
  .header-cta{display:none}
  .menu-btn{display:inline-flex}
  .site-nav{display:none; position:absolute; top:68px; left:0; right:0; flex-direction:column; align-items:stretch;
    gap:0; padding:8px 16px 16px; background:var(--surface); border-bottom:1px solid var(--line); box-shadow:var(--shadow-lg)}
  .site-nav.open{display:flex}
  .site-nav a{padding:12px; font-size:15px}
  .site-nav .nav-login{display:block; margin-top:8px; text-align:center; background:var(--accent); color:#fff}
  .site-nav .nav-login:hover{background:var(--accent-hover); color:#fff}
  .pay-grid{grid-template-columns:1fr}
  .pricing{grid-template-columns:1fr; padding:32px 24px; gap:32px}
  .contact-grid{grid-template-columns:1fr; gap:32px}
}
@media (max-width:600px){
  .container{padding:0 16px}
  .section{padding:64px 0}
  .lead{font-size:16px}
  .steps,.features{grid-template-columns:1fr}
  .band{grid-template-columns:1fr; padding:20px 4px}
  .band-item{border-left:none; border-top:1px solid rgba(255,255,255,.12); padding:16px 20px}
  .band-item:first-child{border-top:none}
  .hero-actions .btn{flex:1}
  .device{width:260px}
  .cta{padding:24px 20px}
  .cta .btn{width:100%}
  .footer-grid{grid-template-columns:1fr}
}
