:root {
  color-scheme: light;
  --ink: #10212a;
  --muted: #526a73;
  --line: rgba(16, 33, 42, 0.15);
  --aqua: #20c7cb;
  --blue: #d9f2ff;
  --sun: #ffe07b;
  --paper: #fffdf5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(14, 83, 103, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #181a19;
}

.shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5.8vw, 76px);
}

.intro {
  width: min(100%, 1120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 {
  margin: 0;
}

.logo-title {
  width: min(86vw, 720px);
  margin: 0 0 clamp(26px, 4vw, 46px);
  aspect-ratio: 1048 / 312;
  line-height: 0;
  overflow: hidden;
}

.logo-title img {
  display: block;
  width: calc(100% * 1080 / 1048);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(14, 139, 152, 0.1));
  transform: translate(-1.944%, -36.667%);
}

.tagline {
  margin: 0;
  max-width: none;
  color: #f3ead8;
  font-size: clamp(1.2rem, 2.8vw, 2.05rem);
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.categories {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 28px);
  margin: 24px 0 0;
  padding: 0;
  font-size: clamp(0.88rem, 1.65vw, 1.18rem);
  font-weight: 850;
  line-height: 1.05;
  white-space: nowrap;
}

.categories span {
  position: relative;
  color: var(--category-color, var(--ink));
}

.categories span:not(:last-child)::after {
  content: "•";
  position: absolute;
  top: 50%;
  right: calc(clamp(14px, 2.2vw, 28px) * -0.62);
  color: rgba(16, 33, 42, 0.28);
  font-size: 0.7em;
  transform: translate(50%, -50%);
}

.categories span:nth-child(1),
.categories span:nth-child(6) {
  --category-color: #0f8f98;
}

.categories span:nth-child(2),
.categories span:nth-child(7) {
  --category-color: #c79a16;
}

.categories span:nth-child(3),
.categories span:nth-child(8) {
  --category-color: #2377b6;
}

.categories span:nth-child(4),
.categories span:nth-child(9) {
  --category-color: #15966d;
}

.categories span:nth-child(5) {
  --category-color: #db7d25;
}

.subscribe {
  width: min(100%, 660px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 18px 0 0;
  padding: 10px;
  border: 1px solid rgba(32, 199, 203, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(217, 242, 255, 0.62)),
    rgba(255, 255, 255, 0.66);
  box-shadow: 0 24px 70px rgba(14, 139, 152, 0.13);
  backdrop-filter: blur(22px);
}

.subscribe-choice {
  width: fit-content;
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: clamp(44px, 5vw, 62px) auto 0;
}

.choice-label {
  color: #0f8f98;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.channel-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(32, 199, 203, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 32px rgba(14, 139, 152, 0.1);
}

.channel {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #168493;
  padding: 0 20px;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: none;
  cursor: pointer;
}

.channel.active {
  background: #20c7cb;
  color: var(--white);
  box-shadow: 0 10px 20px rgba(32, 199, 203, 0.2);
}

.signup-field {
  display: block;
}

.reassurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45em;
  margin: 12px 0 0;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.25;
}

.reassurance span:nth-child(1) {
  color: #f6b91d;
}

.reassurance span:nth-child(2) {
  color: #20c7cb;
}

.reassurance span:nth-child(3) {
  color: #22a56f;
}

input,
button {
  min-height: 50px;
  border-radius: 16px;
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid rgba(16, 33, 42, 0.13);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  padding: 0 16px;
  font-size: 0.98rem;
  font-weight: 700;
  outline: none;
}

input::placeholder {
  color: rgba(16, 33, 42, 0.42);
}

input:focus {
  border-color: rgba(32, 199, 203, 0.74);
  box-shadow: 0 0 0 4px rgba(32, 199, 203, 0.13);
}

button {
  border: 0;
  background: #1a9cc5;
  color: #fffdf5;
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(26, 156, 197, 0.18);
}

.site-footer {
  width: 100%;
  padding: 0 clamp(24px, 5.8vw, 76px) clamp(24px, 4vw, 44px);
  color: #f3ead8;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 750;
  line-height: 1.45;
  opacity: 0.88;
}

@media (max-width: 560px) {
  .shell {
    align-items: center;
    padding: 26px 18px 40px;
  }

  .logo-title {
    width: min(92vw, 390px);
    margin-bottom: 22px;
  }

  .tagline {
    font-size: clamp(0.82rem, 3.35vw, 1.05rem);
  }

  .categories {
    width: 100%;
    gap: clamp(6px, 1.35vw, 9px);
    margin-top: 18px;
    font-size: clamp(0.5rem, 2.05vw, 0.64rem);
  }

  .categories span:not(:last-child)::after {
    right: calc(clamp(6px, 1.35vw, 9px) * -0.62);
  }

  .subscribe {
    grid-template-columns: 1fr;
    margin-top: 18px;
    border-radius: 22px;
  }

  .channel-toggle {
    width: 100%;
  }

  .subscribe-choice {
    width: min(100%, 280px);
    margin-top: 40px;
    text-align: center;
  }

  .choice-label {
    padding: 0;
    text-align: center;
  }

  .signup-field {
    text-align: center;
  }

  input {
    text-align: center;
  }

  button {
    width: 100%;
  }

  .site-footer {
    padding: 0 18px 26px;
  }
}
