:root {
  --ink: #102033;
  --muted: #5c6877;
  --line: #dbe3ea;
  --paper: #ffffff;
  --mist: #eef4f7;
  --navy: #112c46;
  --teal: #00a7b5;
  --teal-dark: #007f8b;
  --lime: #b7d532;
  --warning: #f3a634;
  --danger: #d84a3a;
  --shadow: 0 24px 70px rgba(10, 31, 49, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(135deg, rgba(17, 44, 70, 0.94), rgba(7, 30, 50, 0.86)),
    url("https://www.akita.co.uk/wp-content/uploads/2023/11/akita-home-page-main-dark_THIS.jpg") center / cover fixed;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: 32px;
  place-items: center;
}

.feedback-panel {
  width: min(920px, 100%);
  padding: 34px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 6px solid var(--teal);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-bar,
.rating-options {
  display: flex;
  gap: 16px;
}

.brand-bar {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 178px;
  height: auto;
  border-radius: 3px;
}

.service-pill {
  padding: 9px 13px;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.intro {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.feedback-form {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.comment-label {
  display: block;
  margin-bottom: 11px;
  color: var(--navy);
  font-weight: 800;
}

.rating-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rating-card {
  min-height: 148px;
  padding: 22px 16px;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.rating-card:hover,
.rating-card:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(17, 44, 70, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.rating-card.is-selected {
  border-color: var(--teal);
  box-shadow: inset 0 0 0 2px var(--teal), 0 14px 30px rgba(0, 167, 181, 0.18);
}

.rating-card[data-rating="positive"].is-selected {
  border-color: var(--lime);
  box-shadow: inset 0 0 0 2px var(--lime), 0 14px 30px rgba(183, 213, 50, 0.22);
}

.rating-card[data-rating="negative"].is-selected {
  border-color: var(--danger);
  box-shadow: inset 0 0 0 2px var(--danger), 0 14px 30px rgba(216, 74, 58, 0.16);
}

.face {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 62px;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.rating-card[data-rating="positive"] .face {
  color: var(--lime);
}

.rating-card[data-rating="neutral"] .face {
  color: var(--warning);
}

.rating-card[data-rating="negative"] .face {
  color: var(--danger);
}

.face-eye,
.face-mouth {
  position: absolute;
  display: block;
  background: currentColor;
}

.face-eye {
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.face-eye-left {
  left: 17px;
}

.face-eye-right {
  right: 17px;
}

.face-mouth {
  left: 15px;
  width: 24px;
  height: 4px;
  border-radius: 4px;
}

.face-positive .face-mouth {
  top: 35px;
  height: 12px;
  background: transparent;
  border-bottom: 4px solid currentColor;
  border-radius: 0 0 22px 22px;
}

.face-neutral .face-mouth {
  top: 39px;
}

.face-negative .face-mouth {
  top: 34px;
  height: 12px;
  background: transparent;
  border-top: 4px solid currentColor;
  border-radius: 22px 22px 0 0;
}

.rating-label {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 800;
}

.comment-label span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

textarea {
  width: 100%;
  min-height: 150px;
  padding: 16px;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 167, 181, 0.14);
  outline: none;
}

.submit-button {
  justify-self: start;
  min-height: 48px;
  padding: 0 24px;
  color: white;
  background: var(--teal);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: var(--teal-dark);
  outline: none;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.status-message {
  margin-top: 24px;
  padding: 14px 16px;
  color: var(--navy);
  background: var(--mist);
  border-left: 4px solid var(--teal);
  border-radius: 4px;
}

.status-message.is-success {
  border-left-color: var(--lime);
}

.status-message.is-error {
  border-left-color: var(--danger);
}

@media (max-width: 680px) {
  .page-shell {
    padding: 18px;
  }

  .feedback-panel {
    padding: 24px;
  }

  .brand-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .rating-options {
    grid-template-columns: 1fr;
  }

  .rating-card {
    min-height: 112px;
  }
}
