@import './tt-one-ui/fonts.css';

html,
body {
  font-family: "RedHatDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
}

code {
  font-family: "RedHatMono", "SFMono-Regular", "Source Code Pro", monospace;
}


/* Layout */
body {
  margin: 0;
  background: #f5f7fa;
  color: #222;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  background: #fe7a00;
  color: #fff;
  padding: 0rem 1.5rem 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero-inner {
  max-width: 75vw;
  margin: 0 auto;
}

.logo-title {
  display: flex;
  align-items: center;
}

.logo {
  position: absolute;
  top: 0rem;
  left: 0rem;
  height: 55px;
  width: auto;
  display: block;
}

.hero-inner {
  padding-top: 2.1rem;
  padding-left: 0rem;
}

.hero h1 {
  font-size: 2.6rem;
  margin: 0;
  letter-spacing: .5px;
  font-weight: 650;
}

.tagline {
  margin: .3rem 0 .7rem;
  font-size: 1.5rem;
  max-width: 720px;
  line-height: 1.45;
}

.quick-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.quick-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.quick-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width .25s ease;
  opacity: .85;
}

.quick-links a:hover::after {
  width: 100%;
}

.content {
  max-width: 80vw;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1.5rem;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem 2rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(6px);
  position: relative;
}

.card+.card {
  margin-top: 2rem;
}

.card h2 {
  margin-top: 0;
  font-weight: 620;
  letter-spacing: .5px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.features li {
  padding-left: 1.25rem;
  position: relative;
  margin: .4rem 0;
}

.features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #fe7a00;
  font-weight: 600;
}

.note {
  font-size: .9rem;
  color: #555;
  border-left: 4px solid #fe7a00;
  padding: .5rem .75rem;
  background: #fff7ef;
  border-radius: 4px;
}

/* Changelog */
.changelog-header {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Example / code-like block (replaces previous pre.example styling) */
.example {
  background: #22272c;
  color: #e6edf3;
  padding: .9rem 1rem;
  border-radius: 10px;
  overflow-x: auto;
  line-height: 1.35;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Subsection title under card headers */
.section-subtitle {
  margin-top: 1.75rem;
  margin-bottom: .75rem;
  font-weight: 620;
  letter-spacing: .5px;
  font-size: 1.15rem;
}

/* Spacing variant for notes */
.note-spaced {
  margin-top: .75rem;
}

/* Footer */
.footer {
  padding: 1.25rem 1.5rem 2rem;
  text-align: center;
  font-size: .8rem;
  color: #555;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.1rem;
  }
  .content {
    margin-top: 1;
    max-width: 95vw;
    padding: 0 0.3rem;

  }

  .card {
    padding: 1.4rem 1.25rem 1.6rem;
  }
}