  :root{
    --blush: #fbe4e8;
    --rose: #e8637c;
    --rose-deep: #c94663;
    --plum: #47213f;
    --cream: #fff8f3;
    --gold: #d9a441;
    --sage: #7f9c7a;
  }

  *{ box-sizing: border-box; }

  html, body{
    margin: 0;
    min-height: 100vh;
    font-family: 'Quicksand', sans-serif;
    color: var(--plum);
    background:
      radial-gradient(circle at 15% 20%, #ffe9ee 0%, transparent 45%),
      radial-gradient(circle at 85% 80%, #f6dcf0 0%, transparent 45%),
      linear-gradient(160deg, var(--blush) 0%, #f3e6f5 100%);
    overflow-x: hidden;
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  }

  /* ambient falling petals */
  .petals{ position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
  .petal{
    position: absolute;
    top: -5%;
    font-size: 1.2rem;
    opacity: 0.65;
    animation: fall linear infinite;
    filter: hue-rotate(0deg);
  }
  .petal:nth-child(1){ left: 6%;  animation-duration: 14s; animation-delay: 0s;  font-size: 1rem; }
  .petal:nth-child(2){ left: 22%; animation-duration: 18s; animation-delay: 2s;  font-size: 1.4rem; }
  .petal:nth-child(3){ left: 40%; animation-duration: 12s; animation-delay: 4s;  font-size: 0.9rem; }
  .petal:nth-child(4){ left: 58%; animation-duration: 20s; animation-delay: 1s;  font-size: 1.3rem; }
  .petal:nth-child(5){ left: 74%; animation-duration: 15s; animation-delay: 5s;  font-size: 1rem; }
  .petal:nth-child(6){ left: 90%; animation-duration: 17s; animation-delay: 3s;  font-size: 1.2rem; }

  @keyframes fall{
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.7; }
    100% { transform: translateY(110vh) rotate(340deg); opacity: 0.2; }
  }

  .stage{
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
  }

  .card{
    background: var(--cream);
    border-radius: 28px;
    padding: 48px 40px 40px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 60px -20px rgba(71, 33, 63, 0.35), 0 0 0 1px rgba(217,164,65,0.15);
    position: relative;
  }

  .seal{
    width: 56px;
    height: 56px;
    margin: -80px auto 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #f2b8c6, var(--rose-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 20px -6px rgba(200, 70, 99, 0.6), inset 0 0 0 3px rgba(255,255,255,0.35);
  }

  .eyebrow{
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: var(--rose-deep);
    margin: 0 0 2px;
  }

  .name{
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 3rem;
    margin: 0 0 18px;
    color: var(--plum);
  }

  .question{
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0 0 32px;
  }

  .button-row{
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    position: relative;
  }

  .btn{
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    border-radius: 999px;
    padding: 14px 34px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .btn:focus-visible{ outline: 3px solid var(--gold); outline-offset: 3px; }

  .btn-yes{
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
    box-shadow: 0 12px 24px -10px rgba(200, 70, 99, 0.7);
  }
  .btn-yes:hover:not(:disabled){ transform: translateY(-2px) scale(1.03); }
  .btn-yes:disabled{ opacity: 0.45; cursor: not-allowed; box-shadow: none; }

  .btn-no{
    background: #fff;
    color: var(--plum);
    border: 2px solid #ecd7db;
    z-index: 2;
  }

  .no-msg{
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: var(--rose-deep);
    margin-top: 18px;
    min-height: 1.6rem;
  }

  /* --- planning panel --- */
  #plan-panel h2{
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 28px;
  }

  .field{ margin-bottom: 28px; text-align: left; }
  .label{
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--rose-deep);
    margin: 0 0 12px;
    letter-spacing: 0.02em;
  }

  .day-grid{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
  }
  .day-btn{
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 0;
    border-radius: 12px;
    border: 2px solid #ecd7db;
    background: #fff;
    color: var(--plum);
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .day-btn:hover{ border-color: var(--rose); }
  .day-btn.selected{
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: #fff;
  }

  .option-grid{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .option-card{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 2px solid #ecd7db;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .option-card:hover{ border-color: var(--rose); }
  .option-card.selected{
    border-color: var(--rose-deep);
    background: #fdeef1;
  }
  .option-icon{ font-size: 1.3rem; }
  .option-text{ font-weight: 600; font-size: 0.98rem; }

  #other-text{
    width: 100%;
    margin-top: 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    border: 2px solid #ecd7db;
    border-radius: 14px;
    padding: 12px 14px;
    resize: vertical;
    min-height: 70px;
  }
  #other-text:focus{ outline: none; border-color: var(--rose-deep); }

  .submit-msg{
    margin-top: 16px;
    font-family: 'Caveat', cursive;
    font-size: 1.35rem;
    color: var(--sage);
    min-height: 1.6rem;
  }
  .submit-msg.error{ color: var(--rose-deep); }

  [hidden]{ display: none !important; }