/* Trinico Cloud, the opening of every free tool page (CEO: direction B and A combined, 1 November 2026).
   One definition for all seven tool pages (Law 0c): the blue band with the tool's drawing and what you get,
   the tool's first card overlapping the band, and three steps under it. Loaded by each tool template after
   its own stylesheet; the band is the page's existing "-band" block with the class tt-hero added.
   Text on the band is white on the narrowed cobalt gradient: 4.64:1 at the light end, 6.36:1 at the dark end.
   Bump the ?v= in all seven templates on any change. */

.tt-hero.tt-hero{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:28px;align-items:center;
  margin-top:6px;padding:40px 0 104px;color:#fff;
  /* full-width band without widening the page: border-image paints the gradient outside the box (ink
     overflow only). The background repeats it inside the box so contrast tools can read it. */
  background:linear-gradient(135deg,#1A5FAF,#1B77C9);
  border-image:linear-gradient(135deg,#1A5FAF,#1B77C9) fill 0 / 0 / 0 100vmax;
}
.tt-hero.tt-hero h1{color:#fff;margin:0}
.tt-hero.tt-hero p{color:#fff}
.tt-hero.tt-hero [class$="-lead"]{max-width:56ch}
.tt-hero.tt-hero [class$="-count"]{color:#fff;background:rgba(19,32,46,.22);border-color:transparent}
.tt-hero.tt-hero [class$="-count"] *{color:#fff}
.tt-hero.tt-hero :focus-visible{outline-color:#fff}
.tt-hero-txt{min-width:0}
.tt-hero-art{display:block;width:100%;max-width:380px;height:auto;justify-self:end}

.tt-ticks{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:9px}
.tt-ticks li{position:relative;padding-left:30px;font:600 15px/1.45 Montserrat,"Open Sans",sans-serif;color:#fff}
.tt-ticks li::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;
  background:#ABC441 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313202E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center/12px no-repeat}

/* the tool's first card sits over the band's lower edge */
.tt-hero + *{position:relative;margin-top:-72px!important;box-shadow:0 14px 34px rgba(15,32,55,.16)}

/* three steps under the first card */
.tt-steps{list-style:none;margin:20px 0 6px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:tt}
.tt-steps li{counter-increment:tt;display:flex;align-items:center;gap:12px;min-height:60px;padding:12px 16px;border-radius:14px;
  background:var(--tc-surface,#fff);border:1px solid var(--tc-border,#E8EEF4);font:600 15px/1.35 Montserrat,"Open Sans",sans-serif;color:#0F2037}
.tt-steps li::before{content:counter(tt);flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;
  background:#e9f3fb;color:#1A5FAF;font:800 14px/1 Montserrat,sans-serif}
body.tc-dark .tt-steps li{background:var(--tc-surface,#141b22);border-color:var(--tc-border,#222c37);color:var(--tc-text,#e9f1f8)}
body.tc-dark .tt-steps li::before{background:rgba(84,182,230,.16);color:#7cc4ee}

/* existing tool buttons below the 44px tap floor (SSL tool tabs 42px, DNS map switch 40px) */
.trinico-ssl .trinico-ssl-tabs [role="tab"],.trinico-dns .trinico-dns-views button{min-height:44px}

/* example text in the tool fields: 3.7:1 before, 4.6:1 now */
.tt-hero.tt-hero ~ * input::placeholder,.tt-hero.tt-hero ~ * textarea::placeholder{color:#6B7886;opacity:1}
body.tc-dark .tt-hero.tt-hero ~ * input::placeholder,body.tc-dark .tt-hero.tt-hero ~ * textarea::placeholder{color:#8fa1b2}

@media (max-width:860px){
  .tt-hero.tt-hero{grid-template-columns:1fr;padding:30px 0 96px}
  .tt-hero-art{display:none}
}
@media (max-width:640px){
  .tt-hero.tt-hero{padding:24px 0 92px}
  .tt-steps{grid-template-columns:1fr}
  .tt-ticks li{font-size:14.5px}
}
