:root {
  --timefish-accent: #6f1020;
  --timefish-accent-2: #8e2b3d;
  --timefish-ink: #1f2933;
  --timefish-muted: #4f5b66;
  --timefish-surface: #fffaf7;
  --timefish-border: #e9dbd6;
  --timefish-shadow: 0 18px 44px rgba(31, 41, 51, 0.08);
}

.navbar {
  background: linear-gradient(90deg, #4f0d18 0%, #65111d 45%, #7c1b2a 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(63, 9, 19, 0.22);
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .navbar-text,
.navbar .dropdown-toggle {
  color: #fff !important;
}

.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:focus {
  color: #f8dde1 !important;
}

.navbar a[href*="orcid.org"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.35rem;
}

.navbar a[href*="orcid.org"] > * {
  display: none !important;
}

.navbar a[href*="orcid.org"]::before {
  content: "";
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='32' fill='%23A6CE39'/%3E%3Ctext x='32' y='41' text-anchor='middle' font-family='Arial, Helvetica, sans-serif' font-size='28' font-weight='700' fill='%23ffffff'%3EiD%3C/text%3E%3C/svg%3E");
}

.navbar .form-control,
.navbar .form-control:focus {
  background-color: rgba(255, 255, 255, 0.13);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.navbar .form-control::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.navbar .btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.navbar .btn:hover,
.navbar .btn:focus {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.timefish-hero {
  margin: 1.35rem 0 2rem;
  padding: 1.65rem 1.65rem 1.35rem;
  border: 1px solid var(--timefish-border);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(111, 16, 32, 0.06), rgba(142, 43, 61, 0.04)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
  box-shadow: var(--timefish-shadow);
}

.timefish-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.timefish-hero-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  flex: 1 1 30rem;
}

.timefish-guide-logo {
  width: 58px;
  max-width: 58px;
  height: auto;
  flex: 0 0 58px;
}

.timefish-hero-copy {
  min-width: 0;
  flex: 1 1 22rem;
}

.timefish-hero h1,
.timefish-hero h2,
.timefish-hero h3 {
  color: var(--timefish-ink);
  margin-top: 0.2rem;
}

.timefish-hero-copy h1,
.timefish-hero-copy h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
}

.timefish-kicker {
  margin: 0 0 0.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--timefish-accent);
}

.timefish-subtitle {
  color: var(--timefish-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 68rem;
  margin: 0.6rem 0 0;
}

.timefish-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
}

.timefish-cta > p {
  margin: 0;
}

.timefish-cta a {
  display: inline-block;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--timefish-border);
  background: var(--timefish-surface);
  color: var(--timefish-ink);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.timefish-cta a:hover {
  border-color: var(--timefish-accent);
  color: var(--timefish-accent);
}

.timefish-dev-grid {
  display: grid;
  grid-template-columns: minmax(240px, 420px);
  gap: 0.9rem;
  margin-top: 1rem;
}

.timefish-card--compact {
  padding: 1rem 1rem 0.95rem;
}

.timefish-card--compact h3 {
  margin-top: 0;
  color: var(--timefish-accent);
}

.timefish-workflow {
  margin: 1.6rem 0 2rem;
}

.timefish-workflow img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 1.1rem;
  border: 1px solid var(--timefish-border);
  background: var(--timefish-surface);
  box-shadow: var(--timefish-shadow);
}

.timefish-workflow .timefish-workflow-image {
  max-width: 980px;
  margin: 0 auto;
}

img[src*="timefishr_logo.png"] {
  width: 110px;
  max-width: 110px;
  height: auto;
}

img[src*="timefishr_workflow.svg"] {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 1.1rem;
  border: 1px solid var(--timefish-border);
  background: var(--timefish-surface);
  box-shadow: var(--timefish-shadow);
}

.timefish-note {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--timefish-accent);
  background: rgba(33, 79, 106, 0.05);
  border-radius: 0.8rem;
  color: var(--timefish-ink);
}

.timefish-note p:last-child {
  margin-bottom: 0;
}

.timefish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.timefish-card {
  padding: 1.1rem 1.1rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--timefish-border);
  background: var(--timefish-surface);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  height: 100%;
}

.timefish-card h3 {
  margin-top: 0;
  color: var(--timefish-accent);
}

.timefish-card code {
  display: inline-block;
  margin-top: 0.3rem;
}

.timefish-table {
  margin: 1rem 0 1.5rem;
}

.timefish-table table {
  width: 100%;
}
