:root {
  --bg-0: #071416;
  --bg-1: #0a1f24;
  --bg-2: #12353c;
  --ink: #e8f4f2;
  --muted: #9bb5b1;
  --accent: #2ec4b6;
  --accent-deep: #1a8f84;
  --warn: #7fd4ff;
  --surface: rgba(14, 40, 46, 0.72);
  --line: rgba(146, 210, 200, 0.18);
  --radius: 28px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --pad-x: clamp(1rem, 4vw, 1.5rem);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 70% -10%, #1a4d55 0%, transparent 55%),
    radial-gradient(900px 600px at -10% 40%, #0d3a42 0%, transparent 50%),
    linear-gradient(165deg, var(--bg-1) 0%, var(--bg-0) 55%, #050e10 100%);
  overflow-x: hidden;
  padding-bottom: var(--safe-bottom);
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.07;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-a {
  width: min(340px, 70vw);
  height: min(340px, 70vw);
  background: #1f7a72;
  top: 12%;
  right: -80px;
}

.orb-b {
  width: min(280px, 60vw);
  height: min(280px, 60vw);
  background: #145a8a;
  bottom: 8%;
  left: -60px;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, 40px) scale(1.08); }
}

.top,
.hero,
.panel-inner,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: calc(0.9rem + var(--safe-top)) var(--pad-x) 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(46, 196, 182, 0.2), rgba(46, 196, 182, 0.05));
}

.brand-mark img {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3.2vw, 1.05rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text small {
  color: var(--muted);
  font-size: clamp(0.68rem, 2.4vw, 0.75rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.15rem;
  transition: color 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 88px);
  min-height: calc(100dvh - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem var(--pad-x) 3rem;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.domain-chip {
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(46, 196, 182, 0.08);
  color: var(--accent);
  font-size: clamp(0.72rem, 2.5vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  max-width: 100%;
  word-break: break-word;
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 5.5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 100%;
  white-space: nowrap;
  animation: fadeUp 0.8s 0.05s ease both;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  width: 100%;
  color: var(--muted);
  font-size: clamp(0.95rem, 3.2vw, 1.2rem);
  line-height: 1.55;
  padding-inline: 0.15rem;
  animation: fadeUp 0.8s 0.12s ease both;
}

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

.blower {
  margin-top: clamp(1.5rem, 5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  animation: fadeUp 0.9s 0.18s ease both;
}

.rings {
  position: absolute;
  width: min(220px, 70vw);
  height: min(220px, 70vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -62%);
  pointer-events: none;
}

.rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(46, 196, 182, 0.35);
  opacity: 0;
}

.blower.is-active .rings span {
  animation: ringOut 2s ease-out infinite;
}

.blower.is-active .rings span:nth-child(2) { animation-delay: 0.45s; }
.blower.is-active .rings span:nth-child(3) { animation-delay: 0.9s; }

@keyframes ringOut {
  0% { transform: scale(0.55); opacity: 0.55; }
  100% { transform: scale(1.35); opacity: 0; }
}

.blow-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: min(100%, 280px);
  min-height: 112px;
  padding: 1.2rem 1.5rem 1.05rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  color: #07353a;
  background: linear-gradient(180deg, #ffffff 0%, #d7f3ef 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blow-btn:hover {
  transform: translateY(-2px);
}

.blow-btn:active {
  transform: translateY(1px);
}

.blow-btn[aria-pressed="true"] {
  color: #034e52;
  background: linear-gradient(180deg, #e7fffb 0%, #9be8dc 100%);
  box-shadow:
    0 0 0 4px rgba(46, 196, 182, 0.25),
    0 20px 50px rgba(46, 196, 182, 0.35);
  animation: btnPulse 1.8s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

.blow-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: #147a72;
}

.blow-icons svg {
  width: clamp(28px, 8vw, 36px);
  height: clamp(28px, 8vw, 36px);
}

.blow-btn[aria-pressed="true"] .icon-wind {
  animation: windShake 0.7s ease-in-out infinite;
}

.blow-btn[aria-pressed="true"] .icon-drops {
  animation: drip 1.1s ease-in-out infinite;
}

@keyframes windShake {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

@keyframes drip {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(4px); opacity: 0.75; }
}

.blow-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 3.5vw, 1rem);
  letter-spacing: -0.02em;
}

.blow-timer {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 3vw, 0.9rem);
  padding-inline: 0.5rem;
  max-width: 22rem;
}

.volume-hint {
  margin: 0.4rem 0 0;
  color: rgba(155, 181, 177, 0.7);
  font-size: clamp(0.72rem, 2.6vw, 0.78rem);
  padding-inline: 0.5rem;
}

.panel {
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad-x);
}

.panel-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-radius: clamp(18px, 4vw, var(--radius));
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  letter-spacing: -0.03em;
}

.panel-lede {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 40rem;
  font-size: clamp(0.92rem, 3vw, 1rem);
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  padding-top: 0.2rem;
}

.steps h3 {
  margin: 0;
  font-size: clamp(1rem, 3.4vw, 1.1rem);
}

.steps p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: clamp(0.9rem, 3vw, 0.98rem);
}

.faq-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.15rem 1rem;
  background: rgba(7, 20, 22, 0.35);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.75rem 1rem 0;
  font-weight: 600;
  font-size: clamp(0.92rem, 3.2vw, 1rem);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: clamp(0.9rem, 3vw, 1rem);
}

.foot {
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem var(--pad-x) calc(2.5rem + var(--safe-bottom));
  color: var(--muted);
  font-size: clamp(0.85rem, 3vw, 0.9rem);
  line-height: 1.55;
}

.foot-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: baseline;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.foot-brand strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.foot-brand span {
  color: var(--accent);
  font-size: 0.85rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin-top: 1.15rem;
}

.foot-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--accent);
}

.copy {
  margin-top: 1.25rem;
  opacity: 0.7;
  font-size: 0.8rem;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem var(--pad-x) 3rem;
}

.page-card {
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-radius: clamp(18px, 4vw, var(--radius));
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.page-card h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: -0.03em;
}

.page-meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.page-card h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  letter-spacing: -0.02em;
}

.page-card p,
.page-card li {
  color: var(--muted);
  line-height: 1.6;
  font-size: clamp(0.92rem, 3vw, 1rem);
}

.page-card p {
  margin: 0 0 0.85rem;
}

.page-card ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.page-card a {
  color: var(--accent);
}

@media (max-width: 640px) {
  .top {
    align-items: flex-start;
  }

  .nav {
    gap: 0.15rem 0.7rem;
  }

  .nav a {
    font-size: 0.82rem;
    padding: 0.35rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 7.5vw, 1.85rem);
  }

  .blow-btn {
    width: min(100%, 260px);
    min-height: 120px;
  }

  .steps li {
    gap: 0.75rem;
  }
}

@media (max-width: 380px) {
  .brand-text small {
    display: none;
  }

  .nav a {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
