:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #eef4fb;
  color: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
}

.hero {
  text-align: center;
  margin-bottom: 32px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 2.4vw, 3rem);
  color: #0f5f67;
}

.hero p {
  margin: 16px auto 0;
  max-width: 720px;
  color: #475569;
  line-height: 1.75;
}

.brand-link {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  color: #0f5f67;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card,
.box {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(15, 95, 103, 0.08);
  padding: 26px;
}

.card h2,
.box h2 {
  margin-top: 0;
  color: #0f5f67;
}

.card p,
.box p,
.hint {
  color: #475569;
  line-height: 1.7;
}

.price,
.field-row summary-row {
  margin: 16px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f5f67;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f5f67;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(15, 95, 103, 0.16);
}

.btn-primary {
  width: 100%;
}

.form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  gap: 8px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 1rem;
}

input:focus,
select:focus {
  outline: 2px solid #0f5f67;
  border-color: transparent;
}

.status-message {
  padding: 18px 14px;
  border-radius: 14px;
  font-weight: 600;
}

.status-message.success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #d1fae5;
}

.status-message.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

thead {
  background: #f8fafc;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
}

th {
  font-size: 0.95rem;
  color: #475569;
}

tbody tr:hover {
  background: #f8fafc;
}

.footer {
  margin-top: 36px;
  padding-top: 18px;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .two-cols {
    grid-template-columns: 1fr;
  }
}
