:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #fafbff;
  --text: #0f172a;
  --muted: #667085;
  --muted-dark: #475467;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #ecebff;
  --border: #dbe4f0;
  --border-strong: #cfd8e6;
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --danger: #dc2626;
  --danger-dark: #b91c1c;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), transparent 35%),
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.10), transparent 35%),
    #f5f7fb;
  color: var(--text);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #ffffff;
  color: #000000;
  padding: 10px 14px;
  border: 2px solid #000000;
  border-radius: 8px;
  z-index: 1000;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 18px 44px;
}

.hero-card,
.content-section,
.site-footer {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}

.hero-card {
  text-align: center;
  padding: 38px 26px 34px;
}

.hero-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  border-radius: 28px;
  background: linear-gradient(145deg, #f1efff, #e9e7ff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero-text,
.section-text,
.hero-meta {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.hero-text {
  margin-bottom: 28px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-text {
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-meta {
  font-size: 0.95rem;
  color: var(--muted-dark);
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #5b52f5 0%, #4f46e5 60%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.22);
}

.button-primary:hover,
.button-primary:focus {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.button-secondary {
  background: #ffffff;
  color: #1f2937;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover,
.button-secondary:focus {
  background: #f8fafc;
}

.button-danger {
  background: var(--danger);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
}

.button-danger:hover,
.button-danger:focus {
  background: var(--danger-dark);
}

.content-section {
  margin-top: 24px;
  padding: 30px 24px;
}

.alt-section {
  background: linear-gradient(180deg, #fbfcff 0%, #f8faff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.tracker-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.tracker-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #111827;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: #98a2b3;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-message {
  margin-top: 14px;
  font-weight: 700;
  color: var(--primary);
  min-height: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.stat-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-value {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

th {
  background: #f8fafc;
  font-size: 0.95rem;
  color: #111827;
}

td {
  color: #334155;
}

.empty-state {
  text-align: center;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  border-color: #ccd6e6;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.two-column {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  align-items: start;
}

.info-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.info-list {
  margin: 0;
  padding-left: 18px;
}

.site-footer {
  margin-top: 24px;
  text-align: center;
  padding: 18px 20px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .tracker-layout,
  .two-column,
  .feature-grid,
  .form-row,
  .stats-grid {
    grid-template-columns: 1fr;
  }
.simple-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 70px 32px;
}

.simple-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1;
  margin-bottom: 22px;
}

.simple-hero .hero-text {
  max-width: 660px;
  font-size: 1.15rem;
}

.feature-card {
  text-align: left;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}
