/* clickto.app homepage */
html{scroll-behavior:smooth;scroll-padding-top:72px}
body{background:var(--bg)}
.wrap{max-width:1120px;margin:0 auto;padding:0 1.25rem}

.nav{position:sticky;top:0;z-index:50;background:rgba(247,247,248,.82);backdrop-filter:saturate(1.5) blur(12px);border-bottom:1px solid transparent}
.nav-in{display:flex;align-items:center;gap:1.5rem;height:60px}
.nav-links{display:flex;gap:.25rem}
.nav-links a{padding:.4rem .65rem;border-radius:8px;font-size:.88rem;font-weight:550;color:var(--muted)}
.nav-links a:hover{color:var(--ink);background:var(--sunken)}
.nav-r{margin-left:auto;display:flex;align-items:center;gap:.5rem}
.nav-site{display:inline-flex;align-items:center;gap:.5rem;font-size:.84rem;font-weight:600;color:var(--ink-2);max-width:240px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-right:.4rem}
@media (max-width:720px){.nav-links{display:none}.nav-site{display:none}}

.hero{position:relative;padding:3rem 0 4.5rem;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0 0 auto;height:560px;background:
  radial-gradient(600px 260px at 50% 0,rgba(79,70,229,.08),transparent 70%),
  linear-gradient(var(--line-2) 1px,transparent 1px) 0 0/100% 48px,
  linear-gradient(90deg,var(--line-2) 1px,transparent 1px) 0 0/48px 100%;
  -webkit-mask:radial-gradient(800px 420px at 50% 0,#000 30%,transparent 75%);mask:radial-gradient(800px 420px at 50% 0,#000 30%,transparent 75%);pointer-events:none}
.hero-in{position:relative;text-align:center;max-width:820px}
.earn-line{display:inline-flex;align-items:center;gap:.4rem;flex-wrap:wrap;justify-content:center;padding:.3rem .4rem .3rem .85rem;border:1px solid var(--line);border-radius:999px;background:var(--surface);box-shadow:var(--sh-xs);font-size:.84rem}
.earn-line select{appearance:none;-webkit-appearance:none;height:26px;padding:0 .55rem;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-weight:600;font-size:.8rem;cursor:pointer}
.earn-line select:hover{border-color:#CFD1D7}
.earn-line b{color:var(--green);font-weight:700;font-variant-numeric:tabular-nums}
.earn-i{color:var(--faint);padding:0 .35rem;cursor:help}
.hero .h1{margin-top:1.6rem}
.hero .h1 span{color:var(--muted)}
.lede{font-size:1.12rem;color:var(--muted);margin:1rem auto 0;max-width:600px}
.ticks{display:flex;justify-content:center;gap:1.2rem;list-style:none;margin-top:1.1rem;font-size:.86rem;font-weight:550;color:var(--ink-2)}
.ticks i{color:var(--green);margin-right:.25rem}
.build{position:relative;max-width:880px;margin-top:2.4rem}

.sec{padding:5rem 0;border-top:1px solid var(--line-2)}
.sec-alt{background:var(--surface)}
.sec .h2{margin:.5rem 0 2rem;max-width:680px}
.path{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.path article{position:relative;padding:1.4rem;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-xs);display:flex;flex-direction:column;gap:.5rem}
.path-n{width:28px;height:28px;border-radius:8px;background:var(--ink);color:#fff;display:grid;place-items:center;font-weight:700;font-size:.82rem;margin-bottom:.4rem}
.path p{font-size:.9rem}
.path-viz{margin-top:auto;padding-top:1.2rem;height:84px;display:flex;align-items:flex-end;gap:5px}
.viz-1 i{width:64px;height:48px;border-radius:8px;border:1px solid var(--line);background:linear-gradient(var(--accent-soft) 0 30%,var(--surface) 30%)}
.viz-2{flex-wrap:wrap;align-content:flex-end;gap:5px}
.viz-2 i{width:calc(20% - 4px);height:24px;border-radius:5px;border:1px solid var(--line);background:linear-gradient(var(--accent-soft) 0 35%,var(--surface) 35%)}
.viz-3 i{flex:1;border-radius:3px 3px 0 0;background:var(--green);opacity:.85}
@media (max-width:860px){.path{grid-template-columns:1fr}}

.shots{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.shots figure{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--surface);box-shadow:var(--sh-xs)}
.shots img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top;border-bottom:1px solid var(--line-2)}
.shots figcaption{padding:.65rem .9rem;font-size:.86rem;font-weight:600}
@media (max-width:760px){.shots{grid-template-columns:repeat(2,1fr)}}

.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;align-items:stretch}
.plan{display:flex;flex-direction:column;gap:.6rem;padding:1.4rem;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-xs)}
.plan-hi{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink),var(--sh-md)}
.plan-h{display:flex;align-items:center;gap:.5rem;justify-content:space-between}
.price{font-size:2.2rem;font-weight:700;letter-spacing:-.04em}
.price span{font-size:.9rem;font-weight:500;color:var(--muted);letter-spacing:0}
.plan ul{list-style:none;display:grid;gap:.45rem;margin:.4rem 0 1rem;font-size:.88rem}
.plan li{display:flex;gap:.5rem}
.plan li i{color:var(--green)}
.plan .btn{margin-top:auto}
.honest{display:flex;gap:.45rem;margin-top:1.4rem}
@media (max-width:860px){.plans{grid-template-columns:1fr}}

.foot{border-top:1px solid var(--line);padding:2.4rem 0 3rem;background:var(--surface)}
.foot-in{display:grid;grid-template-columns:auto 1fr auto;gap:2rem;align-items:start}
.foot nav{display:flex;flex-wrap:wrap;gap:.35rem 1.1rem;font-size:.84rem}
.foot nav a{color:var(--muted)}
.foot nav a:hover{color:var(--ink)}
@media (max-width:760px){.foot-in{grid-template-columns:1fr}}
@media (max-width:560px){.hero{padding-top:2rem}.earn-i{display:none}.earn-line{font-size:.78rem}.earn-line>.faint:first-child{display:none}}
@media (max-width:560px){
  .earn-line{flex-wrap:nowrap;white-space:nowrap;gap:.3rem;padding:.25rem .3rem .25rem .6rem}
  .earn-line>.faint:nth-of-type(3){display:none}
  .earn-line select{padding:0 .4rem;font-size:.74rem}
}

/* ===================== homepage v3 ===================== */
.hero{padding:3.2rem 0 2.4rem}
.hero::before{display:none}
.hero-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none;
  background:linear-gradient(var(--line-2) 1px,transparent 1px) 0 0/100% 56px,linear-gradient(90deg,var(--line-2) 1px,transparent 1px) 0 0/56px 100%;
  -webkit-mask:radial-gradient(900px 520px at 50% 10%,#000 25%,transparent 75%);mask:radial-gradient(900px 520px at 50% 10%,#000 25%,transparent 75%)}
.hero-bg i{position:absolute;border-radius:50%;filter:blur(60px);opacity:.55;animation:drift 18s ease-in-out infinite alternate}
.hero-bg .b1{width:420px;height:420px;left:calc(50% - 520px);top:-80px;background:#C7C2FF}
.hero-bg .b2{width:380px;height:380px;left:calc(50% + 140px);top:-40px;background:#B8EBD3;animation-duration:22s}
.hero-bg .b3{width:300px;height:300px;left:calc(50% - 150px);top:160px;background:#FFE1C2;opacity:.4;animation-duration:26s}
@keyframes drift{to{transform:translate(40px,30px) scale(1.08)}}
.hero-h{margin-top:1.5rem;font-size:clamp(2.6rem,6.6vw,4.6rem);letter-spacing:-.045em;line-height:1.02}
.hero-h .hero-sub{color:var(--muted)}
.rot{display:inline-block;height:1.08em;overflow:hidden;vertical-align:bottom;color:var(--accent)}
.rot-in{display:flex;flex-direction:column;animation:rot 12s cubic-bezier(.7,0,.3,1) infinite}
.rot-in span{display:block;height:1.08em;line-height:1.08em;white-space:nowrap}
@keyframes rot{0%,15%{transform:translateY(0)}20%,35%{transform:translateY(-1.08em)}40%,55%{transform:translateY(-2.16em)}60%,75%{transform:translateY(-3.24em)}80%,95%{transform:translateY(-4.32em)}100%{transform:translateY(-5.4em)}}
.hero .lede{font-size:1.15rem;margin-top:1.1rem}
.cta-row{display:flex;align-items:center;justify-content:center;gap:1rem 1.3rem;flex-wrap:wrap;margin-top:1.8rem}
.cta-note{display:inline-flex;align-items:center;gap:.35rem;font-size:.86rem;font-weight:550;color:var(--muted)}
.cta-note i{color:var(--green)}
.cta-note i:not(:first-child){margin-left:.6rem}
.ais{display:flex;align-items:center;justify-content:center;gap:.5rem;flex-wrap:wrap;margin-top:1.8rem;font-size:.84rem;color:var(--faint);font-weight:550}
.ai-pill{display:inline-flex;align-items:center;gap:.45rem;height:34px;padding:0 .8rem 0 .45rem;border-radius:999px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-xs);color:var(--ink-2);font-weight:600}
.ai-pill img{width:22px;height:22px;border-radius:6px;object-fit:cover}

.how{padding:.5rem 0 1.4rem}
.how-row{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:0;max-width:980px;margin:0 auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--sh-sm);overflow:hidden}
.how-row li{position:relative;display:flex;align-items:center;gap:.8rem;padding:1.1rem 1.15rem}
.how-row li:not(:last-child)::after{content:"";position:absolute;right:-7px;top:50%;width:12px;height:12px;transform:translateY(-50%) rotate(45deg);background:var(--surface);border-top:1px solid var(--line);border-right:1px solid var(--line);z-index:1}
.how-row li:not(:last-child){border-right:1px solid var(--line-2)}
.how-ic{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;flex:none;background:var(--sunken);color:var(--ink);font-size:1.1rem}
.how-go{background:var(--ink);color:#fff}
.how-ais{display:flex;width:auto;padding:0 .25rem;background:none}
.how-ais img{width:28px;height:28px;border-radius:8px;border:2px solid var(--surface);object-fit:cover;box-shadow:var(--sh-xs)}
.how-ais img+img{margin-left:-9px}
.how-row b{display:block;font-size:.9rem;font-weight:650;letter-spacing:-.01em}
.how-row div span{display:block;font-size:.76rem;color:var(--muted);margin-top:.1rem}
@media (max-width:900px){.how-row{grid-template-columns:1fr 1fr}.how-row li:nth-child(2){border-right:0}.how-row li:nth-child(-n+2){border-bottom:1px solid var(--line-2)}.how-row li::after{display:none}}
@media (max-width:520px){.how-row{grid-template-columns:1fr}.how-row li{border-right:0!important;border-bottom:1px solid var(--line-2)}.how-row li:last-child{border-bottom:0}}

.build-sec{padding:1rem 0 4.5rem}
.build-sec .build{margin-top:0}

.made{padding:4.5rem 0;border-top:1px solid var(--line-2);background:var(--surface);overflow:hidden}
.made-h{text-align:center}
.made-h .h2{margin:.5rem auto 2rem}
.marquee{-webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee-track{display:flex;gap:1rem;width:max-content;animation:marquee 60s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee figure{width:300px;flex:none;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--surface);box-shadow:var(--sh-sm)}
.marquee img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top;border-bottom:1px solid var(--line-2)}
.marquee figcaption{padding:.6rem .85rem;font-size:.85rem;font-weight:600}
@keyframes marquee{to{transform:translateX(calc(-50% - .5rem))}}

.final{padding:1.5rem 0 5rem;background:var(--surface)}
.final-in{position:relative;text-align:center;padding:3.5rem 1.5rem;border-radius:28px;background:radial-gradient(600px 240px at 50% 0,rgba(124,107,255,.35),transparent 70%),var(--ink);color:#fff;overflow:hidden}
.final-ais{display:flex;justify-content:center;margin-bottom:1.2rem}
.final-ais img{width:40px;height:40px;border-radius:11px;border:3px solid var(--ink);object-fit:cover}
.final-ais img+img{margin-left:-10px}
.final h2{font-size:clamp(1.7rem,4vw,2.6rem);font-weight:700;letter-spacing:-.035em;line-height:1.1}
.final p{color:#B9BCC7;margin:.7rem 0 1.6rem}
.final p a{color:#fff;text-decoration:underline}
.final-btn{background:#fff;color:var(--ink)}
.final-btn:hover{background:#ECECF1}
@media (prefers-reduced-motion:reduce){.hero-bg i,.rot-in,.marquee-track{animation:none}}
@media (max-width:560px){.hero-h{font-size:2.5rem}.cta-row .btn{width:100%}}
.hero .h1 .rot,.hero .h1 .rot span{color:var(--accent)}

/* ===================== homepage v4: slimmer, and built for phones ===================== */
.hero{padding:2rem 0 1.4rem}
.hero-h{margin-top:1.1rem;font-size:clamp(2.3rem,6vw,4.1rem)}
.hero .lede{font-size:1.08rem;margin-top:.8rem}
.cta-row{margin-top:1.3rem;gap:.8rem 1.2rem}
.cta-note{gap:.55rem}
.cta-ais{display:inline-flex}
.cta-ais img{width:22px;height:22px;border-radius:6px;border:2px solid var(--bg);object-fit:cover}
.cta-ais img+img{margin-left:-7px}
.how{padding:.2rem 0 1rem}
.how-row li{padding:.8rem 1rem}
.how-ic{width:36px;height:36px;border-radius:10px}
.how-ais img{width:24px;height:24px}
.build-sec{padding:.4rem 0 4rem}
.made{padding:3.5rem 0}

@media (max-width:640px){
  .nav-in{height:56px;gap:.6rem}
  .nav-r .btn-ghost{display:none}
  .hero{padding:1.2rem 0 .8rem}
  .earn-line{margin-bottom:.1rem}
  .hero-h{font-size:2.3rem;line-height:1.04;margin-top:.9rem}
  .hero-h br{display:block}
  .hero .lede{font-size:.98rem;margin-top:.6rem}
  .cta-row{margin-top:1rem;flex-direction:column;gap:.6rem}
  .cta-row .btn{width:100%;height:52px}
  .cta-note{font-size:.78rem;text-align:center}
  /* how-it-works: one row of four, icons over two-word labels */
  .how{padding:.2rem 0 .6rem}
  .how-row{grid-template-columns:repeat(4,1fr);border-radius:16px}
  .how-row li{flex-direction:column;text-align:center;gap:.4rem;padding:.75rem .3rem;border-right:1px solid var(--line-2)!important;border-bottom:0!important}
  .how-row li:last-child{border-right:0!important}
  .how-row li::after{display:none}
  .how-row b{font-size:.72rem;line-height:1.2}
  .how-row div span{display:none}
  .how-ic{width:34px;height:34px}
  .how-ais img{width:20px;height:20px;border-width:1.5px}
  .how-ais img+img{margin-left:-8px}
  .build-sec{padding:.2rem 0 2.5rem}
  .build-sec .wrap{padding:0 .75rem}
  .made{padding:2.5rem 0}
  .marquee figure{width:220px}
  .final{padding:.5rem 0 3rem}
  .final-in{padding:2.4rem 1.2rem;border-radius:22px}
}
.cta-note b{font-weight:650;color:var(--ink-2);white-space:nowrap}
@media (max-width:640px){
  .hero-h{font-size:2.15rem}
  .hero-h .hero-sub{display:block;font-size:1.55rem;margin-top:.15rem;white-space:nowrap}
  .cta-note{white-space:nowrap;justify-content:center;font-size:.76rem}
  .cta-ww{display:none}
}
@media (max-width:360px){.hero-h{font-size:1.9rem}.hero-h .hero-sub{font-size:1.35rem}}

/* Build -> Publish -> Earn */
.how-3{grid-template-columns:repeat(3,1fr);max-width:900px}
.how-ic i{font-size:1.1rem}
.how-money{background:var(--green);color:#fff}
@media (max-width:900px){.how-3{grid-template-columns:1fr}.how-3 li{border-right:0!important;border-bottom:1px solid var(--line-2)}.how-3 li:last-child{border-bottom:0}}

/* Made for AdSense */
.adsense{padding:4.5rem 0;border-top:1px solid var(--line-2)}
.ads-h{text-align:center;max-width:720px;margin:0 auto 2.2rem}
.ads-h .h2{margin:.5rem 0 .7rem}
.ads-grid{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:1040px;margin:0 auto}
.ads-grid li{padding:1.3rem;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--sh-xs)}
.ads-grid i{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:1.15rem;margin-bottom:.8rem}
.ads-grid b{display:block;font-size:1rem;font-weight:650;letter-spacing:-.01em}
.ads-grid span{display:block;font-size:.88rem;color:var(--muted);margin-top:.3rem;line-height:1.5}
.ads-price{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;max-width:1040px;margin:1.6rem auto 0;padding:1.2rem 1.4rem;border-radius:18px;background:var(--green-soft);border:1px solid #BFE3CF}
.ads-price > div{flex:1;min-width:240px}
.ads-price b{display:block;font-size:1.05rem;color:var(--green-2)}
.ads-price span{font-size:.9rem;color:var(--ink-2)}
@media (max-width:900px){.ads-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.ads-grid{grid-template-columns:1fr}.ads-price .btn{width:100%}}
.how-3 .how-ais{margin-right:.35rem}

/* ===================== homepage v5: one idea, four pictures ===================== */
/* Hero and wizard share one content width (880px less the wrap's padding),
   so the flow strip and the wizard line up edge to edge. */
.hero-in{max-width:880px}
.hero-h .hero-sub em{font-style:normal;color:var(--green);background:linear-gradient(transparent 62%,var(--green-soft) 62%)}

.flow{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);margin:1.8rem 0 0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--sh-sm)}
.flow li{position:relative;display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:1rem .5rem .9rem}
.flow li:not(:last-child){border-right:1px solid var(--line-2)}
.flow li:not(:last-child)::after{content:"\F138";font-family:"bootstrap-icons";position:absolute;right:-11px;top:50%;transform:translateY(-50%);z-index:1;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--surface);color:var(--faint);font-size:.95rem;line-height:1}
.flow-ic{height:40px;min-width:40px;border-radius:12px;display:grid;place-items:center;margin-bottom:.35rem;background:var(--sunken);color:var(--ink);font-size:1.15rem}
.flow-ais{display:flex;background:none}
.flow-ais img{width:30px;height:30px;border-radius:9px;border:2px solid var(--surface);object-fit:cover;box-shadow:var(--sh-xs)}
.flow-ais img+img{margin-left:-10px}
.flow b{font-size:.95rem;font-weight:700;letter-spacing:-.01em}
.flow small{font-size:.74rem;font-weight:550;color:var(--faint)}
.flow-earn{background:linear-gradient(180deg,var(--green-soft),transparent);border-radius:0 calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px) 0}
.flow-earn .flow-ic{background:var(--green);color:#fff;box-shadow:0 6px 16px -6px rgba(20,128,74,.6)}
.flow-earn b{color:var(--green-2)}
.flow-earn small{color:var(--green)}
.hero .cta-row{margin-top:1.5rem}
.cta-note .bi-check-circle-fill{color:var(--green)}

@media (max-width:640px){
  .hero-in{padding:0 .75rem}
  .hero-h .hero-sub{white-space:normal}
  .flow{margin-top:1.2rem;border-radius:16px}
  .flow li{padding:.75rem .2rem .65rem;gap:.1rem}
  .flow li:not(:last-child)::after{right:-9px;width:18px;height:18px;font-size:.8rem}
  .flow-ic{height:34px;min-width:34px;border-radius:10px;font-size:1rem;margin-bottom:.25rem}
  .flow-ais img{width:22px;height:22px;border-width:1.5px;border-radius:7px}
  .flow-ais img+img{margin-left:-9px}
  .flow b{font-size:.76rem;white-space:nowrap}
  .flow small{font-size:.64rem;white-space:nowrap}
  .flow-earn{border-radius:0 15px 15px 0}
}
.br-m{display:none}
@media (max-width:640px){.hero-h .br-m{display:block}}
/* No CTA button: the build box right below IS the start. Just say it's free
   and needs no account, right above where they type. */
.nosign{display:flex;justify-content:center;flex-wrap:wrap;gap:.4rem 1.2rem;margin:1.1rem 0 0;font-size:.9rem;font-weight:550;color:var(--ink-2)}
.nosign span{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}
.nosign i{color:var(--green)}
.nosign b{font-weight:700;color:var(--ink)}
.nosign span:first-child{padding:.2rem .7rem .2rem .55rem;border-radius:999px;background:var(--green-soft);border:1px solid var(--green-line)}
.hero{padding-bottom:1.1rem}
@media (max-width:640px){.nosign{gap:.4rem .8rem;font-size:.82rem;margin-top:.8rem}.hero{padding-bottom:.7rem}}
