:root {
  color-scheme: light;
  --ink: #2e1f22;
  --muted: #76666b;
  --rose: #dc475c;
  --honey: #f2a63b;
  --sage: #557a68;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(46, 31, 34, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100svh;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 12%, rgba(242, 166, 59, 0.22), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(85, 122, 104, 0.18), transparent 32%),
    linear-gradient(135deg, #fff0f3 0%, #f4faec 100%);
}

button,
input {
  font: inherit;
}

.app-shell {
  width: min(100%, 520px);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 22px;
}

.screen {
  display: none;
  width: 100%;
  padding: 24px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(83, 46, 55, 0.16);
  backdrop-filter: blur(18px);
}

.screen.is-active {
  display: block;
}

.utility-links {
  position: fixed;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 16px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(83, 46, 55, 0.1);
}

a {
  color: var(--rose);
  font-weight: 800;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.mark {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 42px;
  background: var(--panel-strong);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.9rem, 8vw, 2.6rem);
}

.message {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.45;
}

.sync-status {
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid rgba(85, 122, 104, 0.22);
  border-radius: 8px;
  color: var(--sage);
  background: rgba(244, 250, 236, 0.72);
  font-weight: 800;
  line-height: 1.35;
}

.primary-action,
.secondary-action {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 13px 16px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  color: white;
  background: var(--rose);
}

.primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.secondary-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.no-zone {
  position: relative;
  height: 320px;
  margin-top: 16px;
  overflow: hidden;
}

.moving-no {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  transform: translate(-50%, -50%);
  transition: transform 260ms cubic-bezier(.2, .9, .2, 1.2);
}

.activity-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.activity-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.activity-option.is-selected {
  border-color: rgba(85, 122, 104, 0.5);
  background: rgba(244, 250, 236, 0.92);
}

.field-label {
  display: block;
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
}

.summary {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.summary-row span:first-child {
  color: var(--muted);
  font-weight: 800;
}

.summary-row span:last-child {
  text-align: right;
  font-weight: 800;
}

.confetti {
  height: 120px;
  position: relative;
  margin-bottom: 8px;
}

.confetti span {
  position: absolute;
  left: 50%;
  top: 58px;
  width: 10px;
  height: 32px;
  border-radius: 999px;
  background: var(--rose);
  transform-origin: 0 86px;
  animation: burst 900ms cubic-bezier(.16, .9, .25, 1) both;
}

.confetti span:nth-child(2n) {
  background: var(--honey);
}

.confetti span:nth-child(3n) {
  background: var(--sage);
}

.confetti span:nth-child(1) { transform: rotate(0deg) translateY(-84px); }
.confetti span:nth-child(2) { transform: rotate(58deg) translateY(-84px); }
.confetti span:nth-child(3) { transform: rotate(118deg) translateY(-84px); }
.confetti span:nth-child(4) { transform: rotate(178deg) translateY(-84px); }
.confetti span:nth-child(5) { transform: rotate(238deg) translateY(-84px); }
.confetti span:nth-child(6) { transform: rotate(298deg) translateY(-84px); }

@keyframes burst {
  from {
    opacity: 0;
    translate: 0 46px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.content-shell {
  width: min(100%, 760px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 28px 18px;
}

.content-panel {
  padding: clamp(22px, 5vw, 38px);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(83, 46, 55, 0.16);
  backdrop-filter: blur(18px);
}

.content-panel h1 {
  margin-bottom: 10px;
}

.content-panel h2 {
  margin: 30px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

.content-panel ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.updated {
  margin-top: 0;
  font-weight: 700;
}

.contact-card {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.contact-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 520px) {
  .utility-links {
    bottom: 10px;
    width: calc(100% - 28px);
    justify-content: center;
    font-size: 0.9rem;
  }

  .app-shell {
    padding-bottom: 76px;
  }
}
