/* Created by Turgut on 21.10.2026. Theme of the Şimşek website, after the design Dilara drew. */

:root {
  --teo-website-background: #03091c;
  --teo-website-surface: rgba(11, 23, 54, 0.62);
  --teo-website-surface-strong: rgba(14, 29, 66, 0.9);
  --teo-website-border: rgba(120, 165, 235, 0.18);
  --teo-website-border-strong: rgba(120, 165, 235, 0.36);
  --teo-website-text: #e5edfa;
  --teo-website-text-muted: #a3b5d8;
  --teo-website-text-faint: #7186ad;
  --teo-website-accent: #4da4ff;
  --teo-website-accent-light: #90d7ff;
  --teo-website-accent-strong: #2a6bff;
  --teo-website-danger: #ff8a8a;
  --teo-website-success: #7ee2b8;
  --teo-website-radius: 16px;
  --teo-website-radius-small: 10px;
  --teo-website-shell: 1280px;
  --teo-website-eyebrow: #a9d2ff;
  --teo-website-lead: #c7d4ea;
  --teo-website-glass-border: rgba(140, 190, 255, 0.28);
  --teo-website-accent-gradient: linear-gradient(100deg, #e6f3ff 0%, #a9d4ff 55%, #3d9cff 100%);
  --teo-website-gutter: clamp(16px, 4vw, 40px);
  --teo-website-font-display: 'Syncopate', 'Michroma', sans-serif;
  --teo-website-font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* the page colour is on the root too, so nothing white shows before the scripts build the page or when it is pulled past
   its ends */
html {
  scroll-behavior: smooth;
  background: var(--teo-website-background);
}

body.teo-website {
  margin: 0;
  min-height: 100vh;
  background: var(--teo-website-background);
  color: var(--teo-website-text);
  font-family: var(--teo-website-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.teo-website a {
  color: inherit;
  text-decoration: none;
}

.teo-website img {
  max-width: 100%;
  display: block;
}

.teo-website h1, .teo-website h2, .teo-website h3 {
  margin: 0;
}

/* the headings' default weight stays out of the specificity contest (:where), so a class that gives a heading its weight
   wins: .teo-website-title is 700, not this 500 */
:where(.teo-website h1, .teo-website h2, .teo-website h3) {
  font-weight: 500;
}

.teo-website :focus-visible {
  outline: 2px solid var(--teo-website-accent);
  outline-offset: 3px;
}

/* layout */

.teo-website-shell {
  width: 100%;
  max-width: var(--teo-website-shell);
  margin: 0 auto;
  padding: 0 var(--teo-website-gutter);
}

.teo-website-main {
  min-height: 70vh;
}

.teo-website-section {
  padding: clamp(64px, 10vw, 128px) 0;
  position: relative;
}

.teo-website-section-tight {
  padding: clamp(32px, 5vw, 56px) 0;
}

.teo-website-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.teo-website-split-form {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.teo-website-grid {
  display: grid;
  gap: 20px;
}

.teo-website-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.teo-website-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* type */

.teo-website-eyebrow {
  margin: 0 0 18px;
  color: var(--teo-website-eyebrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* section titles after Dilara's mockups: heavy, tight, the closing words in the accent gradient (<em> in the text) */
.teo-website-title {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #fff;
}

.teo-website-title em, .teo-website-page-title em {
  font-style: normal;
  background: var(--teo-website-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.teo-website-subtitle {
  font-size: 22px;
  margin: 28px 0 10px !important;
  color: #fff;
}

.teo-website-lead {
  margin: 20px 0 0;
  color: var(--teo-website-lead);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.5;
  max-width: 52ch;
}

/* a link inside running text must read as a link: the base resets links to plain text for the navigation and cards */
.teo-website-lead a {
  color: var(--teo-website-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* laptop frame around a real recording or screenshot:
   .teo-website-laptop > .teo-website-laptop-lid > .teo-website-laptop-screen > (video | img), then .teo-website-laptop-base */
.teo-website-laptop {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.teo-website-laptop::before {
  content: '';
  position: absolute;
  inset: 8% 6% 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, rgba(42, 107, 255, 0.55), rgba(42, 107, 255, 0) 70%);
  filter: blur(30px);
}

.teo-website-laptop-lid {
  position: relative;
  margin: 0 7%;
  padding: 2.1% 2.1% 2.6%;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #1a1f29, #07090e);
  border: 1px solid rgba(190, 205, 230, 0.32);
  box-shadow: inset 0 0 0 2px #05070b;
}

/* the camera */
.teo-website-laptop-lid::before {
  content: '';
  position: absolute;
  top: 0.9%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #1f2a3a;
}

.teo-website-laptop-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background: #02060f;
}

.teo-website-laptop-screen video, .teo-website-laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teo-website-laptop-base {
  position: relative;
  height: clamp(10px, 1.6vw, 22px);
  margin-top: -1px;
  border-radius: 2px 2px 14px 14px / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #d9dee6 0%, #a8b0bd 45%, #6f7785 100%);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
}

/* the opening notch of the base */
.teo-website-laptop-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 40%;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #8d95a3, #b9c0cb);
}

.teo-website-muted {
  color: var(--teo-website-text-faint);
  font-size: 14px;
}

.teo-website-heading {
  margin-bottom: 44px;
}

/* buttons */

.teo-website-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.teo-website-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--teo-website-border-strong);
  background: rgba(10, 20, 48, 0.4);
  color: var(--teo-website-text);
  font: 600 15px var(--teo-website-font-body);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}

.teo-website-button:hover {
  border-color: var(--teo-website-accent);
  background: rgba(77, 164, 255, 0.12);
}

.teo-website-button-primary {
  background: var(--teo-website-accent-strong);
  border-color: var(--teo-website-accent-strong);
  color: #fff;
}

.teo-website-button-primary:hover {
  background: #3d7cff;
  border-color: #3d7cff;
  transform: translateY(-1px);
}

.teo-website-button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.teo-website-text-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--teo-website-text-muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.teo-website-text-button:hover {
  color: #fff;
}

.teo-website-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--teo-website-accent);
  font-weight: 600;
  font-size: 14px;
}

/* header: the fixed bar; its menu, language switch, solid state and narrow layout are in sections/header.css */

.teo-website-header {
  position: fixed;
  inset: 16px 0 auto 0;
  z-index: 50;
  padding: 0 var(--teo-website-gutter);
  pointer-events: none;
}

.teo-website-header-bar {
  pointer-events: auto;
  max-width: var(--teo-website-shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--teo-website-border);
  background: rgba(5, 12, 34, 0.55);
  backdrop-filter: blur(14px);
  transition: background 0.3s, border-color 0.3s;
}

.teo-website-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--teo-website-font-display);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 15px;
  color: #fff;
}

.teo-website-language button {
  border: none;
  background: none;
  color: var(--teo-website-text-faint);
  font: 600 12px var(--teo-website-font-body);
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.teo-website-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--teo-website-border);
  background: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* inner page hero */

.teo-website-page-hero {
  position: relative;
  padding: clamp(150px, 18vw, 220px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.teo-website-page-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.teo-website-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--teo-website-background) 15%, rgba(3, 9, 28, 0.55) 70%, rgba(3, 9, 28, 0.35)),
    linear-gradient(180deg, rgba(3, 9, 28, 0) 55%, var(--teo-website-background));
}

.teo-website-page-hero + .teo-website-section {
  padding-top: clamp(24px, 4vw, 48px);
}

.teo-website-page-title {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400 !important;
  color: #fff;
  max-width: 16ch;
}

/* cards */

.teo-website-card {
  display: block;
  position: relative;
  border-radius: var(--teo-website-radius);
  border: 1px solid var(--teo-website-border);
  background: var(--teo-website-surface);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

a.teo-website-card:hover {
  border-color: var(--teo-website-border-strong);
  background: var(--teo-website-surface-strong);
  transform: translateY(-3px);
}

.teo-website-card h3 {
  font-size: 19px;
  color: #fff;
  margin: 12px 0 8px;
}

.teo-website-card p {
  margin: 0 0 14px;
  color: var(--teo-website-text-muted);
  font-size: 15px;
}

.teo-website-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(77, 164, 255, 0.12);
  border: 1px solid rgba(77, 164, 255, 0.28);
  color: var(--teo-website-accent-light);
  font-size: 19px;
}

.teo-website-card-icon-large {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 30px;
}

.teo-website-client {
  padding: 26px;
}

/* lists */

.teo-website-check-list, .teo-website-feature-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.teo-website-check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--teo-website-text);
}

.teo-website-check-list li::before {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--teo-website-accent);
}

.teo-website-feature-list {
  margin: 0;
}

.teo-website-feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--teo-website-radius-small);
  border: 1px solid var(--teo-website-border);
  background: var(--teo-website-surface);
}

.teo-website-feature-list i {
  color: var(--teo-website-accent);
  margin-top: 2px;
}

/* standards: the areas on the side, the chosen area's standards as tiles */

.teo-website-standards {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.teo-website-standards-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 96px;
}

.teo-website-standards-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--teo-website-radius-small);
  border: 1px solid transparent;
  background: transparent;
  color: var(--teo-website-text-muted);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.teo-website-standards-tab i {
  font-size: 18px;
  color: var(--teo-website-text-faint);
}

.teo-website-standards-tab span {
  flex: 1;
}

.teo-website-standards-tab em {
  font-style: normal;
  font-size: 12px;
  min-width: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  text-align: center;
  background: rgba(120, 165, 235, 0.12);
  color: var(--teo-website-text-faint);
}

.teo-website-standards-tab:hover {
  background: var(--teo-website-surface);
  color: var(--teo-website-text);
}

.teo-website-standards-tab.teo-website-active {
  background: var(--teo-website-surface-strong);
  border-color: var(--teo-website-border-strong);
  color: var(--teo-website-text);
}

.teo-website-standards-tab.teo-website-active i {
  color: var(--teo-website-accent);
}

.teo-website-standards-tab.teo-website-active em {
  background: var(--teo-website-accent-strong);
  color: #fff;
}

.teo-website-standards-panel {
  min-height: 420px;
  padding: 26px;
  border-radius: var(--teo-website-radius);
  border: 1px solid var(--teo-website-border);
  background: var(--teo-website-surface);
  opacity: 0;
  transform: translateY(6px);
}

.teo-website-standards-panel-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.teo-website-standards-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.teo-website-standards-panel-head i {
  font-size: 22px;
  color: var(--teo-website-accent);
}

.teo-website-standards-panel-head h3 {
  margin: 0;
  font-size: 20px;
}

.teo-website-standards-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.teo-website-standard {
  padding: 16px 18px;
  border-radius: var(--teo-website-radius-small);
  border: 1px solid var(--teo-website-border);
  background: rgba(3, 9, 28, 0.45);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.teo-website-standard:hover {
  border-color: var(--teo-website-border-strong);
  transform: translateY(-2px);
}

.teo-website-standard strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--teo-website-text);
}

.teo-website-standard-versions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.teo-website-standard-versions span {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  background: rgba(77, 164, 255, 0.12);
  color: var(--teo-website-accent-light);
}

.teo-website-standard p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--teo-website-text-muted);
}

@media (max-width: 900px) {
  .teo-website-standards {
    grid-template-columns: minmax(0, 1fr);
  }

  /* the areas become a row that scrolls sideways */
  .teo-website-standards-tabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .teo-website-standards-tab {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .teo-website-standards-panel {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teo-website-standards-panel, .teo-website-standards-panel-in, .teo-website-standard {
    transition: none;
    transform: none;
  }
}

/* frames and gallery */

.teo-website-frame {
  margin: 0;
  border-radius: var(--teo-website-radius);
  border: 1px solid var(--teo-website-border-strong);
  overflow: hidden;
  background: #07122e;
  box-shadow: 0 40px 80px -40px rgba(42, 107, 255, 0.45);
}

.teo-website-frame img {
  width: 100%;
}

.teo-website-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* architecture */

.teo-website-architecture {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  border-radius: var(--teo-website-radius);
  border: 1px solid var(--teo-website-border);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(42, 107, 255, 0.16), transparent 65%),
    rgba(6, 14, 38, 0.7);
}

.teo-website-architecture-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* module neighbours */

.teo-website-neighbours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.teo-website-neighbours .teo-website-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  font-weight: 600;
}

.teo-website-neighbour-next {
  justify-content: flex-end;
}

/* form */

.teo-website-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 3vw, 36px);
}

.teo-website-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--teo-website-text-muted);
}

.teo-website-field em {
  color: var(--teo-website-accent);
  font-style: normal;
}

.teo-website-field-wide {
  grid-column: 1 / -1;
}

.teo-website-field input, .teo-website-field select, .teo-website-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--teo-website-radius-small);
  border: 1px solid var(--teo-website-border-strong);
  background: rgba(3, 9, 28, 0.6);
  color: var(--teo-website-text);
  font: 15px var(--teo-website-font-body);
}

.teo-website-field select option {
  background: #0a1430;
}

.teo-website-field input:focus, .teo-website-field select:focus, .teo-website-field textarea:focus {
  outline: none;
  border-color: var(--teo-website-accent);
  box-shadow: 0 0 0 3px rgba(77, 164, 255, 0.2);
}

.teo-website-field-invalid input, .teo-website-field-invalid select, .teo-website-field-invalid textarea {
  border-color: var(--teo-website-danger);
}

.teo-website-consent-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--teo-website-text-muted);
}

.teo-website-consent-check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--teo-website-accent-strong);
}

.teo-website-consent-check a, .teo-website-consent a {
  color: var(--teo-website-accent);
  text-decoration: underline;
}

.teo-website-consent-check.teo-website-field-invalid {
  color: var(--teo-website-danger);
}

.teo-website-form-message {
  margin: 0;
  min-height: 1.5em;
  font-size: 14px;
  color: var(--teo-website-success);
}

.teo-website-form-message.teo-website-form-error {
  color: var(--teo-website-danger);
}

/* prose */

.teo-website-prose {
  max-width: 820px;
  color: var(--teo-website-text-muted);
}

.teo-website-prose p {
  margin: 0 0 12px;
}

/* footer: the closing call to action and the rest of the footer are in sections/closing.css */

.teo-website-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.teo-website-footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.teo-website-footer-grid a:not(.teo-website-brand) {
  color: var(--teo-website-text-muted);
}

.teo-website-footer-grid a:hover {
  color: #fff;
}

.teo-website-footer-teosoft strong {
  font-weight: 800;
}

/* consent banner */

.teo-website-consent {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-radius: var(--teo-website-radius);
  border: 1px solid var(--teo-website-border-strong);
  background: rgba(6, 14, 38, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
  font-size: 14px;
  color: var(--teo-website-text-muted);
}

.teo-website-consent p {
  margin: 0;
  flex: 1;
}

.teo-website-consent .teo-website-actions {
  margin: 0;
  flex-wrap: nowrap;
}

/* reveal on scroll */

.teo-website-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.teo-website-reveal.teo-website-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .teo-website-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* narrow screens */

@media (max-width: 1080px) {
  .teo-website-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .teo-website-split, .teo-website-split-form, .teo-website-grid-3, .teo-website-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .teo-website-grid-4, .teo-website-gallery, .teo-website-neighbours, .teo-website-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .teo-website-consent {
    flex-direction: column;
    align-items: stretch;
  }

  .teo-website-consent .teo-website-actions .teo-website-button {
    flex: 1;
  }
}

/* a track that slides by sideways and stops under the pointer */

.teo-website-marquee {
  overflow: hidden;
  margin-bottom: 72px;
  border-top: 1px solid var(--teo-website-border);
  border-bottom: 1px solid var(--teo-website-border);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.teo-website-marquee-track {
  display: flex;
  width: max-content;
  animation: teo-website-marquee 48s linear infinite;
}

.teo-website-marquee:hover .teo-website-marquee-track {
  animation-play-state: paused;
}

@keyframes teo-website-marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .teo-website-marquee-track {
    animation: none;
  }
}

/* product tour: how far the playing recording is */

.teo-website-tour-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--teo-website-accent-light);
}

/* life cycle and migration steps */

.teo-website-lifecycle {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.teo-website-lifecycle-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.teo-website-lifecycle::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, #2a6bff, #90d7ff);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.teo-website-lifecycle.teo-website-visible::before {
  transform: scaleX(1);
}

.teo-website-lifecycle-stage {
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s, transform 0.6s;
  transition-delay: var(--teo-delay, 0s);
}

.teo-website-visible .teo-website-lifecycle-stage {
  opacity: 1;
  transform: none;
}

.teo-website-lifecycle-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #08132f;
  border: 2px solid var(--teo-website-accent);
  color: var(--teo-website-accent-light);
  font-size: 22px;
  box-shadow: 0 0 30px rgba(77, 164, 255, 0.35);
}

.teo-website-lifecycle-stage h3 {
  font-size: 18px;
  color: #fff;
  margin: 14px 0 6px;
}

.teo-website-lifecycle-stage p {
  color: var(--teo-website-text-muted);
  font-size: 14px;
  margin: 0;
}

/* numbered capabilities */

.teo-website-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--teo-website-border);
  border: 1px solid var(--teo-website-border);
  border-radius: var(--teo-website-radius);
  overflow: hidden;
}

.teo-website-capability {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 28px;
  min-height: 0;
  background: rgba(6, 14, 38, 0.95);
  transition: background 0.3s;
}

.teo-website-capability:hover {
  background: rgba(20, 40, 90, 0.95);
}

.teo-website-capability-number {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--teo-website-text-faint);
}

.teo-website-capability > i {
  font-size: 26px;
  color: var(--teo-website-accent);
}

.teo-website-capability h3 {
  font-size: 18px;
  color: #fff;
}

.teo-website-capability p {
  color: var(--teo-website-text-muted);
  font-size: 14px;
  margin: 0;
}

/* field to office sync */

.teo-website-sync {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--teo-website-radius);
  border: 1px solid var(--teo-website-border);
  background: var(--teo-website-surface);
}

.teo-website-sync > span:not(.teo-website-sync-line) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.teo-website-sync i {
  font-size: 22px;
  color: var(--teo-website-accent);
}

.teo-website-sync p {
  grid-column: 1 / 4;
  margin: 0;
  color: var(--teo-website-text-muted);
}

/* the line is a size container, so the packet travels its width in cqw with a transform: no layout on any frame */
.teo-website-sync-line {
  position: relative;
  height: 2px;
  container-type: inline-size;
  background: repeating-linear-gradient(90deg, var(--teo-website-border-strong) 0 8px, transparent 8px 14px);
}

/* the packet waits until the band is revealed */
.teo-website-sync-packet {
  position: absolute;
  top: -5px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teo-website-accent-light);
  box-shadow: 0 0 16px var(--teo-website-accent);
  animation: teo-website-packet 2.8s ease-in-out infinite paused;
}

.teo-website-sync.teo-website-visible .teo-website-sync-packet {
  animation-play-state: running;
}

@keyframes teo-website-packet {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(calc(100cqw - 12px)); opacity: 0; }
}

/* roles */

.teo-website-role {
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.teo-website-role .teo-website-check-list {
  margin: 4px 0 18px;
  font-size: 14px;
}

.teo-website-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.teo-website-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--teo-website-border-strong);
  font-size: 12.5px;
  color: var(--teo-website-text-muted);
}

.teo-website-tag:hover {
  color: #fff;
  border-color: var(--teo-website-accent);
}

/* questions: the look of the list is in sections/faq.css */

.teo-website-faq {
  display: grid;
  gap: 10px;
}

.teo-website-faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
}

.teo-website-faq-item summary::-webkit-details-marker {
  display: none;
}

/* standards sliding by */

.teo-website-marquee-standards {
  margin: 0;
  background: rgba(8, 17, 42, 0.6);
}

.teo-website-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  font-size: 15px;
  color: var(--teo-website-text-muted);
  white-space: nowrap;
}

.teo-website-marquee-item i {
  color: var(--teo-website-accent);
  font-size: 18px;
}

@media (max-width: 1080px) {
  .teo-website-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teo-website-lifecycle, .teo-website-lifecycle-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }

  .teo-website-lifecycle::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .teo-website-capabilities, .teo-website-lifecycle, .teo-website-lifecycle-5 {
    grid-template-columns: minmax(0, 1fr);
  }

  .teo-website-sync {
    grid-template-columns: minmax(0, 1fr);
  }

  .teo-website-sync-line {
    display: none;
  }

  .teo-website-sync p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teo-website-sync-packet {
    animation: none;
  }

  .teo-website-lifecycle-stage {
    opacity: 1;
    transform: none;
  }
}

/* areas of the product on the home page */

.teo-website-capability-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.teo-website-capability-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--teo-website-border);
  font-size: 12.5px;
  color: var(--teo-website-text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.teo-website-capability-links a:hover {
  color: #fff;
  border-color: var(--teo-website-accent);
}

.teo-website-capability-links a i {
  color: var(--teo-website-accent);
}
