:root {
  --bg: #e9e7df;
  --text: #111111;
  --muted: #5f5d58;
  --accent: #3b82f6;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--accent);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
  cursor: pointer;
}

.stage {
  display: grid;
  min-height: 100svh;
  padding: clamp(24px, 4.5vw, 64px);
  place-items: center;
}

.centerpiece {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.centerpiece::before {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto clamp(22px, 3.6vmin, 40px);
  content: "";
  background: var(--accent);
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3.75rem, 12vmin, 8.25rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

p {
  max-width: 560px;
  margin: clamp(18px, 2.5vmin, 28px) auto 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.45vmin, 1.02rem);
  line-height: 1.6;
}

.contact {
  position: fixed;
  right: clamp(20px, 3vw, 42px);
  bottom: clamp(20px, 3vw, 42px);
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.contact:hover,
.contact:focus-visible {
  color: var(--accent);
}

.inquiry-panel {
  position: fixed;
  right: clamp(20px, 3vw, 42px);
  bottom: clamp(62px, 7vw, 92px);
  width: min(calc(100vw - 40px), 380px);
  max-height: calc(100svh - 120px);
  overflow: auto;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: var(--bg);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.12);
}

.inquiry-form {
  display: grid;
  gap: 15px;
  padding: 22px;
}

.form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 2px;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.panel-close {
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

.panel-close:hover,
.panel-close:focus-visible {
  color: var(--accent);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.35;
  outline: 0;
}

input {
  height: 38px;
  padding: 8px 10px;
}

textarea {
  min-height: 92px;
  padding: 9px 10px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.submit:hover,
.submit:focus-visible {
  background: var(--accent);
  color: #ffffff;
}

.submit:disabled {
  cursor: default;
  opacity: 0.58;
}

.form-status {
  min-height: 18px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .stage {
    padding: 26px;
  }

  h1 {
    font-size: clamp(3.65rem, 19vw, 5.65rem);
  }

  p {
    font-size: 0.9rem;
  }

  .contact {
    right: 26px;
    bottom: 24px;
  }

  .inquiry-panel {
    right: 20px;
    bottom: 62px;
    width: calc(100vw - 40px);
    max-height: calc(100svh - 92px);
  }

  .inquiry-form {
    padding: 18px;
  }
}
