:root {
  --paper: #f4f0e8;
  --card: #fffdfb;
  --ink: #1a2330;
  --muted: #5e675f;
  --line: #e4ddd2;
  --green: #1c3d34;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

button {
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

a {
  color: inherit;
}

.top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: calc(16px + var(--safe-top)) 16px 0;
}

.kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 2px 0 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
}

.langs {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  padding-top: 2px;
}

.lang-btn {
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  -webkit-tap-highlight-color: transparent;
}

.lang-btn[aria-pressed="true"] {
  background: var(--green);
  color: #f7f4ee;
}

main {
  padding: 16px 16px calc(24px + var(--safe-bottom));
}

.lead {
  margin: 0 0 16px;
  color: var(--muted);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  min-height: 72px;
  padding: 16px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(28, 40, 32, 0.06);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.product:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.eyebrow {
  grid-column: 1;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.name {
  grid-column: 1;
  margin-top: 2px;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 22px;
  line-height: 1.25;
}

.body {
  grid-column: 1;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  color: var(--green);
  font-size: 22px;
}

.studio {
  margin: 22px 0 0;
  font-size: 14px;
}

.studio a {
  color: var(--green);
}
