:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --ink: #252923;
  --green: #1f4035;
  --muted: #62685f;
  --line: #d6d8ce;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
.page { min-height: 100svh; display: flex; flex-direction: column; max-width: 1440px; margin: auto; padding-left: max(clamp(20px, 5vw, 72px), env(safe-area-inset-left)); padding-right: max(clamp(20px, 5vw, 72px), env(safe-area-inset-right)); }
main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; align-items: center; gap: 36px; padding: max(36px, env(safe-area-inset-top)) 0 40px; }
.sale { width: 100%; min-width: 0; container-type: inline-size; }
.domain-line { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--green); font-size: 15px; }
.domain-mark { width: 32px; height: 32px; }
.domain-mark svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.5; }
h1 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 5.2vw, 72px); font-size: clamp(32px, 12cqi, 72px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.12; overflow-wrap: anywhere; }
.sale-heading { margin: 0; font-size: clamp(26px, 3.5vw, 44px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.2; }
.sale-heading span { color: var(--green); }
.domain-price { margin: 20px 0 0; font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; line-height: 1.4; color: var(--green); }
.intro { margin: 20px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.contact { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-label { display: block; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 10px; }
.email { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0 10px; color: var(--green); font-size: clamp(20px, 3vw, 30px); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.email span { min-width: 0; overflow-wrap: anywhere; }
.email svg { width: 24px; height: 24px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.5; transition: transform 180ms ease-out; }
@media (hover: hover) and (pointer: fine) {
  .email:hover svg { transform: translate(3px, -3px); }
  .email:hover { color: #101f19; }
}
a:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; border-radius: 2px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 20px; row-gap: 8px; border-top: 1px solid var(--line); padding: 20px 0 max(20px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 12px; line-height: 1.5; }
.noscript { color: var(--muted); }
.inquiry { min-width: 0; width: 100%; border-top: 1px solid var(--line); padding-top: 28px; }
.inquiry h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 40px); font-weight: 400; letter-spacing: -0.035em; }
.form-intro { margin: 12px 0 24px; color: var(--muted); font-size: 16px; line-height: 1.6; }
fieldset { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0; margin: 0 0 20px; border: 0; min-width: 0; }
.field { min-width: 0; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.field-error { margin: 8px 0 0; color: #933523; font-size: 14px; line-height: 1.5; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #933523; }
input, textarea, button { font: inherit; }
input, textarea { width: 100%; border: 1px solid #a5ac9f; border-radius: 4px; background: #fbfaf7; color: var(--ink); padding: 13px 14px; font-size: 16px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { resize: vertical; min-height: 124px; }
input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
fieldset:disabled { opacity: 0.65; }
.submit-button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 15px 18px; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.submit-button svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; }
.submit-button:hover:not(:disabled) { background: #132d24; }
.submit-button:disabled { opacity: 0.55; cursor: not-allowed; }
.form-status { margin: 12px 0; min-height: 21px; color: var(--muted); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.form-status[data-state="error"] { color: #933523; }
.form-status[data-state="success"] { color: var(--green); }
.retry-button { background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--green); cursor: pointer; min-height: 44px; padding: 8px 0 18px; font-size: 14px; }
.privacy-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.success-panel { padding: 28px 0; border-top: 1px solid var(--line); color: var(--green); }
.success-icon { width: 40px; height: 40px; stroke: currentColor; stroke-width: 1.7; }
.success-panel h3 { margin: 18px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 400; }
.success-panel p { color: var(--muted); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.success-panel:focus { outline: none; }
.success-panel:focus-visible { outline: 2px solid var(--green); outline-offset: 8px; }
.another-button { min-height: 44px; margin-top: 12px; padding: 10px 16px; border: 1px solid var(--green); border-radius: 4px; background: transparent; color: var(--green); cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 600px) {
  main { padding: max(48px, env(safe-area-inset-top)) 0 48px; gap: 44px; }
  .inquiry { padding-top: 36px; }
  fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field:last-child { grid-column: 1 / -1; }
  .contact { max-width: 600px; margin-top: 32px; }
}
@media (min-width: 1100px) {
  main { grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.9fr); gap: clamp(48px, 6vw, 80px); padding: max(clamp(56px, 8vh, 88px), env(safe-area-inset-top)) 0 clamp(56px, 8vh, 88px); }
  .inquiry { border-top: 0; padding-top: 0; }
  fieldset { grid-template-columns: minmax(0, 1fr); }
  .domain-line { margin-bottom: 32px; }
  .contact { margin-top: 40px; }
  .intro { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .email svg { transition: none; } }
