@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-geist-sans: "Geist", sans-serif;
  --font-geist-mono: "Geist Mono", monospace;
}

body.inovarka-theme {
  margin: 0;
  background: #1f1f1f;
  color: #faf9f6;
}

body.admin-bar .header {
  top: 32px;
}

.inovarka-content,
.inovarka-not-found {
  min-height: 100vh;
  padding: clamp(9rem, 14vw, 13rem) clamp(1.4rem, 6vw, 7rem) 7rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(58, 70, 51, 0.35), transparent 30rem),
    #1f1f1f;
}

.inovarka-entry,
.inovarka-entry-list,
.inovarka-not-found {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.inovarka-entry__header {
  max-width: 980px;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(216, 207, 194, 0.18);
}

.inovarka-entry__header p,
.inovarka-not-found > span {
  margin: 0 0 1.5rem;
  color: #d8cfc2;
  font: 600 0.72rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
}

.inovarka-entry__header h1,
.inovarka-not-found h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 520;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.inovarka-entry__content {
  max-width: 820px;
  padding-top: 4rem;
  color: #d8cfc2;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.inovarka-entry__content h2,
.inovarka-entry__content h3 {
  color: #faf9f6;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.inovarka-entry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.inovarka-entry-card a {
  display: block;
  height: 100%;
  padding: 2.2rem;
  border: 1px solid rgba(216, 207, 194, 0.16);
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  background: rgba(250, 249, 246, 0.025);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

.inovarka-entry-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 207, 194, 0.36);
  background: rgba(58, 70, 51, 0.16);
}

.inovarka-entry-card time {
  color: #d8cfc2;
  font: 600 0.7rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.inovarka-entry-card h2 {
  margin: 2.8rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.inovarka-entry-card p,
.inovarka-not-found p {
  color: #d8cfc2;
  line-height: 1.65;
}

.inovarka-not-found {
  display: flex;
  min-height: calc(100vh - 16rem);
  flex-direction: column;
  justify-content: center;
}

.inovarka-not-found p {
  max-width: 560px;
  margin: 2rem 0;
  font-size: 1.1rem;
}

.inovarka-not-found a {
  align-self: flex-start;
  padding: 1rem 1.3rem;
  border-radius: 999px;
  color: #1f1f1f;
  background: #faf9f6;
  font-weight: 700;
  text-decoration: none;
}

.inovarka-form {
  display: grid;
  gap: 1.1rem;
  width: min(100%, 900px);
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(216, 207, 194, 0.18);
  border-radius: 30px;
  background: rgba(250, 249, 246, 0.035);
}

.inovarka-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.inovarka-form label {
  display: grid;
  gap: 0.55rem;
  color: #d8cfc2;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.inovarka-form input:not([type="checkbox"]),
.inovarka-form select,
.inovarka-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(216, 207, 194, 0.2);
  border-radius: 16px;
  outline: none;
  color: #faf9f6;
  background: #1f1f1f;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.inovarka-form input:focus,
.inovarka-form select:focus,
.inovarka-form textarea:focus {
  border-color: #d8cfc2;
  box-shadow: 0 0 0 3px rgba(58, 70, 51, 0.55);
}

.inovarka-form__consent {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.inovarka-form__website {
  position: absolute !important;
  left: -10000px !important;
}

.inovarka-form button {
  justify-self: start;
  padding: 1rem 1.3rem;
  border: 0;
  border-radius: 999px;
  color: #1f1f1f;
  background: #faf9f6;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.inovarka-form button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.inovarka-form__status {
  min-height: 1.5em;
  margin: 0;
  color: #d8cfc2;
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .inovarka-entry-list,
  .inovarka-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
