:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #282829;
  background: #eeebe7;
  --brick: #982a1c;
  --muted: #575b5d;
  --line: #e3ded9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 18px 14px;
  background: radial-gradient(ellipse at 50% 0, #faf8f5, transparent 70%);
}
.card {
  width: min(100%, 480px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--brick);
  border-radius: 22px;
  box-shadow: 0 18px 44px #34262217;
}
.brand {
  display: grid;
  place-items: center;
  padding: 30px 20px 27px;
  border-bottom: 1px solid var(--line);
}
.brand img {
  display: block;
  width: min(100%, 248px);
  height: auto;
}
.details { padding: 24px clamp(16px, 5vw, 32px) 22px; }
h1 {
  margin: 0 0 19px;
  font-size: clamp(1.65rem, 6.8vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -.042em;
  font-weight: 650;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #333; outline-offset: 3px; }
.save {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--brick);
  color: #fff;
  font-weight: 650;
}
.save:hover { background: #782115; }
.save span { font-size: 1.45rem; line-height: 1; }
.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}
.action {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 67px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #faf9f7;
  border: 1px solid var(--line);
  font-size: .93rem;
  font-weight: 630;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
a.action { padding-right: 22px; }
a.action:hover { border-color: var(--brick); background: #fff8f5; }
.action small { color: var(--muted); font-size: .76rem; font-weight: 400; }
.arrow { position: absolute; right: 9px; top: 8px; color: var(--brick); }
.company { margin: 0 0 8px; color: var(--brick); font-size: .82rem; font-weight: 650; }
.company + h1 { margin-bottom: 4px; }
.role { margin: 0 0 21px; color: var(--muted); font-size: .95rem; }
.directory { display: grid; gap: 8px; }
footer {
  display: grid;
  gap: 7px;
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}
address { font-style: normal; }
.fiscal { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.tax { color: #282829; font-variant-numeric: tabular-nums; font-weight: 650; }
@media (max-width: 340px) {
  .actions { grid-template-columns: 1fr; }
}
