:root {
  --ink: #101216;
  --muted: #5d646f;
  --paper: #fbf8ef;
  --white: #fffdf8;
  --sun: #f7c62f;
  --coral: #ed6a55;
  --mint: #7fd9c4;
  --blue: #4361ee;
  --line: #d8d0c1;
  --shadow: 0 24px 70px rgba(16, 18, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(16, 18, 22, 0.12);
  background: rgba(251, 248, 239, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.brand span {
  overflow-wrap: anywhere;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(310px, 0.97fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  min-height: min(760px, calc(100vh - 80px));
  padding: clamp(54px, 8vw, 100px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 80px);
  border-bottom: 1px solid rgba(16, 18, 22, 0.12);
}

.hero-copy,
.section-heading,
.content-columns,
.example-list,
.faq-section,
.site-footer {
  max-width: 1120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3.9rem, 11vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.1;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

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

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  gap: 10px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.copy-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.copy-button:active,
.copy-button.copied {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.copy-button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.copy-button.primary {
  background: var(--sun);
}

.button-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 5px;
  font-size: 0.82rem;
  line-height: 1;
}

.hero-visual {
  position: relative;
  min-height: clamp(330px, 42vw, 548px);
  border: 2px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 18, 22, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 18, 22, 0.08) 1px, transparent 1px),
    var(--white);
  background-size: 34px 34px;
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border: 2px solid var(--ink);
}

.hero-visual::before {
  inset: 28px auto auto 28px;
  width: 42%;
  height: 18%;
  background: var(--mint);
}

.hero-visual::after {
  right: 28px;
  bottom: 28px;
  width: 32%;
  height: 26%;
  background: var(--coral);
}

.emoji-specimen {
  position: absolute;
  inset: 18% 9% auto;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(10px, 2.4vw, 26px);
  font-size: clamp(4.2rem, 10vw, 9rem);
  line-height: 1;
  text-align: center;
}

.emoji-specimen span:nth-child(2) {
  color: var(--blue);
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero-visual p {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 34px;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.copy-section,
.content-section,
.examples-section,
.faq-section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.copy-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.copy-card:nth-child(2) {
  background: #f2fbf6;
}

.copy-card:nth-child(3) {
  background: #fff4f1;
}

.copy-card:nth-child(4) {
  background: #f2f4ff;
}

.copy-card p {
  flex: 1;
  color: var(--muted);
}

.symbol {
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--sun);
  font-size: 2.9rem;
  line-height: 1;
}

.combo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1fr);
  align-items: center;
  gap: 32px;
  padding: clamp(38px, 6vw, 72px) clamp(18px, 5vw, 72px);
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.combo-band .eyebrow {
  color: var(--mint);
}

.combo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.combo-chip {
  min-height: 76px;
  justify-self: stretch;
  background: var(--sun);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
}

.content-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 62px);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.content-columns strong {
  color: var(--ink);
}

.examples-section {
  background: var(--white);
}

.example-list {
  display: grid;
  gap: 16px;
}

.example-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 8px solid var(--coral);
  background: var(--paper);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 800;
}

.example-list span {
  display: inline-block;
  min-width: 4.8rem;
}

.faq-section {
  max-width: none;
}

details {
  max-width: 980px;
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 900;
}

details p {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  visibility: hidden;
  max-width: calc(100vw - 40px);
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--mint);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.toast.visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .combo-band,
  .content-columns {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .copy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .copy-button {
    width: 100%;
  }

  .copy-grid,
  .combo-list {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 310px;
  }

  .emoji-specimen {
    inset-inline: 7%;
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 4rem;
  }

  .emoji-specimen span:nth-child(2) {
    font-size: 2.4rem;
  }

  .hero-visual p {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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