* {
  box-sizing: border-box;
}

:root {
  --toyota-red: #eb0a1e;
  --deep-red: #b80716;
  --black: #111111;
  --gray: #666;
  --light: #f5f5f5;
  --white: #ffffff;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 16px;
  background:
    radial-gradient(circle at top, #ffffff 0, #f2f2f2 55%, #e7e7e7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--black);
}

.card {
  width: min(100%, 470px);
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0,0,0,.14);
  border: 1px solid #e5e5e5;
}

.red-bar {
  height: 8px;
  background: var(--toyota-red);
}

.profile {
  padding: 30px 28px 24px;
  display: flex;
  gap: 22px;
  align-items: center;
}

.photo-wrap {
  width: 132px;
  height: 132px;
  flex: 0 0 132px;
  border-radius: 50%;
  padding: 4px;
  background: var(--toyota-red);
  box-shadow: 0 7px 18px rgba(235,10,30,.25);
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
  background: #eee;
}

.toyota-mark {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.8px;
  color: var(--toyota-red);
  margin-bottom: 5px;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.6px;
}

.title {
  margin: 7px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.tagline {
  margin: 12px 0 0;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.45;
}

.actions {
  padding: 4px 22px 10px;
  display: grid;
  gap: 10px;
}

.action {
  min-height: 65px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  text-decoration: none;
  color: var(--black);
  background: #f7f7f7;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.action:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(0,0,0,.08);
  border-color: #ccc;
}

.action.primary {
  color: white;
  background: var(--black);
  border-color: var(--black);
}

.icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--toyota-red);
  color: white;
  font-size: 18px;
  flex: 0 0 36px;
}

.action span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.action strong {
  font-size: 14px;
}

.action small {
  font-size: 12px;
  opacity: .72;
}

.save {
  display: block;
  margin: 10px 22px 22px;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: white;
  background: var(--toyota-red);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(235,10,30,.22);
  transition: transform .18s ease, background .18s ease;
}

.save:hover {
  transform: translateY(-2px);
  background: var(--deep-red);
}

footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 20px 22px;
  color: #999;
  font-size: 10px;
  letter-spacing: .2px;
}

@media (max-width: 430px) {
  .profile {
    padding: 26px 20px 22px;
    gap: 16px;
  }

  .photo-wrap {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }

  h1 {
    font-size: 24px;
  }

  .tagline {
    font-size: 12px;
  }

  .actions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .save {
    margin-left: 16px;
    margin-right: 16px;
  }
}
