:root {
  --bg-color: #ffffff;
  /* MD3 Neutral 10-90 scale for light mode */
  --text-primary: #1d1b20;
  --text-secondary: #49454f;
  --text-tertiary: #79747e;

  /* MD3 Primary/Secondary Container Colors */
  --btn-primary-bg: #1d1b20;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #e8def8;
  /* MD3 Secondary Container */
  --btn-secondary-text: #1d192b;

  /* MD3 Expressive Easing 2026 */
  --easing-expressive: cubic-bezier(0.2, 0, 0, 1);
  --easing-standard: cubic-bezier(0.4, 0, 0.2, 1);

  --font-family: 'Noto Sans', system-ui, -apple-system, sans-serif;

  /* Spacing System (8px base) - Precise Android 17 alignment */
  --spacing-xs: 4px;
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xl);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  width: 100%;
  animation: enter 1s var(--easing-expressive);
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.logo-area {
  margin-bottom: var(--spacing-3xl);
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-transform: uppercase;
  opacity: 0.8;
}

.logo-accent {
  font-weight: 700;
}

.main-title {
  /* MD3 Expressive Display Large 2026 */
  font-size: clamp(4rem, 10vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: var(--spacing-xl);
  max-width: 10ch;
  color: var(--text-primary);
}

.subtitle {
  /* MD3 Body Large Expressive */
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-3xl);
  max-width: 38ch;
}

.inline-link {
  color: #0a66c2;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  z-index: 1;
  transition: color 0.4s var(--easing-expressive);
  padding: 2px 4px;
  margin: -2px -4px;
}

.link-icon {
  flex-shrink: 0;
  transition: transform 0.4s var(--easing-expressive);
}

.inline-link:hover .link-icon {
  transform: translateY(-2px);
}

/* Underline animation - expanding from contact point */
.inline-link::after {
  content: '';
  position: absolute;
  width: calc(100% - 8px);
  height: 2px;
  bottom: 2px;
  left: 4px;
  background-color: #0a66c2;
  transform: scaleX(0);
  transform-origin: var(--origin-x, center);
  transition: transform 0.4s var(--easing-expressive) 0.4s;
  /* Delay on exit */
  z-index: -1;
}

/* Background fill animation - triggers after underline completes */
.inline-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a66c2;
  border-radius: 0;
  transform: scaleX(0);
  opacity: 0;
  transform-origin: var(--fill-origin, left);
  transition: transform 0.4s var(--easing-expressive), opacity 0.2s var(--easing-expressive);
  /* No delay on exit */
  z-index: -1;
}

.inline-link:hover {
  color: #ffffff;
  transition-delay: 0.4s;
  /* Delay text color change on entry */
}

.inline-link:hover::after {
  transform: scaleX(1);
  transition-delay: 0s;
  /* No delay on entry */
}

.inline-link:hover::before {
  transform: scaleX(1);
  opacity: 1;
  transition-delay: 0.4s;
  /* Delay fill on entry */
}

@media (max-width: 600px) {
  .main-title {
    font-size: 4rem;
  }
}