/* Tyger Security — shutter price calculator. Original styles, using the site's colour tokens when present. */
.tsc {
  --tsc-navy: var(--navy, #0b1630);
  --tsc-navy-2: var(--navy-2, #13234a);
  --tsc-ink: var(--ink, #070c1a);
  --tsc-red: var(--red, #ff3b2f);
  --tsc-orange: var(--orange, #ff7a1a);
  --tsc-silver: var(--silver, #c9d0dc);
  --tsc-silver-2: var(--silver-2, #8f9aae);
  --tsc-radius: var(--radius, 16px);
  --tsc-ease: var(--ease, cubic-bezier(.2, .7, .2, 1));
  box-sizing: border-box;
  margin: 0 0 2rem;
  padding: 1.4rem 1.2rem 1.5rem;
  color: var(--tsc-silver);
  background:
    radial-gradient(1200px 280px at 10% -10%, rgba(255, 90, 36, .12), transparent 55%),
    linear-gradient(180deg, rgba(19, 35, 74, .92), rgba(11, 22, 48, .96));
  border: 1px solid rgba(201, 208, 220, .14);
  border-radius: var(--tsc-radius);
}
.tsc *,
.tsc *::before,
.tsc *::after { box-sizing: border-box; }
.tsc .eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tsc-orange);
  margin: 0 0 .6rem;
}
.tsc-title {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  font-weight: 800;
}
.tsc-lead,
.tsc-measure {
  margin: 0 0 .85rem;
  max-width: 42em;
}
.tsc-proposed-banner {
  margin: 0 0 1.1rem;
  padding: .55rem .75rem;
  font-size: .9rem;
  color: #ffe8c7;
  background: rgba(255, 122, 26, .12);
  border: 1px solid rgba(255, 122, 26, .35);
  border-radius: 10px;
}
.tsc-form { margin: 0; }
.tsc-grid {
  display: grid;
  gap: 1rem 1.1rem;
}
@media (min-width: 720px) {
  .tsc-grid { grid-template-columns: 1fr 1fr; }
  .tsc-span-2 { grid-column: 1 / -1; }
}
.tsc fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.tsc legend,
.tsc-label {
  display: block;
  margin: 0 0 .45rem;
  font-weight: 600;
  color: #fff;
  font-size: .93rem;
}
.tsc-hint {
  display: block;
  margin: .35rem 0 0;
  font-size: .85rem;
  color: var(--tsc-silver-2);
  font-weight: 400;
}
.tsc-seg {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.tsc-seg.tsc-seg-compact label { flex: 0 1 auto; min-width: 9.5rem; }
.tsc-seg label {
  position: relative;
  flex: 1 1 auto;
  min-width: 7.5rem;
  margin: 0;
  padding: .7em .85em;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: rgba(7, 12, 26, .55);
  border: 1px solid rgba(201, 208, 220, .25);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s var(--tsc-ease), background .2s var(--tsc-ease), box-shadow .2s var(--tsc-ease);
}
.tsc-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tsc-seg label:hover,
.tsc-seg label:focus-within {
  border-color: var(--tsc-orange);
}
.tsc-seg input:focus-visible + span,
.tsc-seg label:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(255, 122, 26, .35);
}
.tsc-seg label:has(input:checked),
.tsc-seg label.tsc-checked {
  background: linear-gradient(135deg, var(--tsc-red), var(--tsc-orange));
  border-color: transparent;
  color: #fff;
}
.tsc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.tsc-input-wrap {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.tsc input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.tsc input[type=number]::-webkit-outer-spin-button,
.tsc input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.tsc input[type=text],
.tsc input[type=number],
.tsc select {
  width: 100%;
  font: inherit;
  color: #fff;
  background: rgba(7, 12, 26, .6);
  border: 1px solid rgba(201, 208, 220, .25);
  border-radius: 10px;
  padding: .75em .9em;
  transition: border-color .25s, box-shadow .25s;
}
.tsc select option { color: #000; }
.tsc input:focus,
.tsc select:focus {
  outline: none;
  border-color: var(--tsc-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, .25);
}
.tsc input[aria-invalid=true] {
  border-color: #ff6b6b;
}
.tsc-unit-suffix {
  flex: none;
  min-width: 2.2em;
  color: var(--tsc-silver-2);
  font-weight: 600;
}
.tsc-check {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin: 0;
  padding: .85rem 1rem;
  background: rgba(7, 12, 26, .35);
  border: 1px solid rgba(201, 208, 220, .18);
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}
.tsc-check input {
  width: 1.15em;
  height: 1.15em;
  margin: .15em 0 0;
  accent-color: var(--tsc-orange);
  flex: none;
}
.tsc-check span { font-weight: 400; color: var(--tsc-silver); font-size: .92rem; display: block; margin-top: .15rem; }
.tsc-actions { margin-top: .2rem; }
.tsc .btn,
.tsc-submit {
  --b: var(--tsc-red);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .9em 1.4em;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, var(--tsc-red), var(--tsc-orange));
  box-shadow: 0 8px 28px -8px rgba(255, 80, 30, .7);
  cursor: pointer;
  transition: transform .25s var(--tsc-ease), box-shadow .25s var(--tsc-ease);
}
.tsc .btn:hover,
.tsc .btn:focus-visible,
.tsc-submit:hover,
.tsc-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(255, 80, 30, .85);
}
.tsc-errors {
  margin: .9rem 0 0;
  padding: .75rem .9rem;
  color: #ffe3e3;
  background: rgba(255, 59, 47, .12);
  border: 1px solid rgba(255, 59, 47, .4);
  border-radius: 10px;
}
.tsc-errors:focus { outline: 2px solid var(--tsc-orange); outline-offset: 2px; }
.tsc-errors-title { margin: 0 0 .35rem; color: #fff; font-weight: 700; }
.tsc-errors ul { margin: 0; padding-left: 1.15rem; }
.tsc-result { margin-top: 1.1rem; }
.tsc-result-card {
  padding: 1.05rem 1.05rem 1.15rem;
  background: rgba(7, 12, 26, .45);
  border: 1px solid rgba(201, 208, 220, .16);
  border-radius: 14px;
}
.tsc-result-card:focus { outline: 2px solid var(--tsc-orange); outline-offset: 3px; }
.tsc-result-heading {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tsc-result-lead { margin: 0 0 .8rem; }
.tsc-range {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
}
.tsc-range-ex { display: inline; }
.tsc-range-inc {
  margin: .35rem 0 .8rem;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
}
.tsc-summary { margin: 0 0 .9rem; color: var(--tsc-silver); }
.tsc-notes p {
  margin: 0 0 .55rem;
  font-size: .9rem;
  color: var(--tsc-silver-2);
}
.tsc-notes p:last-child { margin-bottom: .9rem; }
.tsc-proposed { color: #ffe8c7 !important; }
.tsc-cta { margin-top: .2rem; }
.tsc-cta-note {
  margin: .65rem 0 0;
  font-size: .85rem;
  color: var(--tsc-silver-2);
}
.tsc-noscript {
  margin: 0;
  padding: .75rem .9rem;
  border: 1px dashed rgba(201, 208, 220, .3);
  border-radius: 10px;
}
@media (max-width: 520px) {
  .tsc { padding: 1.15rem .9rem 1.25rem; }
  .tsc-fields { grid-template-columns: 1fr; }
  .tsc-seg label { min-width: calc(50% - .45rem); }
  .tsc-submit, .tsc .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tsc .btn, .tsc-submit, .tsc-seg label { transition: none; }
  .tsc .btn:hover, .tsc-submit:hover { transform: none; }
}
