* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  background: #fafafa;
  color: #222;
}

/* --------------------
   Header
-------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 7%;

  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid #eaeaea;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo img {
  width: 36px;
  height: auto;
  display: block;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

nav a:hover {
  color: #111;
}

/* --------------------
   Hero
-------------------- */

.hero {
  min-height: 80vh;

  display: flex;
  align-items: center;

  max-width: 1100px;
  margin: 0 auto;

  padding: 80px 24px;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 20px;
  padding: 6px 12px;

  border-radius: 999px;

  background: #eee;
  color: #555;

  font-size: 13px;
  font-weight: 500;
}

h1 {
  margin: 0;

  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -3px;
}

.hero p {
  margin-top: 28px;

  max-width: 600px;

  color: #666;
  font-size: 17px;
  line-height: 1.9;
}

.buttons {
  display: flex;
  gap: 12px;

  margin-top: 32px;
}

.button {
  display: inline-block;

  padding: 13px 22px;

  border-radius: 10px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  transition: 0.2s;
}

.button-primary {
  background: #222;
  color: white;
}

.button-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.button-secondary {
  background: #eee;
  color: #333;
}

.button-secondary:hover {
  background: #e4e4e4;
}

/* --------------------
   Section
-------------------- */

section {
  max-width: 1000px;
  margin: 0 auto;

  padding: 100px 24px;
}

.section-title {
  margin-bottom: 40px;
}

.section-title span {
  color: #888;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.section-title h2 {
  margin: 8px 0 0;

  font-size: 32px;
  letter-spacing: -1px;
}

/* --------------------
   Cards
-------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  padding: 28px;

  background: white;

  border: 1px solid #e9e9e9;
  border-radius: 16px;

  transition: 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #d5d5d5;
}

.card-icon {
  font-size: 28px;
}

.card h3 {
  margin: 18px 0 10px;

  font-size: 18px;
}

.card p {
  margin: 0;

  color: #666;

  font-size: 14px;
  line-height: 1.8;
}

/* --------------------
   Barista
-------------------- */

.barista {
  padding: 50px;

  background: #222;
  color: white;

  border-radius: 24px;
}

.barista h2 {
  margin-top: 0;

  font-size: 32px;
}

.barista p {
  max-width: 650px;

  color: #ccc;

  line-height: 1.8;
}

.coffee-code {
  margin-top: 28px;

  padding: 18px 20px;

  background: #111;

  border-radius: 10px;

  font-family: monospace;
  color: #ddd;
}

/* --------------------
   Footer
-------------------- */

footer {
  padding: 40px 24px;

  border-top: 1px solid #eaeaea;

  text-align: center;

  color: #888;
  font-size: 13px;
}

/* --------------------
   Mobile
-------------------- */

@media (max-width: 700px) {
  header {
    padding: 16px 20px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 75vh;
    padding: 60px 24px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .buttons {
    flex-direction: column;
  }

  .button {
    text-align: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .coffee-code {
    padding: 32px 24px;
  }
}
