:root {
  color-scheme: dark;
  --canvas: #070a12;
  --surface: rgba(15, 21, 37, 0.88);
  --surface-strong: #11182a;
  --surface-soft: rgba(25, 34, 57, 0.72);
  --text: #f7f8fc;
  --muted: #aab3c8;
  --cyan: #76e8ff;
  --violet: #ae91ff;
  --lime: #cbff70;
  --line: rgba(183, 197, 232, 0.18);
  --line-strong: rgba(118, 232, 255, 0.38);
  --focus: #fff4a8;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(118, 232, 255, 0.17), transparent 30rem),
    radial-gradient(circle at 92% 4%, rgba(174, 145, 255, 0.2), transparent 34rem),
    linear-gradient(180deg, #0a0e19 0%, var(--canvas) 38rem);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  pointer-events: none;
}

a {
  color: var(--cyan);
  text-decoration-color: rgba(118, 232, 255, 0.5);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #b9f4ff;
}

a:focus-visible,
button:focus-visible {
  border-radius: 0.35rem;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner,
main,
.site-footer {
  width: min(calc(100% - 2rem), 840px);
  margin-inline: auto;
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, #11182a 42%, transparent 44%),
    conic-gradient(from 220deg, var(--cyan), var(--violet), var(--lime), var(--cyan));
  box-shadow: 0 0 1.5rem rgba(118, 232, 255, 0.16);
}

.brand-mark::after {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0.7rem rgba(203, 255, 112, 0.8);
  content: "";
}

.language-link {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.language-link:hover {
  border-color: var(--line-strong);
  color: var(--cyan);
  background: rgba(118, 232, 255, 0.07);
}

main {
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.28;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 4.6rem);
  letter-spacing: -0.055em;
}

.lead {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.meta {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.signal {
  height: 2.35rem;
  display: flex;
  align-items: end;
  gap: 0.34rem;
  margin-top: 2rem;
}

.signal span {
  width: 0.34rem;
  height: 28%;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0.7rem rgba(118, 232, 255, 0.32);
}

.signal span:nth-child(2) {
  height: 46%;
}

.signal span:nth-child(3) {
  height: 72%;
}

.signal span:nth-child(4) {
  height: 100%;
  background: linear-gradient(180deg, var(--lime), var(--cyan));
}

.signal span:nth-child(5) {
  height: 78%;
  background: var(--violet);
}

.signal span:nth-child(6) {
  height: 50%;
  background: var(--violet);
}

.signal span:nth-child(7) {
  height: 32%;
  background: var(--violet);
}

.summary {
  position: relative;
  margin-top: 2.4rem;
  padding: 1.2rem 1.3rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1.1rem;
  background:
    linear-gradient(120deg, rgba(118, 232, 255, 0.1), rgba(174, 145, 255, 0.08)),
    var(--surface);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

.summary strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--lime);
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content {
  margin-top: clamp(3.5rem, 9vw, 6rem);
}

.content section + section {
  margin-top: 3.4rem;
  padding-top: 3.4rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.03rem;
}

p,
ul {
  margin-block: 0.75rem;
}

ul {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.46rem;
}

.data-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.data-card,
.product-card,
.tip-card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface-soft);
}

.data-card p,
.product-card p,
.tip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.data-card h3,
.product-card h2,
.tip-card h3 {
  margin-top: 0;
}

.product-card {
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
}

.product-card h2 {
  margin-bottom: 0.55rem;
}

.product-card.drip {
  background:
    radial-gradient(circle at 90% 8%, rgba(216, 145, 96, 0.2), transparent 13rem),
    var(--surface-soft);
}

.product-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.3rem;
  padding: 0.25rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.3rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1rem;
  border: 1px solid var(--cyan);
  border-radius: 0.8rem;
  color: #071019;
  background: var(--cyan);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0.7rem 2rem rgba(118, 232, 255, 0.13);
}

.button:hover {
  color: #071019;
  background: #b9f4ff;
}

.button.secondary {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--cyan);
  background: rgba(118, 232, 255, 0.08);
}

.note {
  padding-left: 1rem;
  border-left: 3px solid var(--violet);
  color: var(--muted);
}

.site-footer {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 640px) {
  :root {
    font-size: 16px;
  }

  .header-inner,
  main,
  .site-footer {
    width: min(calc(100% - 1.5rem), 840px);
  }

  .header-inner {
    min-height: 4.1rem;
  }

  .data-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    padding-block: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #d3d8e7;
    --line: rgba(255, 255, 255, 0.42);
    --line-strong: rgba(118, 232, 255, 0.8);
  }
}
