:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #213e39;
  background: #fbf7ed;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: #174a40; text-underline-offset: 3px; }
h1, h2, p { margin: 0; }
p { line-height: 1.55; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  max-width: 67rem;
  margin: auto;
  padding: clamp(1rem, 5vw, 4rem);
  min-height: 100vh;
}

.layout.gift-terms {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  max-width: 50rem;
}

.card {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.5rem 1rem 1.8rem;
  border-radius: 2rem;
  background: radial-gradient(ellipse at center, #fff1c7, transparent 70%), #f3e5f4;
  border: 1px solid #e1cde6;
  box-shadow: 0 1rem 3rem #57345a15;
}

.brand { font-weight: 700; }
.owl { width: min(100%, 15.5rem); height: auto; }
.greeting {
  font-family: Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.09;
  color: #4d2a51;
}
.signature {
  font-style: italic;
  color: #4d2a51;
  overflow-wrap: anywhere;
}
.panel { display: grid; gap: 1rem; }
h1 { font-family: Georgia, serif; font-size: clamp(2.15rem, 5vw, 3.35rem); line-height: 1.05; }
.price { font-size: 2rem; font-weight: 800; line-height: 1; }
.price span { font-size: 1rem; font-weight: 600; }
form, #accepted { display: grid; gap: 0.6rem; }
label { font-weight: 650; }
label span { font-weight: 400; }
.country-confirmation { display: flex; align-items: baseline; gap: 0.6rem; }
.country-confirmation input { flex: none; width: auto; margin: 0; }
input {
  font: inherit;
  padding: 0.8rem 0.9rem;
  width: 100%;
  color: inherit;
  border: 1px solid #82928a;
  background: #fffdf8;
  border-radius: 0.7rem;
  margin-bottom: 0.35rem;
}
button, .button {
  display: inline-block;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  color: #fff;
  background: #21483e;
  font: inherit;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 1.5rem;
  cursor: pointer;
}
button:disabled { opacity: 0.65; cursor: wait; }
button.secondary { color: #21483e; background: transparent; border-color: #82928a; }
:focus-visible { outline: 3px solid #663572; outline-offset: 3px; }
#status { color: #57345a; }
footer { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }

@media (max-width: 670px) {
  .layout { grid-template-columns: 1fr; max-width: 31rem; align-content: start; }
  .owl { width: min(100%, 12rem); }
}
