@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #1c2130;
  --ink-soft: #3a4152;
  --muted: #6b7280;
  --gold: #a8863d;
  --gold-soft: rgba(168, 134, 61, 0.14);
  --page: #f6f4ef;
  --card-bg: #ffffff;
  --hairline: rgba(28, 33, 48, 0.09);
  --shadow: 0 1px 2px rgba(28, 33, 48, 0.04), 0 12px 32px rgba(28, 33, 48, 0.07);
  --radius: 16px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: linear-gradient(180deg, #f8f6f2 0%, var(--page) 40%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-soft); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 32px;
  background: rgba(248, 246, 242, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo span { color: var(--gold); font-style: italic; }

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.88rem;
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 4px 14px 4px 5px;
}
.user-chip img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.btn-logout {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(28, 33, 48, 0.22);
  border-radius: 12px;
  padding: 7px 16px;
  transition: background 0.15s ease;
}
.btn-logout:hover { background: rgba(28, 33, 48, 0.04); }

.wrap {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.hero { text-align: center; margin-bottom: 44px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 14px;
}
.hero em { font-style: italic; color: var(--gold); }
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
}

.tool-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(28, 33, 48, 0.05), 0 16px 40px rgba(28, 33, 48, 0.10);
}
a.tool-card:hover .tool-arrow { transform: translateX(4px); color: var(--gold); }

.tool-icon {
  font-size: 1.9rem;
  line-height: 1;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border-radius: 16px;
  flex-shrink: 0;
}

.tool-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tool-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.badge {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(28, 33, 48, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
}
.badge-live {
  color: #2f7d54;
  background: rgba(63, 154, 104, 0.14);
}

.tool-arrow {
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.tool-soon { opacity: 0.6; }

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 24px;
  font-size: 0.85rem;
  border-top: 1px solid var(--hairline);
}
