/* =========================================================================
   Polyester Tape — woven polyester tape
   Light, corporate textile theme. Colours are taken from the logo:
   the teal of the P and the magenta of the T, with a deep teal for text.
   The mark itself keeps its true #0098a0 teal; --brand is that teal taken
   two steps darker so white text clears 4.5:1 on it.
   Layers: tokens → base → layout → components → pages → utilities
   ========================================================================= */

/* ---------------- tokens ---------------- */
:root {
  color-scheme: light;

  --brand:      #007f88;
  --brand-dark: #006c74;
  --brand-deep: #0a3a40;
  --brand-tint: #e3f3f4;
  --accent:     #c01050;
  --accent-dark:#a00c43;
  --accent-tint:#fbe7ee;

  --ink:        #12313a;
  --ink-soft:   #4d6270;
  --ink-faint:  #7c8f9c;

  /* the page canvas, and the text scale for anything sitting directly on it —
     a mid-tone canvas, so text sitting directly on it is white. Cards, the nav and the footer stay white and reset the scale
     back to --ink below, so they are unaffected. */
  /* A white page with a faint pearlescent sheen — the ambient wash below is
     what gives it the shine; the canvas itself is plain white so every
     contrast ratio on it is the best it can be. */
  --paper:      #ffffff;
  --paper-2:    #ffffff;
  --on-paper:       var(--ink);
  --on-paper-soft:  var(--ink-soft);
  --highlight:      var(--brand);        /* headline accent on the canvas */
  --eyebrow-on:     var(--brand-dark);   /* small labels on the canvas */
  --on-paper-faint: var(--ink-faint);
  --surface:    #ffffff;
  --surface-2:  #f0f5f8;
  --line:       #dfe7ec;
  --line-soft:  #edf2f5;


  /* Card surface. On this site the cards are a translucent wash of the deep
     brand navy over the slate canvas rather than solid white, so the whole
     card-interior text scale flips light — that is what --card-ink* carry. */
  --card:            #ffffff;
  --card-2:          #f7fafc;
  --card-line:       #e3eaf0;
  --card-line-soft:  #eef3f7;
  --card-ink:        var(--ink);
  --card-ink-soft:   var(--ink-soft);
  --card-ink-faint:  var(--ink-faint);
  --card-highlight:  var(--brand);
  --chip:            var(--brand-tint);
  --field-bg:        #ffffff;

  --btn-bg:          var(--brand);   /* primary button fill */
  --btn-bg-hover:    var(--brand-dark);

  --ok:   #15803d;
  --warn: #b45309;
  --err:  #ff9d9d;

  --r-xs: 10px; --r-sm: 14px; --r: 18px; --r-lg: 26px; --r-xl: 34px;
  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --nav-h: 74px;

  /* diffuse, low-contrast shadows — the soft-3D reference look */
  --shadow-xs: 0 2px 6px -2px rgba(16,40,56,.10);
  --shadow-sm: 0 8px 22px -12px rgba(16,40,56,.24), 0 2px 6px -3px rgba(16,40,56,.10);
  --shadow:    0 18px 40px -18px rgba(16,40,56,.30), 0 6px 14px -8px rgba(16,40,56,.14);
  --shadow-lg: 0 34px 70px -28px rgba(16,40,56,.38), 0 12px 26px -14px rgba(16,40,56,.18);
  --gloss:     inset 0 1px 0 rgba(255,255,255,.55);

  --beam: linear-gradient(90deg, transparent, #007f88 18%, #00b3c0 46%, #c01050 72%, transparent);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
  --spring: cubic-bezier(.34,1.3,.64,1);
}

/* ---------------- base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--on-paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { line-height: 1.14; letter-spacing: -.022em; font-weight: 700; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.08rem, 1.6vw, 1.28rem); letter-spacing: -.015em; }
p { text-wrap: pretty; }

em.ser { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }
.grad-text { color: var(--highlight); }      /* one solid accent colour, no gradient */

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-tint); color: var(--brand-deep); }

.skip {
  position: absolute; left: 12px; top: -70px; z-index: 999;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; }

/* ---------------- surface primitives ---------------- */
.glass {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), var(--gloss);
}
.spot { }

/* A card re-points the contextual text scale at its own surface, so the same
   markup reads correctly whether the card is solid white or a translucent
   wash over a dark canvas. */
.glass {
  color: var(--card-ink);
  --on-paper: var(--card-ink);
  --on-paper-soft: var(--card-ink-soft);
  --on-paper-faint: var(--card-ink-faint);
  --highlight: var(--card-highlight);
  --eyebrow-on: var(--card-highlight);
  --line: var(--card-line);
  --line-soft: var(--card-line-soft);
}

/* The chrome is always light, whatever the canvas and cards are doing. */
.nav, .footer, .marquee, .chat {
  color: var(--ink);
  --on-paper: var(--ink);
  --on-paper-soft: var(--ink-soft);
  --on-paper-faint: var(--ink-faint);
  --highlight: var(--brand);
  --eyebrow-on: var(--brand);
}

/* ---------------- layout ---------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 7.5vw, 6rem); position: relative; }
.section--tight { padding-block: clamp(2.2rem, 4.5vw, 3.5rem); }
.section--alt { background: #ffffff; border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--eyebrow-on); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow i { width: 18px; height: 2px; border-radius: 2px; background: var(--accent); flex: none; }

.lede { font-size: clamp(1rem, 1.4vw, 1.13rem); color: var(--on-paper-soft); max-width: 62ch; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 3.6vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 + .lede { margin-top: .9rem; }

.grid { display: grid; gap: clamp(.9rem, 1.8vw, 1.4rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.bento { display: grid; gap: clamp(.9rem, 1.8vw, 1.4rem); grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 2; }
.b-half { grid-column: span 3; }
.b-wide { grid-column: span 4; }
.b-full { grid-column: span 6; }
@media (max-width: 940px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > *, .b-half, .b-wide, .b-full { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento > *, .b-half, .b-wide, .b-full { grid-column: span 1; } }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: var(--r-sm); border: 1.5px solid var(--btn-bg);
  background: var(--btn-bg); color: #fff;
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: background .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--highlight); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--chip); border-color: var(--highlight); color: var(--on-paper); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
/* only the CTA band is dark now — the hero sits on the white canvas, where a
   white-on-white ghost button would be invisible */
.band .btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.band .btn--ghost:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn--sm { padding: .5rem 1.05rem; font-size: .87rem; }
.btn--lg { padding: .95rem 1.85rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn svg { flex: none; }

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__mark { width: 46px; height: 46px; flex: none; display: grid; place-items: center; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__name {
  font-size: 1.02rem; line-height: 1.1; font-weight: 700; letter-spacing: -.01em;
  color: var(--brand); text-transform: uppercase;
}
/* The mark is two-toned, so the wordmark is too. The second half takes the
   ribbon colour — darkened from the artwork, because the true ribbon tone is
   far too light to read as 16px text on white. */
.brand__name-2 { color: var(--accent); }
.brand__name small {
  display: block; font-family: var(--mono); font-size: .56rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-top: .12rem;
}

.nav__links { display: flex; align-items: center; gap: .1rem; list-style: none; padding: 0; }
.nav__links a {
  display: block; padding: .5rem .85rem; border-radius: var(--r-xs);
  font-size: .93rem; font-weight: 550; color: var(--ink-soft);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--brand); background: var(--surface-2); }
.nav__links a:not(.btn)[aria-current="page"] { color: var(--brand); font-weight: 650; }
.nav__links a:not(.btn)[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin: .28rem auto -.4rem; width: 18px;
  border-radius: 2px; background: var(--accent);
}
.nav__links a.btn { color: #fff; }
.nav__cta { margin-left: .5rem; }

.nav__toggle {
  display: none; width: 42px; height: 42px; flex: none; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-xs);
  align-items: center; justify-content: center;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background .2s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .22s var(--spring), top .22s var(--ease);
}
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: .1rem; padding: .9rem var(--gutter) 1.4rem;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: .8rem 1rem; font-size: 1rem; border-radius: var(--r-sm); }
  .nav__links a:not(.btn)[aria-current="page"] { background: var(--brand-tint); }
  .nav__links a:not(.btn)[aria-current="page"]::after { display: none; }
  .nav__cta { margin: .5rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------------- hero ----------------
   Text on the left, the product photo in its own framed panel on the right.
   The photos are shot at 500-900 px, so a contained panel keeps them sharp;
   a full-bleed hero would upscale them into mush. */
.hero { position: relative; padding-top: clamp(1rem, 3vw, 2.2rem); }
.hero__shell {
  display: grid; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  padding-block: clamp(1rem, 3vw, 2.4rem);
}
@media (max-width: 860px) { .hero__shell { grid-template-columns: 1fr; } }

.hero__copy { max-width: 34ch; }
.hero h1 { color: var(--on-paper); font-size: clamp(2.3rem, 5.2vw, 4rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: clamp(1.4rem, 3vw, 2rem); }

.hero__stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--card-line);
  box-shadow: var(--shadow-lg), var(--gloss);
}
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .75s var(--ease), visibility .75s,
              transform 1s var(--ease), clip-path 1s var(--ease);
  transform: scale(1.06);
  will-change: transform, opacity;
}
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Each slide enters differently, so the carousel does not read as one
   repeating crossfade. data-anim on the slide picks the variant. */
.slide[data-anim="zoom"] { transform: scale(1.16); }
.slide[data-anim="push"] { transform: translateX(9%) scale(1.06); }
.slide[data-anim="rise"] { transform: translateY(12%) scale(1.06); }
.slide[data-anim="tilt"] { transform: perspective(1400px) rotateY(15deg) scale(1.1); transform-origin: right center; }
.slide[data-anim="wipe"] { clip-path: inset(0 0 0 100%); transform: scale(1.03); }
/* one step more specific than the variants, so it always wins on entry */
.slide.is-active[data-anim] { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 0 0); }
.slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide[data-anim] { transition: opacity .3s linear, visibility .3s; transform: none; clip-path: none; }
  .slide.is-active, .slide.is-active[data-anim] { transform: none; clip-path: none; }
}

.hero__ui { margin-top: clamp(1.4rem, 3vw, 2rem); }
.hero__ui-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.dots { display: flex; flex-wrap: wrap; gap: .35rem .45rem; list-style: none; padding: 0; margin-right: auto; }
.dots li { flex: 1 1 22px; max-width: 44px; }
.dots button { width: 100%; }
.dots button {
  width: 44px; height: 4px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--line); position: relative; overflow: hidden;
  transition: background .2s var(--ease);
}
.dots button:hover { background: var(--ink-faint); }
.dots button i { position: absolute; inset: 0; width: 0; border-radius: 999px; background: var(--brand); }
.dots button[aria-selected="true"] i { width: 100%; transition: width 3s linear; }
.hero.is-paused .dots button[aria-selected="true"] i { transition: none; }

.hero__arrows { display: flex; gap: .45rem; }
.hero__arrows button {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--brand);
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; box-shadow: var(--shadow-xs);
  transition: background .18s var(--ease), transform .2s var(--ease), border-color .18s var(--ease);
}
.hero__arrows button:hover { background: var(--brand-tint); border-color: var(--brand); transform: translateY(-1px); }
.hero__counter { font-family: var(--mono); font-size: .78rem; color: var(--ink-faint); letter-spacing: .1em; }

@media (max-width: 640px) {
  .hero__copy { max-width: none; }
  .hero__arrows, .hero__counter { display: none; }
  .dots button { width: 30px; }
}

/* ---------------- marquee ---------------- */
.marquee { overflow: hidden; padding-block: .9rem; border-block: 1px solid var(--line); background: #ffffff; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: slide-left 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { display: flex; align-items: center; gap: 3rem; white-space: nowrap; font-family: var(--mono); font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-faint); }
.marquee span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@keyframes slide-left { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------------- cards ---------------- */
.card { padding: clamp(1.3rem, 2.2vw, 1.8rem); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--gloss); border-color: var(--highlight); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--on-paper-soft); font-size: .95rem; }

.icon-badge {
  width: 50px; height: 50px; border-radius: var(--r); display: grid; place-items: center; margin-bottom: 1.05rem;
  background: var(--chip); color: var(--highlight); border: 1px solid var(--line);
  box-shadow: var(--gloss), var(--shadow-xs);
}

.swatches { display: flex; gap: 4px; margin-top: 1.1rem; }
.swatches i { height: 24px; flex: 1; border-radius: 4px; }

/* table */
.tbl-scroll { overflow-x: auto; border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; min-width: 660px; font-size: .93rem; }
table.data th, table.data td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.data thead th {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--on-paper-faint); font-weight: 600; background: var(--card-2); white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--card-2); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); overflow: hidden; }
.stat { padding: clamp(1.2rem, 2.3vw, 1.7rem); position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--line); }
.stat b { display: block; font-size: clamp(1.8rem, 3.3vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--highlight); }
.stat span { display: block; margin-top: .45rem; font-family: var(--mono); font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; color: var(--on-paper-faint); }
@media (max-width: 620px) { .stat + .stat::before { display: none; } }

/* checks */
.checks { list-style: none; padding: 0; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; color: var(--on-paper-soft); }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .18rem; border-radius: 50%;
  background-color: var(--chip);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007f88' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}

/* ---------------- quality cards ---------------- */
.plan__name { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--highlight); font-weight: 600; }

/* form + quote layout */
.calc { display: grid; gap: 1.3rem; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

.field { display: grid; gap: .4rem; margin-bottom: 1.05rem; }
.field > label { font-size: .82rem; font-weight: 600; display: flex; gap: .35rem; align-items: baseline; }
.field > label small { font-weight: 600; color: var(--highlight); font-family: var(--mono); font-size: .75rem; margin-left: auto; }
.field input, .field select, .field textarea {
  width: 100%; padding: .74rem .9rem; border-radius: var(--r-sm);
  background: var(--field-bg); border: 1.5px solid var(--line); color: var(--on-paper);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--on-paper-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint);
}
.field textarea { resize: vertical; min-height: 116px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .field--row { grid-template-columns: 1fr; } }
.field input[type="range"] { padding: 0; border: 0; background: transparent; accent-color: var(--brand); }
.field .opt { display: flex; gap: .55rem; align-items: center; font-weight: 500; font-size: .92rem; cursor: pointer; }
.field .opt input { width: auto; accent-color: var(--brand); }
.hint { font-size: .79rem; color: var(--on-paper-faint); }
.field .err { font-size: .79rem; color: var(--err); display: none; }
.field.is-invalid .err { display: block; }
.field.is-invalid > label { color: var(--err); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); box-shadow: 0 0 0 3px rgba(198,40,40,.1); }

.quote { position: sticky; top: calc(var(--nav-h) + 20px); padding: clamp(1.3rem, 2.3vw, 1.8rem); background: var(--card-2); }
.quote__row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.quote__row:last-of-type { border-bottom: 0; }
.quote__row span { color: var(--on-paper-soft); }
.quote__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .9rem; padding-top: .9rem; border-top: 2px solid var(--on-paper); }
.quote__total b { font-size: 1.8rem; font-weight: 700; letter-spacing: -.03em; color: var(--highlight); }

/* steps */
.steps { counter-reset: s; display: grid; gap: 1.15rem; }
.step { counter-increment: s; position: relative; padding-left: 3.6rem; }
.step::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -.1rem;
  width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--chip); border: 1px solid var(--line); color: var(--highlight);
  box-shadow: var(--gloss), var(--shadow-xs);
  font-family: var(--mono); font-size: .78rem; font-weight: 700;
}
.step::after { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: -1.15rem; width: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.04rem; margin-bottom: .28rem; }
.step p { color: var(--on-paper-soft); font-size: .93rem; }

/* accordion */
.faq { overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; font-size: .97rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; list-style: none;
  transition: background .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--highlight); flex: none; transition: transform .25s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--card-2); }
.faq p { padding: 0 1.3rem 1.25rem; color: var(--on-paper-soft); font-size: .94rem; max-width: 76ch; }

/* cta band */
.band {
  position: relative; overflow: hidden; padding: clamp(2rem, 4.5vw, 3.2rem);
  display: grid; gap: 1.5rem; grid-template-columns: minmax(0,1fr) auto; align-items: center;
  background: var(--brand-deep); border-color: var(--brand-deep);
}
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } }
.band h2, .band h2 .grad-text { color: #fff; }
.band p { color: rgba(255,255,255,.82); margin-top: .75rem; max-width: 52ch; }
.band .btn:not(.btn--ghost) { background: var(--accent); border-color: var(--accent); color: #fff; }
.band .btn:not(.btn--ghost):hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* ---------------- footer ---------------- */
.footer { background: #ffffff; border-top: 1px solid var(--line); padding-top: clamp(2.4rem, 4.5vw, 3.6rem); }
.footer__grid { display: grid; gap: 2.2rem; grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(125px, 1fr)); }
@media (max-width: 840px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }
/* the footer wordmark is the nav one, a size up */
.brand--footer { margin-right: 0; gap: .8rem; }
.brand--footer .brand__mark { width: 54px; height: 54px; }
.brand--footer .brand__name { font-size: 1.18rem; }
.footer h4 { font-family: var(--mono); font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .95rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer ul a, .footer address a { color: var(--ink-soft); font-size: .91rem; transition: color .16s var(--ease); }
.footer ul a:hover, .footer address a:hover { color: var(--brand); }
.footer address { font-style: normal; color: var(--ink-soft); font-size: .91rem; display: grid; gap: .55rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.socials a {
  width: 36px; height: 36px; border-radius: var(--r-xs); display: grid; place-items: center; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line);
  transition: all .18s var(--ease);
}
.socials a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.footer__bar {
  margin-top: clamp(2rem, 3.6vw, 3rem); border-top: 1px solid var(--line); padding-block: 1.2rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; font-size: .81rem; color: var(--ink-faint);
}
.footer__bar nav { display: flex; gap: 1.2rem; margin-left: auto; flex-wrap: wrap; }
.footer__bar a:hover { color: var(--brand); }

/* ---------------- chat ---------------- */
.chat-fab {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 80;
  height: 54px; padding: 0 1.2rem 0 .9rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: #fff; font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .5rem; box-shadow: var(--shadow-lg);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.chat-fab:hover { background: var(--brand-dark); transform: translateY(-2px); }
.chat-fab__dot { position: absolute; top: 9px; right: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--brand); }
.chat-fab[aria-expanded="true"] { width: 54px; padding: 0; justify-content: center; }
.chat-fab[aria-expanded="true"] .chat-fab__label, .chat-fab[aria-expanded="true"] .chat-fab__dot { display: none; }
.chat-fab .i-close { display: none; }
.chat-fab[aria-expanded="true"] .i-close { display: block; }
.chat-fab[aria-expanded="true"] .i-chat { display: none; }
@media (max-width: 560px) { .chat-fab { width: 54px; padding: 0; justify-content: center; } .chat-fab__label { display: none; } }

.chat {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: calc(54px + clamp(1rem, 3vw, 1.8rem) + 12px);
  z-index: 80; width: min(370px, calc(100vw - 2rem)); max-height: min(560px, calc(100vh - 150px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.97); transform-origin: bottom right;
  transition: opacity .22s var(--ease), transform .28s var(--spring), visibility .22s;
}
.chat.is-open { opacity: 1; visibility: visible; transform: none; }
.chat__head { padding: .95rem 1.1rem; display: flex; gap: .75rem; align-items: center; background: var(--brand-deep); color: #fff; }
.chat__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; overflow: hidden; }
.chat__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.chat__head b { display: block; font-size: .95rem; line-height: 1.25; }
.chat__head small { font-size: .73rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: .35rem; }
.chat__head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.chat__log { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .65rem; background: var(--surface-2); scroll-behavior: smooth; }
.msg { max-width: 85%; padding: .62rem .88rem; border-radius: var(--r); font-size: .89rem; line-height: 1.55; }
.msg--bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { text-decoration: underline; text-underline-offset: 2px; }
.msg--bot a { color: var(--brand); font-weight: 600; }
.msg strong { font-weight: 650; color: var(--ink); }
.msg--me strong { color: #fff; }
.chat__typing { display: flex; gap: 4px; padding: .75rem .9rem; align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r) var(--r) var(--r) 4px; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); animation: bounce 1.1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .16s; } .chat__typing i:nth-child(3) { animation-delay: .32s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .45 } 30% { transform: translateY(-5px); opacity: 1 } }
.chat__chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .7rem 1.1rem 0; background: var(--surface-2); }
.chat__chips button {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  border-radius: 999px; padding: .34rem .78rem; font-size: .78rem; cursor: pointer;
  transition: all .18s var(--ease);
}
.chat__chips button:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-tint); }
.chat__form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; padding: .6rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .89rem; }
.chat__form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.chat__form button { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat__form button:hover { background: var(--brand-dark); }

.beam {
  height: 3px; border-radius: 3px; background: var(--beam);
  margin-inline: auto; max-width: var(--wrap); position: relative;
}
.beam::after {
  content: ""; position: absolute; inset: -7px -2px; border-radius: 10px;
  background: var(--beam); filter: blur(12px); opacity: .55;
}

/* ---------------- word-by-word 3D entrance ----------------
   initWords() splits headings into <span class="w"><span class="w-i">word.
   Each word flips up from below on its own delay, so a heading assembles
   one word at a time instead of fading in as a block. */
.w   { display: inline-block; perspective: 700px; }
.w-i {
  display: inline-block; transform-origin: 50% 100%;
  transform: translateY(.5em) rotateX(-82deg) scale(.94);
  opacity: 0;
  transition: transform .7s var(--spring), opacity .45s var(--ease);
}
.is-in .w-i, .words-in .w-i { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .w-i { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ---------------- scroll-drawn trail ----------------
   A dotted track with a line that draws itself and a marker that travels
   along it as the block crosses the viewport. */
.trail { position: relative; margin-block: clamp(.5rem, 2.5vw, 1.75rem); }
.trail svg { display: block; width: 100%; height: auto; overflow: visible; }
.trail__track {
  fill: none; stroke: var(--on-paper-faint); stroke-width: 2.5;
  stroke-dasharray: 1 14; stroke-linecap: round; opacity: .55;
}
.trail__line {
  fill: none; stroke: url(#trailGrad); stroke-width: 4; stroke-linecap: round;
}
.trail__dot { fill: #fff; opacity: 0; transition: opacity .3s var(--ease); }
.trail__dot-glow { fill: var(--accent); opacity: .35; }
.trail__cap { fill: none; stroke: var(--accent); stroke-width: 2; opacity: .5; }
.trail__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; fill: var(--on-paper-faint);
}

/* ---------------- flip card ----------------
   Modelled on the Uiverse "shutter" button the owner supplied: on hover the
   panel closes to a vertical sliver at the centre and reopens on the other
   face. The front keeps the card in normal flow so nothing reflows; only the
   back face and the sheen are absolutely positioned. */
.flip { position: relative; overflow: hidden; }
.flip__front {
  position: relative; z-index: 2;
  transition: opacity .26s var(--ease), filter .26s var(--ease), transform .4s var(--ease);
}
.flip__back {
  position: absolute; inset: 0 50%; z-index: 3; opacity: 0; overflow: hidden;
  background: var(--card-2);
  transition: inset .42s var(--ease), opacity .24s var(--ease);
}
.flip__back img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* the diagonal sheen that widens as the panel opens */
.flip__back::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(45deg, #3f87a6, #ebf8e1 15%, #fff 20%);
  mix-blend-mode: hard-light; background-size: 440%;
  filter: blur(1px); opacity: .13;
  transition: background-size .55s ease-in;
}
.flip__cap {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  opacity: 0; transition: opacity .22s var(--ease);
}
.flip__cap i {
  position: absolute; width: 9px; aspect-ratio: 1; border-radius: 25%;
  border: 1px solid rgba(0,0,0,.18); background-color: #fff;
  background-image: radial-gradient(circle at 50% 120%, #0005, #ffff);
}
.flip__cap i:nth-child(1) { top: -4px; left: -4px; }
.flip__cap i:nth-child(2) { top: -4px; right: -4px; }
.flip__cap i:nth-child(3) { bottom: -4px; left: -4px; }
.flip__cap i:nth-child(4) { bottom: -4px; right: -4px; }

.flip:hover .flip__front,
.flip:focus-within .flip__front { opacity: 0; filter: blur(3px); transform: scale(.97); }
.flip:hover .flip__back,
.flip:focus-within .flip__back { inset: 0 0%; opacity: 1; }
.flip:hover .flip__back::after { background-size: 700%; }
.flip:hover .flip__cap,
.flip:focus-within .flip__cap { opacity: 1; }

/* the layered lift the reference gives its label */
.flip .flip__front h3 {
  text-shadow: 0 -1px 1px rgba(255,255,255,.35), 0 2px 1px rgba(0,0,0,.10),
               0 4px 2px rgba(0,0,0,.08), 0 8px 4px rgba(0,0,0,.06);
}

@media (prefers-reduced-motion: reduce) {
  .flip__front, .flip__back, .flip__back::after, .flip__cap { transition: none; }
  .flip:hover .flip__front, .flip:focus-within .flip__front { filter: none; transform: none; }
}
/* no hover on touch: the card just stays on its front face */
@media (hover: none) {
  .flip__back, .flip__cap { display: none; }
  .flip:hover .flip__front { opacity: 1; filter: none; transform: none; }
}

/* ---------------- quick-action bar ----------------
   The jio.com pattern: a compact transactional strip sitting directly under
   the hero, so the most common task is one field away instead of a page away. */
.quickbar { padding: clamp(1.2rem, 2.4vw, 1.8rem); margin-top: clamp(1rem, 2.5vw, 1.6rem); }
.quickbar__head h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.quickbar__head p { color: var(--on-paper-soft); font-size: .93rem; margin-top: .3rem; }
.quickbar__form {
  display: grid; gap: .8rem; margin-top: 1.1rem; align-items: end;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}
.quickbar__form .field { margin-bottom: 0; }
.quickbar__form .btn { height: 46px; }
@media (max-width: 780px) { .quickbar__form { grid-template-columns: 1fr 1fr; } .quickbar__form .btn { grid-column: 1 / -1; } }
@media (max-width: 460px) { .quickbar__form { grid-template-columns: 1fr; } }
.quickbar__links {
  list-style: none; padding: 1.1rem 0 0; margin-top: 1rem; display: flex; flex-wrap: wrap;
  gap: .5rem 1.6rem; border-top: 1px solid var(--line);
}
.quickbar__links a {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 550;
  color: var(--on-paper-soft); transition: color .18s var(--ease);
}
.quickbar__links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.quickbar__links a:hover { color: var(--highlight); }
.quickbar__done { display: none; margin-top: 1rem; font-size: .93rem; color: var(--on-paper-soft); }
.quickbar.is-sent .quickbar__form, .quickbar.is-sent .quickbar__head p { display: none; }
.quickbar.is-sent .quickbar__done { display: block; }

/* ---------------- category tiles ----------------
   Two large entry points, the "it all starts with a connection" slot. */
.tiles { display: grid; gap: clamp(.9rem, 1.8vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tile { position: relative; overflow: hidden; display: block; padding: 0; }
.tile__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.06); }
.tile__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--card) 4%, transparent 55%);
}
.tile__body { padding: clamp(1.2rem, 2.2vw, 1.7rem); }
.tile__body h3 { margin-bottom: .45rem; }
.tile__body p { color: var(--on-paper-soft); font-size: .94rem; }
.tile__cta {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
  font-weight: 650; font-size: .92rem; color: var(--highlight);
}
.tile__cta svg { transition: transform .25s var(--ease); }
.tile:hover .tile__cta svg { transform: translateX(4px); }

/* ---------------- utilities ---------------- */
.note { border-radius: var(--r); padding: 1rem 1.15rem; font-size: .9rem; color: var(--on-paper-soft); background: var(--chip); border: 1px solid var(--line); }
.note b { color: var(--on-paper); }
.center { text-align: center; }
.mt-1 { margin-top: .6rem } .mt-2 { margin-top: 1.2rem } .mt-3 { margin-top: 2rem }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
