/* tiretally.com home page only. Shared look (header, footer, buttons, FAQ) is in /site.css. */

/* Hero: electric blue, centered headline, the real app in a glass frame with product tabs. */
.hero{padding-block:64px 64px;color:#fff;overflow:clip;
  background:radial-gradient(1200px 520px at 50% -10%,var(--blue-l) 0%,rgba(61,123,255,0) 70%),radial-gradient(700px 500px at 100% 60%,var(--violet) 0%,rgba(75,47,214,0) 70%),linear-gradient(180deg,var(--blue-d) 0%,var(--blue) 62%,var(--blue-d) 100%)}
.hero .top{display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px}
.badge{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);font-size:14px;font-weight:600}
.badge::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--yellow)}
.hero h1{font-size:clamp(40px,4.6vw,64px);line-height:1.04;letter-spacing:-.035em;max-width:20ch}
.hero .lead{font-size:19px;line-height:1.55;color:#dbe5ff;max-width:640px}
.hero .actions{justify-content:center;padding-top:4px}
.hero .btn{min-height:52px;padding:0 28px;font-size:16.5px}
.hero .small{color:#c9d7ff;margin-top:-4px;font-size:14px}
.show{padding-top:44px}
.show h2{text-align:center;font-size:22px;letter-spacing:-.01em;line-height:1.2;margin-bottom:20px;color:#dbe5ff}
.frame{position:relative;border-radius:var(--r-lg);padding:14px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);box-shadow:0 50px 100px rgba(4,16,64,.45)}
.tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px 6px 16px}
.tabs button{appearance:none;min-height:44px;padding:0 18px;border-radius:999px;font:700 15px/1 var(--body);cursor:pointer;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;transition:background-color .15s,color .15s}
.tabs button:hover{background:rgba(255,255,255,.14)}
.tabs button[aria-selected="true"]{background:#fff;color:var(--blue-d);border-color:#fff}
.screen{background:#fff;border-radius:20px;overflow:hidden;aspect-ratio:1600/1000}
.screen img{width:100%;height:100%;object-fit:cover;object-position:top left}
.chip{position:absolute;width:270px;background:#fff;color:var(--ink);border-radius:18px;padding:16px;box-shadow:0 20px 40px rgba(4,16,64,.3);display:flex;gap:12px;align-items:flex-start;text-align:left}
.chip i{width:36px;height:36px;flex:none;border-radius:10px;display:grid;place-items:center}
.chip i svg{width:18px;height:18px}
.chip span{display:flex;flex-direction:column;gap:3px}
.chip small{font-size:12px;font-weight:700;color:var(--muted-2)}.chip b{font-size:16px;font-weight:800}.chip em{font-style:normal;font-size:13px;color:var(--muted-2)}
.chip.c1{left:-28px;top:250px} /* below the app's menu row in the screenshot */.chip.c1 i{background:var(--yellow);color:var(--yellow-ink)}
.chip.c2{right:-28px;bottom:90px}.chip.c2 i{background:#e3fbef;color:var(--green)}
.chip[hidden]{display:none}
@media (prefers-reduced-motion:no-preference){
  .chip.in{animation:chipIn .5s cubic-bezier(.22,1,.36,1) both}.chip.c2.in{animation-delay:.12s}
  .chip.c1.in{--dx:-14px}.chip.c2.in{--dx:14px}
  @keyframes chipIn{from{opacity:0;transform:translate(var(--dx),10px) scale(.96)}to{opacity:1;transform:none}}
}

/* Proof band: only numbers that are true today. */
.proof{background:var(--blue-d);color:#fff;padding-block:44px 52px}
.proof .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.proof b{display:block;font-size:40px;font-weight:800;letter-spacing:-.02em;line-height:1.2}
.proof span{font-size:15px;color:#c9d7ff}

/* Six products: expanding panels, opened one by one as the page scrolls (desktop). */
.pp-track{height:440vh}
.pp-stick{position:sticky;top:76px;height:calc(100vh - 76px);min-height:640px;display:flex;flex-direction:column;justify-content:center;gap:36px;padding-block:56px 48px}
.pp-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.pp-head h2{font-size:clamp(36px,4.2vw,54px);max-width:18ch}
.pp-head p{font-size:17px;line-height:1.6;color:var(--muted);max-width:36ch}
.pp-row{flex:1 1 auto;min-height:0;max-height:720px;display:flex;gap:12px} /* taller screens: the block stays centred instead of leaving a blank band */
.pp{position:relative;overflow:hidden;border-radius:28px;color:#fff;min-width:0;flex:0 0 92px;transition:flex .65s cubic-bezier(.22,1,.36,1);background:radial-gradient(480px 340px at 100% 0%,var(--b) 0%,rgba(0,0,0,0) 70%),linear-gradient(160deg,var(--a) 0%,var(--b) 100%)}
.pp.on{flex:1 1 0}
.pp-tab{position:absolute;inset:0;width:100%;border:0;background:transparent;color:#fff;cursor:pointer;font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:28px 0;transition:opacity .3s}
.pp-tab:hover{background:rgba(255,255,255,.06)}
.pp-tab .n{font-family:ui-monospace,Menlo,monospace;font-size:13px;color:rgba(255,255,255,.75)}
.pp-tab .v{writing-mode:vertical-rl;transform:rotate(180deg);font-weight:800;font-size:20px;white-space:nowrap}
.pp-tab .plus{width:32px;height:32px;border-radius:999px;border:1px solid rgba(255,255,255,.5);display:grid;place-items:center;font-size:18px}
.pp.on .pp-tab{opacity:0;pointer-events:none}
.pp-body{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:36px;padding:44px 0 0 44px;opacity:0;visibility:hidden;transition:opacity .35s .2s,visibility 0s .55s}
.pp.on .pp-body{opacity:1;visibility:visible;transition:opacity .45s .25s,visibility 0s}
.pp-txt{display:flex;flex-direction:column;gap:16px;padding-bottom:44px}
.pp-txt .eyebrow{color:var(--yellow)}
.pp-txt h3{font-size:34px;line-height:1.08;letter-spacing:-.02em}
.pp-txt p{font-size:16px;line-height:1.6;color:rgba(255,255,255,.86)}
.pp-txt ul{display:flex;gap:8px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.pp-txt li{padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:13px;font-weight:600}
.pp-txt .btn{margin-top:auto;align-self:flex-start;min-height:46px;padding:0 22px;font-size:15px;background:#fff;color:var(--ink)}
.pp-pic{min-width:0}
.pp-pic img{width:100%;height:100%;object-fit:cover;object-position:top center;border-radius:16px 0 0 0;border:6px solid rgba(255,255,255,.22);border-right:0;border-bottom:0}
.pp-inv{--a:#0a2fb0;--b:#1a56ff}.pp-sales{--a:#2a1490;--b:#4b2fd6}.pp-floor{--a:#064e57;--b:#0e7c86}.pp-cust{--a:#0b3d2e;--b:#11805a}.pp-web{--a:#7a2e00;--b:#d9580b}.pp-ins{--a:#061a4d;--b:#2a4bb0}

/* Solutions: grey tiles with real screens peeking out. */
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tile{background:var(--wash);border-radius:var(--r-md);padding:32px;display:flex;flex-direction:column;gap:14px;overflow:hidden;text-decoration:none;transition:background-color .2s}
.tile:hover{background:#e9edf5}
.tile h3{font-size:26px}.tile.sm h3{font-size:22px}
.tile p{font-size:16px;line-height:1.6;color:var(--muted)}
.tile .go{font-weight:700;color:var(--blue)}
.tile .peek{margin:16px -32px -32px 0;height:200px;overflow:hidden;border-radius:14px 0 0 0}
.tile .peek img{width:100%;height:240px;object-fit:cover;object-position:top left;transition:transform var(--duration-slow) var(--ease-standard)}
.tile:hover .peek img{transform:translateY(-8px)}

/* One platform: four layers. */
.layers{max-width:1080px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.layer{background:#fff;border-radius:22px;padding:22px;display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;align-items:center;box-shadow:0 1px 2px rgba(11,21,48,.06)}
.layer>b{font-weight:800;font-size:15px;color:var(--muted-2);letter-spacing:.04em}
.layer ul{display:flex;gap:10px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.layer li{padding:10px 16px;border-radius:999px;background:var(--sky);font-weight:600;font-size:14px}
.layer.apps li{color:#fff;font-weight:700}
.layer.conn li{background:transparent;border:1px solid #d5dcea}
.layer li.soon{background:#fff4cc;font-weight:700}
.layer.trust{background:linear-gradient(135deg,var(--navy),var(--blue-d));color:#fff}
.layer.trust>b{color:var(--yellow)}.layer.trust li{background:rgba(255,255,255,.12)}

/* Trust */
.trust-box{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center;border-radius:var(--r-lg);padding:64px;color:#fff;background:radial-gradient(700px 400px at 0% 0%,var(--blue) 0%,rgba(26,86,255,0) 70%),linear-gradient(135deg,var(--navy) 0%,var(--ink) 100%)}
.trust-box .eyebrow{color:var(--yellow)}
.trust-box h2{font-size:clamp(34px,3.6vw,46px);margin:18px 0}
.trust-box>div>p{font-size:18px;line-height:1.6;color:#c9d7ff}
.trust-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.trust-grid div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:6px}
.trust-grid b{font-weight:800}.trust-grid span{font-size:14px;line-height:1.55;color:#c9d7ff}

/* Customer story */
.story{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:28px;overflow:hidden;min-height:400px}
.story .q{background:var(--yellow);color:var(--yellow-ink);padding:56px;display:flex;flex-direction:column;justify-content:space-between;gap:28px}
.story .q .tag{align-self:flex-start;font-size:13px;font-weight:800;padding:6px 12px;border-radius:999px;background:var(--yellow-ink);color:var(--yellow)}
.story .q p{font-weight:800;font-size:30px;line-height:1.22;letter-spacing:-.015em}
.story .q .who{font-size:15px}.story .q .who b{display:block;font-size:17px}
.story .pic{background:var(--wash);padding:40px;display:flex;align-items:center}
.story .pic img{border-radius:14px;box-shadow:0 20px 40px rgba(11,21,48,.15)}
.story-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:32px}
.story-links a{text-decoration:none;display:flex;flex-direction:column;gap:10px}
.story-links a::before{content:"";height:4px;border-radius:4px;background:#d5dcea}
.story-links a:first-child::before{background:var(--blue)}
.story-links b{font-weight:800}.story-links span{font-size:14px;color:var(--muted-2)}

/* Pricing cards (the page /pricing has the full comparison). */
.plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.plan{background:#fff;border-radius:var(--r-md);padding:32px;display:flex;flex-direction:column;gap:12px}
.plan h3{font-size:20px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.plan h3 small{font-size:11px;font-weight:800;letter-spacing:.04em;padding:4px 10px;border-radius:999px;background:var(--yellow);color:var(--yellow-ink)}
.plan .amt{font-size:46px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.plan .amt small{font-size:15px;font-weight:500;color:var(--muted-2)}
.plan .who{font-size:15px;line-height:1.55;color:var(--muted)}
.plan .btn{margin-top:auto;min-height:48px}
.plan.pk{background:linear-gradient(160deg,var(--blue-d),var(--blue));color:#fff;box-shadow:0 24px 48px rgba(26,86,255,.35)}
.plan.pk .amt small{color:#c9d7ff}.plan.pk .who{color:#dbe5ff}
.price-more{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 24px;margin-top:32px;font-size:15.5px;color:var(--muted)}
.price-more a{font-weight:800;color:var(--blue);text-decoration:none}

/* Resources */
.res{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.res a,.res button{appearance:none;border:0;background:none;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;text-decoration:none;display:flex;flex-direction:column;gap:12px}
.res .art{height:180px;border-radius:20px;display:grid;place-items:center;overflow:hidden;transition:transform var(--duration-default) var(--ease-standard)}
.res a:hover .art,.res button:hover .art{transform:translateY(-4px)}
.res .art svg{width:56px;height:56px;color:#fff}
.res .art img{width:100%;height:100%;object-fit:cover;object-position:top center}
.res .art:has(img){background:linear-gradient(160deg,var(--blue-d),var(--blue));padding:14px 14px 0;place-items:end stretch}.res .art:has(img) img{border-radius:10px 10px 0 0;height:100%} /* a screenshot sits in a coloured tile like the icon cards */
.res .k{font-size:12px;font-weight:800;letter-spacing:.06em;color:var(--blue)}
.res b{font-size:18px;font-weight:800;line-height:1.35}
.a1{background:linear-gradient(135deg,var(--blue),var(--violet))}.a3{background:linear-gradient(135deg,#064e57,#0e7c86)}.a4{background:linear-gradient(135deg,#7a2e00,#d9580b)}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:40px}
.sec-head h2{font-size:clamp(32px,3.6vw,44px)}
.sec-head a{font-weight:800;color:var(--blue);text-decoration:none}

/* Closing call */
.pad-0{padding-top:0}

@media (prefers-reduced-motion:reduce){.pp,.pp-body,.pp-tab,.tile .peek img,.res .art{transition:none}}

/* 900–1100px: the same scroll effect with slimmer closed panels and the text above the picture. */
@media (min-width:900px) and (max-width:1100px){
  .pp{flex-basis:64px}.pp-tab .v{font-size:17px}.pp-tab{padding:22px 0}
  .pp-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:20px;padding:32px 0 0 32px}
  .pp-txt{padding:0 32px 0 0;gap:10px}.pp-txt h3{font-size:28px}.pp-txt ul{display:none}.pp-txt .btn{margin-top:4px}
}
/* Under 900px the six products are simply stacked, all open; no scroll effect. */
@media (max-width:899px){
  .pp-track{height:auto}
  .pp-stick{position:static;height:auto;min-height:0;max-height:none;padding-block:80px}
  .pp-row{flex-direction:column;gap:16px;max-height:none}
  .pp,.pp.on{flex:none}
  .pp-tab{display:none}
  .pp-body{position:static;opacity:1;visibility:visible;grid-template-columns:minmax(0,1fr);padding:32px 28px 0;gap:24px}
  .pp-txt{padding-bottom:0}.pp-pic{height:260px}
}
@media (max-width:1100px){
  .chip{display:none}
  .proof .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trust-box{grid-template-columns:minmax(0,1fr);padding:48px 32px;gap:32px}
  .story{grid-template-columns:minmax(0,1fr)}
  .plans,.res{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .hero{padding-block:36px 36px}
  .hero .lead{font-size:17px}
  .show{padding-top:32px}.show h2{font-size:18px}
  .frame{padding:8px;border-radius:22px}
  .tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:4px 4px 10px}.tabs::-webkit-scrollbar{display:none}
  .tabs button{flex:none;min-height:40px;padding:0 14px;font-size:14px}
  .screen{border-radius:14px}
  .proof b{font-size:30px}
  .pp-txt h3{font-size:26px}.pp-pic{height:200px}.pp-body{padding:26px 22px 0}
  .tiles,.plans,.res,.story-links,.trust-grid{grid-template-columns:minmax(0,1fr)}
  .layer{grid-template-columns:minmax(0,1fr);gap:12px}
  .story .q{padding:36px 28px}.story .q p{font-size:24px}.story .pic{padding:20px}
  .trust-box{padding:40px 22px}
}
