@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/nunito-latin.woff2") format("woff2");
}

:root {
  --sand: #fbf8f3;
  --ink: #1b3b4b;
  --text: #4a6674;
  --sea: #2a9d8f;
  --sea-deep: #14685c;
  --foam: #dcefef;
  --card: #fffdf8;
  --caution-ink: #1a1200;
  --go: #2e7d32;
  --caution: #ed6c02;
  --nogo: #d32f2f;
  --shadow: 0 8px 24px rgba(27, 59, 75, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font: 18px/1.45 Nunito, system-ui, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.1px;
}

main {
  width: min(36rem, 100%);
  margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(32px + env(safe-area-inset-bottom, 0px));
}

.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  border: 2px solid var(--sea-deep);
  border-radius: 50%;
  overflow: hidden;
  background: #d7efec;
  line-height: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1 {
  font-size: 2rem;
  line-height: 1.05;
}

h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.kicker {
  margin: 0 0 16px;
  color: var(--sea-deep);
  font-weight: 700;
}

.buddy {
  display: block;
  width: min(16rem, 72%);
  height: auto;
  margin: 4px auto 18px;
}

.card {
  margin: 0 0 16px;
  padding: 16px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
}

.activities,
.verdicts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.activities li,
.verdicts li {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.activities li {
  background: var(--foam);
  color: var(--ink);
}

.verdicts li {
  color: #fff;
}

.is-go {
  background: var(--go);
}

.is-caution {
  background: var(--caution);
  color: var(--caution-ink);
}

.is-nogo {
  background: var(--nogo);
}

.safety {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--sea-deep);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(20, 104, 92, 0.22);
  touch-action: manipulation;
}

.open:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.credits {
  margin-top: 8px;
  font-size: 0.92rem;
}

.credits p {
  margin: 0 0 10px;
}

a {
  color: var(--sea-deep);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 380px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 1.7rem;
  }
}
