:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20201f;
  background: #f3f1ed;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.9), transparent 34rem),
    #f3f1ed;
}

button, textarea { font: inherit; }

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

.experience-card {
  width: min(100%, 520px);
  padding: clamp(28px, 7vw, 52px);
  border: 1px solid rgba(35, 33, 30, .08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(28, 25, 20, .09);
  text-align: center;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 13px;
  background: #1d1d1b;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 12px;
  color: #887b69;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
}

h1 {
  margin: 0;
  font-size: clamp(27px, 6vw, 36px);
  letter-spacing: -.045em;
}

.intro-copy {
  margin: 12px auto 32px;
  max-width: 340px;
  color: #6c6964;
  line-height: 1.6;
}

.stars {
  display: flex;
  justify-content: center;
  gap: clamp(4px, 2vw, 12px);
}

.star {
  width: clamp(42px, 11vw, 58px);
  height: clamp(48px, 12vw, 64px);
  border: 0;
  border-radius: 13px;
  background: #f6f4f0;
  color: #d7d1c7;
  cursor: pointer;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.star:hover:not(:disabled), .star:focus-visible {
  transform: translateY(-3px);
  background: #fff4d9;
  color: #e1a52b;
  outline: 2px solid #e1a52b;
  outline-offset: 2px;
}

.star:disabled { cursor: default; opacity: .6; }
.hint { margin: 17px 0 0; color: #918b82; font-size: 12px; }

.result-section { margin-top: 12px; }
.result-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 17px;
  border-radius: 50%;
  background: #f3f0e9;
  color: #8a7451;
  font-size: 24px;
  font-weight: 700;
}
.result-section h2 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.result-section > p { color: #6c6964; line-height: 1.6; }

.private-comment-area {
  margin: 24px 0 18px;
  text-align: left;
}
.private-comment-area label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
}
textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 104px;
  padding: 13px 14px;
  border: 1px solid #dedbd5;
  border-radius: 12px;
  background: #fcfbf9;
  color: #20201f;
  line-height: 1.5;
}
textarea:focus { outline: 2px solid #b49a6e; border-color: transparent; }

.secondary-button, .map-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.secondary-button { background: #eeeae3; color: #282724; }
.map-button { background: #1d1d1b; color: white; }
.secondary-button:disabled { cursor: wait; opacity: .6; }
.small-status { min-height: 18px; color: #6c6964; font-size: 12px; }
.privacy-note { margin-top: 18px; color: #979188; font-size: 11px; line-height: 1.5; }
.page-status { min-height: 20px; margin: 20px 0 0; color: #777168; font-size: 12px; }
.page-status[data-error="true"] { color: #9b3d32; }
footer { margin-top: 34px; color: #aaa49a; font-size: 10px; letter-spacing: .04em; }

[hidden] { display: none !important; }

@media (max-width: 390px) {
  .experience-card { padding: 28px 19px; border-radius: 20px; }
}
