:root {
  --bg: #f2f4f8;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe2ea;
  --accent: #0071e3;
  --accent-soft: #e8f2ff;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, #d9ebff 0%, transparent 34%),
    radial-gradient(circle at 86% 2%, #e6f7f1 0%, transparent 28%),
    var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto;
}

header {
  padding: 1.2rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-name {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1d4f8f;
}

.hero-brand-logo {
  width: clamp(92px, 14vw, 138px);
  height: auto;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.hero {
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 3rem);
  margin-top: 0.8rem;
  animation: fadeUp 0.8s ease both;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 66ch;
  color: var(--muted);
  margin: 0;
}

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

.card {
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  animation: fadeUp 0.7s ease both;
}

.card-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.card:nth-child(2) {
  animation-delay: 0.08s;
}

.card:nth-child(3) {
  animation-delay: 0.16s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  border-color: #b6c7dc;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #12437a;
  padding: 0.28rem 0.62rem;
  margin-bottom: 0.72rem;
  font-weight: 700;
}

h2 {
  margin: 0.2rem 0 0.65rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.card p,
.page-intro {
  color: var(--muted);
  margin: 0;
}

.actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}

.button.alt {
  background: #fff;
  color: #0f172a;
  border: 1px solid var(--line);
}

main.page {
  margin: 1.5rem auto 3rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  animation: fadeUp 0.8s ease both;
}

.page-app-logo {
  width: clamp(86px, 16vw, 132px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0.2rem 0 1rem;
}

.panel h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

ul.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

footer {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0 0 2rem;
}

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

@media (max-width: 640px) {
  .hero,
  .panel {
    border-radius: 16px;
  }

  .grid {
    gap: 0.8rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }
}

.site-footer {
  display: flex;
  gap: 0.6rem 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.footer-meta {
  color: var(--muted);
}

.footer-links {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-links a {
  color: #12437a;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.feedback-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.feedback-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 1rem;
}

.feedback-card h2 {
  margin-top: 0;
}
