*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f9f9f9;
  --card: #ffffff;
  --ink: #0f0f10;
  --muted: #5c5c5f;
  --border: #e6e6e6;
  --accent: #0f0f10;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  color-scheme: light;
}

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 32px;
  background: radial-gradient(circle at 20% 20%, #fafafa, #f4f4f4 45%, #f2f2f2);
  animation: pageIn 640ms ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
}

p {
  margin: 0;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
}

.page {
  max-width: 1100px;
  margin: 0 auto 32px;
  background: #fff;
  border: 1px solid var(--border);
  outline: 1px solid rgba(0, 0, 0, 0.02);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 24px 28px;
  animation: cardLift 700ms ease;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 24px;
}

.brand img {
  width: 180px;
}

.quick-actions {
  display: flex;
  gap: 12px;
}

.ghost {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #fff;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

main > section {
  opacity: 0;
  transform: translateY(14px);
  animation: sectionIn 680ms ease forwards;
}

main > section:nth-of-type(1) { animation-delay: 60ms; }
main > section:nth-of-type(2) { animation-delay: 120ms; }
main > section:nth-of-type(3) { animation-delay: 180ms; }
main > section:nth-of-type(4) { animation-delay: 240ms; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.hero-text h1 {
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.lede {
  color: var(--muted);
  line-height: 1.6;
}

.openness {
  display: inline-block;
  position: relative;
  color: #2b2b2d;
  background-image: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.22) 60%);
  background-repeat: no-repeat;
  background-size: 0 100%;
  transition: background-size 220ms ease;
}

.openness:hover {
  background-size: 100% 100%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 24px 0 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.dot {
  width: 5px;
  height: 5px;
  background: var(--muted);
  border-radius: 50%;
  display: inline-flex;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hero-card .card-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.capabilities li {
  position: relative;
  padding-left: 18px;
}

.capabilities li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.panel h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
}

.panel p {
  color: var(--muted);
  line-height: 1.6;
}

.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.contact-card .panel-label {
  color: #d7d7da;
}

.contact-card h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin: 8px 0 12px;
}

.contact-card .lede {
  color: #d7d7da;
}

.availability {
  margin-top: 12px;
  color: #e6e6e8;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.contact-grid a {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer {
  max-width: 1100px;
  margin: 40px auto 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.footer .brand img {
  width: 150px;
}

.footer-text {
  display: grid;
  gap: 4px;
  text-align: right;
}

.copyright {
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 640ms ease forwards;
  animation-delay: var(--delay, 0ms);
}

.hero-card:hover,
.panel:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

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

@media (max-width: 900px) {
  body {
    padding: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    display: none;
  }

  .top-bar {
    padding-bottom: 12px;
  }

  .page {
    padding: 16px 18px 22px;
    margin: 0 auto 24px;
    border-radius: 18px;
  }
}

@media (max-width: 600px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--border);
    padding: 10px 14px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    z-index: 20;
    animation: slideUp 420ms ease;
  }

  .sticky-cta .button {
    width: 100%;
  }

  .page {
    margin-bottom: 88px;
  }
}

@media (min-width: 601px) {
  .sticky-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

