:root {
  color-scheme: light;
  --background: #e9f8fb;
  --surface: #ffffff;
  --ink: #273336;
  --title: #4f5b5f;
  --muted: #5d686b;
  --green: #62b637;
  --green-strong: #438f21;
  --green-soft: #e8f7df;
  --blue: #8ed6e8;
  --yellow: #ffdf48;
  --red: #f15b58;
  --shadow: 0 24px 60px rgba(46, 120, 135, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 223, 72, 0.46), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(241, 91, 88, 0.18), transparent 24%),
    radial-gradient(circle at 82% 86%, rgba(98, 182, 55, 0.22), transparent 30%),
    var(--background);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.copy-panel {
  width: min(100%, 440px);
  padding: 28px 24px 24px;
  border: 3px solid rgba(98, 182, 55, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.copy-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue));
}

.brand-logo {
  width: 184px;
  height: 184px;
  display: block;
  margin: 6px auto 20px;
  border: 6px solid #ffffff;
  border-radius: 50%;
  filter: drop-shadow(0 10px 16px rgba(67, 143, 33, 0.16));
  object-fit: cover;
  object-position: center;
}

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

h1 {
  margin: 0;
  color: var(--title);
  font-size: clamp(2.05rem, 8vw, 3.15rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro {
  max-width: 320px;
  margin: 16px auto 24px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.45;
}

.copy-button {
  width: 100%;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 850;
  touch-action: manipulation;
  transition: background-color 160ms ease, transform 160ms ease;
}

.copy-button:hover {
  background: linear-gradient(135deg, #70c743, var(--green-strong));
}

.copy-button:active {
  transform: translateY(1px);
}

.copy-button:focus-visible {
  outline: 4px solid var(--green-soft);
  outline-offset: 3px;
}

.button-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.copy-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green-strong);
  font-size: 0.96rem;
  font-weight: 760;
  text-align: center;
}

.copy-status.is-error {
  color: #a23d2b;
}

@media (max-width: 380px) {
  .copy-panel {
    padding: 26px 18px 22px;
  }

  .brand-logo {
    width: 162px;
    height: 162px;
  }
}
