:root {
  color-scheme: light;
  --ty-blue: #0072ce;
  --ty-orange: #ff6c1c;
  --ty-light: #d8f1ff;
  --ty-mist: #cfefff;
  --ink: #07111d;
  --soft-ink: #314457;
  --muted: #5c7085;
  --line: rgba(7, 17, 29, 0.14);
  --line-strong: rgba(7, 17, 29, 0.24);
  --panel: #ffffff;
  --dark: #080c12;
  --dark-soft: #111927;
  --shadow: 0 22px 70px rgba(7, 17, 29, 0.13);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: #ffffff;
  color: var(--ink);
  font: 16px/1.55 var(--font);
}

a {
  color: inherit;
  text-decoration-color: rgba(0, 114, 206, 0.38);
  text-underline-offset: 0.22em;
}

code {
  color: var(--ty-blue);
  font-family: var(--mono);
  font-size: 0.95em;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--ty-blue);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--ty-blue);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: 0;
}

p {
  color: var(--soft-ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(0, 114, 206, 0.12);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  text-decoration: none;
}

.tytec-logo {
  display: block;
  height: auto;
}

.tytec-logo-horizontal {
  width: clamp(148px, 14vw, 196px);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  margin-right: 8px;
  border: 2px solid var(--ty-blue);
  border-radius: 6px;
  color: var(--ty-orange);
  font: 800 15px/1 var(--mono);
}

.tytec-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: var(--ty-blue);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.tytec-wordmark::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 35%;
  top: 46%;
  height: 6px;
  border-radius: 999px;
  background: var(--ty-orange);
  pointer-events: none;
}

.tytec-wordmark .orange {
  color: var(--ty-orange);
}

.tytec-wordmark .dotai {
  margin-left: 2px;
  color: var(--soft-ink);
  font-size: 0.65em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  color: var(--soft-ink);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ty-blue);
}

.site-nav .nav-cta {
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--ty-orange);
}

.section-band {
  padding: 76px clamp(18px, 5vw, 72px);
}

.section-band > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.brand-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  min-height: min(760px, calc(100vh - 108px));
  padding-top: 54px;
  padding-bottom: 54px;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 52%, var(--ty-light) 52%, var(--ty-light) 100%);
}

.hero-visual,
.hero-copy {
  max-width: none;
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.hero-logo {
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 18px 44px rgba(7, 17, 29, 0.12));
}

.bloom-mark {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
}

.bloom-mark span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--l);
  height: 30px;
  border-radius: 999px;
  background: var(--c);
  transform: rotate(var(--a)) translateX(22px);
  transform-origin: 0 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.bloom-mark span::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 30px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: inherit;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.bloom-mark span:nth-child(4n) {
  opacity: 0.85;
}

.bloom-mark span:nth-child(5n) {
  opacity: 0.78;
}

.bloom-mark i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ty-orange);
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.hero-lockup {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  font: 800 12px/1.3 var(--mono);
  text-transform: uppercase;
}

.hero-lockup .tytec-wordmark {
  font-size: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ty-orange);
  font: 800 12px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--ty-blue);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--ty-orange);
  color: #ffffff;
  background: var(--ty-orange);
}

.button.secondary {
  color: var(--ty-blue);
  background: #ffffff;
}

.hero-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.hero-status div {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(0, 114, 206, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-status dt {
  color: var(--ty-blue);
  font: 800 12px/1.2 var(--mono);
  text-transform: uppercase;
}

.hero-status dd {
  margin-bottom: 0;
  color: var(--soft-ink);
  font-weight: 800;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
}

.service-band {
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.api-panel,
.request-form,
.notice-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 38px rgba(7, 17, 29, 0.06);
}

.service-card {
  display: grid;
  align-content: start;
  min-height: 244px;
  padding: 20px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
}

.service-icon span,
.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
  display: block;
  border-radius: 999px;
  background: var(--ty-blue);
}

.icon-rack span:nth-child(1) {
  left: 8px;
  top: 7px;
  width: 10px;
  height: 44px;
}

.icon-rack span:nth-child(2) {
  right: 8px;
  top: 7px;
  width: 10px;
  height: 44px;
  background: var(--ty-orange);
}

.icon-rack span:nth-child(3) {
  left: 10px;
  top: 24px;
  width: 38px;
  height: 10px;
  background: var(--ty-orange);
}

.icon-hands span:nth-child(1),
.icon-hands span:nth-child(2) {
  left: 8px;
  top: 25px;
  width: 48px;
  height: 10px;
  transform: rotate(38deg);
  background: var(--ty-orange);
}

.icon-hands span:nth-child(2) {
  transform: rotate(-38deg);
  background: var(--ty-blue);
}

.icon-server span:nth-child(1),
.icon-server span:nth-child(2) {
  inset: 8px;
  border: 8px solid var(--ty-blue);
  border-radius: 4px;
  background: transparent;
}

.icon-server span:nth-child(2) {
  inset: 18px;
  border-color: var(--ty-orange);
}

.icon-fiber span {
  left: 5px;
  top: 24px;
  width: 50px;
  height: 10px;
  transform-origin: 50% 50%;
}

.icon-fiber span:nth-child(1) {
  transform: rotate(0deg);
  background: var(--ty-orange);
}

.icon-fiber span:nth-child(2) {
  transform: rotate(60deg);
}

.icon-fiber span:nth-child(3) {
  transform: rotate(-60deg);
  background: var(--ty-mist);
}

.icon-cross span:nth-child(1),
.icon-cross span:nth-child(2) {
  left: 6px;
  top: 24px;
  width: 48px;
  height: 10px;
  transform: rotate(45deg);
  background: var(--ty-orange);
}

.icon-cross span:nth-child(2) {
  transform: rotate(-45deg);
  background: var(--ty-blue);
}

.icon-survey span {
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.icon-survey span:nth-child(1) {
  left: 6px;
  top: 10px;
}

.icon-survey span:nth-child(2) {
  left: 36px;
  top: 14px;
  background: var(--ty-orange);
}

.icon-survey span:nth-child(3) {
  left: 20px;
  top: 38px;
  background: var(--ty-mist);
}

.icon-audit span {
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.icon-audit span:nth-child(1) {
  left: 8px;
  top: 10px;
}

.icon-audit span:nth-child(2) {
  left: 25px;
  top: 25px;
  background: var(--ty-orange);
}

.icon-audit span:nth-child(3) {
  left: 42px;
  top: 40px;
  background: var(--ty-blue);
}

.icon-ship span:nth-child(1) {
  left: 8px;
  top: 14px;
  width: 42px;
  height: 32px;
  border: 8px solid var(--ty-orange);
  border-radius: 4px;
  background: transparent;
}

.icon-ship span:nth-child(2) {
  left: 14px;
  top: 38px;
  width: 34px;
  height: 8px;
  background: var(--ty-blue);
}

.coverage-band {
  background: var(--ty-light);
}

.coverage-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.city-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 28px 0 20px;
}

.city-cloud a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 114, 206, 0.18);
  border-radius: 6px;
  color: var(--ty-blue);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.56);
}

.city-cloud a span {
  color: var(--ty-blue);
  font: 800 12px/1 var(--mono);
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  color: var(--ty-blue);
  font-weight: 800;
}

.coverage-art {
  display: grid;
  place-items: center;
  min-height: 430px;
}

.scandi-map {
  width: min(100%, 360px);
  overflow: visible;
}

.map-line {
  fill: none;
  stroke-width: 17;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-line.blue {
  stroke: var(--ty-blue);
}

.map-line.orange {
  stroke: var(--ty-orange);
}

.map-line.white {
  stroke: #ffffff;
}

.dot.blue {
  fill: var(--ty-blue);
}

.dot.orange {
  fill: var(--ty-orange);
}

.api-band {
  background: #ffffff;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.api-panel {
  padding: 22px;
}

.api-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.api-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--soft-ink);
}

.api-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ty-orange);
}

.endpoint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.endpoint-grid a {
  display: grid;
  gap: 8px;
  min-height: 92px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(0, 114, 206, 0.16);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--mono);
  overflow-wrap: anywhere;
  text-decoration: none;
  background: #f9fdff;
}

.endpoint-grid span {
  color: var(--ty-orange);
  font-size: 12px;
  font-weight: 800;
}

.request-band {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 108, 28, 0.22), transparent 28%),
    radial-gradient(circle at 82% 6%, rgba(0, 114, 206, 0.28), transparent 31%),
    var(--dark);
}

.request-band::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -130px;
  width: 370px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 20deg, rgba(255, 108, 28, 0.7) 0 8deg, rgba(0, 114, 206, 0.75) 8deg 14deg, rgba(207, 239, 255, 0.55) 14deg 20deg, transparent 20deg 28deg);
  opacity: 0.2;
}

.request-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.request-copy h2,
.request-copy p,
.request-copy code {
  color: #ffffff;
}

.request-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.mini-bloom {
  position: relative;
  width: 170px;
  aspect-ratio: 1;
  margin-top: 34px;
}

.mini-bloom span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 14px;
  border-radius: 999px;
  background: var(--ty-orange);
  transform-origin: 0 50%;
}

.mini-bloom span:nth-child(1) {
  transform: rotate(0deg) translateX(14px);
}

.mini-bloom span:nth-child(2) {
  transform: rotate(50deg) translateX(14px);
  background: var(--ty-blue);
}

.mini-bloom span:nth-child(3) {
  transform: rotate(100deg) translateX(14px);
}

.mini-bloom span:nth-child(4) {
  transform: rotate(150deg) translateX(14px);
  background: var(--ty-mist);
}

.mini-bloom span:nth-child(5) {
  transform: rotate(210deg) translateX(14px);
}

.mini-bloom span:nth-child(6) {
  transform: rotate(280deg) translateX(14px);
  background: var(--ty-blue);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.96);
}

label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
}

label span {
  overflow-wrap: anywhere;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--ink);
  font: 15px/1.4 var(--font);
}

textarea {
  min-height: 138px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 114, 206, 0.2);
  outline-offset: 2px;
}

.wide,
.submit-button,
.form-status {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
}

.submit-button {
  width: fit-content;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  color: var(--ty-blue);
  font-weight: 800;
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  background: var(--ty-light);
}

.trust-band > * {
  max-width: none;
}

.trust-copy {
  max-width: 840px;
}

.trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.trust-strip span {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 114, 206, 0.2);
  border-radius: 6px;
  color: var(--ty-blue);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.6);
}

.iso-badge {
  color: #ffffff !important;
  background: var(--ty-blue) !important;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.3fr);
  gap: 22px;
  align-items: start;
  padding: 42px clamp(18px, 5vw, 72px) 54px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 108, 28, 0.16), transparent 28%),
    var(--dark);
}

.site-footer p {
  max-width: 390px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-mark {
  color: #ffffff;
}

.footer-mark .dotai {
  color: rgba(255, 255, 255, 0.72);
}

.footer-logo {
  width: 168px;
  margin-bottom: 10px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.site-footer a {
  color: #ffffff;
  font-weight: 800;
}

.code-sample {
  margin: 18px 0 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
  color: var(--soft-ink);
  font: 13px/1.55 var(--mono);
}

.notice-band {
  background: var(--ty-light);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.notice-card {
  min-height: 150px;
  padding: 18px;
}

.notice-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-status,
  .notice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .brand-hero,
  .coverage-shell,
  .panel-grid,
  .request-layout,
  .trust-band,
  .split,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .brand-hero {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, var(--ty-light) 45%, var(--ty-light) 100%);
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo {
    width: min(100%, 460px);
  }

  .hero-lockup .tytec-wordmark {
    font-size: 56px;
  }

  .bloom-mark {
    max-width: 390px;
  }

  .bloom-mark span {
    height: 24px;
    width: calc(var(--l) * 0.78);
  }

  .bloom-mark span::after {
    width: 24px;
  }

  .site-footer nav,
  .trust-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .tytec-logo-horizontal {
    width: 172px;
  }

  .section-band {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .service-grid,
  .endpoint-grid,
  .request-form,
  .notice-grid,
  .hero-status {
    grid-template-columns: 1fr;
  }

  .city-cloud a {
    font-size: 19px;
  }

  .coverage-art {
    min-height: 330px;
  }

  .submit-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .bloom-mark {
    animation: bloomDrift 16s ease-in-out infinite alternate;
  }
}

@keyframes bloomDrift {
  from {
    transform: rotate(-2deg);
  }
  to {
    transform: rotate(3deg);
  }
}
