/* TaperFadeHub homepage, after the 18 Nov mockup: light, airy, one accent. indigo-600 #4f46e5, indigo-700 #4338ca, blue-600 #2563eb, ink #111827. */
:root { --ind: #4f46e5; --ind2: #4338ca; --blue: #2563eb; --ink: #111827; --mute: #4b5563; --line: #e6e8f0; --soft: #eef2ff; --soft2: #f5f6fb; --ok: #059669; --okbg: #d1fae5; --bad: #e11d48; }
.hm { font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); }
.hm a:hover { text-decoration: none; }
.hm .wrap { max-width: 76rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 768px) { .hm .wrap { padding-left: 1.5rem; padding-right: 1.5rem; } }
.hm .kicker { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ind); background: var(--soft); padding: .38rem .85rem; border-radius: 999px; }
.hm h2.t { font-size: clamp(1.85rem, 3.8vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: .9rem 0 0; }
.hm .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.35rem; border-radius: .9rem; font-weight: 700; font-size: 1rem; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.hm .btn:hover { transform: translateY(-1px); }
.hm .btn.p { background: var(--ind); color: #fff; box-shadow: 0 10px 26px -10px rgba(79,70,229,.75); }
.hm .btn.p:hover { background: var(--ind2); color: #fff; box-shadow: 0 16px 32px -12px rgba(79,70,229,.85); }
.hm .btn.o { background: #fff; color: var(--ink); border: 1.5px solid #d6d9e6; }
.hm .btn.o:hover { border-color: var(--ind); color: var(--ind2); }
.hm .btn .arr { transition: transform .2s ease; } .hm .btn:hover .arr { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #f6f7fc 100%); }
.hero::before { content: ""; position: absolute; right: -14%; top: -40%; width: 70%; height: 180%; transform: rotate(28deg); pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(79,70,229,.06) 0 70px, transparent 70px 200px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.hero::after { content: ""; position: absolute; left: -10%; bottom: -30%; width: 50%; height: 80%; pointer-events: none; background: radial-gradient(closest-side, rgba(37,99,235,.10), transparent); }
.hero .wrap { position: relative; display: grid; gap: 2.6rem; align-items: center; padding-top: 3.2rem; padding-bottom: 3.6rem; }
@media (min-width: 1024px) { .hero .wrap { grid-template-columns: .92fr 1.08fr; padding-top: 4.4rem; padding-bottom: 5rem; } }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 4.75rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 1.1rem 0 1.1rem; }
.hero h1 .u { position: relative; color: var(--ind); display: inline-block; }
.hero h1 .u svg { position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .32em; overflow: visible; }
.hero h1 .u path { fill: none; stroke: var(--ind); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: swash 1.1s .5s cubic-bezier(.3,.7,.2,1) forwards; }
@keyframes swash { to { stroke-dashoffset: 0; } }
.hero .lead { font-size: 1.2rem; line-height: 1.55; color: var(--mute); max-width: 31rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.hero .checks { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.3rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.hero .checks span { display: inline-flex; align-items: center; gap: .4rem; } .hero .checks svg { color: var(--ind); }
.hero .rise { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
.hero .rise.d1 { animation-delay: .08s } .hero .rise.d2 { animation-delay: .18s } .hero .rise.d3 { animation-delay: .28s } .hero .rise.d4 { animation-delay: .38s } .hero .rise.d5 { animation-delay: .48s }
@keyframes rise { to { opacity: 1; transform: none; } }

/* the devices */
.devices { position: relative; max-width: 40rem; margin: 0 auto; padding: 2.2rem 0 1.4rem; opacity: 0; transform: translateY(16px) scale(.985); animation: rise .9s .25s cubic-bezier(.2,.8,.2,1) forwards; }
.laptop { position: relative; width: 92%; }
.laptop .screen { background: #0f1020; border-radius: 1.1rem 1.1rem .4rem .4rem; padding: .7rem .7rem 1rem; box-shadow: 0 40px 70px -30px rgba(17,24,39,.5), 0 0 0 1px rgba(255,255,255,.05) inset; }
.laptop .base { height: 14px; margin: 0 -4%; background: linear-gradient(180deg, #e8e9f1, #c9ccdb); border-radius: 0 0 1rem 1rem; box-shadow: 0 18px 30px -18px rgba(17,24,39,.5); }
.laptop .base::after { content: ""; display: block; width: 14%; height: 4px; margin: 0 auto; background: #b7bbcb; border-radius: 0 0 6px 6px; }
.app { display: grid; grid-template-columns: 5.6rem 1fr; gap: .6rem; background: #f6f7fb; border-radius: .6rem; overflow: hidden; min-height: 15.5rem; font-size: .66rem; }
.app .side { background: #15162a; color: #c7c9d9; padding: .6rem .5rem; display: flex; flex-direction: column; gap: .2rem; }
.app .side .brand { display: flex; align-items: center; gap: .35rem; color: #fff; font-weight: 800; font-size: .7rem; margin-bottom: .5rem; } .app .side .brand img { width: 18px; height: 18px; }
.app .side a { display: flex; align-items: center; gap: .4rem; padding: .35rem .45rem; border-radius: .4rem; color: #c7c9d9; } .app .side a.on { background: var(--ind); color: #fff; }
.app .side svg { width: 11px; height: 11px; }
.app .main { padding: .55rem .6rem .5rem .1rem; }
@media (min-width: 641px) { .app .main { padding-right: 21%; } }
.app .tabs { display: flex; gap: .3rem; margin: .25rem 0 .45rem; } .app .tabs span { white-space: nowrap; padding: .18rem .5rem; border-radius: 999px; background: #e9eaf3; color: #4b5563; font-weight: 600; } .app .tabs span.on { background: var(--ind); color: #fff; }
.app .ttl { font-weight: 800; font-size: .8rem; color: var(--ink); display: flex; align-items: center; gap: .3rem; }
.app .day { font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.row { display: grid; grid-template-columns: 2.6rem minmax(0,1fr) auto; white-space: nowrap; align-items: center; gap: .4rem; background: #fff; border: 1px solid #e9eaf3; border-radius: .45rem; padding: .36rem .5rem; margin-bottom: .28rem; position: relative; color: var(--ink); font-weight: 600; }
.row .who { overflow: hidden; text-overflow: ellipsis; }
.row time { color: #6b7280; font-weight: 500; font-variant-numeric: tabular-nums; }
.row .tag { font-size: .58rem; font-weight: 700; padding: .12rem .4rem; border-radius: 999px; }
.row.cancel { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.row.cancel .who { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.row.cancel .tag { color: var(--bad); background: #ffe4e6; }
.row.fill { background: #ecfdf5; border-color: #a7f3d0; }
.row.fill .tag { color: var(--ok); background: var(--okbg); }
/* the 10 s story: cancel, text, fill */
.row.cancel { animation: cancelIn 10s linear infinite; }
@keyframes cancelIn { 0%,10% { background: #fff; border-color: #e9eaf3; color: var(--ink); } 16%,100% { background: #fff1f2; border-color: #fecdd3; color: #9f1239; } }
.row.cancel .who { animation: strike 10s linear infinite; } @keyframes strike { 0%,12% { text-decoration-color: transparent; } 16%,100% { text-decoration-color: currentColor; } }
.row.cancel .tag { opacity: 0; animation: tagIn 10s linear infinite; } @keyframes tagIn { 0%,14% { opacity: 0; } 18%,100% { opacity: 1; } }
.row.fill { opacity: 0; transform: translateY(6px); animation: fillIn 10s linear infinite; }
@keyframes fillIn { 0%,58% { opacity: 0; transform: translateY(6px); } 64%,100% { opacity: 1; transform: none; } }
.row.fill .zap { opacity: 0; animation: tagIn 10s 0.4s linear infinite; }
.toast { position: absolute; right: 4%; top: -1rem; background: #fff; border-radius: 1rem; padding: .7rem .9rem .7rem .75rem; display: flex; gap: .55rem; align-items: flex-start; box-shadow: 0 26px 50px -22px rgba(17,24,39,.45); border: 1px solid #e6e8f0; width: 15.5rem; font-size: .78rem; color: var(--mute); z-index: 3; opacity: 0; animation: toastIn 10s linear infinite; }
.toast b { display: block; color: var(--ink); font-size: .9rem; }
.toast i { flex: none; width: 1.8rem; height: 1.8rem; border-radius: .6rem; background: var(--okbg); color: var(--ok); display: grid; place-items: center; }
@keyframes toastIn { 0%,62% { opacity: 0; transform: translateY(-8px); } 68%,94% { opacity: 1; transform: none; } 98%,100% { opacity: 0; } }
.phone { position: absolute; right: -1%; bottom: 0; width: 31%; min-width: 10.5rem; background: #0f1020; border-radius: 1.6rem; padding: .45rem; box-shadow: 0 40px 70px -28px rgba(17,24,39,.6), 0 0 0 1px rgba(255,255,255,.06) inset; animation: hover 7s ease-in-out infinite; }
@keyframes hover { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.phone .scr { background: #f6f7fb; border-radius: 1.25rem; padding: .55rem .5rem .5rem; min-height: 15rem; display: flex; flex-direction: column; gap: .32rem; font-size: .64rem; }
.phone .ph-h { display: flex; align-items: center; gap: .35rem; justify-content: center; padding: .3rem 0 .45rem; color: var(--ink); font-weight: 700; font-size: .62rem; border-bottom: 1px solid #e6e8f0; margin-bottom: .2rem; } .phone .ph-h img { width: 16px; height: 16px; }
.msg { max-width: 92%; padding: .4rem .55rem; border-radius: .75rem; line-height: 1.3; opacity: 0; transform: translateY(6px); }
.msg.in { background: #fff; color: var(--ink); border-bottom-left-radius: .25rem; border: 1px solid #e6e8f0; }
.msg.ok { background: var(--ind); color: #fff; border-bottom-left-radius: .25rem; }
.msg.ok b { display: block; }
.msg.m1 { animation: msg 10s linear infinite; } .msg.m2 { animation: msg2 10s linear infinite; } .msg.m3 { animation: msg3 10s linear infinite; }
@keyframes msg  { 0%,20% { opacity: 0; transform: translateY(6px); } 25%,100% { opacity: 1; transform: none; } }
@keyframes msg2 { 0%,34% { opacity: 0; transform: translateY(6px); } 39%,100% { opacity: 1; transform: none; } }
@keyframes msg3 { 0%,60% { opacity: 0; transform: translateY(6px); } 66%,100% { opacity: 1; transform: none; } }
.typing { align-self: flex-start; background: #fff; border: 1px solid #e6e8f0; border-radius: .75rem; padding: .45rem .5rem; display: flex; gap: 3px; opacity: 0; animation: typ 10s linear infinite; }
.typing i { width: 4px; height: 4px; border-radius: 999px; background: #9ca3af; animation: dot 1s ease-in-out infinite; } .typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }
@keyframes typ { 0%,42% { opacity: 0; height: 0; padding: 0; border-width: 0; } 44%,58% { opacity: 1; height: auto; } 60%,100% { opacity: 0; height: 0; padding: 0; border-width: 0; } }
@keyframes dot { 0%,100% { transform: translateY(0); opacity: .5 } 50% { transform: translateY(-2px); opacity: 1 } }
.phone .inp { margin-top: auto; display: flex; align-items: center; gap: .3rem; background: #fff; border: 1px solid #e6e8f0; border-radius: 999px; padding: .28rem .35rem .28rem .6rem; color: #9ca3af; } .phone .inp i { margin-left: auto; width: 1.1rem; height: 1.1rem; border-radius: 999px; background: var(--ind); }
@media (max-width: 640px) { .laptop { width: 100%; } .phone { display: none; } .toast { right: 0; width: 13rem; } }

/* ---------- how it works ---------- */
.how { padding: 4.5rem 0 1rem; text-align: center; }
.steps { display: grid; gap: .9rem; margin-top: 2.2rem; text-align: left; }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; } }
.step { background: var(--soft2); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.35rem 1.35rem 1.35rem; display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; align-items: start; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.step:hover { transform: translateY(-6px); background: #fff; border-color: #c7d2fe; box-shadow: 0 30px 60px -30px rgba(79,70,229,.45); }
.step .ico { width: 4.2rem; height: 4.2rem; border-radius: 1rem; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ind); }
.step .ico svg { width: 2.2rem; height: 2.2rem; }
.step .num { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; margin-right: .4rem; vertical-align: 2px; }
.step h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 .3rem; }
.step p { color: var(--mute); margin: 0; line-height: 1.5; font-size: .95rem; }
.arrow { display: none; align-self: center; color: #c7d2fe; } @media (min-width: 900px) { .arrow { display: block; } }
/* icon animations */
.s1 .x { stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawX 3.6s ease-in-out infinite; } @keyframes drawX { 0%,25% { stroke-dashoffset: 30 } 45%,75% { stroke-dashoffset: 0 } 95%,100% { stroke-dashoffset: 30 } }
.s2 .bub { transform-origin: 60% 100%; animation: bub 2.6s ease-in-out infinite; } @keyframes bub { 0%,100% { transform: scale(1) } 50% { transform: scale(1.06) } }
.s2 .dots circle { animation: dot 1.1s ease-in-out infinite; } .s2 .dots circle:nth-child(2) { animation-delay: .15s } .s2 .dots circle:nth-child(3) { animation-delay: .3s }
.s3 .chk { stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawChk 3.4s ease-in-out infinite; } @keyframes drawChk { 0%,25% { stroke-dashoffset: 40 } 45%,80% { stroke-dashoffset: 0 } 96%,100% { stroke-dashoffset: 40 } }

/* ---------- features ---------- */
.feat { padding: 4rem 0 1.5rem; text-align: center; }
.cards { display: grid; gap: .9rem; margin-top: 2.2rem; text-align: left; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.3rem; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 999px; background: radial-gradient(circle, rgba(79,70,229,.14), transparent 70%); transition: transform .4s ease; }
.card:hover { transform: translateY(-5px); border-color: #c7d2fe; box-shadow: 0 26px 50px -28px rgba(79,70,229,.45); } .card:hover::after { transform: scale(1.6); }
.card .ico { width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: var(--soft); color: var(--ind); display: grid; place-items: center; margin-bottom: .9rem; } .card .ico svg { width: 1.4rem; height: 1.4rem; }
.card h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 .3rem; } .card p { color: var(--mute); margin: 0; line-height: 1.5; font-size: .93rem; }

/* ---------- pricing band ---------- */
.price { padding: 3rem 0 1rem; }
.band { position: relative; overflow: hidden; border-radius: 1.6rem; background: linear-gradient(120deg, #0f1020 0%, #1e1b4b 55%, #312e81 100%); color: #fff; padding: 2.2rem 1.6rem; display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .band { grid-template-columns: 1.1fr 1.3fr 1fr; padding: 2.6rem 2.4rem; } }
.band::before { content: ""; position: absolute; right: -10%; top: -60%; width: 50%; height: 220%; background: radial-gradient(closest-side, rgba(96,165,250,.35), transparent); }
.band .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #a5b4fc; }
.band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: .5rem 0 0; }
.band h2 .u { position: relative; display: inline-block; } .band h2 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1em; height: .18em; border-radius: 999px; background: #60a5fa; }
.band .big { display: flex; align-items: center; gap: 1rem; position: relative; }
.band .big .n { font-size: clamp(3.4rem, 7vw, 5.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(180deg, #c7d2fe, #818cf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band .big b { display: block; font-size: 1.2rem; } .band .big p { color: #c7c9d9; margin: .2rem 0 0; font-size: .92rem; line-height: 1.4; max-width: 18rem; }
.band .cap { position: relative; border: 1.5px solid rgba(165,180,252,.6); border-radius: 1.1rem; padding: 1rem 1.2rem; text-align: center; background: rgba(255,255,255,.04); }
.band .cap .k { color: #c7d2fe; } .band .cap .n { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; } .band .cap p { font-size: .85rem; color: #c7c9d9; margin: .3rem 0 0; }
.band .fine { grid-column: 1 / -1; font-size: .86rem; color: #a3a6b4; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; position: relative; }
.band .fine span::before { content: "✓ "; color: #60a5fa; }

/* ---------- for clients ---------- */
.clients { padding: 3.5rem 0 4rem; }
.doors { display: grid; gap: 1rem; } @media (min-width: 768px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { border-radius: 1.4rem; padding: 1.7rem; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: .7rem; transition: transform .25s ease, box-shadow .25s ease; }
.door:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -32px rgba(37,99,235,.45); }
.door h3 { font-size: 1.3rem; font-weight: 800; margin: 0; } .door p { color: var(--mute); margin: 0; line-height: 1.55; }
.door .ico { width: 3rem; height: 3rem; border-radius: 1rem; background: #eff6ff; color: var(--blue); display: grid; place-items: center; } .door.b .ico { background: var(--soft); color: var(--ind); }
.city { display: flex; gap: .5rem; margin-top: .3rem; }
.city input { flex: 1; min-width: 0; border: 1.5px solid #d6d9e6; border-radius: .85rem; padding: .78rem 1rem; font-size: 1rem; outline: none; font-family: inherit; }
.city input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.city button { background: var(--blue); color: #fff; font-weight: 700; border: 0; border-radius: .85rem; padding: .78rem 1.1rem; cursor: pointer; font-family: inherit; }
.city button:hover { background: #1d4ed8; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .1s } .rv[data-d="2"] { transition-delay: .2s } .rv[data-d="3"] { transition-delay: .3s } .rv[data-d="4"] { transition-delay: .4s }

@media (prefers-reduced-motion: reduce) {
  .hm * { animation: none !important; }
  .hero .rise, .devices, .msg, .toast, .row.fill, .row.cancel .tag, .typing { opacity: 1 !important; transform: none !important; }
  .typing { display: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}
