:root { color-scheme: light; --ink: #183d39; --green: #124e47; --muted: #48635c; --line: #c5d4cc; --paper: #f7f6f0; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #1d7363; outline-offset: 3px; }
.home { background: var(--paper); min-height: 100vh; }
.mast, .hero { width: min(1150px, 89%); margin: 0 auto; }
.mast { padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
.brand { font-size: 37px; font-weight: 760; letter-spacing: -.078em; line-height: 1; }
.hero { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(24px,5vw,76px); align-items: center; padding: clamp(48px,9vh,100px) 0; }
h1,h2,p,figure { margin: 0; }
.hero h1 { font: 500 clamp(66px,7.5vw,108px)/.99 "DM Serif Text", Georgia, serif; letter-spacing: -.065em; }
.hero-copy p { max-width: 34ch; margin: 25px 0 28px; color: var(--muted); font-size: 19px; }
.button { display: inline-flex; gap: 22px; justify-content: center; align-items: center; min-height: 48px; border: 0; padding: 13px 22px; border-radius: 8px; background: var(--green); color: white; text-decoration: none; font: inherit; font-weight: 650; cursor: pointer; }
.button:hover { background: #0d3c35; }
.button span { font-size: 21px; line-height: 1; }
.product { background: #e5e8eb; border-radius: 45% 45% 12px 12px; overflow: hidden; aspect-ratio: 1.14; display: flex; align-items: center; }
.product img { display: block; width: 100%; height: auto; }
.registry { border-top: 5px solid var(--green); background: #fff; }
.register-wrap { width: min(720px, 90%); margin: 0 auto; padding: clamp(28px,5vw,60px) 0 48px; }
.purpose h1 { font-size: clamp(22px,3.4vw,33px); line-height: 1.16; letter-spacing: -.025em; max-width: 34ch; }
.purpose p { color: var(--muted); margin-top: 14px; }
fieldset { padding: 0; margin: 32px 0; border: 0; min-width: 0; }
legend,.status h2 { font: 600 23px/1.4 "DM Serif Text", Georgia, serif; }
legend { width: 100%; border-top: 1px solid var(--line); padding: 20px 0 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 20px; }
.wide { grid-column: 1/-1; }
.field { min-width: 0; }
label { display: block; font-weight: 650; margin-bottom: 6px; }
small,.hint { color: var(--muted); font-size: 14px; font-weight: 400; }
.hint { margin: 0 0 7px; }
.product-hint { margin-bottom: 16px; }
input,textarea,select { font: inherit; width: 100%; padding: 9px 12px; border: 1px solid #82998f; border-radius: 5px; background: #fff; color: var(--ink); min-height: 45px; }
textarea { resize: vertical; display: block; }
[aria-invalid=true] { border-color: #99422e; }
.error,.notice { color: #853521; font-size: 14px; }
.error:empty { display: none; }
.notice,.status { padding: 15px 18px; background: #f6f4eb; margin-top: 24px; border-left: 3px solid #94773c; }
.status p { margin-top: 6px; }
footer { margin-top: 36px; font-size: 14px; }
@media (max-width: 700px) {
  .mast { padding: 18px 0; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 34px 0 40px; }
  .hero h1 { font-size: clamp(54px,13vw,76px); }
  .hero-copy p { margin: 16px 0 20px; font-size: 17px; }
  .product { aspect-ratio: 1.5; border-radius: 90px 90px 9px 9px; }
}
@media (max-width: 510px) {
  .fields { grid-template-columns: 1fr; gap: 14px; }
  .register-wrap { width: calc(100% - 36px); }
}
