@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.corner {
  position: fixed;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #93938f;
  text-transform: uppercase;
  font-family: var(--font-ui);
  line-height: 1.4;
}

.corner--top-left {
  top: 24px;
  left: 24px;
}

.corner--bottom-right {
  bottom: 24px;
  right: 24px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vw, 72px) clamp(20px, 4vw, 32px);
  max-width: 900px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  margin-bottom: 56px;
  animation: fadeUp 0.5s ease both;
  width: 100%;
}

.hero__eyebrow {
  font-size: 12px;
  font-family: var(--font-ui);
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.5;
}

.hero__title {
  font-family: var(--font-ui);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  word-break: keep-all;
  margin: 0;
}

.hero__title-piro {
  display: inline-block;
  margin-right: 0.04em;
}

.hero__title-lab {
  color: var(--accent);
  display: inline-block;
}

.hero__subtitle {
  margin-top: 22px;
  font-size: 14px;
  font-family: var(--font-ui);
  color: var(--muted2);
  letter-spacing: -0.02em;
  line-height: 1.75;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 900px;
}

.service-card {
  --service-color: var(--accent);
  --card-delay: 0.3s;
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 28px 28px 26px;
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  transform: translateY(0);
  animation: fadeUp 0.5s var(--card-delay) ease both;
  cursor: pointer;
  min-width: 0;
}

.service-card:hover {
  border-color: var(--service-color);
  background: color-mix(in srgb, var(--service-color) 5%, var(--surface));
  transform: translateY(-2px);
}

.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.service-card__tag {
  font-size: 10px;
  font-family: var(--font-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--service-color);
  border: 1px solid color-mix(in srgb, var(--service-color) 27%, transparent);
  padding: 4px 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.service-card__arrow {
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  flex-shrink: 0;
  transform: translateX(0);
}

.service-card:hover .service-card__arrow {
  color: var(--service-color);
  transform: translateX(3px);
}

.service-card__label {
  font-family: var(--font-ui);
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.2s;
  margin-bottom: 12px;
  word-break: keep-all;
}

.service-card:hover .service-card__label {
  color: var(--service-color);
}

.service-card__desc {
  font-size: 13px;
  font-family: var(--font-ui);
  color: var(--muted2);
  letter-spacing: -0.01em;
  line-height: 1.65;
  word-break: keep-all;
}

.service-card__url {
  margin-top: 18px;
  font-size: 11px;
  font-family: var(--font-ui);
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
  transition: color 0.2s;
  word-break: break-all;
}

.service-card:hover .service-card__url {
  color: color-mix(in srgb, var(--service-color) 60%, transparent);
}

.countdown {
  margin-top: 44px;
  text-align: center;
  animation: fadeUp 0.5s 0.5s ease both;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.countdown__period {
  font-size: 14px;
  font-family: var(--font-ui);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 12px;
}

.countdown__before-open {
  font-size: 13px;
  font-family: var(--font-ui);
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 8px;
}

.countdown__remaining {
  font-size: 18px;
  font-family: var(--font-ui);
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1.65;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.countdown__remaining--closed {
  color: #666677;
}

.countdown__note {
  margin-top: 8px;
  font-size: 11px;
  font-family: var(--font-ui);
  color: #555566;
  letter-spacing: 0.04em;
}
